@json-editor/json-editor 2.9.1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +47 -1
- package/dist/jsoneditor.js +1 -1
- package/dist/jsoneditor.js.LICENSE.txt +1 -1
- package/dist/nonmin/jsoneditor.js +445 -124
- package/dist/nonmin/jsoneditor.js.map +1 -1
- package/docs/css_integration.html +17 -15
- package/docs/custom-editor.html +92 -0
- package/docs/index.html +4 -1
- package/docs/meta_schema.json +426 -398
- package/package.json +1 -1
- package/src/defaults.js +15 -1
- package/src/editor.js +23 -6
- package/src/editors/multiple.js +64 -7
- package/src/editors/object.js +0 -1
- package/src/iconlibs/bootstrap.js +28 -0
- package/src/iconlibs/index.js +2 -0
- package/src/resolvers.js +5 -2
- package/src/schemaloader.js +3 -1
- package/src/themes/bootstrap3.js +1 -1
- package/src/utilities.js +22 -0
- package/src/validator.js +93 -0
- package/tests/codeceptjs/constrains/contains_test.js +36 -0
- package/tests/codeceptjs/constrains/dependentSchemas_test.js +15 -0
- package/tests/codeceptjs/constrains/if-then-else_test.js +143 -0
- package/tests/codeceptjs/core_test.js +27 -27
- package/tests/codeceptjs/editors/advanced_test.js +11 -10
- package/tests/codeceptjs/editors/array_any_of_test.js +35 -35
- package/tests/codeceptjs/editors/array_test.js +757 -767
- package/tests/codeceptjs/editors/autocomplete_test.js +1 -3
- package/tests/codeceptjs/editors/button_test.js +25 -24
- package/tests/codeceptjs/editors/checkbox_test.js +17 -16
- package/tests/codeceptjs/editors/colorpicker_test.js +18 -16
- package/tests/codeceptjs/editors/datetime_test.js +7 -7
- package/tests/codeceptjs/editors/inheritance_test.js +7 -8
- package/tests/codeceptjs/editors/integer_test.js +71 -72
- package/tests/codeceptjs/editors/jodit_test.js +16 -17
- package/tests/codeceptjs/editors/multiselect_test.js +5 -5
- package/tests/codeceptjs/editors/number_test.js +64 -65
- package/tests/codeceptjs/editors/object_test.js +39 -13
- package/tests/codeceptjs/editors/option-no_default_values_test.js +4 -4
- package/tests/codeceptjs/editors/programmatic-changes_test.js +2 -3
- package/tests/codeceptjs/editors/range_test.js +1 -3
- package/tests/codeceptjs/editors/select_test.js +3 -5
- package/tests/codeceptjs/editors/stepper_test.js +5 -7
- package/tests/codeceptjs/editors/string_test.js +8 -8
- package/tests/codeceptjs/editors/table-confirm-delete_test.js +7 -9
- package/tests/codeceptjs/editors/uuid_test.js +10 -10
- package/tests/codeceptjs/editors/validation_test.js +1 -1
- package/tests/codeceptjs/{editors/issues → issues}/issue-gh-1133_test.js +1 -3
- package/tests/codeceptjs/issues/issue-gh-1158-2_test.js +10 -0
- package/tests/codeceptjs/{editors/issues → issues}/issue-gh-1158_test.js +0 -2
- package/tests/codeceptjs/issues/issue-gh-1164_test.js +10 -0
- package/tests/codeceptjs/issues/issue-gh-1211_test.js +17 -0
- package/tests/codeceptjs/{editors/issues → issues}/issue-gh-1257_test.js +2 -4
- package/tests/codeceptjs/issues/issue-gh-1338_test.js +16 -0
- package/tests/codeceptjs/issues/issue-gh-1347_test.js +8 -0
- package/tests/codeceptjs/issues/issue-gh-795_test.js +13 -0
- package/tests/codeceptjs/issues/issue-gh-810_test.js +52 -0
- package/tests/codeceptjs/issues/issue-gh-812_test.js +25 -0
- package/tests/codeceptjs/meta-schema_test.js +10 -10
- package/tests/codeceptjs/schemaloader_test.js +7 -7
- package/tests/codeceptjs/themes_test.js +31 -0
- package/tests/pages/autocomplete.html +1 -0
- package/tests/pages/contains.html +38 -0
- package/tests/pages/dependentSchemas.html +52 -0
- package/tests/pages/if-else.html +57 -0
- package/tests/pages/if-then-else-allOf.html +117 -0
- package/tests/pages/if-then-else.html +64 -0
- package/tests/pages/if-then.html +57 -0
- package/tests/pages/issues/issue-gh-1158-2.html +189 -0
- package/tests/pages/issues/issue-gh-1165.html +63 -0
- package/tests/pages/issues/issue-gh-1165.json +8 -0
- package/tests/pages/issues/issue-gh-1211.html +1022 -0
- package/tests/pages/issues/issue-gh-1338.html +74 -0
- package/tests/pages/issues/issue-gh-1347.html +142 -0
- package/tests/pages/issues/issue-gh-795.html +58 -0
- package/tests/pages/issues/issue-gh-810.html +149 -0
- package/tests/pages/maxContains.html +39 -0
- package/tests/pages/meta-schema.html +28 -0
- package/tests/pages/meta_schema.json +426 -398
- package/tests/pages/minContains.html +39 -0
- package/tests/pages/option-dependencies.html +106 -0
- package/tests/pages/themes.html +3 -1
- package/tests/unit/core.spec.js +2 -5
- package/tests/codeceptjs/editors/issues/issue-gh-1164_test.js +0 -12
- package/tests/codeceptjs/editors/issues/issue-gh-812_test.js +0 -32
package/docs/meta_schema.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions":{
|
|
3
|
-
"schemaArray":{
|
|
4
|
-
"type":"array",
|
|
5
|
-
"minItems":1,
|
|
6
|
-
"items":{
|
|
7
|
-
"$ref":"#/definitions/schema",
|
|
8
|
-
"title":"schema"
|
|
2
|
+
"definitions": {
|
|
3
|
+
"schemaArray": {
|
|
4
|
+
"type": "array",
|
|
5
|
+
"minItems": 1,
|
|
6
|
+
"items": {
|
|
7
|
+
"$ref": "#/definitions/schema",
|
|
8
|
+
"title": "schema"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"null":{
|
|
12
|
-
"properties":{
|
|
13
|
-
"type":{
|
|
14
|
-
"enum":[
|
|
11
|
+
"null": {
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"enum": [
|
|
15
15
|
"null"
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
|
-
"enum":{
|
|
19
|
-
"items":{
|
|
20
|
-
"type":"null"
|
|
18
|
+
"enum": {
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "null"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"default":{
|
|
24
|
-
"type":"null",
|
|
25
|
-
"propertyOrder":10
|
|
23
|
+
"default": {
|
|
24
|
+
"type": "null",
|
|
25
|
+
"propertyOrder": 10
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"boolean":{
|
|
30
|
-
"properties":{
|
|
31
|
-
"type":{
|
|
32
|
-
"enum":[
|
|
29
|
+
"boolean": {
|
|
30
|
+
"properties": {
|
|
31
|
+
"type": {
|
|
32
|
+
"enum": [
|
|
33
33
|
"boolean"
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
|
-
"enum":{
|
|
37
|
-
"items":{
|
|
38
|
-
"type":"boolean"
|
|
36
|
+
"enum": {
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "boolean"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
"format":{
|
|
42
|
-
"type":"string",
|
|
43
|
-
"enum":[
|
|
41
|
+
"format": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
44
|
"select",
|
|
45
45
|
"checkbox"
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
|
-
"default":{
|
|
49
|
-
"type":"boolean",
|
|
50
|
-
"propertyOrder":10
|
|
48
|
+
"default": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"propertyOrder": 10
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"string":{
|
|
55
|
-
"properties":{
|
|
56
|
-
"options":{
|
|
57
|
-
"properties":{
|
|
58
|
-
"input_width":{
|
|
59
|
-
"type":"string"
|
|
54
|
+
"string": {
|
|
55
|
+
"properties": {
|
|
56
|
+
"options": {
|
|
57
|
+
"properties": {
|
|
58
|
+
"input_width": {
|
|
59
|
+
"type": "string"
|
|
60
60
|
},
|
|
61
|
-
"input_height":{
|
|
62
|
-
"type":"string"
|
|
61
|
+
"input_height": {
|
|
62
|
+
"type": "string"
|
|
63
63
|
},
|
|
64
|
-
"expand_height":{
|
|
65
|
-
"type":"boolean"
|
|
64
|
+
"expand_height": {
|
|
65
|
+
"type": "boolean"
|
|
66
66
|
},
|
|
67
|
-
"wysiwyg":{
|
|
68
|
-
"type":"boolean"
|
|
67
|
+
"wysiwyg": {
|
|
68
|
+
"type": "boolean"
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"format":{
|
|
73
|
-
"type":"string",
|
|
74
|
-
"propertyOrder":20,
|
|
75
|
-
"enum":[
|
|
72
|
+
"format": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"propertyOrder": 20,
|
|
75
|
+
"enum": [
|
|
76
76
|
"color",
|
|
77
77
|
"date",
|
|
78
78
|
"datetime-local",
|
|
@@ -137,276 +137,294 @@
|
|
|
137
137
|
"yaml"
|
|
138
138
|
]
|
|
139
139
|
},
|
|
140
|
-
"minLength":{
|
|
141
|
-
"type":"integer",
|
|
142
|
-
"minimum":0,
|
|
143
|
-
"propertyOrder":25
|
|
140
|
+
"minLength": {
|
|
141
|
+
"type": "integer",
|
|
142
|
+
"minimum": 0,
|
|
143
|
+
"propertyOrder": 25
|
|
144
144
|
},
|
|
145
|
-
"maxLength":{
|
|
146
|
-
"type":"integer",
|
|
147
|
-
"minimum":0,
|
|
148
|
-
"propertyOrder":30
|
|
145
|
+
"maxLength": {
|
|
146
|
+
"type": "integer",
|
|
147
|
+
"minimum": 0,
|
|
148
|
+
"propertyOrder": 30
|
|
149
149
|
},
|
|
150
|
-
"pattern":{
|
|
151
|
-
"type":"string",
|
|
152
|
-
"format":"regex",
|
|
153
|
-
"propertyOrder":35
|
|
150
|
+
"pattern": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"format": "regex",
|
|
153
|
+
"propertyOrder": 35
|
|
154
154
|
},
|
|
155
|
-
"type":{
|
|
156
|
-
"enum":[
|
|
155
|
+
"type": {
|
|
156
|
+
"enum": [
|
|
157
157
|
"string"
|
|
158
158
|
]
|
|
159
159
|
},
|
|
160
|
-
"enum":{
|
|
161
|
-
"items":{
|
|
162
|
-
"type":"string"
|
|
160
|
+
"enum": {
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "string"
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
|
-
"default":{
|
|
165
|
+
"default": {
|
|
166
166
|
"type": "string",
|
|
167
|
-
"propertyOrder":10
|
|
168
|
-
},
|
|
169
|
-
"media":{
|
|
170
|
-
"type":"object",
|
|
171
|
-
"additionalProperties":false,
|
|
172
|
-
"properties":{
|
|
173
|
-
"type":{
|
|
174
|
-
"type":"string"
|
|
167
|
+
"propertyOrder": 10
|
|
168
|
+
},
|
|
169
|
+
"media": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"additionalProperties": false,
|
|
172
|
+
"properties": {
|
|
173
|
+
"type": {
|
|
174
|
+
"type": "string"
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
|
-
"template":{
|
|
179
|
-
"type":"string"
|
|
178
|
+
"template": {
|
|
179
|
+
"type": "string"
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
|
-
"number":{
|
|
184
|
-
"properties":{
|
|
185
|
-
"options":{
|
|
186
|
-
"properties":{
|
|
187
|
-
"input_width":{
|
|
188
|
-
"type":"string"
|
|
183
|
+
"number": {
|
|
184
|
+
"properties": {
|
|
185
|
+
"options": {
|
|
186
|
+
"properties": {
|
|
187
|
+
"input_width": {
|
|
188
|
+
"type": "string"
|
|
189
189
|
},
|
|
190
|
-
"input_height":{
|
|
191
|
-
"type":"string"
|
|
190
|
+
"input_height": {
|
|
191
|
+
"type": "string"
|
|
192
192
|
},
|
|
193
|
-
"expand_height":{
|
|
194
|
-
"type":"boolean"
|
|
193
|
+
"expand_height": {
|
|
194
|
+
"type": "boolean"
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
|
-
"type":{
|
|
199
|
-
"enum":[
|
|
198
|
+
"type": {
|
|
199
|
+
"enum": [
|
|
200
200
|
"number"
|
|
201
201
|
]
|
|
202
202
|
},
|
|
203
|
-
"enum":{
|
|
204
|
-
"items":{
|
|
205
|
-
"type":"number"
|
|
203
|
+
"enum": {
|
|
204
|
+
"items": {
|
|
205
|
+
"type": "number"
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
|
-
"default":{
|
|
209
|
-
"type":"number"
|
|
208
|
+
"default": {
|
|
209
|
+
"type": "number"
|
|
210
210
|
},
|
|
211
|
-
"minimum":{
|
|
212
|
-
"type":"number",
|
|
213
|
-
"propertyOrder":25
|
|
211
|
+
"minimum": {
|
|
212
|
+
"type": "number",
|
|
213
|
+
"propertyOrder": 25
|
|
214
214
|
},
|
|
215
|
-
"maximum":{
|
|
216
|
-
"type":"number",
|
|
217
|
-
"propertyOrder":30
|
|
215
|
+
"maximum": {
|
|
216
|
+
"type": "number",
|
|
217
|
+
"propertyOrder": 30
|
|
218
218
|
},
|
|
219
|
-
"multipleOf":{
|
|
220
|
-
"type":"number",
|
|
221
|
-
"propertyOrder":35
|
|
219
|
+
"multipleOf": {
|
|
220
|
+
"type": "number",
|
|
221
|
+
"propertyOrder": 35
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
|
-
"integer":{
|
|
226
|
-
"properties":{
|
|
227
|
-
"options":{
|
|
228
|
-
"properties":{
|
|
229
|
-
"input_width":{
|
|
230
|
-
"type":"string"
|
|
225
|
+
"integer": {
|
|
226
|
+
"properties": {
|
|
227
|
+
"options": {
|
|
228
|
+
"properties": {
|
|
229
|
+
"input_width": {
|
|
230
|
+
"type": "string"
|
|
231
231
|
},
|
|
232
|
-
"input_height":{
|
|
233
|
-
"type":"string"
|
|
232
|
+
"input_height": {
|
|
233
|
+
"type": "string"
|
|
234
234
|
},
|
|
235
|
-
"expand_height":{
|
|
236
|
-
"type":"boolean"
|
|
235
|
+
"expand_height": {
|
|
236
|
+
"type": "boolean"
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
|
-
"default":{
|
|
241
|
-
"type":"integer"
|
|
240
|
+
"default": {
|
|
241
|
+
"type": "integer"
|
|
242
242
|
},
|
|
243
|
-
"minimum":{
|
|
244
|
-
"type":"number",
|
|
245
|
-
"propertyOrder":25
|
|
243
|
+
"minimum": {
|
|
244
|
+
"type": "number",
|
|
245
|
+
"propertyOrder": 25
|
|
246
246
|
},
|
|
247
|
-
"maximum":{
|
|
248
|
-
"type":"number",
|
|
249
|
-
"propertyOrder":30
|
|
247
|
+
"maximum": {
|
|
248
|
+
"type": "number",
|
|
249
|
+
"propertyOrder": 30
|
|
250
250
|
},
|
|
251
|
-
"multipleOf":{
|
|
252
|
-
"type":"number",
|
|
253
|
-
"propertyOrder":35
|
|
251
|
+
"multipleOf": {
|
|
252
|
+
"type": "number",
|
|
253
|
+
"propertyOrder": 35
|
|
254
254
|
},
|
|
255
|
-
"type":{
|
|
256
|
-
"enum":[
|
|
255
|
+
"type": {
|
|
256
|
+
"enum": [
|
|
257
257
|
"integer"
|
|
258
258
|
]
|
|
259
259
|
},
|
|
260
|
-
"enum":{
|
|
261
|
-
"items":{
|
|
262
|
-
"type":"integer"
|
|
260
|
+
"enum": {
|
|
261
|
+
"items": {
|
|
262
|
+
"type": "integer"
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"defaultProperties":[
|
|
267
|
+
"object": {
|
|
268
|
+
"defaultProperties": [
|
|
270
269
|
"properties"
|
|
271
270
|
],
|
|
272
|
-
"properties":{
|
|
273
|
-
"options":{
|
|
274
|
-
"properties":{
|
|
275
|
-
"collapsed":{
|
|
276
|
-
"type":"boolean"
|
|
271
|
+
"properties": {
|
|
272
|
+
"options": {
|
|
273
|
+
"properties": {
|
|
274
|
+
"collapsed": {
|
|
275
|
+
"type": "boolean"
|
|
277
276
|
},
|
|
278
|
-
"disable_collapse":{
|
|
279
|
-
"type":"boolean"
|
|
277
|
+
"disable_collapse": {
|
|
278
|
+
"type": "boolean"
|
|
280
279
|
},
|
|
281
|
-
"disable_edit_json":{
|
|
282
|
-
"type":"boolean"
|
|
280
|
+
"disable_edit_json": {
|
|
281
|
+
"type": "boolean"
|
|
283
282
|
},
|
|
284
|
-
"disable_properties":{
|
|
285
|
-
"type":"boolean"
|
|
283
|
+
"disable_properties": {
|
|
284
|
+
"type": "boolean"
|
|
286
285
|
},
|
|
287
|
-
"remove_empty_properties":{
|
|
288
|
-
"type":"boolean"
|
|
286
|
+
"remove_empty_properties": {
|
|
287
|
+
"type": "boolean"
|
|
289
288
|
},
|
|
290
|
-
"layout":{
|
|
291
|
-
"type":"string",
|
|
292
|
-
"enum":[
|
|
289
|
+
"layout": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"enum": [
|
|
293
292
|
"grid"
|
|
294
293
|
]
|
|
295
294
|
}
|
|
296
295
|
}
|
|
297
296
|
},
|
|
298
|
-
"type":{
|
|
299
|
-
"enum":[
|
|
297
|
+
"type": {
|
|
298
|
+
"enum": [
|
|
300
299
|
"object"
|
|
301
300
|
]
|
|
302
301
|
},
|
|
303
|
-
"default":{
|
|
304
|
-
"type":"object"
|
|
302
|
+
"default": {
|
|
303
|
+
"type": "object"
|
|
304
|
+
},
|
|
305
|
+
"properties": {
|
|
306
|
+
"type": "object",
|
|
307
|
+
"patternProperties": {
|
|
308
|
+
".*": {
|
|
309
|
+
"$ref": "#/definitions/schema"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
305
312
|
},
|
|
306
|
-
"
|
|
307
|
-
"type":"object",
|
|
308
|
-
"patternProperties":{
|
|
309
|
-
".*":{
|
|
310
|
-
"$ref":"#/definitions/schema"
|
|
313
|
+
"patternProperties": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"patternProperties": {
|
|
316
|
+
".*": {
|
|
317
|
+
"$ref": "#/definitions/schema"
|
|
311
318
|
}
|
|
312
319
|
}
|
|
313
320
|
},
|
|
314
|
-
"
|
|
315
|
-
"type":"object",
|
|
316
|
-
"patternProperties":{
|
|
317
|
-
".*":{
|
|
318
|
-
"$ref":"#/definitions/schema"
|
|
321
|
+
"dependentSchemas": {
|
|
322
|
+
"type": "object",
|
|
323
|
+
"patternProperties": {
|
|
324
|
+
".*": {
|
|
325
|
+
"$ref": "#/definitions/schema"
|
|
319
326
|
}
|
|
320
327
|
}
|
|
321
328
|
},
|
|
322
|
-
"additionalProperties":{
|
|
323
|
-
"type":"boolean"
|
|
329
|
+
"additionalProperties": {
|
|
330
|
+
"type": "boolean"
|
|
324
331
|
},
|
|
325
|
-
"required":{
|
|
326
|
-
"type":"array",
|
|
327
|
-
"uniqueItems":true,
|
|
328
|
-
"format":"table",
|
|
329
|
-
"items":{
|
|
330
|
-
"type":"string",
|
|
331
|
-
"title":"property"
|
|
332
|
+
"required": {
|
|
333
|
+
"type": "array",
|
|
334
|
+
"uniqueItems": true,
|
|
335
|
+
"format": "table",
|
|
336
|
+
"items": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"title": "property"
|
|
332
339
|
}
|
|
333
340
|
},
|
|
334
|
-
"format":{
|
|
335
|
-
"type":"string",
|
|
336
|
-
"enum":[
|
|
341
|
+
"format": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"enum": [
|
|
337
344
|
"grid"
|
|
338
345
|
]
|
|
339
346
|
}
|
|
340
347
|
}
|
|
341
348
|
},
|
|
342
|
-
"array":{
|
|
343
|
-
"defaultProperties":[
|
|
349
|
+
"array": {
|
|
350
|
+
"defaultProperties": [
|
|
344
351
|
"items"
|
|
345
352
|
],
|
|
346
|
-
"properties":{
|
|
347
|
-
"options":{
|
|
348
|
-
"properties":{
|
|
349
|
-
"collapsed":{
|
|
350
|
-
"type":"boolean"
|
|
353
|
+
"properties": {
|
|
354
|
+
"options": {
|
|
355
|
+
"properties": {
|
|
356
|
+
"collapsed": {
|
|
357
|
+
"type": "boolean"
|
|
351
358
|
},
|
|
352
|
-
"disable_array_add":{
|
|
353
|
-
"type":"boolean"
|
|
359
|
+
"disable_array_add": {
|
|
360
|
+
"type": "boolean"
|
|
354
361
|
},
|
|
355
|
-
"disable_array_delete":{
|
|
356
|
-
"type":"boolean"
|
|
362
|
+
"disable_array_delete": {
|
|
363
|
+
"type": "boolean"
|
|
357
364
|
},
|
|
358
|
-
"disable_array_delete_all_rows":{
|
|
359
|
-
"type":"boolean"
|
|
365
|
+
"disable_array_delete_all_rows": {
|
|
366
|
+
"type": "boolean"
|
|
360
367
|
},
|
|
361
|
-
"disable_array_delete_last_row":{
|
|
362
|
-
"type":"boolean"
|
|
368
|
+
"disable_array_delete_last_row": {
|
|
369
|
+
"type": "boolean"
|
|
363
370
|
},
|
|
364
|
-
"disable_array_reorder":{
|
|
365
|
-
"type":"boolean"
|
|
371
|
+
"disable_array_reorder": {
|
|
372
|
+
"type": "boolean"
|
|
366
373
|
},
|
|
367
|
-
"disable_collapse":{
|
|
368
|
-
"type":"boolean"
|
|
374
|
+
"disable_collapse": {
|
|
375
|
+
"type": "boolean"
|
|
369
376
|
}
|
|
370
377
|
}
|
|
371
378
|
},
|
|
372
|
-
"type":{
|
|
373
|
-
"enum":[
|
|
379
|
+
"type": {
|
|
380
|
+
"enum": [
|
|
374
381
|
"array"
|
|
375
382
|
]
|
|
376
383
|
},
|
|
377
|
-
"default":{
|
|
378
|
-
"type":"array",
|
|
379
|
-
"format":"table"
|
|
384
|
+
"default": {
|
|
385
|
+
"type": "array",
|
|
386
|
+
"format": "table"
|
|
380
387
|
},
|
|
381
|
-
"items":{
|
|
382
|
-
"oneOf":[
|
|
388
|
+
"items": {
|
|
389
|
+
"oneOf": [
|
|
383
390
|
{
|
|
384
|
-
"$ref":"#/definitions/schema"
|
|
391
|
+
"$ref": "#/definitions/schema"
|
|
385
392
|
},
|
|
386
393
|
{
|
|
387
|
-
"type":"array",
|
|
388
|
-
"$ref":"#/definitions/schemaArray",
|
|
389
|
-
"format":"tabs"
|
|
394
|
+
"type": "array",
|
|
395
|
+
"$ref": "#/definitions/schemaArray",
|
|
396
|
+
"format": "tabs"
|
|
390
397
|
}
|
|
391
398
|
]
|
|
392
399
|
},
|
|
393
|
-
"uniqueItems":{
|
|
394
|
-
"type":"boolean"
|
|
400
|
+
"uniqueItems": {
|
|
401
|
+
"type": "boolean"
|
|
402
|
+
},
|
|
403
|
+
"minItems": {
|
|
404
|
+
"type": "integer",
|
|
405
|
+
"minimum": 0
|
|
406
|
+
},
|
|
407
|
+
"maxItems": {
|
|
408
|
+
"type": "integer",
|
|
409
|
+
"minimum": 0
|
|
395
410
|
},
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
"minimum":0
|
|
411
|
+
"contains": {
|
|
412
|
+
"$ref": "#/definitions/schema"
|
|
399
413
|
},
|
|
400
|
-
"
|
|
401
|
-
"type":"integer",
|
|
402
|
-
"minimum":0
|
|
414
|
+
"minContains": {
|
|
415
|
+
"type": "integer",
|
|
416
|
+
"minimum": 0
|
|
403
417
|
},
|
|
404
|
-
"
|
|
405
|
-
"
|
|
418
|
+
"maxContains": {
|
|
419
|
+
"type": "integer",
|
|
420
|
+
"minimum": 0
|
|
406
421
|
},
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
|
|
422
|
+
"additionalItems": {
|
|
423
|
+
"$ref": "#/definitions/schema"
|
|
424
|
+
},
|
|
425
|
+
"format": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"enum": [
|
|
410
428
|
"array",
|
|
411
429
|
"table",
|
|
412
430
|
"tabs",
|
|
@@ -418,124 +436,123 @@
|
|
|
418
436
|
}
|
|
419
437
|
}
|
|
420
438
|
},
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
"
|
|
424
|
-
"defaultProperties":[
|
|
439
|
+
"schemaBase": {
|
|
440
|
+
"type": "object",
|
|
441
|
+
"defaultProperties": [
|
|
425
442
|
"title",
|
|
426
443
|
"type"
|
|
427
444
|
],
|
|
428
|
-
"required": [
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
|
|
445
|
+
"required": [
|
|
446
|
+
"type"
|
|
447
|
+
],
|
|
448
|
+
"properties": {
|
|
449
|
+
"type": {
|
|
450
|
+
"propertyOrder": 1,
|
|
451
|
+
"type": "string",
|
|
452
|
+
"options": {
|
|
453
|
+
"hidden": true
|
|
436
454
|
}
|
|
437
455
|
},
|
|
438
|
-
"id":{
|
|
439
|
-
"type":"string",
|
|
440
|
-
"format":"uri"
|
|
456
|
+
"id": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"format": "uri"
|
|
441
459
|
},
|
|
442
|
-
"$schema":{
|
|
443
|
-
"type":"string",
|
|
444
|
-
"format":"uri"
|
|
460
|
+
"$schema": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"format": "uri"
|
|
445
463
|
},
|
|
446
|
-
"title":{
|
|
447
|
-
"type":"string",
|
|
448
|
-
"propertyOrder":2
|
|
464
|
+
"title": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"propertyOrder": 2
|
|
449
467
|
},
|
|
450
|
-
"description":{
|
|
451
|
-
"type":"string",
|
|
452
|
-
"propertyOrder":4
|
|
468
|
+
"description": {
|
|
469
|
+
"type": "string",
|
|
470
|
+
"propertyOrder": 4
|
|
453
471
|
},
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"
|
|
460
|
-
"format":"table"
|
|
472
|
+
"enum": {
|
|
473
|
+
"type": "array",
|
|
474
|
+
"minItems": 1,
|
|
475
|
+
"uniqueItems": true,
|
|
476
|
+
"propertyOrder": 50,
|
|
477
|
+
"format": "table"
|
|
461
478
|
},
|
|
462
|
-
"enumSource":{
|
|
463
|
-
"oneOf":[
|
|
479
|
+
"enumSource": {
|
|
480
|
+
"oneOf": [
|
|
464
481
|
{
|
|
465
|
-
"title":"Simple Source",
|
|
466
|
-
"type":"string"
|
|
482
|
+
"title": "Simple Source",
|
|
483
|
+
"type": "string"
|
|
467
484
|
},
|
|
468
485
|
{
|
|
469
|
-
"title":"Complex Source",
|
|
470
|
-
"type":"array",
|
|
471
|
-
"format":"tabs",
|
|
472
|
-
"minItems":1,
|
|
473
|
-
"items":{
|
|
474
|
-
"oneOf":[
|
|
486
|
+
"title": "Complex Source",
|
|
487
|
+
"type": "array",
|
|
488
|
+
"format": "tabs",
|
|
489
|
+
"minItems": 1,
|
|
490
|
+
"items": {
|
|
491
|
+
"oneOf": [
|
|
475
492
|
{
|
|
476
|
-
"title":"Constant Values",
|
|
477
|
-
"type":"array",
|
|
478
|
-
"format":"table",
|
|
479
|
-
"uniqueItems":true,
|
|
480
|
-
"items":{
|
|
481
|
-
"type":"string"
|
|
493
|
+
"title": "Constant Values",
|
|
494
|
+
"type": "array",
|
|
495
|
+
"format": "table",
|
|
496
|
+
"uniqueItems": true,
|
|
497
|
+
"items": {
|
|
498
|
+
"type": "string"
|
|
482
499
|
}
|
|
483
500
|
},
|
|
484
501
|
{
|
|
485
|
-
"title":"Source",
|
|
486
|
-
"type":"object",
|
|
487
|
-
"additionalProperties":false,
|
|
488
|
-
"required":[
|
|
502
|
+
"title": "Source",
|
|
503
|
+
"type": "object",
|
|
504
|
+
"additionalProperties": false,
|
|
505
|
+
"required": [
|
|
489
506
|
"source"
|
|
490
507
|
],
|
|
491
|
-
"defaultProperties":[
|
|
508
|
+
"defaultProperties": [
|
|
492
509
|
"source"
|
|
493
510
|
],
|
|
494
|
-
"properties":{
|
|
495
|
-
"source":{
|
|
496
|
-
"oneOf":[
|
|
511
|
+
"properties": {
|
|
512
|
+
"source": {
|
|
513
|
+
"oneOf": [
|
|
497
514
|
{
|
|
498
|
-
"title":"Watched Field",
|
|
499
|
-
"type":"string"
|
|
515
|
+
"title": "Watched Field",
|
|
516
|
+
"type": "string"
|
|
500
517
|
},
|
|
501
518
|
{
|
|
502
|
-
"title":"Constant Values",
|
|
503
|
-
"type":"array",
|
|
504
|
-
"format":"table",
|
|
505
|
-
"minItems":1,
|
|
506
|
-
"items":{
|
|
507
|
-
"title":"value",
|
|
508
|
-
"type":"object",
|
|
509
|
-
"additionalProperties":false,
|
|
510
|
-
"properties":{
|
|
511
|
-
"value":{
|
|
512
|
-
"type":"string"
|
|
519
|
+
"title": "Constant Values",
|
|
520
|
+
"type": "array",
|
|
521
|
+
"format": "table",
|
|
522
|
+
"minItems": 1,
|
|
523
|
+
"items": {
|
|
524
|
+
"title": "value",
|
|
525
|
+
"type": "object",
|
|
526
|
+
"additionalProperties": false,
|
|
527
|
+
"properties": {
|
|
528
|
+
"value": {
|
|
529
|
+
"type": "string"
|
|
513
530
|
},
|
|
514
|
-
"title":{
|
|
515
|
-
"type":"string"
|
|
531
|
+
"title": {
|
|
532
|
+
"type": "string"
|
|
516
533
|
}
|
|
517
534
|
}
|
|
518
535
|
}
|
|
519
536
|
}
|
|
520
537
|
]
|
|
521
538
|
},
|
|
522
|
-
"slice":{
|
|
523
|
-
"type":"array",
|
|
524
|
-
"format":"table",
|
|
525
|
-
"minItems":2,
|
|
526
|
-
"maxItems":2,
|
|
527
|
-
"items":{
|
|
528
|
-
"type":"integer"
|
|
539
|
+
"slice": {
|
|
540
|
+
"type": "array",
|
|
541
|
+
"format": "table",
|
|
542
|
+
"minItems": 2,
|
|
543
|
+
"maxItems": 2,
|
|
544
|
+
"items": {
|
|
545
|
+
"type": "integer"
|
|
529
546
|
}
|
|
530
547
|
},
|
|
531
|
-
"filter":{
|
|
532
|
-
"type":"string"
|
|
548
|
+
"filter": {
|
|
549
|
+
"type": "string"
|
|
533
550
|
},
|
|
534
|
-
"title":{
|
|
535
|
-
"type":"string"
|
|
551
|
+
"title": {
|
|
552
|
+
"type": "string"
|
|
536
553
|
},
|
|
537
|
-
"value":{
|
|
538
|
-
"type":"string"
|
|
554
|
+
"value": {
|
|
555
|
+
"type": "string"
|
|
539
556
|
}
|
|
540
557
|
}
|
|
541
558
|
}
|
|
@@ -544,160 +561,171 @@
|
|
|
544
561
|
}
|
|
545
562
|
]
|
|
546
563
|
},
|
|
547
|
-
"$ref":{
|
|
548
|
-
"type":"string"
|
|
564
|
+
"$ref": {
|
|
565
|
+
"type": "string"
|
|
549
566
|
},
|
|
550
|
-
"oneOf":{
|
|
551
|
-
"$ref":"#/definitions/schemaArray"
|
|
567
|
+
"oneOf": {
|
|
568
|
+
"$ref": "#/definitions/schemaArray"
|
|
552
569
|
},
|
|
553
|
-
"anyOf":{
|
|
554
|
-
"$ref":"#/definitions/schemaArray"
|
|
570
|
+
"anyOf": {
|
|
571
|
+
"$ref": "#/definitions/schemaArray"
|
|
555
572
|
},
|
|
556
|
-
"allOf":{
|
|
557
|
-
"$ref":"#/definitions/schemaArray"
|
|
573
|
+
"allOf": {
|
|
574
|
+
"$ref": "#/definitions/schemaArray"
|
|
558
575
|
},
|
|
559
|
-
"not":{
|
|
560
|
-
"$ref":"#/definitions/schema"
|
|
576
|
+
"not": {
|
|
577
|
+
"$ref": "#/definitions/schema"
|
|
561
578
|
},
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"default":1000
|
|
579
|
+
"if": {
|
|
580
|
+
"$ref": "#/definitions/schema"
|
|
565
581
|
},
|
|
566
|
-
"
|
|
567
|
-
"
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
582
|
+
"then": {
|
|
583
|
+
"$ref": "#/definitions/schema"
|
|
584
|
+
},
|
|
585
|
+
"else": {
|
|
586
|
+
"$ref": "#/definitions/schema"
|
|
587
|
+
},
|
|
588
|
+
"propertyOrder": {
|
|
589
|
+
"type": "number",
|
|
590
|
+
"default": 1000
|
|
591
|
+
},
|
|
592
|
+
"links": {
|
|
593
|
+
"type": "array",
|
|
594
|
+
"format": "table",
|
|
595
|
+
"items": {
|
|
596
|
+
"type": "object",
|
|
597
|
+
"title": "link",
|
|
598
|
+
"additionalProperties": false,
|
|
599
|
+
"properties": {
|
|
600
|
+
"rel": {
|
|
601
|
+
"type": "string"
|
|
576
602
|
},
|
|
577
|
-
"href":{
|
|
578
|
-
"type":"string",
|
|
579
|
-
"format":"url"
|
|
603
|
+
"href": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"format": "url"
|
|
580
606
|
},
|
|
581
|
-
"class":{
|
|
582
|
-
"type":"string"
|
|
607
|
+
"class": {
|
|
608
|
+
"type": "string"
|
|
583
609
|
},
|
|
584
|
-
"download":{
|
|
585
|
-
"oneOf":[
|
|
610
|
+
"download": {
|
|
611
|
+
"oneOf": [
|
|
586
612
|
{
|
|
587
|
-
"type":"boolean"
|
|
613
|
+
"type": "boolean"
|
|
588
614
|
},
|
|
589
615
|
{
|
|
590
|
-
"type":"string"
|
|
616
|
+
"type": "string"
|
|
591
617
|
}
|
|
592
618
|
]
|
|
593
619
|
},
|
|
594
|
-
"mediaType":{
|
|
595
|
-
"type":"string"
|
|
620
|
+
"mediaType": {
|
|
621
|
+
"type": "string"
|
|
596
622
|
}
|
|
597
623
|
}
|
|
598
624
|
}
|
|
599
625
|
},
|
|
600
|
-
"watch":{
|
|
601
|
-
"type":"object",
|
|
602
|
-
"patternProperties":{
|
|
603
|
-
".*":{
|
|
604
|
-
"type":"string"
|
|
626
|
+
"watch": {
|
|
627
|
+
"type": "object",
|
|
628
|
+
"patternProperties": {
|
|
629
|
+
".*": {
|
|
630
|
+
"type": "string"
|
|
605
631
|
}
|
|
606
632
|
}
|
|
607
633
|
},
|
|
608
|
-
"headerTemplate":{
|
|
609
|
-
"type":"string"
|
|
634
|
+
"headerTemplate": {
|
|
635
|
+
"type": "string"
|
|
610
636
|
},
|
|
611
|
-
"options":{
|
|
612
|
-
"type":"object",
|
|
613
|
-
"options":{
|
|
614
|
-
"keep_oneof_values":false
|
|
637
|
+
"options": {
|
|
638
|
+
"type": "object",
|
|
639
|
+
"options": {
|
|
640
|
+
"keep_oneof_values": false
|
|
615
641
|
},
|
|
616
|
-
"default":{
|
|
617
|
-
"defaultProperties":{
|
|
618
|
-
"properties":{
|
|
619
|
-
"enum_titles":{
|
|
620
|
-
"type":"array",
|
|
621
|
-
"uniqueItems":true,
|
|
622
|
-
"format":"table",
|
|
623
|
-
"items":{
|
|
624
|
-
"type":"string",
|
|
625
|
-
"tilte":"title"
|
|
642
|
+
"default": {},
|
|
643
|
+
"defaultProperties": {},
|
|
644
|
+
"properties": {
|
|
645
|
+
"enum_titles": {
|
|
646
|
+
"type": "array",
|
|
647
|
+
"uniqueItems": true,
|
|
648
|
+
"format": "table",
|
|
649
|
+
"items": {
|
|
650
|
+
"type": "string",
|
|
651
|
+
"tilte": "title"
|
|
626
652
|
}
|
|
627
653
|
},
|
|
628
|
-
"grid_columns":{
|
|
629
|
-
"type":"integer",
|
|
654
|
+
"grid_columns": {
|
|
655
|
+
"type": "integer",
|
|
630
656
|
"default": 1,
|
|
631
|
-
"minimum":1,
|
|
632
|
-
"maximum":12
|
|
657
|
+
"minimum": 1,
|
|
658
|
+
"maximum": 12
|
|
633
659
|
},
|
|
634
|
-
"hidden":{
|
|
635
|
-
"type":"boolean"
|
|
660
|
+
"hidden": {
|
|
661
|
+
"type": "boolean"
|
|
636
662
|
},
|
|
637
|
-
"keep_oneof_values":{
|
|
638
|
-
"type":"boolean"
|
|
663
|
+
"keep_oneof_values": {
|
|
664
|
+
"type": "boolean"
|
|
639
665
|
}
|
|
640
666
|
}
|
|
641
667
|
}
|
|
642
668
|
}
|
|
643
669
|
},
|
|
644
|
-
"schema":{
|
|
645
|
-
"allOf":[
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
670
|
+
"schema": {
|
|
671
|
+
"allOf": [
|
|
672
|
+
{
|
|
673
|
+
"$ref": "#/definitions/schemaBase"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"options": {
|
|
677
|
+
"keep_oneof_values": false
|
|
650
678
|
},
|
|
651
|
-
"default":{
|
|
652
|
-
"type":"object"
|
|
679
|
+
"default": {
|
|
680
|
+
"type": "object"
|
|
653
681
|
},
|
|
654
|
-
"oneOf":[
|
|
682
|
+
"oneOf": [
|
|
655
683
|
{
|
|
656
|
-
"title":"Object",
|
|
657
|
-
"additionalProperties":false,
|
|
658
|
-
"$ref":"#/definitions/object"
|
|
684
|
+
"title": "Object",
|
|
685
|
+
"additionalProperties": false,
|
|
686
|
+
"$ref": "#/definitions/object"
|
|
659
687
|
},
|
|
660
688
|
{
|
|
661
|
-
"title":"Array",
|
|
662
|
-
"additionalProperties":false,
|
|
663
|
-
"$ref":"#/definitions/array"
|
|
689
|
+
"title": "Array",
|
|
690
|
+
"additionalProperties": false,
|
|
691
|
+
"$ref": "#/definitions/array"
|
|
664
692
|
},
|
|
665
693
|
{
|
|
666
|
-
"title":"String",
|
|
667
|
-
"additionalProperties":false,
|
|
668
|
-
"$ref":"#/definitions/string"
|
|
694
|
+
"title": "String",
|
|
695
|
+
"additionalProperties": false,
|
|
696
|
+
"$ref": "#/definitions/string"
|
|
669
697
|
},
|
|
670
698
|
{
|
|
671
|
-
"title":"Number",
|
|
672
|
-
"additionalProperties":false,
|
|
673
|
-
"$ref":"#/definitions/number"
|
|
699
|
+
"title": "Number",
|
|
700
|
+
"additionalProperties": false,
|
|
701
|
+
"$ref": "#/definitions/number"
|
|
674
702
|
},
|
|
675
703
|
{
|
|
676
|
-
"title":"Integer",
|
|
677
|
-
"additionalProperties":false,
|
|
678
|
-
"$ref":"#/definitions/integer"
|
|
704
|
+
"title": "Integer",
|
|
705
|
+
"additionalProperties": false,
|
|
706
|
+
"$ref": "#/definitions/integer"
|
|
679
707
|
},
|
|
680
708
|
{
|
|
681
|
-
"title":"Boolean",
|
|
682
|
-
"additionalProperties":false,
|
|
683
|
-
"$ref":"#/definitions/boolean"
|
|
709
|
+
"title": "Boolean",
|
|
710
|
+
"additionalProperties": false,
|
|
711
|
+
"$ref": "#/definitions/boolean"
|
|
684
712
|
},
|
|
685
713
|
{
|
|
686
|
-
"title":"Null",
|
|
687
|
-
"additionalProperties":false,
|
|
688
|
-
"$ref":"#/definitions/null"
|
|
714
|
+
"title": "Null",
|
|
715
|
+
"additionalProperties": false,
|
|
716
|
+
"$ref": "#/definitions/null"
|
|
689
717
|
}
|
|
690
718
|
]
|
|
691
719
|
}
|
|
692
720
|
},
|
|
693
|
-
"title":"JSON Schema",
|
|
694
|
-
"$ref":"#/definitions/schema",
|
|
695
|
-
"properties":{
|
|
696
|
-
"definitions":{
|
|
697
|
-
"type":"object",
|
|
698
|
-
"patternProperties":{
|
|
699
|
-
".*":{
|
|
700
|
-
"$ref":"#/definitions/schema"
|
|
721
|
+
"title": "JSON Schema",
|
|
722
|
+
"$ref": "#/definitions/schema",
|
|
723
|
+
"properties": {
|
|
724
|
+
"definitions": {
|
|
725
|
+
"type": "object",
|
|
726
|
+
"patternProperties": {
|
|
727
|
+
".*": {
|
|
728
|
+
"$ref": "#/definitions/schema"
|
|
701
729
|
}
|
|
702
730
|
}
|
|
703
731
|
}
|