Issue with unevaluatedProperties and allOf and arrays #1026
Labels
Needs Simplification
An issue which is in need of simplifying the example or issue being demonstrated for diagnosis.
8000
I need to have a schema allowing extra fields only under one specific node (ExtensionProperties).
It works well using "additionalProperties": false with simple schemas:
This data is ok
and this one fails validation as expected
But when I have some allOf, I need to use "unevaluatedProperties": false as explained in the documentation
It works well with simple schemas
This data fails the validation as expected (on rootppty2 and Nestedppty2)
But when I am adding array in the allOf part I am facing issues
This schema does not fail validation on additional fields in the array
for example this data should fail validation on nestedarrayInternalpty2
but it fails also on Nestedppty, which should be ok
Am I doing something wrong or is there an issue when several "unevaluatedProperties": false are nested ?
The text was updated successfully, but these errors were encountered: