source: trip-planner-front/node_modules/json-schema/draft-01/schema@ 84d0fbb

Last change on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

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