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
I've read through #601 and #660, but I'm still unsure what common practices there are to indicate in instance data which schema the instance data should be validated against. In my application, there is no side channel and no external ad-hoc knowledge about the 'type' of instance data. I understand that JSON schema itself not prescribe any particular mechanism to do this, but I wonder what other people are doing to achieve this?
Cheers - Stefan
The text was updated successfully, but these errors were encountered:
It is explained in the 2nd issue you mention in the 2nd comment: #660 (comment). TL;DR: you put among the headers of the JSON instance document: Link: <http://example.com/my-hyper-schema#>; rel="describedby". If you can't specify a header, then check the 5th comment: #660 (comment).
Hi!
I've read through #601 and #660, but I'm still unsure what common practices there are to indicate in instance data which schema the instance data should be validated against. In my application, there is no side channel and no external ad-hoc knowledge about the 'type' of instance data. I understand that JSON schema itself not prescribe any particular mechanism to do this, but I wonder what other people are doing to achieve this?
Cheers - Stefan
The text was updated successfully, but these errors were encountered: