Replies: 1 comment
-
I would suggest asking JSON Schema questions on the JSON Schema Slack community. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a json like this :
{
"itemdata": {
"globalvalue": {
"type": "run"
},
"input": "single",
}
}
I want to make a schema that checks if the "orderingarray" starts with a pattern that is equal to the "id" property of "device" object.
Like, if "device" is "Block1", then ordering array should start with "Block1" ( "Block1-Block2-...."). If it does not, the validation should fail. Is it possible using json schema ?
Beta Was this translation helpful? Give feedback.
All reactions