Skip to content

$id URI which are not URLs #205

Discussion options

You must be logged in to vote

I suggest reading the section that comes before the one you linked called Schema identification. Common use of URI terminology doesn't always match up with the way the terms are used in RFC-3986, which is why I define how I use those terms before I used them. The wording used to describe $id is correct and I think once you're aligned with how those terms are being used, it will make more sense.

There's also a box in that section that let's you know that URIs in JSON Schema are only identifiers. They are not intended to be fetched over HTTP. So, feel free to use an http scheme URI in your I-D if you wish, but URNs are fine too if you prefer.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by handrews
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants