install-nix-action/node_modules/json-schema/draft-03/links
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

35 lines
No EOL
720 B
Text

{
"$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"
},
"properties" : {
"type" : "object",
"additionalProperties" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}
}
}
}