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
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
I found that id was never mentioned in this book. Actually I have difficulties in understanding that part in spec during implementation of a validator. Is there a plan for covering it?
By the way, this book is very useful for me to learn json schema in short time. Thank you.
The text was updated successfully, but these errors were encountered:
miloyip
changed the title
Have not mentioned id
Have not mentioned idMay 9, 2015
Oh, thanks for pointing this out. I double checked and indeed there does not seem to be any reference to it--a glaring omission.
In short, the "id" keyword is just a self-reference for the schema. It should be a URI, preferably where the schema itself can be found, and so it serves as a globally-unique identifier for the schema (which can be used in conjunction with $ref, which also deserves a chapter in the book).
I found that
id
was never mentioned in this book. Actually I have difficulties in understanding that part in spec during implementation of a validator. Is there a plan for covering it?By the way, this book is very useful for me to learn json schema in short time. Thank you.
The text was updated successfully, but these errors were encountered: