-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Blocked by external dependencyMust be solved in underlying library or by using a different libraryMust be solved in underlying library or by using a different library
Milestone
Description
unevaluatedProperties is a bit like additionalProperties but it checks against all subSchemas and adjacent schemas.
i.e.
allOf:
- properties:
- foo
- bar
additionalProperties: false
- properties:
- baz
required:
- baz
The above will always fail because the second schema requires baz, but the first schema would consider baz to be an additionalProperty.
allOf:
- properties:
- foo
- bar
unevaluatedProperties: false
- properties:
- baz
required:
- baz
The above is able to pass, because the second schema evaluates baz.
See the following for more information:
https://json-schema.org/understanding-json-schema/reference/object.html#unevaluated-properties
Metadata
Metadata
Assignees
Labels
Blocked by external dependencyMust be solved in underlying library or by using a different libraryMust be solved in underlying library or by using a different library