File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,16 @@ Bundling](https://github.com/sourcemeta/jsonschema/blob/main/docs/bundle.markdow
5050to inline externally referenced schemas that might be based on different
5151dialects of JSON Schema.
5252
53+ {{<common-pitfall >}}JSON Schema prohibits referencing meta-schemas using
54+ relative URIs. The fundamental reason for this is that resolving the
55+ meta-schema is necessary for correctly determining the base URI of the schema,
56+ from which a relative meta-schema reference would be resolved, introducing a
57+ circular problem.
58+
59+ A common occurrence of this issue is setting the ` $schema ` keyword to a
60+ relative path, which is again invalid according to the
61+ specification.{{</common-pitfall >}}
62+
5363{{<common-pitfall >}}JSON Schema prohibits the use of the this keyword on
5464arbitrary subschemas that do not represent schema resources. It can only be
5565present at the root of the schema (an implicit schema resource) or as a sibling
You can’t perform that action at this time.
0 commit comments