Btw - I realize it's bad form to invent URN namespace identifiers out of thin air, this is just meant as an example :).
On Sat, Jun 14, 2014 at 12:55 AM, Andrew Biggs <balth...@gmail.com> wrote:
> The spec indicates that the value of "id" is a URI so I'm inclined to think
> URNs are legal, but I haven't seen anyone doing that so far.
>
> So for example, would something like this be legal?
>
> {
> "id": "urn:jsonschema:com:example:Person",
Yes, they are. Note that the spec does not specify a mechanism to
dereference this or that URI scheme, so you are completely free;
although it is of course recommended to follow existing specifications
for registered schemes!