This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/json-schema/draft-03/links
2020-11-01 22:46:04 +00:00

35 lines
720 B
Plaintext

{
"$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#"}
}
}
}