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, 1931🔥, 0💬
Popular Posts:
How to extend json.JSONEncoder class? I want to encode other Python data types to JSON. If you encod...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...