2018-05-26 22:48:13 +10:00
|
|
|
{
|
|
|
|
"$schema" : "http://json-schema.org/draft-04/hyper-schema#",
|
|
|
|
"id" : "http://json-schema.org/draft-04/links#",
|
|
|
|
"type" : "object",
|
|
|
|
|
|
|
|
"properties" : {
|
|
|
|
"rel" : {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
|
|
|
|
"href" : {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
|
|
|
|
"template" : {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
|
|
|
|
"targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"},
|
|
|
|
|
|
|
|
"method" : {
|
|
|
|
"type" : "string",
|
|
|
|
"default" : "GET"
|
|
|
|
},
|
|
|
|
|
|
|
|
"enctype" : {
|
|
|
|
"type" : "string"
|
|
|
|
},
|
|
|
|
|
|
|
|
"properties" : {
|
|
|
|
"type" : "object",
|
|
|
|
"additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"required" : ["rel", "href"],
|
|
|
|
|
|
|
|
"dependencies" : {
|
|
|
|
"enctype" : "method"
|
|
|
|
}
|
2018-02-19 04:41:25 +11:00
|
|
|
}
|