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