Initial commit
[yaffs-website] / node_modules / json-schema / draft-04 / links
1 {\r
2         "$schema" : "http://json-schema.org/draft-04/hyper-schema#",\r
3         "id" : "http://json-schema.org/draft-04/links#",\r
4         "type" : "object",\r
5         \r
6         "properties" : {\r
7                 "rel" : {\r
8                         "type" : "string"\r
9                 },\r
10 \r
11                 "href" : {\r
12                         "type" : "string"\r
13                 },\r
14 \r
15                 "template" : {\r
16                         "type" : "string"\r
17                 },\r
18                 \r
19                 "targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"},\r
20                 \r
21                 "method" : {\r
22                         "type" : "string",\r
23                         "default" : "GET"\r
24                 },\r
25                 \r
26                 "enctype" : {\r
27                         "type" : "string"\r
28                 },\r
29                 \r
30                 "properties" : {\r
31                         "type" : "object",\r
32                         "additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}\r
33                 }\r
34         },\r
35         \r
36         "required" : ["rel", "href"],\r
37         \r
38         "dependencies" : {\r
39                 "enctype" : "method"\r
40         }\r
41 }