How do you get a complete local copy of 2020-12 meta-schema? #231
-
It was way simpler with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@GabenGar for the meta-schemas, the assumption is that implementations should be able to support that, and we've noticed that many bundle the meta-schemas with their implementation. This is correct as it avoids excessive HTTP requests to the JSON Schema org web site, and we (after experimenting with various policies) guarantee that meta-schema contents won't change. For the vocabularies, no, you do not have to fetch anything from those URIs, and in fact probably cannot. From the spec §8.1.2. The "$vocabulary" Keyword:
with an additional explanatory note (that's what the yellow highlight of the text means) of:
|
Beta Was this translation helpful? Give feedback.
-
See this gist. It has the full bundled 2020-12 meta-schema and includes the code used to generate it. |
Beta Was this translation helpful? Give feedback.
See this gist. It has the full bundled 2020-12 meta-schema and includes the code used to generate it.