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
The Unevaluated item description does not explains enought the diffrences within items keyword
we may need to twist the requirement , so that it highlight the definitive usage of unevaluatedItems
but not sure how
here taking the response sample and replacing unevaluatedItems by items makes the validation passing , so here it makes the differences not clear enough
https://tour.json-schema.org/content/04-Arrays/08-Unevaluated-Items
The Unevaluated item description does not explains enought the diffrences within items keyword
we may need to twist the requirement , so that it highlight the definitive usage of unevaluatedItems
but not sure how
here taking the response sample and replacing unevaluatedItems by items makes the validation passing , so here it makes the differences not clear enough
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "integer"
},
"skills": {
"type": "array",
"prefixItems": [
{
"enum": [
"HTML",
"CSS",
"JavaScript"
]
},
{
"enum": [
"HTML",
"CSS",
"JavaScript"
]
},
{
"enum": [
"HTML",
"CSS",
"JavaScript"
]
}
],
"items": {
"type": "string"
}
}
}
}
The text was updated successfully, but these errors were encountered: