Edit online

Resolving References with an XML Catalog

If a reference to a remote JSON schema must be used but a local copy of the schema should actually be preferred for performance reasons, the reference can be resolved to the local copy with an XML Catalog.

For example, if the JSON schema contains a reference to a remote schema such as:

{"$ref": "http://json-schema.org/example/geo.json"}

the reference can be resolved to a local copy of the schema by inserting the following catalog entry:

<uri name="http://json-schema.org/example/geo.json" uri="schemas/geo.json"/>