{ "extends":[ {"$ref":"http://json-schema.org/schema"}, {"$ref":"http://json-schema.org/json-ref"} ], "description":"A schema for schemas that define how hypertext information is interpreted from instance objects", "schema":"#", "fragmentResolution":"dot-delimited", "properties":{ "links":{ "type":"array", "description":"This defines the link relations of the instance objects", "optional":true, "items":{ "type":"object", "properties":{ "href":{ "type":"string", "description":"This defines the target URL for the relation and can be parameterized using {propertyName} notation. It should be resolved as a URI-reference relative to the URI that was used to retrieve the instance document", }, "rel":{ "type":"string", "description":"This is the name of the link relation", "optional": true, "default":"full" }, "method":{ "type":"string", "description":"For submission links, this defines the method that should be used to access the target resource", "default":"GET", "optional":true }, "enctype":{ "type":"string", "description":"For submission links, this defines the media type that should be used to encode the data to be submitted (in the URI query or in the body of the request)", "default":"application/x-www-form-urlencoded", "optional":true }, "properties":{ "type":"object", "description":"For submission links, this defines the acceptable property names and values for the submission action", "$ref":"#.properties", "optional":true } } } }, "fragmentResolution":{ "type":"string", "description":"This property indicates the fragment resolution protocol to use for resolving fragment identifiers in URIs within the instance representations. This applies to the instance object URIs and all children of the instance object's URIs.", "options":[ {"name":"Dot Delimited", "value":"dot-delimited"} ], "optional": true, "default": "dot-delimited" }, "root":{ "type":"boolean", "description":"This attribute indicates that the value of the instance property value SHOULD be treated as the root or the body of the representation for the purposes of user interaction and fragment resolution (all other properties of the instance objects are can be regarded as metadata descriptions for the data).", "optional": true }, "readonly":{ "type":"boolean", "description":"This indicates that the instance property should not be changed (this is only for interaction, it has no effect for standalone validation).", "optional":true, "default":false }, "pathStart":{ "type":"string", "description":"This property value is a URI-Reference that indicates the URI that all the URIs for the instances of the schema should start with.", "optional":true }, "mediaType":{ "type":"string", "description":"This indicates the media type of the instance representations that this schema is defining.", "optional":true }, "alternates":{ "type":"array", "description":"This is an array of JSON schema definitions that define any other schemas for alternate JSON-based representations of the instance resources.", "optional":true, "items":{"$ref":"#"} } } }