Initial commit
[yaffs-website] / node_modules / json-schema / draft-03 / hyper-schema
1 {\r
2         "$schema" : "http://json-schema.org/draft-03/hyper-schema#",\r
3         "extends" : {"$ref" : "http://json-schema.org/draft-03/schema#"},\r
4         "id" : "http://json-schema.org/draft-03/hyper-schema#",\r
5 \r
6         "properties" : {\r
7                 "links" : {\r
8                         "type" : "array",\r
9                         "items" : {"$ref" : "http://json-schema.org/draft-03/links#"}\r
10                 },\r
11 \r
12                 "fragmentResolution" : {\r
13                         "type" : "string",\r
14                         "default" : "slash-delimited"\r
15                 },\r
16 \r
17                 "root" : {\r
18                         "type" : "boolean",\r
19                         "default" : false\r
20                 },\r
21 \r
22                 "readonly" : {\r
23                         "type" : "boolean",\r
24                         "default" : false\r
25                 },\r
26 \r
27                 "contentEncoding" : {\r
28                         "type" : "string"\r
29                 },\r
30 \r
31                 "pathStart" : {\r
32                         "type" : "string",\r
33                         "format" : "uri"\r
34                 },\r
35 \r
36                 "mediaType" : {\r
37                         "type" : "string",\r
38                         "format" : "media-type"\r
39                 }\r
40         },\r
41 \r
42         "links" : [\r
43                 {\r
44                         "href" : "{id}",\r
45                         "rel" : "self"\r
46                 },\r
47 \r
48                 {\r
49                         "href" : "{$ref}",\r
50                         "rel" : "full"\r
51                 },\r
52 \r
53                 {\r
54                         "href" : "{$schema}",\r
55                         "rel" : "describedby"\r
56                 }\r
57         ],\r
58 \r
59         "fragmentResolution" : "slash-delimited"\r
60 }\r