BlueGit

blue-star danique-bot

Files

danique-bot / node_modules / json-schema / draft-04 / links

links

Import template
timfa Tim · pushed by timfa · 4 years ago
c788ad20 History
links 690 B Download Raw
1{
2 "$schema" : "http://json-schema.org/draft-04/hyper-schema#",
3 "id" : "http://json-schema.org/draft-04/links#",
4 "type" : "object",
5
6 "properties" : {
7 "rel" : {
8 "type" : "string"
9 },
10
11 "href" : {
12 "type" : "string"
13 },
14
15 "template" : {
16 "type" : "string"
17 },
18
19 "targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"},
20
21 "method" : {
22 "type" : "string",
23 "default" : "GET"
24 },
25
26 "enctype" : {
27 "type" : "string"
28 },
29
30 "properties" : {
31 "type" : "object",
32 "additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}
33 }
34 },
35
36 "required" : ["rel", "href"],
37
38 "dependencies" : {
39 "enctype" : "method"
40 }
41}