@rxap/schematic-angular 16.2.0-dev.14 → 16.2.0-dev.16

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 (135) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/package.json +8 -8
  4. package/src/lib/accordion-identifier.d.ts +4 -0
  5. package/src/lib/accordion-identifier.js.map +1 -1
  6. package/src/lib/accordion-item.d.ts +13 -6
  7. package/src/lib/accordion-item.js +19 -4
  8. package/src/lib/accordion-item.js.map +1 -1
  9. package/src/lib/coerce-accordion-component.js +1 -1
  10. package/src/lib/coerce-accordion-component.js.map +1 -1
  11. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  12. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  13. package/src/lib/data-grid-options.d.ts +9 -1
  14. package/src/lib/data-grid-options.js +36 -6
  15. package/src/lib/data-grid-options.js.map +1 -1
  16. package/src/lib/form-control.d.ts +9 -3
  17. package/src/lib/form-control.js +19 -54
  18. package/src/lib/form-control.js.map +1 -1
  19. package/src/lib/merge-with-column-list.js +3 -1
  20. package/src/lib/merge-with-column-list.js.map +1 -1
  21. package/src/lib/minimum-table-component-options.js +2 -2
  22. package/src/lib/minimum-table-component-options.js.map +1 -1
  23. package/src/lib/pipe-option.js +0 -2
  24. package/src/lib/pipe-option.js.map +1 -1
  25. package/src/lib/table-column.d.ts +9 -5
  26. package/src/lib/table-column.js +36 -60
  27. package/src/lib/table-column.js.map +1 -1
  28. package/src/schema.json +2368 -0
  29. package/src/schematic-input.schema.json +607 -0
  30. package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
  31. package/src/schematics/accordion/accordion-component/index.js +51 -25
  32. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  33. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  34. package/src/schematics/accordion/accordion-component/schema.json +183 -360
  35. package/src/schematics/accordion/accordion-component/template.schema.json +22 -25
  36. package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
  37. package/src/schematics/accordion/accordion-item-component/index.js +70 -49
  38. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  39. package/src/schematics/accordion/accordion-item-component/schema.json +167 -336
  40. package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -15
  41. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  42. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +21 -25
  43. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  44. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +331 -429
  45. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +9 -15
  46. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  47. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +14 -6
  48. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  49. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +174 -346
  50. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +6 -15
  51. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  52. package/src/schematics/accordion/item/accordion-item-table-component/index.js +11 -13
  53. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  54. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +453 -614
  55. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +9 -18
  56. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  57. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +37 -61
  58. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  59. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +431 -592
  60. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +10 -19
  61. package/src/schematics/accordion-identifier.schema.json +25 -0
  62. package/src/schematics/accordion-item.schema.json +24 -0
  63. package/src/schematics/angular.schema.json +11 -3
  64. package/src/schematics/button.schema.json +1 -1
  65. package/src/schematics/data-grid-component/index.d.ts +2 -3
  66. package/src/schematics/data-grid-component/index.js +42 -45
  67. package/src/schematics/data-grid-component/index.js.map +1 -1
  68. package/src/schematics/data-grid-component/schema.json +261 -375
  69. package/src/schematics/data-grid-component/template.schema.json +6 -15
  70. package/src/schematics/data-grid-item.schema.json +4 -1
  71. package/src/schematics/data-grid.schema.json +26 -4
  72. package/src/schematics/dialog-component/schema.json +72 -158
  73. package/src/schematics/dialog-component/template.schema.json +3 -6
  74. package/src/schematics/form/control/input-form-control/schema.json +108 -306
  75. package/src/schematics/form/control/input-form-control/template.schema.json +6 -9
  76. package/src/schematics/form/control/select-form-control/schema.json +120 -307
  77. package/src/schematics/form/control/select-form-control/template.schema.json +6 -9
  78. package/src/schematics/form/control/table-select-form-control/index.d.ts +7 -1
  79. package/src/schematics/form/control/table-select-form-control/index.js +195 -149
  80. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  81. package/src/schematics/form/control/table-select-form-control/schema.json +101 -296
  82. package/src/schematics/form/control/table-select-form-control/template.schema.json +11 -6
  83. package/src/schematics/form/form-component/index.d.ts +2 -0
  84. package/src/schematics/form/form-component/index.js +6 -4
  85. package/src/schematics/form/form-component/index.js.map +1 -1
  86. package/src/schematics/form/form-component/schema.d.ts +3 -1
  87. package/src/schematics/form/form-component/schema.json +176 -233
  88. package/src/schematics/form/form-component/template.schema.json +6 -9
  89. package/src/schematics/form/form-control/schema.json +68 -176
  90. package/src/schematics/form/form-control/template.schema.json +6 -9
  91. package/src/schematics/form/form-definition/schema.json +125 -230
  92. package/src/schematics/form/form-definition/template.schema.json +6 -9
  93. package/src/schematics/form-component.schema.json +9 -3
  94. package/src/schematics/form-definition.schema.json +3 -3
  95. package/src/schematics/general.schema.json +1 -4
  96. package/src/schematics/input-form-control.schema.json +11 -3
  97. package/src/schematics/minimum-table.schema.json +11 -5
  98. package/src/schematics/pipe.schema.json +1 -1
  99. package/src/schematics/select-form-control.schema.json +15 -4
  100. package/src/schematics/table/action/dialog-table-action/schema.json +150 -230
  101. package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
  102. package/src/schematics/table/action/form-table-action/schema.json +317 -310
  103. package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
  104. package/src/schematics/table/action/navigation-table-action/schema.json +150 -230
  105. package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
  106. package/src/schematics/table/action/open-api-table-action/schema.json +150 -230
  107. package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
  108. package/src/schematics/table/action/operation-table-action/schema.json +138 -218
  109. package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
  110. package/src/schematics/table/header-button/form-table-header-button/schema.json +217 -261
  111. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -6
  112. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +131 -211
  113. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
  114. package/src/schematics/table/table-action/schema.json +56 -139
  115. package/src/schematics/table/table-action/template.schema.json +6 -6
  116. package/src/schematics/table/table-component/index.d.ts +10 -2
  117. package/src/schematics/table/table-component/index.js +13 -1
  118. package/src/schematics/table/table-component/index.js.map +1 -1
  119. package/src/schematics/table/table-component/schema.json +352 -547
  120. package/src/schematics/table/table-component/template.schema.json +6 -18
  121. package/src/schematics/table/table-header-button/schema.json +56 -139
  122. package/src/schematics/table/table-header-button/template.schema.json +6 -6
  123. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +6 -0
  124. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  125. package/src/schematics/table/tree-table-component/index.js +11 -3
  126. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  127. package/src/schematics/table/tree-table-component/schema.json +352 -547
  128. package/src/schematics/table/tree-table-component/template.schema.json +6 -18
  129. package/src/schematics/table-column.schema.json +4 -1
  130. package/src/schematics/table.schema.json +4 -1
  131. package/src/schematics/tree-component/schema.json +70 -62
  132. package/src/schematics/tree-component/template.schema.json +7 -2
  133. package/src/schematics/tree-table.schema.json +3 -3
  134. package/src/schematics/value.schema.json +1 -1
  135. package/src/template.schema.json +173 -0
@@ -3,45 +3,27 @@
3
3
  "$id": "form-definition-schematic",
4
4
  "allOf": [
5
5
  {
6
+ "$ref": "#/definitions/angular"
7
+ },
8
+ {
9
+ "$ref": "#/definitions/formDefinition"
10
+ },
11
+ {
12
+ "type": "object",
13
+ "properties": {
14
+ "standalone": {
15
+ "type": "boolean",
16
+ "description": "Whether the form definition has a form.provider file",
17
+ "default": true
18
+ }
19
+ }
20
+ }
21
+ ],
22
+ "definitions": {
23
+ "angular": {
6
24
  "allOf": [
7
25
  {
8
- "type": "object",
9
- "properties": {
10
- "project": {
11
- "type": "string",
12
- "description": "Project name where the files should be generated"
13
- },
14
- "feature": {
15
- "type": "string",
16
- "description": "Feature name where the files should be generated"
17
- },
18
- "overwrite": {
19
- "anyOf": [
20
- {
21
- "type": "boolean"
22
- },
23
- {
24
- "type": "array",
25
- "items": {
26
- "type": "string"
27
- }
28
- }
29
- ],
30
- "description": "Overwrite existing files",
31
- "default": false
32
- },
33
- "overwriteHtml": {
34
- "type": "boolean",
35
- "default": false
36
- },
37
- "replace": {
38
- "type": "boolean",
39
- "default": false
40
- }
41
- },
42
- "required": [
43
- "project"
44
- ]
26
+ "$ref": "#/definitions/general"
45
27
  },
46
28
  {
47
29
  "type": "object",
@@ -64,15 +46,7 @@
64
46
  "type": "string"
65
47
  },
66
48
  "backend": {
67
- "type": "string",
68
- "description": "The backend that should be used to handel data",
69
- "enum": [
70
- "none",
71
- "nestjs",
72
- "open-api",
73
- "local"
74
- ],
75
- "default": "none"
49
+ "$ref": "#/definitions/backend"
76
50
  },
77
51
  "directory": {
78
52
  "type": "string",
@@ -97,72 +71,14 @@
97
71
  }
98
72
  ]
99
73
  },
100
- {
74
+ "formDefinition": {
101
75
  "type": "object",
102
76
  "properties": {
103
77
  "controlList": {
104
78
  "alias": "control",
105
79
  "type": "array",
106
80
  "items": {
107
- "type": "object",
108
- "properties": {
109
- "name": {
110
- "type": "string",
111
- "description": "The name of the control"
112
- },
113
- "type": {
114
- "$ref": "#/definitions/type"
115
- },
116
- "isArray": {
117
- "type": "boolean",
118
- "description": "Whether the control value is an array",
119
- "default": false
120
- },
121
- "state": {
122
- "type": "string",
123
- "description": "The initial state of the control"
124
- },
125
- "isRequired": {
126
- "type": "boolean",
127
- "description": "Whether the control value is required",
128
- "default": false
129
- },
130
- "isReadonly": {
131
- "type": "boolean",
132
- "description": "Whether the control value is readonly",
133
- "default": false
134
- },
135
- "isDisabled": {
136
- "type": "boolean",
137
- "description": "Whether the control value is disabled",
138
- "default": false
139
- },
140
- "validatorList": {
141
- "type": "array",
142
- "items": {
143
- "type": "string"
144
- }
145
- },
146
- "kind": {
147
- "type": "string",
148
- "description": "The name of the template",
149
- "enum": [
150
- "default",
151
- "input",
152
- "select",
153
- "checkbox",
154
- "autocomplete-table-select",
155
- "table-select",
156
- "textarea",
157
- "slide-toggle"
158
- ],
159
- "default": "default"
160
- }
161
- },
162
- "required": [
163
- "name"
164
- ],
165
- "additionalProperties": true
81
+ "$ref": "#/definitions/formControl"
166
82
  }
167
83
  }
168
84
  },
@@ -170,18 +86,114 @@
170
86
  "controlList"
171
87
  ]
172
88
  },
173
- {
89
+ "backend": {
90
+ "type": "string",
91
+ "description": "The backend that should be used to handel data",
92
+ "enum": [
93
+ "none",
94
+ "nestjs",
95
+ "open-api",
96
+ "local"
97
+ ],
98
+ "default": "none"
99
+ },
100
+ "formControl": {
174
101
  "type": "object",
175
102
  "properties": {
176
- "standalone": {
103
+ "name": {
104
+ "type": "string",
105
+ "description": "The name of the control"
106
+ },
107
+ "type": {
108
+ "$ref": "#/definitions/type"
109
+ },
110
+ "isArray": {
177
111
  "type": "boolean",
178
- "description": "Whether the form definition has a form.provider file",
179
- "default": true
112
+ "description": "Whether the control value is an array",
113
+ "default": false
114
+ },
115
+ "state": {
116
+ "type": "string",
117
+ "description": "The initial state of the control"
118
+ },
119
+ "isRequired": {
120
+ "type": "boolean",
121
+ "description": "Whether the control value is required",
122
+ "default": false
123
+ },
124
+ "isReadonly": {
125
+ "type": "boolean",
126
+ "description": "Whether the control value is readonly",
127
+ "default": false
128
+ },
129
+ "isDisabled": {
130
+ "type": "boolean",
131
+ "description": "Whether the control value is disabled",
132
+ "default": false
133
+ },
134
+ "validatorList": {
135
+ "type": "array",
136
+ "items": {
137
+ "type": "string"
138
+ }
139
+ },
140
+ "kind": {
141
+ "type": "string",
142
+ "description": "The name of the template",
143
+ "enum": [
144
+ "default",
145
+ "input",
146
+ "select",
147
+ "checkbox",
148
+ "autocomplete-table-select",
149
+ "table-select",
150
+ "textarea",
151
+ "slide-toggle"
152
+ ],
153
+ "default": "default"
154
+ }
155
+ },
156
+ "required": [
157
+ "name"
158
+ ],
159
+ "additionalProperties": true
160
+ },
161
+ "general": {
162
+ "type": "object",
163
+ "properties": {
164
+ "project": {
165
+ "type": "string",
166
+ "description": "Project name where the files should be generated"
167
+ },
168
+ "feature": {
169
+ "type": "string",
170
+ "description": "Feature name where the files should be generated"
171
+ },
172
+ "overwrite": {
173
+ "anyOf": [
174
+ {
175
+ "type": "boolean"
176
+ },
177
+ {
178
+ "type": "array",
179
+ "items": {
180
+ "type": "string"
181
+ }
182
+ }
183
+ ],
184
+ "description": "Overwrite existing files",
185
+ "default": false
186
+ },
187
+ "overwriteHtml": {
188
+ "type": "boolean",
189
+ "default": false
190
+ },
191
+ "replace": {
192
+ "type": "boolean",
193
+ "default": false
180
194
  }
181
195
  }
182
- }
183
- ],
184
- "definitions": {
196
+ },
185
197
  "type": {
186
198
  "oneOf": [
187
199
  {
@@ -214,123 +226,6 @@
214
226
  ]
215
227
  }
216
228
  ]
217
- },
218
- "property": {
219
- "oneOf": [
220
- {
221
- "type": "string"
222
- },
223
- {
224
- "type": "object",
225
- "properties": {
226
- "name": {
227
- "type": "string"
228
- },
229
- "type": {
230
- "$ref": "#/definitions/type"
231
- },
232
- "isArray": {
233
- "type": "boolean"
234
- }
235
- },
236
- "required": [
237
- "name"
238
- ]
239
- }
240
- ],
241
- "definitions": {
242
- "type": {
243
- "oneOf": [
244
- {
245
- "type": "string"
246
- },
247
- {
248
- "type": "object",
249
- "properties": {
250
- "name": {
251
- "type": "string"
252
- },
253
- "isTypeOnly": {
254
- "type": "boolean"
255
- },
256
- "moduleSpecifier": {
257
- "type": "string"
258
- },
259
- "namedImport": {
260
- "type": "string"
261
- },
262
- "namespaceImport": {
263
- "type": "string"
264
- },
265
- "defaultImport": {
266
- "type": "string"
267
- }
268
- },
269
- "required": [
270
- "name"
271
- ]
272
- }
273
- ]
274
- }
275
- }
276
- },
277
- "button": {
278
- "type": "object",
279
- "properties": {
280
- "svgIcon": {
281
- "type": "string"
282
- },
283
- "icon": {
284
- "type": "string"
285
- },
286
- "directiveList": {
287
- "type": "array",
288
- "items": {
289
- "$ref": "#/definitions/type"
290
- }
291
- },
292
- "importList": {
293
- "type": "array",
294
- "items": {
295
- "$ref": "#/definitions/type"
296
- }
297
- }
298
- },
299
- "definitions": {
300
- "type": {
301
- "oneOf": [
302
- {
303
- "type": "string"
304
- },
305
- {
306
- "type": "object",
307
- "properties": {
308
- "name": {
309
- "type": "string"
310
- },
311
- "isTypeOnly": {
312
- "type": "boolean"
313
- },
314
- "moduleSpecifier": {
315
- "type": "string"
316
- },
317
- "namedImport": {
318
- "type": "string"
319
- },
320
- "namespaceImport": {
321
- "type": "string"
322
- },
323
- "defaultImport": {
324
- "type": "string"
325
- }
326
- },
327
- "required": [
328
- "name"
329
- ]
330
- }
331
- ]
332
- }
333
- }
334
229
  }
335
230
  }
336
231
  }
@@ -3,10 +3,10 @@
3
3
  "$id": "form-definition-schematic",
4
4
  "allOf": [
5
5
  {
6
- "$ref": "../../angular.schema.json"
6
+ "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "../../form-definition.schema.json"
9
+ "$ref": "#/definitions/formDefinition"
10
10
  },
11
11
  {
12
12
  "type": "object",
@@ -20,14 +20,11 @@
20
20
  }
21
21
  ],
22
22
  "definitions": {
23
- "type": {
24
- "$ref": "../../type.schema.json"
25
- },
26
- "property": {
27
- "$ref": "../../property.schema.json"
23
+ "angular": {
24
+ "$ref": "../../angular.schema.json"
28
25
  },
29
- "button": {
30
- "$ref": "../../button.schema.json"
26
+ "formDefinition": {
27
+ "$ref": "../../form-definition.schema.json"
31
28
  }
32
29
  }
33
30
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "form-component",
4
4
  "allOf": [
5
5
  {
6
- "$ref": "./form-definition.schema.json"
6
+ "$ref": "#/definitions/formDefinition"
7
7
  },
8
8
  {
9
9
  "type": "object",
@@ -27,13 +27,19 @@
27
27
  "outline"
28
28
  ]
29
29
  }
30
+ },
31
+ "identifier": {
32
+ "$ref": "#/definitions/accordionIdentifier"
30
33
  }
31
34
  }
32
35
  }
33
36
  ],
34
37
  "definitions": {
35
- "type": {
36
- "$ref": "./type.schema.json"
38
+ "formDefinition": {
39
+ "$ref": "./form-definition.schema.json"
40
+ },
41
+ "accordionIdentifier": {
42
+ "$ref": "./accordion-identifier.schema.json"
37
43
  }
38
44
  }
39
45
  }
@@ -7,7 +7,7 @@
7
7
  "alias": "control",
8
8
  "type": "array",
9
9
  "items": {
10
- "$ref": "./form-control.schema.json"
10
+ "$ref": "#/definitions/formControl"
11
11
  }
12
12
  }
13
13
  },
@@ -15,8 +15,8 @@
15
15
  "controlList"
16
16
  ],
17
17
  "definitions": {
18
- "type": {
19
- "$ref": "./type.schema.json"
18
+ "formControl": {
19
+ "$ref": "./form-control.schema.json"
20
20
  }
21
21
  }
22
22
  }
@@ -34,8 +34,5 @@
34
34
  "type": "boolean",
35
35
  "default": false
36
36
  }
37
- },
38
- "required": [
39
- "project"
40
- ]
37
+ }
41
38
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "input-form-control",
4
4
  "allOf": [
5
5
  {
6
- "$ref": "./form-control.schema.json"
6
+ "$ref": "#/definitions/formControl"
7
7
  },
8
8
  {
9
9
  "type": "object",
@@ -39,9 +39,17 @@
39
39
  "type": "string"
40
40
  },
41
41
  "formField": {
42
- "$ref": "./form-field.schema.json"
42
+ "$ref": "#/definitions/formField"
43
43
  }
44
44
  }
45
45
  }
46
- ]
46
+ ],
47
+ "definitions": {
48
+ "formField": {
49
+ "$ref": "./form-field.schema.json"
50
+ },
51
+ "formControl": {
52
+ "$ref": "./form-control.schema.json"
53
+ }
54
+ }
47
55
  }
@@ -17,7 +17,7 @@
17
17
  "alias": "column",
18
18
  "type": "array",
19
19
  "items": {
20
- "$ref": "./table-column.schema.json"
20
+ "$ref": "#/definitions/tableColumn"
21
21
  },
22
22
  "description": "List of table column names"
23
23
  },
@@ -25,11 +25,11 @@
25
25
  "alias": "action",
26
26
  "type": "array",
27
27
  "items": {
28
- "$ref": "./table-action.schema.json"
28
+ "$ref": "#/definitions/tableAction"
29
29
  }
30
30
  },
31
31
  "headerButton": {
32
- "$ref": "./header-button.schema.json"
32
+ "$ref": "#/definitions/headerButton"
33
33
  },
34
34
  "modifiers": {
35
35
  "alias": "modifier",
@@ -41,8 +41,14 @@
41
41
  }
42
42
  },
43
43
  "definitions": {
44
- "type": {
45
- "$ref": "./type.schema.json"
44
+ "headerButton": {
45
+ "$ref": "./header-button.schema.json"
46
+ },
47
+ "tableAction": {
48
+ "$ref": "./table-action.schema.json"
49
+ },
50
+ "tableColumn": {
51
+ "$ref": "./table-column.schema.json"
46
52
  },
47
53
  "property": {
48
54
  "$ref": "./property.schema.json"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "$id": "property",
3
+ "$id": "pipe",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "string"
@@ -3,13 +3,13 @@
3
3
  "$id": "select-form-control",
4
4
  "allOf": [
5
5
  {
6
- "$ref": "./form-control.schema.json"
6
+ "$ref": "#/definitions/formControl"
7
7
  },
8
8
  {
9
9
  "type": "object",
10
10
  "properties": {
11
11
  "formField": {
12
- "$ref": "./form-field.schema.json"
12
+ "$ref": "#/definitions/formField"
13
13
  },
14
14
  "options": {
15
15
  "type": "array",
@@ -40,7 +40,7 @@
40
40
  }
41
41
  },
42
42
  "backend": {
43
- "$ref": "./backend.schema.json"
43
+ "$ref": "#/definitions/backend"
44
44
  },
45
45
  "multiple": {
46
46
  "alias": "multi",
@@ -49,5 +49,16 @@
49
49
  }
50
50
  }
51
51
  }
52
- ]
52
+ ],
53
+ "definitions": {
54
+ "backend": {
55
+ "$ref": "./backend.schema.json"
56
+ },
57
+ "formField": {
58
+ "$ref": "./form-field.schema.json"
59
+ },
60
+ "formControl": {
61
+ "$ref": "./form-control.schema.json"
62
+ }
63
+ }
53
64
  }