asarfuckery/appasar/development/node_modules/json-schema/draft-04/hyper-schema
2019-01-17 19:22:05 +01:00

60 lines
996 B
Text

{
"$schema" : "http://json-schema.org/draft-04/hyper-schema#",
"extends" : {"$ref" : "http://json-schema.org/draft-04/schema#"},
"id" : "http://json-schema.org/draft-04/hyper-schema#",
"properties" : {
"links" : {
"type" : "array",
"items" : {"$ref" : "http://json-schema.org/draft-04/links#"}
},
"fragmentResolution" : {
"type" : "string",
"default" : "json-pointer"
},
"root" : {
"type" : "boolean",
"default" : false
},
"readonly" : {
"type" : "boolean",
"default" : false
},
"contentEncoding" : {
"type" : "string"
},
"pathStart" : {
"type" : "string",
"format" : "uri"
},
"mediaType" : {
"type" : "string",
"format" : "media-type"
}
},
"links" : [
{
"href" : "{id}",
"rel" : "self"
},
{
"href" : "{$ref}",
"rel" : "full"
},
{
"href" : "{$schema}",
"rel" : "describedby"
}
],
"fragmentResolution" : "json-pointer"
}