You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
730 B
Plaintext
41 lines
730 B
Plaintext
5 years ago
|
{
|
||
|
"$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"
|
||
|
}
|
||
|
}
|