@jsonforms/examples 3.1.0-alpha.0 → 3.1.0-alpha.2

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.
Files changed (111) hide show
  1. package/.eslintrc.js +29 -0
  2. package/.prettierrc.js +6 -0
  3. package/README.md +2 -2
  4. package/docs/assets/js/search.json +1 -1
  5. package/docs/globals.html +2011 -3265
  6. package/docs/index.html +1 -31
  7. package/lib/examples/1884.d.ts +8 -0
  8. package/lib/examples/additional-errors.d.ts +16 -1
  9. package/lib/examples/anyOf.d.ts +15 -2
  10. package/lib/examples/arraysI18n.d.ts +52 -0
  11. package/lib/examples/control-options.d.ts +1 -0
  12. package/lib/examples/dates.d.ts +115 -1
  13. package/lib/examples/enum.d.ts +3 -0
  14. package/lib/examples/generate-dynamic.d.ts +15 -0
  15. package/lib/examples/list-with-detail-primitives.d.ts +36 -0
  16. package/lib/examples/list-with-detail-registered.d.ts +55 -1
  17. package/lib/examples/list-with-detail.d.ts +191 -1
  18. package/lib/examples/nestedCategorization.d.ts +57 -0
  19. package/lib/examples/radioGroup.d.ts +42 -1
  20. package/lib/index.d.ts +8 -19
  21. package/lib/jsonforms-examples.cjs.js +2280 -2873
  22. package/lib/jsonforms-examples.cjs.js.map +1 -1
  23. package/lib/jsonforms-examples.esm.js +2272 -2882
  24. package/lib/jsonforms-examples.esm.js.map +1 -1
  25. package/package.json +14 -7
  26. package/rollup.config.js +12 -12
  27. package/src/example.ts +3 -3
  28. package/src/examples/1884.ts +52 -48
  29. package/src/examples/1948.ts +19 -19
  30. package/src/examples/additional-errors.ts +28 -25
  31. package/src/examples/allOf.ts +18 -18
  32. package/src/examples/anyOf-oneOf-allOf-resolve.ts +21 -21
  33. package/src/examples/anyOf.ts +42 -24
  34. package/src/examples/arrays-with-custom-element-label.ts +21 -21
  35. package/src/examples/arrays-with-detail-and-rule.ts +28 -28
  36. package/src/examples/arrays-with-detail.ts +21 -21
  37. package/src/examples/arrays-with-sorting.ts +35 -35
  38. package/src/examples/arrays.ts +35 -35
  39. package/src/examples/arraysI18n.ts +107 -0
  40. package/src/examples/{steppershownav.ts → categorization-stepper-nav-buttons.ts} +6 -6
  41. package/src/examples/{stepper.ts → categorization-stepper.ts} +5 -5
  42. package/src/examples/categorization.ts +119 -119
  43. package/src/examples/conditional-schema-compositions.ts +20 -20
  44. package/src/examples/config.ts +15 -15
  45. package/src/examples/control-options.ts +81 -81
  46. package/src/examples/dates.ts +34 -34
  47. package/src/examples/default.ts +22 -22
  48. package/src/examples/{multi-enum.ts → enum-multi.ts} +14 -14
  49. package/src/examples/enum.ts +40 -33
  50. package/src/examples/enumInArray.ts +10 -10
  51. package/src/examples/{dynamic.ts → generate-dynamic.ts} +10 -10
  52. package/src/examples/generate.ts +2 -2
  53. package/src/examples/generateUI.ts +2 -2
  54. package/src/examples/huge.ts +381 -377
  55. package/src/examples/i18n.ts +37 -28
  56. package/src/examples/if_then_else.ts +4 -4
  57. package/src/examples/layout.ts +29 -29
  58. package/src/examples/{booleanToggle.ts → list-with-detail-primitives.ts} +46 -33
  59. package/src/examples/list-with-detail-registered.ts +26 -26
  60. package/src/examples/list-with-detail.ts +82 -82
  61. package/src/examples/nestedArrays.ts +40 -35
  62. package/src/examples/nestedCategorization.ts +175 -0
  63. package/src/examples/numbers.ts +17 -17
  64. package/src/examples/object.ts +24 -24
  65. package/src/examples/onChange.ts +28 -22
  66. package/src/examples/oneOf-recursive.ts +15 -15
  67. package/src/examples/oneOf.ts +99 -96
  68. package/src/examples/oneOfArray.ts +20 -20
  69. package/src/examples/person.ts +35 -35
  70. package/src/examples/radioGroup.ts +52 -53
  71. package/src/examples/readonly.ts +14 -14
  72. package/src/examples/rule.ts +26 -26
  73. package/src/examples/ruleInheritance.ts +37 -34
  74. package/src/examples/scope.ts +26 -26
  75. package/src/examples/stringArray.ts +10 -10
  76. package/src/examples/text.ts +19 -19
  77. package/src/index.ts +11 -33
  78. package/src/register.ts +6 -3
  79. package/stats.html +4949 -2051
  80. package/tsconfig.json +2 -6
  81. package/lib/examples/1169.d.ts +0 -24
  82. package/lib/examples/1220.d.ts +0 -4
  83. package/lib/examples/1253.d.ts +0 -16
  84. package/lib/examples/1254.d.ts +0 -21
  85. package/lib/examples/1645.d.ts +0 -68
  86. package/lib/examples/1779.d.ts +0 -1
  87. package/lib/examples/1996.d.ts +0 -31
  88. package/lib/examples/booleanToggle.d.ts +0 -62
  89. package/lib/examples/day1.d.ts +0 -23
  90. package/lib/examples/day2.d.ts +0 -42
  91. package/lib/examples/day3.d.ts +0 -51
  92. package/lib/examples/day4.d.ts +0 -72
  93. package/lib/examples/day5.d.ts +0 -133
  94. package/lib/examples/day6.d.ts +0 -85
  95. package/lib/examples/dynamic.d.ts +0 -1
  96. package/src/examples/1169.ts +0 -62
  97. package/src/examples/1220.ts +0 -146
  98. package/src/examples/1253.ts +0 -212
  99. package/src/examples/1254.ts +0 -67
  100. package/src/examples/1645.ts +0 -66
  101. package/src/examples/1779.ts +0 -83
  102. package/src/examples/1996.ts +0 -102
  103. package/src/examples/day1.ts +0 -61
  104. package/src/examples/day2.ts +0 -62
  105. package/src/examples/day3.ts +0 -76
  106. package/src/examples/day4.ts +0 -83
  107. package/src/examples/day5.ts +0 -169
  108. package/src/examples/day6.ts +0 -44
  109. /package/lib/examples/{steppershownav.d.ts → categorization-stepper-nav-buttons.d.ts} +0 -0
  110. /package/lib/examples/{stepper.d.ts → categorization-stepper.d.ts} +0 -0
  111. /package/lib/examples/{multi-enum.d.ts → enum-multi.d.ts} +0 -0
@@ -33,20 +33,20 @@ export const schema = {
33
33
  properties: {
34
34
  street_address: { type: 'string' },
35
35
  city: { type: 'string' },
36
- state: { type: 'string' }
36
+ state: { type: 'string' },
37
37
  },
38
38
  required: ['street_address', 'city', 'state'],
39
- additionalProperties: false
39
+ additionalProperties: false,
40
40
  },
41
41
  user: {
42
42
  type: 'object',
43
43
  properties: {
44
44
  name: { type: 'string' },
45
- mail: { type: 'string' }
45
+ mail: { type: 'string' },
46
46
  },
47
47
  required: ['name', 'mail'],
48
- additionalProperties: false
49
- }
48
+ additionalProperties: false,
49
+ },
50
50
  },
51
51
 
52
52
  type: 'object',
@@ -54,10 +54,13 @@ export const schema = {
54
54
  properties: {
55
55
  name: { type: 'string' },
56
56
  addressOrUser: {
57
- oneOf: [{ $ref: '#/definitions/address' }, { $ref: '#/definitions/user' }]
58
- }
57
+ oneOf: [
58
+ { $ref: '#/definitions/address' },
59
+ { $ref: '#/definitions/user' },
60
+ ],
61
+ },
59
62
  },
60
- required: ['name']
63
+ required: ['name'],
61
64
  };
62
65
 
63
66
  export const uischema = {
@@ -65,13 +68,13 @@ export const uischema = {
65
68
  elements: [
66
69
  {
67
70
  type: 'Control',
68
- scope: '#/properties/name'
71
+ scope: '#/properties/name',
69
72
  },
70
73
  {
71
74
  type: 'Control',
72
- scope: '#/properties/addressOrUser'
73
- }
74
- ]
75
+ scope: '#/properties/addressOrUser',
76
+ },
77
+ ],
75
78
  };
76
79
 
77
80
  const data = {
@@ -79,7 +82,7 @@ const data = {
79
82
  addressOrUser: {
80
83
  name: 'User',
81
84
  mail: 'mail@example.com',
82
- }
85
+ },
83
86
  };
84
87
 
85
88
  const schema_1265_array = {
@@ -88,16 +91,16 @@ const schema_1265_array = {
88
91
  coloursOrNumbers: {
89
92
  oneOf: [
90
93
  {
91
- $ref: '#/definitions/colours'
94
+ $ref: '#/definitions/colours',
92
95
  },
93
96
  {
94
- $ref: '#/definitions/numbers'
97
+ $ref: '#/definitions/numbers',
95
98
  },
96
99
  {
97
- $ref: '#/definitions/shapes'
98
- }
99
- ]
100
- }
100
+ $ref: '#/definitions/shapes',
101
+ },
102
+ ],
103
+ },
101
104
  },
102
105
  definitions: {
103
106
  colours: {
@@ -107,8 +110,8 @@ const schema_1265_array = {
107
110
  items: {
108
111
  title: 'Type',
109
112
  type: 'string',
110
- enum: ['Red', 'Green', 'Blue']
111
- }
113
+ enum: ['Red', 'Green', 'Blue'],
114
+ },
112
115
  },
113
116
  numbers: {
114
117
  title: 'Numbers',
@@ -117,8 +120,8 @@ const schema_1265_array = {
117
120
  items: {
118
121
  title: 'Type',
119
122
  type: 'string',
120
- enum: ['One', 'Two', 'Three']
121
- }
123
+ enum: ['One', 'Two', 'Three'],
124
+ },
122
125
  },
123
126
  shapes: {
124
127
  title: 'Shapes',
@@ -127,10 +130,10 @@ const schema_1265_array = {
127
130
  items: {
128
131
  title: 'Type',
129
132
  type: 'string',
130
- enum: ['Circle', 'Triangle', 'Square']
131
- }
132
- }
133
- }
133
+ enum: ['Circle', 'Triangle', 'Square'],
134
+ },
135
+ },
136
+ },
134
137
  };
135
138
 
136
139
  const schema_1265_object = {
@@ -139,16 +142,16 @@ const schema_1265_object = {
139
142
  coloursOrNumbers: {
140
143
  oneOf: [
141
144
  {
142
- $ref: '#/definitions/colours'
145
+ $ref: '#/definitions/colours',
143
146
  },
144
147
  {
145
- $ref: '#/definitions/numbers'
148
+ $ref: '#/definitions/numbers',
146
149
  },
147
150
  {
148
- $ref: '#/definitions/shapes'
149
- }
150
- ]
151
- }
151
+ $ref: '#/definitions/shapes',
152
+ },
153
+ ],
154
+ },
152
155
  },
153
156
  additionalProperties: false,
154
157
  definitions: {
@@ -159,10 +162,10 @@ const schema_1265_object = {
159
162
  colour: {
160
163
  title: 'Type',
161
164
  type: 'string',
162
- enum: ['Red', 'Green', 'Blue']
163
- }
165
+ enum: ['Red', 'Green', 'Blue'],
166
+ },
164
167
  },
165
- additionalProperties: false
168
+ additionalProperties: false,
166
169
  },
167
170
  numbers: {
168
171
  title: 'Numbers',
@@ -171,10 +174,10 @@ const schema_1265_object = {
171
174
  number: {
172
175
  title: 'Type',
173
176
  type: 'string',
174
- enum: ['One', 'Two', 'Three']
175
- }
177
+ enum: ['One', 'Two', 'Three'],
178
+ },
176
179
  },
177
- additionalProperties: false
180
+ additionalProperties: false,
178
181
  },
179
182
  shapes: {
180
183
  title: 'Shapes',
@@ -183,12 +186,12 @@ const schema_1265_object = {
183
186
  shape: {
184
187
  title: 'Type',
185
188
  type: 'string',
186
- enum: ['Circle', 'Triangle', 'Square']
187
- }
189
+ enum: ['Circle', 'Triangle', 'Square'],
190
+ },
188
191
  },
189
- additionalProperties: false
190
- }
191
- }
192
+ additionalProperties: false,
193
+ },
194
+ },
192
195
  };
193
196
 
194
197
  const schema_1265_simple = {
@@ -197,34 +200,34 @@ const schema_1265_simple = {
197
200
  coloursOrNumbers: {
198
201
  oneOf: [
199
202
  {
200
- $ref: '#/definitions/colours'
203
+ $ref: '#/definitions/colours',
201
204
  },
202
205
  {
203
- $ref: '#/definitions/numbers'
206
+ $ref: '#/definitions/numbers',
204
207
  },
205
208
  {
206
- $ref: '#/definitions/shapes'
207
- }
208
- ]
209
- }
209
+ $ref: '#/definitions/shapes',
210
+ },
211
+ ],
212
+ },
210
213
  },
211
214
  definitions: {
212
215
  colours: {
213
216
  title: 'Colours',
214
217
  type: 'string',
215
- enum: ['Red', 'Green', 'Blue']
218
+ enum: ['Red', 'Green', 'Blue'],
216
219
  },
217
220
  numbers: {
218
221
  title: 'Numbers',
219
222
  type: 'string',
220
- enum: ['One', 'Two', 'Three']
223
+ enum: ['One', 'Two', 'Three'],
221
224
  },
222
225
  shapes: {
223
226
  title: 'Shapes',
224
227
  type: 'string',
225
- enum: ['Circle', 'Triangle', 'Square']
226
- }
227
- }
228
+ enum: ['Circle', 'Triangle', 'Square'],
229
+ },
230
+ },
228
231
  };
229
232
 
230
233
  const schema_1273 = {
@@ -233,13 +236,13 @@ const schema_1273 = {
233
236
  quantity: {
234
237
  oneOf: [
235
238
  {
236
- $ref: '#/definitions/unrangedQuantity'
239
+ $ref: '#/definitions/unrangedQuantity',
237
240
  },
238
241
  {
239
- $ref: '#/definitions/rangedQuantity'
240
- }
241
- ]
242
- }
242
+ $ref: '#/definitions/rangedQuantity',
243
+ },
244
+ ],
245
+ },
243
246
  },
244
247
  definitions: {
245
248
  unrangedQuantity: {
@@ -247,32 +250,32 @@ const schema_1273 = {
247
250
  type: 'object',
248
251
  properties: {
249
252
  value: {
250
- type: 'number'
253
+ type: 'number',
251
254
  },
252
255
  unit: {
253
- type: 'string'
254
- }
256
+ type: 'string',
257
+ },
255
258
  },
256
- required: ['value', 'unit']
259
+ required: ['value', 'unit'],
257
260
  },
258
261
  rangedQuantity: {
259
262
  title: 'Range',
260
263
  type: 'object',
261
264
  properties: {
262
265
  valueLow: {
263
- type: 'number'
266
+ type: 'number',
264
267
  },
265
268
  valueHigh: {
266
269
  type: 'number',
267
- maximum: 10
270
+ maximum: 10,
268
271
  },
269
272
  unit: {
270
- type: 'string'
271
- }
273
+ type: 'string',
274
+ },
272
275
  },
273
- required: ['valueLow', 'valueHigh', 'unit']
274
- }
275
- }
276
+ required: ['valueLow', 'valueHigh', 'unit'],
277
+ },
278
+ },
276
279
  };
277
280
 
278
281
  const schema_1273_simple = {
@@ -281,22 +284,22 @@ const schema_1273_simple = {
281
284
  quantity: {
282
285
  oneOf: [
283
286
  {
284
- type: 'string'
287
+ type: 'string',
285
288
  },
286
289
  {
287
- type: 'number'
288
- }
289
- ]
290
- }
291
- }
290
+ type: 'number',
291
+ },
292
+ ],
293
+ },
294
+ },
292
295
  };
293
296
 
294
297
  const data_1273 = {
295
298
  quantity: {
296
299
  valueLow: 1,
297
300
  valueHigh: 100,
298
- unit: 'kg'
299
- }
301
+ unit: 'kg',
302
+ },
300
303
  };
301
304
 
302
305
  registerExamples([
@@ -305,41 +308,41 @@ registerExamples([
305
308
  label: 'oneOf',
306
309
  data,
307
310
  schema,
308
- uischema
311
+ uischema,
309
312
  },
310
313
  {
311
- name: '1265_array',
312
- label: '1265 Array',
314
+ name: 'oneOf_1265_array',
315
+ label: 'oneOf - Validation for Arrays (Issue 1265)',
313
316
  data: { coloursOrNumbers: ['Foo'] },
314
317
  schema: schema_1265_array,
315
- uischema: undefined
318
+ uischema: undefined,
316
319
  },
317
320
  {
318
- name: '1265_object',
319
- label: '1265 Object',
321
+ name: 'oneOf_1265_object',
322
+ label: 'oneOf - Validation for Objects (Issue 1265)',
320
323
  data: { coloursOrNumbers: { colour: 'Foo' } },
321
324
  schema: schema_1265_object,
322
- uischema: undefined
325
+ uischema: undefined,
323
326
  },
324
327
  {
325
- name: '1265_simple',
326
- label: '1265 Simple',
328
+ name: 'oneOf_1265_simple',
329
+ label: 'oneOf - Validation for Primitives (Issue 1265)',
327
330
  data: { coloursOrNumbers: 'Foo' },
328
331
  schema: schema_1265_simple,
329
- uischema: undefined
332
+ uischema: undefined,
330
333
  },
331
334
  {
332
- name: '1273',
333
- label: '1273',
335
+ name: 'oneOf_1273',
336
+ label: 'oneOf - Preselection for Objects (Issue 1273)',
334
337
  data: data_1273,
335
338
  schema: schema_1273,
336
- uischema: undefined
339
+ uischema: undefined,
337
340
  },
338
341
  {
339
- name: '1273_simple',
340
- label: 'Simple 1273',
342
+ name: 'oneOf_1273_simple',
343
+ label: 'oneOf - Preselection for Primitives (Issue 1273 )',
341
344
  data: { quantity: 5 },
342
345
  schema: schema_1273_simple,
343
- uischema: undefined
344
- }
346
+ uischema: undefined,
347
+ },
345
348
  ]);
@@ -33,18 +33,18 @@ export const schema = {
33
33
  properties: {
34
34
  street_address: { type: 'string' },
35
35
  city: { type: 'string' },
36
- state: { type: 'string' }
36
+ state: { type: 'string' },
37
37
  },
38
- required: ['street_address', 'city', 'state']
38
+ required: ['street_address', 'city', 'state'],
39
39
  },
40
40
  user: {
41
41
  type: 'object',
42
42
  properties: {
43
43
  name: { type: 'string' },
44
- mail: { type: 'string' }
44
+ mail: { type: 'string' },
45
45
  },
46
- required: ['name', 'mail']
47
- }
46
+ required: ['name', 'mail'],
47
+ },
48
48
  },
49
49
 
50
50
  type: 'object',
@@ -56,11 +56,11 @@ export const schema = {
56
56
  items: {
57
57
  oneOf: [
58
58
  { $ref: '#/definitions/address' },
59
- { $ref: '#/definitions/user' }
60
- ]
61
- }
62
- }
63
- }
59
+ { $ref: '#/definitions/user' },
60
+ ],
61
+ },
62
+ },
63
+ },
64
64
  };
65
65
 
66
66
  export const uischema = {
@@ -68,9 +68,9 @@ export const uischema = {
68
68
  elements: [
69
69
  {
70
70
  type: 'Control',
71
- scope: '#/properties/addressOrUsers'
72
- }
73
- ]
71
+ scope: '#/properties/addressOrUsers',
72
+ },
73
+ ],
74
74
  };
75
75
 
76
76
  const data = {
@@ -79,21 +79,21 @@ const data = {
79
79
  {
80
80
  street_address: '1600 Pennsylvania Avenue NW',
81
81
  city: 'Washington',
82
- state: 'DC'
82
+ state: 'DC',
83
83
  },
84
84
  {
85
85
  name: 'User',
86
- mail: 'user@user.user'
87
- }
88
- ]
86
+ mail: 'user@user.user',
87
+ },
88
+ ],
89
89
  };
90
90
 
91
91
  registerExamples([
92
92
  {
93
93
  name: 'oneOfArray',
94
- label: 'oneOf (in array)',
94
+ label: 'oneOf - Inside array items',
95
95
  data,
96
96
  schema,
97
- uischema
98
- }
97
+ uischema,
98
+ },
99
99
  ]);
@@ -30,21 +30,21 @@ export const personCoreSchema = {
30
30
  name: {
31
31
  type: 'string',
32
32
  minLength: 3,
33
- description: 'Please enter your name'
33
+ description: 'Please enter your name',
34
34
  },
35
35
  vegetarian: {
36
- type: 'boolean'
36
+ type: 'boolean',
37
37
  },
38
38
  birthDate: {
39
39
  type: 'string',
40
40
  format: 'date',
41
- description: 'Please enter your birth date.'
41
+ description: 'Please enter your birth date.',
42
42
  },
43
43
  nationality: {
44
44
  type: 'string',
45
- enum: ['DE', 'IT', 'JP', 'US', 'RU', 'Other']
46
- }
47
- }
45
+ enum: ['DE', 'IT', 'JP', 'US', 'RU', 'Other'],
46
+ },
47
+ },
48
48
  };
49
49
 
50
50
  export const schema = {
@@ -56,36 +56,36 @@ export const schema = {
56
56
  properties: {
57
57
  age: {
58
58
  type: 'integer',
59
- description: 'Please enter your age.'
59
+ description: 'Please enter your age.',
60
60
  },
61
61
  height: {
62
- type: 'number'
62
+ type: 'number',
63
63
  },
64
64
  drivingSkill: {
65
65
  type: 'number',
66
66
  maximum: 10,
67
67
  minimum: 1,
68
- default: 7
69
- }
68
+ default: 7,
69
+ },
70
70
  },
71
- required: ['age', 'height']
71
+ required: ['age', 'height'],
72
72
  },
73
73
  vegetarian: {
74
- type: 'boolean'
74
+ type: 'boolean',
75
75
  },
76
76
  birthDate: {
77
77
  type: 'string',
78
- format: 'date'
78
+ format: 'date',
79
79
  },
80
80
  occupation: {
81
- type: 'string'
81
+ type: 'string',
82
82
  },
83
83
  postalCode: {
84
84
  type: 'string',
85
- maxLength: 5
86
- }
85
+ maxLength: 5,
86
+ },
87
87
  },
88
- required: ['occupation', 'nationality']
88
+ required: ['occupation', 'nationality'],
89
89
  };
90
90
 
91
91
  export const uischema = {
@@ -96,32 +96,32 @@ export const uischema = {
96
96
  elements: [
97
97
  {
98
98
  type: 'Control',
99
- scope: '#/properties/name'
99
+ scope: '#/properties/name',
100
100
  },
101
101
  {
102
102
  type: 'Control',
103
- scope: '#/properties/personalData/properties/age'
103
+ scope: '#/properties/personalData/properties/age',
104
104
  },
105
105
  {
106
106
  type: 'Control',
107
- scope: '#/properties/birthDate'
108
- }
109
- ]
107
+ scope: '#/properties/birthDate',
108
+ },
109
+ ],
110
110
  },
111
111
  {
112
112
  type: 'Label',
113
- text: 'Additional Information'
113
+ text: 'Additional Information',
114
114
  },
115
115
  {
116
116
  type: 'HorizontalLayout',
117
117
  elements: [
118
118
  {
119
119
  type: 'Control',
120
- scope: '#/properties/personalData/properties/height'
120
+ scope: '#/properties/personalData/properties/height',
121
121
  },
122
122
  {
123
123
  type: 'Control',
124
- scope: '#/properties/nationality'
124
+ scope: '#/properties/nationality',
125
125
  },
126
126
  {
127
127
  type: 'Control',
@@ -134,12 +134,12 @@ export const uischema = {
134
134
  'Physician',
135
135
  'Student',
136
136
  'Teacher',
137
- 'Other'
138
- ]
139
- }
140
- ]
141
- }
142
- ]
137
+ 'Other',
138
+ ],
139
+ },
140
+ ],
141
+ },
142
+ ],
143
143
  };
144
144
 
145
145
  export const data = {
@@ -147,9 +147,9 @@ export const data = {
147
147
  vegetarian: false,
148
148
  birthDate: '1985-06-02',
149
149
  personalData: {
150
- age: 34
150
+ age: 34,
151
151
  },
152
- postalCode: '12345'
152
+ postalCode: '12345',
153
153
  };
154
154
 
155
155
  registerExamples([
@@ -158,6 +158,6 @@ registerExamples([
158
158
  label: 'Person',
159
159
  data,
160
160
  schema,
161
- uischema
162
- }
161
+ uischema,
162
+ },
163
163
  ]);