Tools, FAQ, Tutorials:
References to JSON Types Defined Externally
How to reference a JSON type that is defined externally in another JSON Schema?
✍: FYIcenter.com
If a JSON type is defined externally in another JSON schema, you can reference it using its absolute address.
For example, the following JSON schema has two external references. One refers to a JSON Type defined in a local JSON schema file. Another refers to a JSON Type defined in remote Web site.
{ "type": "object", "properties": { "clarity": { "$ref": "Rating.json#/definitions/rating" }, "score": { "$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" } } }
⇒ JSON Type Unique Identifications
2017-08-25, 1535🔥, 0💬
Popular Posts:
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encod...
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs...
How to use the Atom Online Validator at w3.org? w3.org feed validation service is provided at http:/...
How to use the "find-and-replace" Policy Statement for an Azure API service operation? The "find-and...