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