Last change
on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
2.7 KB
|
Line | |
---|
1 | {
|
---|
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
|
---|
3 | "id" : "http://json-schema.org/draft-02/schema#",
|
---|
4 | "type" : "object",
|
---|
5 |
|
---|
6 | "properties" : {
|
---|
7 | "type" : {
|
---|
8 | "type" : ["string", "array"],
|
---|
9 | "items" : {
|
---|
10 | "type" : ["string", {"$ref" : "#"}]
|
---|
11 | },
|
---|
12 | "optional" : true,
|
---|
13 | "uniqueItems" : true,
|
---|
14 | "default" : "any"
|
---|
15 | },
|
---|
16 |
|
---|
17 | "properties" : {
|
---|
18 | "type" : "object",
|
---|
19 | "additionalProperties" : {"$ref" : "#"},
|
---|
20 | "optional" : true,
|
---|
21 | "default" : {}
|
---|
22 | },
|
---|
23 |
|
---|
24 | "items" : {
|
---|
25 | "type" : [{"$ref" : "#"}, "array"],
|
---|
26 | "items" : {"$ref" : "#"},
|
---|
27 | "optional" : true,
|
---|
28 | "default" : {}
|
---|
29 | },
|
---|
30 |
|
---|
31 | "optional" : {
|
---|
32 | "type" : "boolean",
|
---|
33 | "optional" : true,
|
---|
34 | "default" : false
|
---|
35 | },
|
---|
36 |
|
---|
37 | "additionalProperties" : {
|
---|
38 | "type" : [{"$ref" : "#"}, "boolean"],
|
---|
39 | "optional" : true,
|
---|
40 | "default" : {}
|
---|
41 | },
|
---|
42 |
|
---|
43 | "requires" : {
|
---|
44 | "type" : ["string", {"$ref" : "#"}],
|
---|
45 | "optional" : true
|
---|
46 | },
|
---|
47 |
|
---|
48 | "minimum" : {
|
---|
49 | "type" : "number",
|
---|
50 | "optional" : true
|
---|
51 | },
|
---|
52 |
|
---|
53 | "maximum" : {
|
---|
54 | "type" : "number",
|
---|
55 | "optional" : true
|
---|
56 | },
|
---|
57 |
|
---|
58 | "minimumCanEqual" : {
|
---|
59 | "type" : "boolean",
|
---|
60 | "optional" : true,
|
---|
61 | "requires" : "minimum",
|
---|
62 | "default" : true
|
---|
63 | },
|
---|
64 |
|
---|
65 | "maximumCanEqual" : {
|
---|
66 | "type" : "boolean",
|
---|
67 | "optional" : true,
|
---|
68 | "requires" : "maximum",
|
---|
69 | "default" : true
|
---|
70 | },
|
---|
71 |
|
---|
72 | "minItems" : {
|
---|
73 | "type" : "integer",
|
---|
74 | "optional" : true,
|
---|
75 | "minimum" : 0,
|
---|
76 | "default" : 0
|
---|
77 | },
|
---|
78 |
|
---|
79 | "maxItems" : {
|
---|
80 | "type" : "integer",
|
---|
81 | "optional" : true,
|
---|
82 | "minimum" : 0
|
---|
83 | },
|
---|
84 |
|
---|
85 | "uniqueItems" : {
|
---|
86 | "type" : "boolean",
|
---|
87 | "optional" : true,
|
---|
88 | "default" : false
|
---|
89 | },
|
---|
90 |
|
---|
91 | "pattern" : {
|
---|
92 | "type" : "string",
|
---|
93 | "optional" : true,
|
---|
94 | "format" : "regex"
|
---|
95 | },
|
---|
96 |
|
---|
97 | "minLength" : {
|
---|
98 | "type" : "integer",
|
---|
99 | "optional" : true,
|
---|
100 | "minimum" : 0,
|
---|
101 | "default" : 0
|
---|
102 | },
|
---|
103 |
|
---|
104 | "maxLength" : {
|
---|
105 | "type" : "integer",
|
---|
106 | "optional" : true
|
---|
107 | },
|
---|
108 |
|
---|
109 | "enum" : {
|
---|
110 | "type" : "array",
|
---|
111 | "optional" : true,
|
---|
112 | "minItems" : 1,
|
---|
113 | "uniqueItems" : true
|
---|
114 | },
|
---|
115 |
|
---|
116 | "title" : {
|
---|
117 | "type" : "string",
|
---|
118 | "optional" : true
|
---|
119 | },
|
---|
120 |
|
---|
121 | "description" : {
|
---|
122 | "type" : "string",
|
---|
123 | "optional" : true
|
---|
124 | },
|
---|
125 |
|
---|
126 | "format" : {
|
---|
127 | "type" : "string",
|
---|
128 | "optional" : true
|
---|
129 | },
|
---|
130 |
|
---|
131 | "contentEncoding" : {
|
---|
132 | "type" : "string",
|
---|
133 | "optional" : true
|
---|
134 | },
|
---|
135 |
|
---|
136 | "default" : {
|
---|
137 | "type" : "any",
|
---|
138 | "optional" : true
|
---|
139 | },
|
---|
140 |
|
---|
141 | "divisibleBy" : {
|
---|
142 | "type" : "number",
|
---|
143 | "minimum" : 0,
|
---|
144 | "minimumCanEqual" : false,
|
---|
145 | "optional" : true,
|
---|
146 | "default" : 1
|
---|
147 | },
|
---|
148 |
|
---|
149 | "disallow" : {
|
---|
150 | "type" : ["string", "array"],
|
---|
151 | "items" : {"type" : "string"},
|
---|
152 | "optional" : true,
|
---|
153 | "uniqueItems" : true
|
---|
154 | },
|
---|
155 |
|
---|
156 | "extends" : {
|
---|
157 | "type" : [{"$ref" : "#"}, "array"],
|
---|
158 | "items" : {"$ref" : "#"},
|
---|
159 | "optional" : true,
|
---|
160 | "default" : {}
|
---|
161 | }
|
---|
162 | },
|
---|
163 |
|
---|
164 | "optional" : true,
|
---|
165 | "default" : {}
|
---|
166 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.