1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/node_modules/json-schema/draft-04/links

41 lines
690 B
Plaintext
Raw Normal View History

2019-05-30 09:06:47 +00: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"
}
}