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" } } }
Â
⇒Introduction of JSON Schema
⇒⇒JSON Tutorials
2017-08-25, 1300👍, 0💬
Popular Posts:
How to use "link" command tool to link objet files? If you have object files previously compiled by ...
What is Azure API Management Developer Portal Admin? The Developer Portal Admin is an Azure Web port...
How To Control Padding Spaces within a Table Cell? Cell padding spaces are spaces between cell inner...
How to use the "send-request" Policy statement to call an extra web service for an Azure API service...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...