32 lines
626 B
JSON
32 lines
626 B
JSON
{
|
|
"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
|
|
"id" : "http://json-schema.org/draft-03/links#",
|
|
"type" : "object",
|
|
|
|
"properties" : {
|
|
"href" : {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"format" : "link-description-object-template"
|
|
},
|
|
|
|
"rel" : {
|
|
"type" : "string",
|
|
"required" : true
|
|
},
|
|
|
|
"targetSchema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"},
|
|
|
|
"method" : {
|
|
"type" : "string",
|
|
"default" : "GET"
|
|
},
|
|
|
|
"enctype" : {
|
|
"type" : "string",
|
|
"requires" : "method"
|
|
},
|
|
|
|
"schema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}
|
|
}
|
|
} |