@player-ui/types 0.15.1 → 0.15.2-next.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/dist/xlr/AssetSwitch.json +6 -6
- package/dist/xlr/AssetWrapperOrSwitch.json +6 -6
- package/dist/xlr/DynamicSwitch.json +2 -2
- package/dist/xlr/Flow.json +24 -18
- package/dist/xlr/FlowResult.json +3 -1
- package/dist/xlr/Formatting.Reference.json +19 -0
- package/dist/xlr/Language.DataTypeRef.json +17 -0
- package/dist/xlr/Navigation.json +9 -3
- package/dist/xlr/NavigationFlow.json +9 -3
- package/dist/xlr/NavigationFlowEndState.json +3 -1
- package/dist/xlr/NavigationFlowExternalState.json +3 -1
- package/dist/xlr/NavigationFlowState.json +9 -3
- package/dist/xlr/NavigationFlowViewState.json +3 -1
- package/dist/xlr/Schema.ArrayType.json +203 -0
- package/dist/xlr/Schema.DataType.json +198 -0
- package/dist/xlr/Schema.DataTypes.json +611 -0
- package/dist/xlr/Schema.Node.json +618 -0
- package/dist/xlr/Schema.RecordType.json +203 -0
- package/dist/xlr/Schema.Schema.json +1247 -0
- package/dist/xlr/StaticSwitch.json +2 -2
- package/dist/xlr/Switch.json +1 -1
- package/dist/xlr/Validation.CrossfieldReference.json +127 -0
- package/dist/xlr/Validation.DisplayTarget.json +20 -0
- package/dist/xlr/Validation.Reference.json +129 -0
- package/dist/xlr/Validation.Severity.json +16 -0
- package/dist/xlr/Validation.Trigger.json +20 -0
- package/dist/xlr/View.json +1 -1
- package/dist/xlr/manifest.js +15 -2
- package/dist/xlr/manifest.json +17 -2
- package/package.json +1 -1
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Schema.DataTypes",
|
|
3
|
+
"type": "or",
|
|
4
|
+
"or": [
|
|
5
|
+
{
|
|
6
|
+
"name": "DataType",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"type": {
|
|
10
|
+
"required": true,
|
|
11
|
+
"node": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"title": "DataType.type",
|
|
14
|
+
"description": "The reference of the base type to use"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"validation": {
|
|
18
|
+
"required": false,
|
|
19
|
+
"node": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"elementType": {
|
|
22
|
+
"name": "Validation.Reference",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"type": {
|
|
26
|
+
"required": true,
|
|
27
|
+
"node": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"title": "Reference.type",
|
|
30
|
+
"description": "The name of the referenced validation type\nThis will be used to lookup the proper handler"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"message": {
|
|
34
|
+
"required": false,
|
|
35
|
+
"node": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"title": "Reference.message",
|
|
38
|
+
"description": "An optional means of overriding the default message if the validation is triggered"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"severity": {
|
|
42
|
+
"required": false,
|
|
43
|
+
"node": {
|
|
44
|
+
"name": "Severity",
|
|
45
|
+
"type": "or",
|
|
46
|
+
"or": [
|
|
47
|
+
{
|
|
48
|
+
"type": "string",
|
|
49
|
+
"const": "error"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "string",
|
|
53
|
+
"const": "warning"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"title": "Reference.severity",
|
|
57
|
+
"description": "An optional means of overriding the default severity of the validation if triggered"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"trigger": {
|
|
61
|
+
"required": false,
|
|
62
|
+
"node": {
|
|
63
|
+
"name": "Trigger",
|
|
64
|
+
"type": "or",
|
|
65
|
+
"or": [
|
|
66
|
+
{
|
|
67
|
+
"type": "string",
|
|
68
|
+
"const": "navigation"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "string",
|
|
72
|
+
"const": "change"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "string",
|
|
76
|
+
"const": "load"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"title": "Reference.trigger",
|
|
80
|
+
"description": "When to run this particular validation"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"dataTarget": {
|
|
84
|
+
"required": false,
|
|
85
|
+
"node": {
|
|
86
|
+
"type": "or",
|
|
87
|
+
"or": [
|
|
88
|
+
{
|
|
89
|
+
"type": "string",
|
|
90
|
+
"const": "formatted"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "string",
|
|
94
|
+
"const": "deformatted"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"title": "Reference.dataTarget",
|
|
98
|
+
"description": "Each validation is passed the value of the data to run it's validation against.\nBy default, this is the value stored in the data-model (deformatted).\nIn the off chance you'd like this validator to run against the formatted value (the one the user sees), set this option"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"displayTarget": {
|
|
102
|
+
"required": false,
|
|
103
|
+
"node": {
|
|
104
|
+
"name": "DisplayTarget",
|
|
105
|
+
"type": "or",
|
|
106
|
+
"or": [
|
|
107
|
+
{
|
|
108
|
+
"type": "string",
|
|
109
|
+
"const": "page"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "string",
|
|
113
|
+
"const": "section"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "string",
|
|
117
|
+
"const": "field"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"title": "Reference.displayTarget",
|
|
121
|
+
"description": "Where the error should be displayed"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"blocking": {
|
|
125
|
+
"required": false,
|
|
126
|
+
"node": {
|
|
127
|
+
"type": "or",
|
|
128
|
+
"or": [
|
|
129
|
+
{
|
|
130
|
+
"type": "boolean",
|
|
131
|
+
"title": "Reference.blocking"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "string",
|
|
135
|
+
"const": "once"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"title": "Reference.blocking",
|
|
139
|
+
"description": "If the validation blocks navigation\ntrue/false - always/never block navigation\nonce - only block navigation if the validation has not been triggered before",
|
|
140
|
+
"default": "- true for errors, 'once' for warnings"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"additionalProperties": {
|
|
145
|
+
"type": "unknown"
|
|
146
|
+
},
|
|
147
|
+
"title": "Reference",
|
|
148
|
+
"description": "A reference to a validation object"
|
|
149
|
+
},
|
|
150
|
+
"title": "DataType.validation",
|
|
151
|
+
"description": "Any additional validations that are associated with this property\nThese will add to any base validations associated with the \"type\""
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"format": {
|
|
155
|
+
"required": false,
|
|
156
|
+
"node": {
|
|
157
|
+
"name": "Formatting.Reference",
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"type": {
|
|
161
|
+
"required": true,
|
|
162
|
+
"node": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"title": "Reference.type",
|
|
165
|
+
"description": "The name of the formatter (and de-formatter) to use"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"additionalProperties": {
|
|
170
|
+
"type": "unknown"
|
|
171
|
+
},
|
|
172
|
+
"title": "DataType.format",
|
|
173
|
+
"description": "A reference to a specific data format to use.\nIf none is specified, will fallback to that of the base type"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"default": {
|
|
177
|
+
"required": false,
|
|
178
|
+
"node": {
|
|
179
|
+
"type": "ref",
|
|
180
|
+
"ref": "T",
|
|
181
|
+
"title": "DataType.default",
|
|
182
|
+
"description": "A default value for this property.\nAny reads for this property will result in this default value being written to the model."
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"additionalProperties": {
|
|
187
|
+
"type": "unknown"
|
|
188
|
+
},
|
|
189
|
+
"title": "DataType",
|
|
190
|
+
"description": "Each prop in the object can have a specific DataType",
|
|
191
|
+
"genericTokens": [
|
|
192
|
+
{
|
|
193
|
+
"symbol": "T",
|
|
194
|
+
"constraints": {
|
|
195
|
+
"type": "any"
|
|
196
|
+
},
|
|
197
|
+
"default": {
|
|
198
|
+
"type": "unknown"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "RecordType",
|
|
205
|
+
"type": "object",
|
|
206
|
+
"properties": {
|
|
207
|
+
"type": {
|
|
208
|
+
"required": true,
|
|
209
|
+
"node": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"title": "DataType.type",
|
|
212
|
+
"description": "The reference of the base type to use"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"validation": {
|
|
216
|
+
"required": false,
|
|
217
|
+
"node": {
|
|
218
|
+
"type": "array",
|
|
219
|
+
"elementType": {
|
|
220
|
+
"name": "Validation.Reference",
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"type": {
|
|
224
|
+
"required": true,
|
|
225
|
+
"node": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"title": "Reference.type",
|
|
228
|
+
"description": "The name of the referenced validation type\nThis will be used to lookup the proper handler"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"message": {
|
|
232
|
+
"required": false,
|
|
233
|
+
"node": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"title": "Reference.message",
|
|
236
|
+
"description": "An optional means of overriding the default message if the validation is triggered"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"severity": {
|
|
240
|
+
"required": false,
|
|
241
|
+
"node": {
|
|
242
|
+
"name": "Severity",
|
|
243
|
+
"type": "or",
|
|
244
|
+
"or": [
|
|
245
|
+
{
|
|
246
|
+
"type": "string",
|
|
247
|
+
"const": "error"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"type": "string",
|
|
251
|
+
"const": "warning"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"title": "Reference.severity",
|
|
255
|
+
"description": "An optional means of overriding the default severity of the validation if triggered"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"trigger": {
|
|
259
|
+
"required": false,
|
|
260
|
+
"node": {
|
|
261
|
+
"name": "Trigger",
|
|
262
|
+
"type": "or",
|
|
263
|
+
"or": [
|
|
264
|
+
{
|
|
265
|
+
"type": "string",
|
|
266
|
+
"const": "navigation"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": "string",
|
|
270
|
+
"const": "change"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"type": "string",
|
|
274
|
+
"const": "load"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"title": "Reference.trigger",
|
|
278
|
+
"description": "When to run this particular validation"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"dataTarget": {
|
|
282
|
+
"required": false,
|
|
283
|
+
"node": {
|
|
284
|
+
"type": "or",
|
|
285
|
+
"or": [
|
|
286
|
+
{
|
|
287
|
+
"type": "string",
|
|
288
|
+
"const": "formatted"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"type": "string",
|
|
292
|
+
"const": "deformatted"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"title": "Reference.dataTarget",
|
|
296
|
+
"description": "Each validation is passed the value of the data to run it's validation against.\nBy default, this is the value stored in the data-model (deformatted).\nIn the off chance you'd like this validator to run against the formatted value (the one the user sees), set this option"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"displayTarget": {
|
|
300
|
+
"required": false,
|
|
301
|
+
"node": {
|
|
302
|
+
"name": "DisplayTarget",
|
|
303
|
+
"type": "or",
|
|
304
|
+
"or": [
|
|
305
|
+
{
|
|
306
|
+
"type": "string",
|
|
307
|
+
"const": "page"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "string",
|
|
311
|
+
"const": "section"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "string",
|
|
315
|
+
"const": "field"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"title": "Reference.displayTarget",
|
|
319
|
+
"description": "Where the error should be displayed"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"blocking": {
|
|
323
|
+
"required": false,
|
|
324
|
+
"node": {
|
|
325
|
+
"type": "or",
|
|
326
|
+
"or": [
|
|
327
|
+
{
|
|
328
|
+
"type": "boolean",
|
|
329
|
+
"title": "Reference.blocking"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "string",
|
|
333
|
+
"const": "once"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"title": "Reference.blocking",
|
|
337
|
+
"description": "If the validation blocks navigation\ntrue/false - always/never block navigation\nonce - only block navigation if the validation has not been triggered before",
|
|
338
|
+
"default": "- true for errors, 'once' for warnings"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"additionalProperties": {
|
|
343
|
+
"type": "unknown"
|
|
344
|
+
},
|
|
345
|
+
"title": "Reference",
|
|
346
|
+
"description": "A reference to a validation object"
|
|
347
|
+
},
|
|
348
|
+
"title": "DataType.validation",
|
|
349
|
+
"description": "Any additional validations that are associated with this property\nThese will add to any base validations associated with the \"type\""
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"format": {
|
|
353
|
+
"required": false,
|
|
354
|
+
"node": {
|
|
355
|
+
"name": "Formatting.Reference",
|
|
356
|
+
"type": "object",
|
|
357
|
+
"properties": {
|
|
358
|
+
"type": {
|
|
359
|
+
"required": true,
|
|
360
|
+
"node": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"title": "Reference.type",
|
|
363
|
+
"description": "The name of the formatter (and de-formatter) to use"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"additionalProperties": {
|
|
368
|
+
"type": "unknown"
|
|
369
|
+
},
|
|
370
|
+
"title": "DataType.format",
|
|
371
|
+
"description": "A reference to a specific data format to use.\nIf none is specified, will fallback to that of the base type"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"default": {
|
|
375
|
+
"required": false,
|
|
376
|
+
"node": {
|
|
377
|
+
"type": "ref",
|
|
378
|
+
"ref": "T",
|
|
379
|
+
"title": "DataType.default",
|
|
380
|
+
"description": "A default value for this property.\nAny reads for this property will result in this default value being written to the model."
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"isRecord": {
|
|
384
|
+
"required": true,
|
|
385
|
+
"node": {
|
|
386
|
+
"type": "boolean",
|
|
387
|
+
"title": "RecordType.isRecord",
|
|
388
|
+
"description": "boolean to define if its a record"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"isArray": {
|
|
392
|
+
"required": false,
|
|
393
|
+
"node": {
|
|
394
|
+
"type": "never",
|
|
395
|
+
"title": "RecordType.isArray",
|
|
396
|
+
"description": "This property is mutually exclusive with RecordType and can not be used with ArrayType"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"additionalProperties": {
|
|
401
|
+
"type": "unknown"
|
|
402
|
+
},
|
|
403
|
+
"title": "RecordType",
|
|
404
|
+
"description": "Determines if the Datatype is a record object"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "ArrayType",
|
|
408
|
+
"type": "object",
|
|
409
|
+
"properties": {
|
|
410
|
+
"type": {
|
|
411
|
+
"required": true,
|
|
412
|
+
"node": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"title": "DataType.type",
|
|
415
|
+
"description": "The reference of the base type to use"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"validation": {
|
|
419
|
+
"required": false,
|
|
420
|
+
"node": {
|
|
421
|
+
"type": "array",
|
|
422
|
+
"elementType": {
|
|
423
|
+
"name": "Validation.Reference",
|
|
424
|
+
"type": "object",
|
|
425
|
+
"properties": {
|
|
426
|
+
"type": {
|
|
427
|
+
"required": true,
|
|
428
|
+
"node": {
|
|
429
|
+
"type": "string",
|
|
430
|
+
"title": "Reference.type",
|
|
431
|
+
"description": "The name of the referenced validation type\nThis will be used to lookup the proper handler"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"message": {
|
|
435
|
+
"required": false,
|
|
436
|
+
"node": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"title": "Reference.message",
|
|
439
|
+
"description": "An optional means of overriding the default message if the validation is triggered"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"severity": {
|
|
443
|
+
"required": false,
|
|
444
|
+
"node": {
|
|
445
|
+
"name": "Severity",
|
|
446
|
+
"type": "or",
|
|
447
|
+
"or": [
|
|
448
|
+
{
|
|
449
|
+
"type": "string",
|
|
450
|
+
"const": "error"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"type": "string",
|
|
454
|
+
"const": "warning"
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"title": "Reference.severity",
|
|
458
|
+
"description": "An optional means of overriding the default severity of the validation if triggered"
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"trigger": {
|
|
462
|
+
"required": false,
|
|
463
|
+
"node": {
|
|
464
|
+
"name": "Trigger",
|
|
465
|
+
"type": "or",
|
|
466
|
+
"or": [
|
|
467
|
+
{
|
|
468
|
+
"type": "string",
|
|
469
|
+
"const": "navigation"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": "string",
|
|
473
|
+
"const": "change"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"type": "string",
|
|
477
|
+
"const": "load"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"title": "Reference.trigger",
|
|
481
|
+
"description": "When to run this particular validation"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"dataTarget": {
|
|
485
|
+
"required": false,
|
|
486
|
+
"node": {
|
|
487
|
+
"type": "or",
|
|
488
|
+
"or": [
|
|
489
|
+
{
|
|
490
|
+
"type": "string",
|
|
491
|
+
"const": "formatted"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"type": "string",
|
|
495
|
+
"const": "deformatted"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"title": "Reference.dataTarget",
|
|
499
|
+
"description": "Each validation is passed the value of the data to run it's validation against.\nBy default, this is the value stored in the data-model (deformatted).\nIn the off chance you'd like this validator to run against the formatted value (the one the user sees), set this option"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"displayTarget": {
|
|
503
|
+
"required": false,
|
|
504
|
+
"node": {
|
|
505
|
+
"name": "DisplayTarget",
|
|
506
|
+
"type": "or",
|
|
507
|
+
"or": [
|
|
508
|
+
{
|
|
509
|
+
"type": "string",
|
|
510
|
+
"const": "page"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"type": "string",
|
|
514
|
+
"const": "section"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"type": "string",
|
|
518
|
+
"const": "field"
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"title": "Reference.displayTarget",
|
|
522
|
+
"description": "Where the error should be displayed"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"blocking": {
|
|
526
|
+
"required": false,
|
|
527
|
+
"node": {
|
|
528
|
+
"type": "or",
|
|
529
|
+
"or": [
|
|
530
|
+
{
|
|
531
|
+
"type": "boolean",
|
|
532
|
+
"title": "Reference.blocking"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"type": "string",
|
|
536
|
+
"const": "once"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"title": "Reference.blocking",
|
|
540
|
+
"description": "If the validation blocks navigation\ntrue/false - always/never block navigation\nonce - only block navigation if the validation has not been triggered before",
|
|
541
|
+
"default": "- true for errors, 'once' for warnings"
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"additionalProperties": {
|
|
546
|
+
"type": "unknown"
|
|
547
|
+
},
|
|
548
|
+
"title": "Reference",
|
|
549
|
+
"description": "A reference to a validation object"
|
|
550
|
+
},
|
|
551
|
+
"title": "DataType.validation",
|
|
552
|
+
"description": "Any additional validations that are associated with this property\nThese will add to any base validations associated with the \"type\""
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"format": {
|
|
556
|
+
"required": false,
|
|
557
|
+
"node": {
|
|
558
|
+
"name": "Formatting.Reference",
|
|
559
|
+
"type": "object",
|
|
560
|
+
"properties": {
|
|
561
|
+
"type": {
|
|
562
|
+
"required": true,
|
|
563
|
+
"node": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"title": "Reference.type",
|
|
566
|
+
"description": "The name of the formatter (and de-formatter) to use"
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"additionalProperties": {
|
|
571
|
+
"type": "unknown"
|
|
572
|
+
},
|
|
573
|
+
"title": "DataType.format",
|
|
574
|
+
"description": "A reference to a specific data format to use.\nIf none is specified, will fallback to that of the base type"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"default": {
|
|
578
|
+
"required": false,
|
|
579
|
+
"node": {
|
|
580
|
+
"type": "ref",
|
|
581
|
+
"ref": "T",
|
|
582
|
+
"title": "DataType.default",
|
|
583
|
+
"description": "A default value for this property.\nAny reads for this property will result in this default value being written to the model."
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"isArray": {
|
|
587
|
+
"required": true,
|
|
588
|
+
"node": {
|
|
589
|
+
"type": "boolean",
|
|
590
|
+
"title": "ArrayType.isArray",
|
|
591
|
+
"description": "boolean to define if its an array"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"isRecord": {
|
|
595
|
+
"required": false,
|
|
596
|
+
"node": {
|
|
597
|
+
"type": "never",
|
|
598
|
+
"title": "ArrayType.isRecord",
|
|
599
|
+
"description": "This property is mutually exclusive with ArrayType and can not be used with RecordType"
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"additionalProperties": {
|
|
604
|
+
"type": "unknown"
|
|
605
|
+
},
|
|
606
|
+
"title": "ArrayType",
|
|
607
|
+
"description": "Determines if the DataType is an Array Object"
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
"title": "DataTypes"
|
|
611
|
+
}
|