Initial commit
[yaffs-website] / node_modules / json-schema / draft-00 / schema
1 {\r
2         "$schema" : "http://json-schema.org/draft-00/hyper-schema#",\r
3         "id" : "http://json-schema.org/draft-00/schema#",\r
4         "type" : "object",\r
5         \r
6         "properties" : {\r
7                 "type" : {\r
8                         "type" : ["string", "array"],\r
9                         "items" : {\r
10                                 "type" : ["string", {"$ref" : "#"}]\r
11                         },\r
12                         "optional" : true,\r
13                         "default" : "any"\r
14                 },\r
15                 \r
16                 "properties" : {\r
17                         "type" : "object",\r
18                         "additionalProperties" : {"$ref" : "#"},\r
19                         "optional" : true,\r
20                         "default" : {}\r
21                 },\r
22                 \r
23                 "items" : {\r
24                         "type" : [{"$ref" : "#"}, "array"],\r
25                         "items" : {"$ref" : "#"},\r
26                         "optional" : true,\r
27                         "default" : {}\r
28                 },\r
29                 \r
30                 "optional" : {\r
31                         "type" : "boolean",\r
32                         "optional" : true,\r
33                         "default" : false\r
34                 },\r
35                 \r
36                 "additionalProperties" : {\r
37                         "type" : [{"$ref" : "#"}, "boolean"],\r
38                         "optional" : true,\r
39                         "default" : {}\r
40                 },\r
41                 \r
42                 "requires" : {\r
43                         "type" : ["string", {"$ref" : "#"}],\r
44                         "optional" : true\r
45                 },\r
46                 \r
47                 "minimum" : {\r
48                         "type" : "number",\r
49                         "optional" : true\r
50                 },\r
51                 \r
52                 "maximum" : {\r
53                         "type" : "number",\r
54                         "optional" : true\r
55                 },\r
56                 \r
57                 "minimumCanEqual" : {\r
58                         "type" : "boolean",\r
59                         "optional" : true,\r
60                         "requires" : "minimum",\r
61                         "default" : true\r
62                 },\r
63                 \r
64                 "maximumCanEqual" : {\r
65                         "type" : "boolean",\r
66                         "optional" : true,\r
67                         "requires" : "maximum",\r
68                         "default" : true\r
69                 },\r
70                 \r
71                 "minItems" : {\r
72                         "type" : "integer",\r
73                         "optional" : true,\r
74                         "minimum" : 0,\r
75                         "default" : 0\r
76                 },\r
77                 \r
78                 "maxItems" : {\r
79                         "type" : "integer",\r
80                         "optional" : true,\r
81                         "minimum" : 0\r
82                 },\r
83                 \r
84                 "pattern" : {\r
85                         "type" : "string",\r
86                         "optional" : true,\r
87                         "format" : "regex"\r
88                 },\r
89                 \r
90                 "minLength" : {\r
91                         "type" : "integer",\r
92                         "optional" : true,\r
93                         "minimum" : 0,\r
94                         "default" : 0\r
95                 },\r
96                 \r
97                 "maxLength" : {\r
98                         "type" : "integer",\r
99                         "optional" : true\r
100                 },\r
101                 \r
102                 "enum" : {\r
103                         "type" : "array",\r
104                         "optional" : true,\r
105                         "minItems" : 1\r
106                 },\r
107                 \r
108                 "title" : {\r
109                         "type" : "string",\r
110                         "optional" : true\r
111                 },\r
112                 \r
113                 "description" : {\r
114                         "type" : "string",\r
115                         "optional" : true\r
116                 },\r
117                 \r
118                 "format" : {\r
119                         "type" : "string",\r
120                         "optional" : true\r
121                 },\r
122                 \r
123                 "contentEncoding" : {\r
124                         "type" : "string",\r
125                         "optional" : true\r
126                 },\r
127                 \r
128                 "default" : {\r
129                         "type" : "any",\r
130                         "optional" : true\r
131                 },\r
132                 \r
133                 "maxDecimal" : {\r
134                         "type" : "integer",\r
135                         "optional" : true,\r
136                         "minimum" : 0\r
137                 },\r
138                 \r
139                 "disallow" : {\r
140                         "type" : ["string", "array"],\r
141                         "items" : {"type" : "string"},\r
142                         "optional" : true\r
143                 },\r
144                 \r
145                 "extends" : {\r
146                         "type" : [{"$ref" : "#"}, "array"],\r
147                         "items" : {"$ref" : "#"},\r
148                         "optional" : true,\r
149                         "default" : {}\r
150                 }\r
151         },\r
152         \r
153         "optional" : true,\r
154         "default" : {}\r
155 }