You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For draft 2019-09, we split the dependencies keyword because it had two different behaviors based on its content.
Similarly, items can have two different behaviors (although similar) based on its content. A schema content requires validation of all items, whereas an array of schemas validates items in sequence.
Based on this comment the array form was introduced to support tuples, which JSON doesn't natively support.
This may (or may not) make things simpler.
Discuss! 😁
The text was updated successfully, but these errors were encountered:
For draft 2019-09, we split the
dependencies
keyword because it had two different behaviors based on its content.Similarly,
items
can have two different behaviors (although similar) based on its content. A schema content requires validation of all items, whereas an array of schemas validates items in sequence.Based on this comment the array form was introduced to support tuples, which JSON doesn't natively support.
This may (or may not) make things simpler.
Discuss! 😁
The text was updated successfully, but these errors were encountered: