-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description and test case contradiction: unevaluatedProperties
#723
Comments
unevaluatedProperties
I agree that it's wrong, but I think the test is wrong, not the description. The test should be updated to match the description. |
The test case is right, technically (but there may also be an error in expressing the intent).
However, the test might have meant |
You're right, but that's not what I meant. Look at all the descriptions for all the tests. It's a matrix of the possibilities of two variables: (1) if result (2) unevaluated properties result.
The test should be changed to actually test what the description says otherwise it's just a another test for "when if is true and has unevaluated properties", which is already covered. |
json-schema-org#723 think removing the bar matches the test with the description, as foo itself is evaluated.
Reference:
JSON-Schema-Test-Suite/tests/draft2020-12/unevaluatedProperties.json
Line 529 in bf0360f
Schema:
Instance:
The description of the above test states that it has no unevaluated properties, but isn't the
bar
property here unevaluated?The text was updated successfully, but these errors were encountered: