@praxisui/metadata-editor 9.0.0-beta.6 → 9.0.0-beta.61
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/README.md +15 -0
- package/ai/component-registry.json +1305 -0
- package/fesm2022/praxisui-metadata-editor.mjs +1777 -188
- package/package.json +10 -6
- package/types/praxisui-metadata-editor.d.ts +20 -4
|
@@ -0,0 +1,1305 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"generatedAt": "2026-07-09T13:40:31.613Z",
|
|
4
|
+
"packageName": "@praxisui/metadata-editor",
|
|
5
|
+
"packageVersion": "9.0.0-beta.61",
|
|
6
|
+
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
|
+
"sourceRegistryVersion": "1.0.0",
|
|
8
|
+
"componentCount": 1,
|
|
9
|
+
"components": {
|
|
10
|
+
"praxis-metadata-editor": {
|
|
11
|
+
"id": "praxis-metadata-editor",
|
|
12
|
+
"description": "Editor for field metadata and schema helpers.",
|
|
13
|
+
"inputs": [
|
|
14
|
+
{
|
|
15
|
+
"name": "controlType",
|
|
16
|
+
"type": "FieldControlType",
|
|
17
|
+
"required": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "seed",
|
|
21
|
+
"type": "Partial<FieldDefinition>",
|
|
22
|
+
"required": false
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"outputs": [
|
|
26
|
+
{
|
|
27
|
+
"name": "applied",
|
|
28
|
+
"type": "Partial<FieldDefinition>",
|
|
29
|
+
"required": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "cancel",
|
|
33
|
+
"type": "void",
|
|
34
|
+
"required": false
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"configSchemaId": null,
|
|
38
|
+
"selector": "praxis-field-metadata-editor",
|
|
39
|
+
"friendlyName": "Praxis Metadata Editor",
|
|
40
|
+
"tags": [
|
|
41
|
+
"widget",
|
|
42
|
+
"metadata",
|
|
43
|
+
"configurable"
|
|
44
|
+
],
|
|
45
|
+
"lib": "@praxisui/metadata-editor",
|
|
46
|
+
"source": "projects/praxis-metadata-editor/src/lib/praxis-metadata-editor.metadata.ts",
|
|
47
|
+
"exportName": "PRAXIS_METADATA_EDITOR_COMPONENT_METADATA",
|
|
48
|
+
"authoringManifest": {
|
|
49
|
+
"schemaVersion": "1.0.0",
|
|
50
|
+
"componentId": "praxis-metadata-editor",
|
|
51
|
+
"ownerPackage": "@praxisui/metadata-editor",
|
|
52
|
+
"configSchemaId": "FieldMetadata",
|
|
53
|
+
"manifestVersion": "1.0.0",
|
|
54
|
+
"runtimeInputs": [
|
|
55
|
+
{
|
|
56
|
+
"name": "controlType",
|
|
57
|
+
"type": "FieldControlType",
|
|
58
|
+
"description": "Canonical control type used to resolve editor property coverage."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "seed",
|
|
62
|
+
"type": "Partial<FieldMetadata | FieldDefinition>",
|
|
63
|
+
"description": "Initial canonical field metadata used to hydrate the editor."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "fields",
|
|
67
|
+
"type": "Array<FieldMetadata | FieldDefinition>",
|
|
68
|
+
"description": "Available fields used by cascade authoring and context validation."
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "properties",
|
|
72
|
+
"type": "EditorProperty[]",
|
|
73
|
+
"description": "Renderer property catalog resolved from ConfigRegistryService."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "form",
|
|
77
|
+
"type": "FormGroup",
|
|
78
|
+
"description": "Dynamic form generated from canonical editor properties by DynamicFormFactoryService."
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"editableTargets": [
|
|
82
|
+
{
|
|
83
|
+
"kind": "fieldMetadata",
|
|
84
|
+
"resolver": "field-metadata-json-path",
|
|
85
|
+
"description": "Canonical FieldMetadata root and property paths."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "controlType",
|
|
89
|
+
"resolver": "dynamic-fields-control-type-discovery",
|
|
90
|
+
"description": "Control type selected from dynamic-fields discovery and editor config registry."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "optionSource",
|
|
94
|
+
"resolver": "field-metadata-option-source",
|
|
95
|
+
"description": "Canonical option source including backend x-ui option source fields where applicable."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "cascade",
|
|
99
|
+
"resolver": "metadata-editor-cascade-rules",
|
|
100
|
+
"description": "Cascade dependencies and dependency filter mappings edited through CascadeManagerTab."
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"kind": "renderer",
|
|
104
|
+
"resolver": "metadata-editor-renderer-property",
|
|
105
|
+
"description": "Dynamic editor renderer property coverage and editor component mapping."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"kind": "validation",
|
|
109
|
+
"resolver": "field-metadata-validation-rules",
|
|
110
|
+
"description": "Field validation rules and contextual validators."
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "contextHint",
|
|
114
|
+
"resolver": "metadata-editor-context-hints",
|
|
115
|
+
"description": "Authoring hints, help text and contextual guidance for metadata editors."
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "normalization",
|
|
119
|
+
"resolver": "metadata-editor-schema-normalizer",
|
|
120
|
+
"description": "Schema normalization and seed hydration rules."
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"operations": [
|
|
124
|
+
{
|
|
125
|
+
"operationId": "fieldMetadata.property.set",
|
|
126
|
+
"title": "Set FieldMetadata property",
|
|
127
|
+
"scope": "fieldMetadataPath",
|
|
128
|
+
"targetKind": "fieldMetadata",
|
|
129
|
+
"target": {
|
|
130
|
+
"kind": "fieldMetadata",
|
|
131
|
+
"resolver": "field-metadata-json-path",
|
|
132
|
+
"ambiguityPolicy": "fail",
|
|
133
|
+
"required": true
|
|
134
|
+
},
|
|
135
|
+
"inputSchema": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"required": [
|
|
138
|
+
"path",
|
|
139
|
+
"value"
|
|
140
|
+
],
|
|
141
|
+
"properties": {
|
|
142
|
+
"path": {
|
|
143
|
+
"enum": [
|
|
144
|
+
"name",
|
|
145
|
+
"label",
|
|
146
|
+
"description",
|
|
147
|
+
"controlType",
|
|
148
|
+
"placeholder",
|
|
149
|
+
"defaultValue",
|
|
150
|
+
"group",
|
|
151
|
+
"order",
|
|
152
|
+
"required",
|
|
153
|
+
"disabled",
|
|
154
|
+
"readOnly",
|
|
155
|
+
"hidden",
|
|
156
|
+
"source",
|
|
157
|
+
"transient",
|
|
158
|
+
"submitPolicy",
|
|
159
|
+
"hint",
|
|
160
|
+
"helpText",
|
|
161
|
+
"tooltip",
|
|
162
|
+
"valuePresentation",
|
|
163
|
+
"presentation",
|
|
164
|
+
"presentation.presenter",
|
|
165
|
+
"presentation.tone",
|
|
166
|
+
"presentation.appearance",
|
|
167
|
+
"presentation.icon",
|
|
168
|
+
"presentation.label",
|
|
169
|
+
"presentation.badge",
|
|
170
|
+
"presentation.tooltip",
|
|
171
|
+
"presentationRules",
|
|
172
|
+
"options",
|
|
173
|
+
"optionSource",
|
|
174
|
+
"validators",
|
|
175
|
+
"conditionalRequired",
|
|
176
|
+
"conditionalDisplay",
|
|
177
|
+
"visibleIn",
|
|
178
|
+
"ariaLabel",
|
|
179
|
+
"ariaDescribedBy"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"value": {},
|
|
183
|
+
"merge": {
|
|
184
|
+
"type": "boolean"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"effects": [
|
|
189
|
+
{
|
|
190
|
+
"kind": "compile-domain-patch",
|
|
191
|
+
"handler": "metadata-field-property-set",
|
|
192
|
+
"handlerContract": {
|
|
193
|
+
"reads": [
|
|
194
|
+
"fieldMetadata",
|
|
195
|
+
"fieldMetadataPath",
|
|
196
|
+
"SchemaNormalizerService"
|
|
197
|
+
],
|
|
198
|
+
"writes": [
|
|
199
|
+
"fieldMetadata"
|
|
200
|
+
],
|
|
201
|
+
"identityKeys": [
|
|
202
|
+
"field.name",
|
|
203
|
+
"path"
|
|
204
|
+
],
|
|
205
|
+
"failureModes": [
|
|
206
|
+
"unknown-field-metadata-path",
|
|
207
|
+
"non-canonical-shape",
|
|
208
|
+
"readonly-field",
|
|
209
|
+
"normalization-failed"
|
|
210
|
+
],
|
|
211
|
+
"description": "Sets a canonical FieldMetadata property through a governed metadata path and re-runs schema normalization."
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"destructive": false,
|
|
216
|
+
"requiresConfirmation": false,
|
|
217
|
+
"validators": [
|
|
218
|
+
"field-metadata-shape-canonical",
|
|
219
|
+
"field-path-supported-by-editor",
|
|
220
|
+
"metadata-round-trip"
|
|
221
|
+
],
|
|
222
|
+
"affectedPaths": [
|
|
223
|
+
"fieldMetadata"
|
|
224
|
+
],
|
|
225
|
+
"submissionImpact": "affects-schema-backed-data",
|
|
226
|
+
"preconditions": [
|
|
227
|
+
"field-metadata-loaded"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"operationId": "controlType.set",
|
|
232
|
+
"title": "Set control type",
|
|
233
|
+
"scope": "controlType",
|
|
234
|
+
"targetKind": "controlType",
|
|
235
|
+
"target": {
|
|
236
|
+
"kind": "controlType",
|
|
237
|
+
"resolver": "dynamic-fields-control-type-discovery",
|
|
238
|
+
"ambiguityPolicy": "fail",
|
|
239
|
+
"required": true
|
|
240
|
+
},
|
|
241
|
+
"inputSchema": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"required": [
|
|
244
|
+
"controlType"
|
|
245
|
+
],
|
|
246
|
+
"properties": {
|
|
247
|
+
"controlType": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"preserveCompatibleProperties": {
|
|
251
|
+
"type": "boolean"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"effects": [
|
|
256
|
+
{
|
|
257
|
+
"kind": "compile-domain-patch",
|
|
258
|
+
"handler": "metadata-control-type-set",
|
|
259
|
+
"handlerContract": {
|
|
260
|
+
"reads": [
|
|
261
|
+
"FieldControlType",
|
|
262
|
+
"ConfigRegistryService",
|
|
263
|
+
"dynamic-fields-discovery",
|
|
264
|
+
"fieldMetadata"
|
|
265
|
+
],
|
|
266
|
+
"writes": [
|
|
267
|
+
"fieldMetadata.controlType",
|
|
268
|
+
"properties",
|
|
269
|
+
"normalizedSeed"
|
|
270
|
+
],
|
|
271
|
+
"identityKeys": [
|
|
272
|
+
"field.name",
|
|
273
|
+
"controlType"
|
|
274
|
+
],
|
|
275
|
+
"inputSchema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"required": [
|
|
278
|
+
"controlType"
|
|
279
|
+
],
|
|
280
|
+
"properties": {
|
|
281
|
+
"controlType": {
|
|
282
|
+
"type": "string"
|
|
283
|
+
},
|
|
284
|
+
"preserveCompatibleProperties": {
|
|
285
|
+
"type": "boolean"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"failureModes": [
|
|
290
|
+
"control-type-not-discovered",
|
|
291
|
+
"editor-coverage-missing",
|
|
292
|
+
"incompatible-metadata-preservation"
|
|
293
|
+
],
|
|
294
|
+
"description": "Changes control type only when dynamic-fields discovery and metadata-editor config registry both expose renderer/editor coverage."
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"destructive": false,
|
|
299
|
+
"requiresConfirmation": false,
|
|
300
|
+
"validators": [
|
|
301
|
+
"control-type-exists-in-discovery",
|
|
302
|
+
"editor-coverage-exists",
|
|
303
|
+
"metadata-round-trip"
|
|
304
|
+
],
|
|
305
|
+
"affectedPaths": [
|
|
306
|
+
"fieldMetadata.controlType",
|
|
307
|
+
"properties",
|
|
308
|
+
"normalizedSeed"
|
|
309
|
+
],
|
|
310
|
+
"submissionImpact": "affects-schema-backed-data",
|
|
311
|
+
"preconditions": [
|
|
312
|
+
"dynamic-fields-discovery-loaded"
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"operationId": "optionSource.configure",
|
|
317
|
+
"title": "Configure option source",
|
|
318
|
+
"scope": "dataBinding",
|
|
319
|
+
"targetKind": "optionSource",
|
|
320
|
+
"target": {
|
|
321
|
+
"kind": "optionSource",
|
|
322
|
+
"resolver": "field-metadata-option-source",
|
|
323
|
+
"ambiguityPolicy": "fail",
|
|
324
|
+
"required": false
|
|
325
|
+
},
|
|
326
|
+
"inputSchema": {
|
|
327
|
+
"type": "object",
|
|
328
|
+
"minProperties": 1,
|
|
329
|
+
"properties": {
|
|
330
|
+
"kind": {
|
|
331
|
+
"enum": [
|
|
332
|
+
"static",
|
|
333
|
+
"remote",
|
|
334
|
+
"resource",
|
|
335
|
+
"lookup"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"resource": {
|
|
339
|
+
"type": "string"
|
|
340
|
+
},
|
|
341
|
+
"endpoint": {
|
|
342
|
+
"type": "string"
|
|
343
|
+
},
|
|
344
|
+
"valueField": {
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"labelField": {
|
|
348
|
+
"type": "string"
|
|
349
|
+
},
|
|
350
|
+
"dependsOn": {
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"dependencyFilterMap": {
|
|
354
|
+
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"display": {
|
|
357
|
+
"type": "object",
|
|
358
|
+
"properties": {
|
|
359
|
+
"preset": {
|
|
360
|
+
"enum": [
|
|
361
|
+
"compact",
|
|
362
|
+
"rich",
|
|
363
|
+
"directory",
|
|
364
|
+
"status",
|
|
365
|
+
"reference",
|
|
366
|
+
"hierarchical"
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
"usage": {
|
|
370
|
+
"enum": [
|
|
371
|
+
"form",
|
|
372
|
+
"filter",
|
|
373
|
+
"table-cell",
|
|
374
|
+
"dashboard",
|
|
375
|
+
"wizard",
|
|
376
|
+
"review"
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
"density": {
|
|
380
|
+
"enum": [
|
|
381
|
+
"compact",
|
|
382
|
+
"comfortable",
|
|
383
|
+
"rich"
|
|
384
|
+
]
|
|
385
|
+
},
|
|
386
|
+
"selectedLayout": {
|
|
387
|
+
"enum": [
|
|
388
|
+
"card",
|
|
389
|
+
"inline",
|
|
390
|
+
"compact",
|
|
391
|
+
"token"
|
|
392
|
+
]
|
|
393
|
+
},
|
|
394
|
+
"resultLayout": {
|
|
395
|
+
"enum": [
|
|
396
|
+
"list",
|
|
397
|
+
"denseList",
|
|
398
|
+
"table",
|
|
399
|
+
"card"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
"primaryPropertyPath": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"fields": {
|
|
406
|
+
"type": "array"
|
|
407
|
+
},
|
|
408
|
+
"secondaryPropertyPaths": {
|
|
409
|
+
"type": "array"
|
|
410
|
+
},
|
|
411
|
+
"badgePropertyPaths": {
|
|
412
|
+
"type": "array"
|
|
413
|
+
},
|
|
414
|
+
"statusToneMap": {
|
|
415
|
+
"type": "object"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"detail": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"kind": {
|
|
423
|
+
"enum": [
|
|
424
|
+
"surface",
|
|
425
|
+
"route",
|
|
426
|
+
"href"
|
|
427
|
+
]
|
|
428
|
+
},
|
|
429
|
+
"surfaceId": {
|
|
430
|
+
"type": "string"
|
|
431
|
+
},
|
|
432
|
+
"presentation": {
|
|
433
|
+
"enum": [
|
|
434
|
+
"drawer",
|
|
435
|
+
"modal"
|
|
436
|
+
]
|
|
437
|
+
},
|
|
438
|
+
"preferredWidget": {
|
|
439
|
+
"type": "string"
|
|
440
|
+
},
|
|
441
|
+
"mode": {
|
|
442
|
+
"enum": [
|
|
443
|
+
"view",
|
|
444
|
+
"edit",
|
|
445
|
+
"create"
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"options": {
|
|
451
|
+
"type": "array"
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"effects": [
|
|
456
|
+
{
|
|
457
|
+
"kind": "compile-domain-patch",
|
|
458
|
+
"handler": "metadata-option-source-configure",
|
|
459
|
+
"handlerContract": {
|
|
460
|
+
"reads": [
|
|
461
|
+
"fieldMetadata.optionSource",
|
|
462
|
+
"backend.x-ui.optionSource",
|
|
463
|
+
"SchemaNormalizerService"
|
|
464
|
+
],
|
|
465
|
+
"writes": [
|
|
466
|
+
"fieldMetadata.optionSource"
|
|
467
|
+
],
|
|
468
|
+
"identityKeys": [
|
|
469
|
+
"field.name",
|
|
470
|
+
"optionSource.kind",
|
|
471
|
+
"optionSource.resource"
|
|
472
|
+
],
|
|
473
|
+
"failureModes": [
|
|
474
|
+
"invalid-option-source-kind",
|
|
475
|
+
"remote-source-missing-governed-resource",
|
|
476
|
+
"dependency-filter-map-invalid"
|
|
477
|
+
],
|
|
478
|
+
"description": "Configures canonical optionSource fields while preserving backend x-ui dependsOn and dependencyFilterMap semantics."
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"destructive": false,
|
|
483
|
+
"requiresConfirmation": false,
|
|
484
|
+
"validators": [
|
|
485
|
+
"option-source-shape-canonical",
|
|
486
|
+
"remote-option-source-governed",
|
|
487
|
+
"cascade-backend-shape-preserved",
|
|
488
|
+
"metadata-round-trip"
|
|
489
|
+
],
|
|
490
|
+
"affectedPaths": [
|
|
491
|
+
"fieldMetadata.optionSource"
|
|
492
|
+
],
|
|
493
|
+
"submissionImpact": "affects-remote-binding",
|
|
494
|
+
"preconditions": [
|
|
495
|
+
"field-metadata-loaded"
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"operationId": "cascade.configure",
|
|
500
|
+
"title": "Configure cascade rule",
|
|
501
|
+
"scope": "interaction",
|
|
502
|
+
"targetKind": "cascade",
|
|
503
|
+
"target": {
|
|
504
|
+
"kind": "cascade",
|
|
505
|
+
"resolver": "metadata-editor-cascade-rules",
|
|
506
|
+
"ambiguityPolicy": "fail",
|
|
507
|
+
"required": false
|
|
508
|
+
},
|
|
509
|
+
"inputSchema": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"required": [
|
|
512
|
+
"dependentField"
|
|
513
|
+
],
|
|
514
|
+
"properties": {
|
|
515
|
+
"dependentField": {
|
|
516
|
+
"type": "string"
|
|
517
|
+
},
|
|
518
|
+
"sourceField": {
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
"strategy": {
|
|
522
|
+
"enum": [
|
|
523
|
+
"replace",
|
|
524
|
+
"merge"
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"debounceMs": {
|
|
528
|
+
"type": "number"
|
|
529
|
+
},
|
|
530
|
+
"loadMode": {
|
|
531
|
+
"enum": [
|
|
532
|
+
"immediate",
|
|
533
|
+
"manual",
|
|
534
|
+
"respectLoadOn"
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
"dependencyFilterMap": {
|
|
538
|
+
"type": "object"
|
|
539
|
+
},
|
|
540
|
+
"optionSource": {
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"kind": {
|
|
544
|
+
"enum": [
|
|
545
|
+
"static",
|
|
546
|
+
"remote",
|
|
547
|
+
"resource",
|
|
548
|
+
"lookup"
|
|
549
|
+
]
|
|
550
|
+
},
|
|
551
|
+
"resource": {
|
|
552
|
+
"type": "string"
|
|
553
|
+
},
|
|
554
|
+
"endpoint": {
|
|
555
|
+
"type": "string"
|
|
556
|
+
},
|
|
557
|
+
"dependsOn": {
|
|
558
|
+
"type": "string"
|
|
559
|
+
},
|
|
560
|
+
"dependencyFilterMap": {
|
|
561
|
+
"type": "object"
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"effects": [
|
|
568
|
+
{
|
|
569
|
+
"kind": "compile-domain-patch",
|
|
570
|
+
"handler": "metadata-cascade-configure",
|
|
571
|
+
"handlerContract": {
|
|
572
|
+
"reads": [
|
|
573
|
+
"CascadeManagerTabComponent",
|
|
574
|
+
"CascadeRulesService",
|
|
575
|
+
"fields",
|
|
576
|
+
"fieldMetadata.optionSource",
|
|
577
|
+
"fieldMetadata.dependencyFields",
|
|
578
|
+
"fieldMetadata.dependencyFilterMap"
|
|
579
|
+
],
|
|
580
|
+
"writes": [
|
|
581
|
+
"fieldMetadata.dependencyFields",
|
|
582
|
+
"fieldMetadata.enableDependencyCascade",
|
|
583
|
+
"fieldMetadata.resetOnDependentChange",
|
|
584
|
+
"fieldMetadata.dependencyFilterMap",
|
|
585
|
+
"fieldMetadata.dependencyValuePath",
|
|
586
|
+
"fieldMetadata.dependencyMergeStrategy",
|
|
587
|
+
"fieldMetadata.dependencyDebounceMs",
|
|
588
|
+
"fieldMetadata.dependencyLoadOnChange",
|
|
589
|
+
"fieldMetadata.optionSource.dependsOn",
|
|
590
|
+
"fieldMetadata.optionSource.dependencyFilterMap"
|
|
591
|
+
],
|
|
592
|
+
"identityKeys": [
|
|
593
|
+
"dependentField",
|
|
594
|
+
"sourceField"
|
|
595
|
+
],
|
|
596
|
+
"failureModes": [
|
|
597
|
+
"dependent-field-not-found",
|
|
598
|
+
"source-field-not-found",
|
|
599
|
+
"cascade-cycle-detected",
|
|
600
|
+
"dependency-filter-map-invalid"
|
|
601
|
+
],
|
|
602
|
+
"description": "Applies cascade dependencies through CascadeRulesService using the metadata-editor save contract while preserving backend x-ui optionSource dependency semantics during hydration."
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"destructive": false,
|
|
607
|
+
"requiresConfirmation": false,
|
|
608
|
+
"validators": [
|
|
609
|
+
"cascade-fields-exist",
|
|
610
|
+
"cascade-cycle-free",
|
|
611
|
+
"cascade-backend-shape-preserved",
|
|
612
|
+
"option-source-shape-canonical",
|
|
613
|
+
"remote-option-source-governed",
|
|
614
|
+
"metadata-round-trip"
|
|
615
|
+
],
|
|
616
|
+
"affectedPaths": [
|
|
617
|
+
"fieldMetadata.dependencyFields",
|
|
618
|
+
"fieldMetadata.enableDependencyCascade",
|
|
619
|
+
"fieldMetadata.resetOnDependentChange",
|
|
620
|
+
"fieldMetadata.dependencyFilterMap",
|
|
621
|
+
"fieldMetadata.dependencyValuePath",
|
|
622
|
+
"fieldMetadata.dependencyMergeStrategy",
|
|
623
|
+
"fieldMetadata.dependencyDebounceMs",
|
|
624
|
+
"fieldMetadata.dependencyLoadOnChange",
|
|
625
|
+
"fieldMetadata.optionSource.dependsOn",
|
|
626
|
+
"fieldMetadata.optionSource.dependencyFilterMap"
|
|
627
|
+
],
|
|
628
|
+
"submissionImpact": "affects-remote-binding",
|
|
629
|
+
"preconditions": [
|
|
630
|
+
"field-list-loaded"
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"operationId": "renderer.configure",
|
|
635
|
+
"title": "Configure renderer coverage",
|
|
636
|
+
"scope": "editorCoverage",
|
|
637
|
+
"targetKind": "renderer",
|
|
638
|
+
"target": {
|
|
639
|
+
"kind": "renderer",
|
|
640
|
+
"resolver": "metadata-editor-renderer-property",
|
|
641
|
+
"ambiguityPolicy": "fail",
|
|
642
|
+
"required": true
|
|
643
|
+
},
|
|
644
|
+
"inputSchema": {
|
|
645
|
+
"type": "object",
|
|
646
|
+
"required": [
|
|
647
|
+
"propertyName",
|
|
648
|
+
"editorType"
|
|
649
|
+
],
|
|
650
|
+
"properties": {
|
|
651
|
+
"propertyName": {
|
|
652
|
+
"type": "string"
|
|
653
|
+
},
|
|
654
|
+
"editorType": {
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"group": {
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
660
|
+
"required": {
|
|
661
|
+
"type": "boolean"
|
|
662
|
+
},
|
|
663
|
+
"options": {
|
|
664
|
+
"type": "array"
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"effects": [
|
|
669
|
+
{
|
|
670
|
+
"kind": "compile-domain-patch",
|
|
671
|
+
"handler": "metadata-renderer-configure",
|
|
672
|
+
"handlerContract": {
|
|
673
|
+
"reads": [
|
|
674
|
+
"DynamicEditorRendererComponent",
|
|
675
|
+
"EditorComponentRegistryService",
|
|
676
|
+
"ConfigRegistryService",
|
|
677
|
+
"EditorProperty"
|
|
678
|
+
],
|
|
679
|
+
"writes": [
|
|
680
|
+
"properties",
|
|
681
|
+
"editorCoverage"
|
|
682
|
+
],
|
|
683
|
+
"identityKeys": [
|
|
684
|
+
"controlType",
|
|
685
|
+
"propertyName"
|
|
686
|
+
],
|
|
687
|
+
"inputSchema": {
|
|
688
|
+
"type": "object",
|
|
689
|
+
"required": [
|
|
690
|
+
"propertyName",
|
|
691
|
+
"editorType"
|
|
692
|
+
],
|
|
693
|
+
"properties": {
|
|
694
|
+
"propertyName": {
|
|
695
|
+
"type": "string"
|
|
696
|
+
},
|
|
697
|
+
"editorType": {
|
|
698
|
+
"type": "string"
|
|
699
|
+
},
|
|
700
|
+
"group": {
|
|
701
|
+
"type": "string"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"failureModes": [
|
|
706
|
+
"editor-type-not-registered",
|
|
707
|
+
"property-not-covered",
|
|
708
|
+
"json-only-coverage-not-accepted"
|
|
709
|
+
],
|
|
710
|
+
"description": "Configures visual renderer coverage for a metadata property and rejects JSON-only support for required visual authoring."
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"destructive": false,
|
|
715
|
+
"requiresConfirmation": false,
|
|
716
|
+
"validators": [
|
|
717
|
+
"renderer-editor-type-registered",
|
|
718
|
+
"visual-editor-coverage-required",
|
|
719
|
+
"editor-coverage-exists",
|
|
720
|
+
"metadata-round-trip"
|
|
721
|
+
],
|
|
722
|
+
"affectedPaths": [
|
|
723
|
+
"properties",
|
|
724
|
+
"editorCoverage"
|
|
725
|
+
],
|
|
726
|
+
"submissionImpact": "config-only",
|
|
727
|
+
"preconditions": [
|
|
728
|
+
"config-registry-loaded"
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"operationId": "validationRule.add",
|
|
733
|
+
"title": "Add validation rule",
|
|
734
|
+
"scope": "fieldMetadataPath",
|
|
735
|
+
"targetKind": "validation",
|
|
736
|
+
"target": {
|
|
737
|
+
"kind": "validation",
|
|
738
|
+
"resolver": "field-metadata-validation-rules",
|
|
739
|
+
"ambiguityPolicy": "fail",
|
|
740
|
+
"required": false
|
|
741
|
+
},
|
|
742
|
+
"inputSchema": {
|
|
743
|
+
"type": "object",
|
|
744
|
+
"required": [
|
|
745
|
+
"rule"
|
|
746
|
+
],
|
|
747
|
+
"properties": {
|
|
748
|
+
"rule": {
|
|
749
|
+
"type": "object"
|
|
750
|
+
},
|
|
751
|
+
"message": {
|
|
752
|
+
"type": "string"
|
|
753
|
+
},
|
|
754
|
+
"contextValidatorId": {
|
|
755
|
+
"type": "string"
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"effects": [
|
|
760
|
+
{
|
|
761
|
+
"kind": "compile-domain-patch",
|
|
762
|
+
"handler": "metadata-validation-rule-add",
|
|
763
|
+
"handlerContract": {
|
|
764
|
+
"reads": [
|
|
765
|
+
"fieldMetadata.validators",
|
|
766
|
+
"ContextValidatorRegistryService",
|
|
767
|
+
"DynamicFormFactoryService"
|
|
768
|
+
],
|
|
769
|
+
"writes": [
|
|
770
|
+
"fieldMetadata.validators"
|
|
771
|
+
],
|
|
772
|
+
"identityKeys": [
|
|
773
|
+
"field.name",
|
|
774
|
+
"rule.type",
|
|
775
|
+
"contextValidatorId"
|
|
776
|
+
],
|
|
777
|
+
"inputSchema": {
|
|
778
|
+
"type": "object",
|
|
779
|
+
"required": [
|
|
780
|
+
"rule"
|
|
781
|
+
],
|
|
782
|
+
"properties": {
|
|
783
|
+
"rule": {
|
|
784
|
+
"type": "object"
|
|
785
|
+
},
|
|
786
|
+
"message": {
|
|
787
|
+
"type": "string"
|
|
788
|
+
},
|
|
789
|
+
"contextValidatorId": {
|
|
790
|
+
"type": "string"
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"failureModes": [
|
|
795
|
+
"validation-rule-invalid",
|
|
796
|
+
"context-validator-not-registered",
|
|
797
|
+
"duplicate-validation-rule"
|
|
798
|
+
],
|
|
799
|
+
"description": "Adds a canonical validation rule and verifies contextual validator availability before persistence."
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
],
|
|
803
|
+
"destructive": false,
|
|
804
|
+
"requiresConfirmation": false,
|
|
805
|
+
"validators": [
|
|
806
|
+
"validation-rule-canonical",
|
|
807
|
+
"context-validator-registered",
|
|
808
|
+
"metadata-round-trip"
|
|
809
|
+
],
|
|
810
|
+
"affectedPaths": [
|
|
811
|
+
"fieldMetadata.validators"
|
|
812
|
+
],
|
|
813
|
+
"submissionImpact": "affects-submission",
|
|
814
|
+
"preconditions": [
|
|
815
|
+
"field-metadata-loaded"
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"operationId": "contextHint.set",
|
|
820
|
+
"title": "Set metadata context hint",
|
|
821
|
+
"scope": "meta",
|
|
822
|
+
"targetKind": "contextHint",
|
|
823
|
+
"target": {
|
|
824
|
+
"kind": "contextHint",
|
|
825
|
+
"resolver": "metadata-editor-context-hints",
|
|
826
|
+
"ambiguityPolicy": "fail",
|
|
827
|
+
"required": false
|
|
828
|
+
},
|
|
829
|
+
"inputSchema": {
|
|
830
|
+
"type": "object",
|
|
831
|
+
"required": [
|
|
832
|
+
"hintPath",
|
|
833
|
+
"value"
|
|
834
|
+
],
|
|
835
|
+
"properties": {
|
|
836
|
+
"hintPath": {
|
|
837
|
+
"enum": [
|
|
838
|
+
"hint",
|
|
839
|
+
"helpText",
|
|
840
|
+
"description",
|
|
841
|
+
"tooltip",
|
|
842
|
+
"ariaLabel",
|
|
843
|
+
"ariaDescribedBy"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
"value": {},
|
|
847
|
+
"localeKey": {
|
|
848
|
+
"type": "string"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"effects": [
|
|
853
|
+
{
|
|
854
|
+
"kind": "compile-domain-patch",
|
|
855
|
+
"handler": "metadata-context-hint-set",
|
|
856
|
+
"handlerContract": {
|
|
857
|
+
"reads": [
|
|
858
|
+
"fieldMetadata.hint",
|
|
859
|
+
"fieldMetadata.helpText",
|
|
860
|
+
"fieldMetadata.description",
|
|
861
|
+
"fieldMetadata.tooltip",
|
|
862
|
+
"fieldMetadata.ariaLabel",
|
|
863
|
+
"fieldMetadata.ariaDescribedBy",
|
|
864
|
+
"metadata-editor-i18n"
|
|
865
|
+
],
|
|
866
|
+
"writes": [
|
|
867
|
+
"fieldMetadata.hint",
|
|
868
|
+
"fieldMetadata.helpText",
|
|
869
|
+
"fieldMetadata.description",
|
|
870
|
+
"fieldMetadata.tooltip",
|
|
871
|
+
"fieldMetadata.ariaLabel",
|
|
872
|
+
"fieldMetadata.ariaDescribedBy"
|
|
873
|
+
],
|
|
874
|
+
"identityKeys": [
|
|
875
|
+
"field.name",
|
|
876
|
+
"hintPath"
|
|
877
|
+
],
|
|
878
|
+
"inputSchema": {
|
|
879
|
+
"type": "object",
|
|
880
|
+
"required": [
|
|
881
|
+
"hintPath",
|
|
882
|
+
"value"
|
|
883
|
+
],
|
|
884
|
+
"properties": {
|
|
885
|
+
"hintPath": {
|
|
886
|
+
"enum": [
|
|
887
|
+
"hint",
|
|
888
|
+
"helpText",
|
|
889
|
+
"description",
|
|
890
|
+
"tooltip",
|
|
891
|
+
"ariaLabel",
|
|
892
|
+
"ariaDescribedBy"
|
|
893
|
+
]
|
|
894
|
+
},
|
|
895
|
+
"value": {},
|
|
896
|
+
"localeKey": {
|
|
897
|
+
"type": "string"
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
"failureModes": [
|
|
902
|
+
"hint-path-not-canonical",
|
|
903
|
+
"hint-value-not-serializable",
|
|
904
|
+
"i18n-key-missing"
|
|
905
|
+
],
|
|
906
|
+
"description": "Sets structured FieldMetadata hint/help/accessibility text through canonical metadata paths and metadata-editor i18n constraints."
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
],
|
|
910
|
+
"destructive": false,
|
|
911
|
+
"requiresConfirmation": false,
|
|
912
|
+
"validators": [
|
|
913
|
+
"context-hint-shape-canonical",
|
|
914
|
+
"context-hint-i18n-compatible",
|
|
915
|
+
"metadata-round-trip"
|
|
916
|
+
],
|
|
917
|
+
"affectedPaths": [
|
|
918
|
+
"fieldMetadata.hint",
|
|
919
|
+
"fieldMetadata.helpText",
|
|
920
|
+
"fieldMetadata.description",
|
|
921
|
+
"fieldMetadata.tooltip",
|
|
922
|
+
"fieldMetadata.ariaLabel",
|
|
923
|
+
"fieldMetadata.ariaDescribedBy"
|
|
924
|
+
],
|
|
925
|
+
"submissionImpact": "visual-only",
|
|
926
|
+
"preconditions": [
|
|
927
|
+
"field-metadata-loaded"
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"operationId": "normalization.apply",
|
|
932
|
+
"title": "Apply schema normalization",
|
|
933
|
+
"scope": "runtimeCoverage",
|
|
934
|
+
"targetKind": "normalization",
|
|
935
|
+
"target": {
|
|
936
|
+
"kind": "normalization",
|
|
937
|
+
"resolver": "metadata-editor-schema-normalizer",
|
|
938
|
+
"ambiguityPolicy": "fail",
|
|
939
|
+
"required": false
|
|
940
|
+
},
|
|
941
|
+
"inputSchema": {
|
|
942
|
+
"type": "object",
|
|
943
|
+
"properties": {
|
|
944
|
+
"mode": {
|
|
945
|
+
"enum": [
|
|
946
|
+
"hydrate-seed",
|
|
947
|
+
"coerce-types",
|
|
948
|
+
"apply-defaults",
|
|
949
|
+
"preserve-advanced-properties"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
952
|
+
"preserveUnknownCanonicalFields": {
|
|
953
|
+
"type": "boolean"
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"effects": [
|
|
958
|
+
{
|
|
959
|
+
"kind": "compile-domain-patch",
|
|
960
|
+
"handler": "metadata-normalization-apply",
|
|
961
|
+
"handlerContract": {
|
|
962
|
+
"reads": [
|
|
963
|
+
"SchemaNormalizerService",
|
|
964
|
+
"fieldMetadata",
|
|
965
|
+
"properties",
|
|
966
|
+
"DynamicFormFactoryService"
|
|
967
|
+
],
|
|
968
|
+
"writes": [
|
|
969
|
+
"normalizedSeed",
|
|
970
|
+
"form",
|
|
971
|
+
"fieldMetadata"
|
|
972
|
+
],
|
|
973
|
+
"identityKeys": [
|
|
974
|
+
"field.name",
|
|
975
|
+
"controlType",
|
|
976
|
+
"mode"
|
|
977
|
+
],
|
|
978
|
+
"inputSchema": {
|
|
979
|
+
"type": "object",
|
|
980
|
+
"properties": {
|
|
981
|
+
"mode": {
|
|
982
|
+
"enum": [
|
|
983
|
+
"hydrate-seed",
|
|
984
|
+
"coerce-types",
|
|
985
|
+
"apply-defaults",
|
|
986
|
+
"preserve-advanced-properties"
|
|
987
|
+
]
|
|
988
|
+
},
|
|
989
|
+
"preserveUnknownCanonicalFields": {
|
|
990
|
+
"type": "boolean"
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
"failureModes": [
|
|
995
|
+
"normalizer-missing",
|
|
996
|
+
"type-coercion-failed",
|
|
997
|
+
"advanced-property-lost",
|
|
998
|
+
"runtime-editor-drift"
|
|
999
|
+
],
|
|
1000
|
+
"description": "Runs metadata-editor schema normalization while preserving canonical advanced FieldMetadata properties and editor/runtime round-trip."
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
"destructive": false,
|
|
1005
|
+
"requiresConfirmation": false,
|
|
1006
|
+
"validators": [
|
|
1007
|
+
"normalization-preserves-canonical-fields",
|
|
1008
|
+
"runtime-editor-round-trip",
|
|
1009
|
+
"metadata-round-trip"
|
|
1010
|
+
],
|
|
1011
|
+
"affectedPaths": [
|
|
1012
|
+
"normalizedSeed",
|
|
1013
|
+
"form",
|
|
1014
|
+
"fieldMetadata"
|
|
1015
|
+
],
|
|
1016
|
+
"submissionImpact": "config-only",
|
|
1017
|
+
"preconditions": [
|
|
1018
|
+
"field-metadata-loaded",
|
|
1019
|
+
"editor-properties-loaded"
|
|
1020
|
+
]
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
"validators": [
|
|
1024
|
+
{
|
|
1025
|
+
"validatorId": "field-metadata-shape-canonical",
|
|
1026
|
+
"level": "error",
|
|
1027
|
+
"code": "METADATA_FIELD_SHAPE_CANONICAL",
|
|
1028
|
+
"description": "Edited metadata must remain compatible with canonical FieldMetadata."
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"validatorId": "field-path-supported-by-editor",
|
|
1032
|
+
"level": "error",
|
|
1033
|
+
"code": "METADATA_FIELD_PATH_SUPPORTED",
|
|
1034
|
+
"description": "Edited paths must be supported by visual editor coverage or explicitly delegated."
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"validatorId": "control-type-exists-in-discovery",
|
|
1038
|
+
"level": "error",
|
|
1039
|
+
"code": "METADATA_CONTROL_TYPE_DISCOVERED",
|
|
1040
|
+
"description": "Control type must exist in dynamic-fields discovery."
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"validatorId": "editor-coverage-exists",
|
|
1044
|
+
"level": "error",
|
|
1045
|
+
"code": "METADATA_EDITOR_COVERAGE_EXISTS",
|
|
1046
|
+
"description": "Control type and property must have metadata-editor coverage."
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"validatorId": "option-source-shape-canonical",
|
|
1050
|
+
"level": "error",
|
|
1051
|
+
"code": "METADATA_OPTION_SOURCE_CANONICAL",
|
|
1052
|
+
"description": "Option source must use canonical FieldMetadata/x-ui shape."
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"validatorId": "remote-option-source-governed",
|
|
1056
|
+
"level": "error",
|
|
1057
|
+
"code": "METADATA_REMOTE_OPTION_SOURCE_GOVERNED",
|
|
1058
|
+
"description": "Remote option sources must resolve through governed resource or endpoint metadata."
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"validatorId": "cascade-fields-exist",
|
|
1062
|
+
"level": "error",
|
|
1063
|
+
"code": "METADATA_CASCADE_FIELDS_EXIST",
|
|
1064
|
+
"description": "Cascade source and dependent fields must exist."
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"validatorId": "cascade-cycle-free",
|
|
1068
|
+
"level": "error",
|
|
1069
|
+
"code": "METADATA_CASCADE_CYCLE_FREE",
|
|
1070
|
+
"description": "Cascade dependencies must not create cycles."
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"validatorId": "cascade-backend-shape-preserved",
|
|
1074
|
+
"level": "error",
|
|
1075
|
+
"code": "METADATA_CASCADE_BACKEND_SHAPE_PRESERVED",
|
|
1076
|
+
"description": "Cascade config must preserve x-ui optionSource dependsOn and dependencyFilterMap semantics."
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"validatorId": "renderer-editor-type-registered",
|
|
1080
|
+
"level": "error",
|
|
1081
|
+
"code": "METADATA_RENDERER_TYPE_REGISTERED",
|
|
1082
|
+
"description": "Renderer editor type must be registered."
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"validatorId": "visual-editor-coverage-required",
|
|
1086
|
+
"level": "error",
|
|
1087
|
+
"code": "METADATA_VISUAL_COVERAGE_REQUIRED",
|
|
1088
|
+
"description": "JSON-only support is not accepted for required visual authoring coverage."
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"validatorId": "validation-rule-canonical",
|
|
1092
|
+
"level": "error",
|
|
1093
|
+
"code": "METADATA_VALIDATION_RULE_CANONICAL",
|
|
1094
|
+
"description": "Validation rule must use canonical metadata shape."
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"validatorId": "context-validator-registered",
|
|
1098
|
+
"level": "error",
|
|
1099
|
+
"code": "METADATA_CONTEXT_VALIDATOR_REGISTERED",
|
|
1100
|
+
"description": "Contextual validator must be registered before use."
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"validatorId": "context-hint-shape-canonical",
|
|
1104
|
+
"level": "error",
|
|
1105
|
+
"code": "METADATA_CONTEXT_HINT_CANONICAL",
|
|
1106
|
+
"description": "Context hints must remain structured metadata, not free-form host-only strings."
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"validatorId": "context-hint-i18n-compatible",
|
|
1110
|
+
"level": "warning",
|
|
1111
|
+
"code": "METADATA_CONTEXT_HINT_I18N_COMPATIBLE",
|
|
1112
|
+
"description": "Authoring hint text must remain compatible with metadata-editor i18n."
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"validatorId": "normalization-preserves-canonical-fields",
|
|
1116
|
+
"level": "error",
|
|
1117
|
+
"code": "METADATA_NORMALIZATION_PRESERVES_FIELDS",
|
|
1118
|
+
"description": "Normalization must not drop canonical advanced FieldMetadata properties."
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"validatorId": "runtime-editor-round-trip",
|
|
1122
|
+
"level": "error",
|
|
1123
|
+
"code": "METADATA_RUNTIME_EDITOR_ROUND_TRIP",
|
|
1124
|
+
"description": "Runtime and editor must consume the same normalized metadata shape."
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"validatorId": "metadata-round-trip",
|
|
1128
|
+
"level": "error",
|
|
1129
|
+
"code": "METADATA_ROUND_TRIP",
|
|
1130
|
+
"description": "Open, edit, apply/save, reopen and runtime consume must preserve metadata."
|
|
1131
|
+
}
|
|
1132
|
+
],
|
|
1133
|
+
"roundTripRequirements": [
|
|
1134
|
+
"FieldMetadata is the canonical edited document shape; backend x-ui-derived metadata must not be rewritten into host-only aliases.",
|
|
1135
|
+
"Control type changes require both dynamic-fields discovery and metadata-editor visual coverage.",
|
|
1136
|
+
"Option source cascades preserve x-ui optionSource.dependsOn and optionSource.dependencyFilterMap semantics.",
|
|
1137
|
+
"JSON-only support is incomplete when visual editor coverage is required.",
|
|
1138
|
+
"Schema normalization must preserve advanced canonical properties through open, edit, apply/save, reopen and runtime consumption."
|
|
1139
|
+
],
|
|
1140
|
+
"examples": [
|
|
1141
|
+
{
|
|
1142
|
+
"id": "set-label",
|
|
1143
|
+
"request": "Set this field label to Customer name.",
|
|
1144
|
+
"operationId": "fieldMetadata.property.set",
|
|
1145
|
+
"params": {
|
|
1146
|
+
"path": "label",
|
|
1147
|
+
"value": "Customer name"
|
|
1148
|
+
},
|
|
1149
|
+
"isPositive": true
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"id": "set-control-type",
|
|
1153
|
+
"request": "Change this field to a select control.",
|
|
1154
|
+
"operationId": "controlType.set",
|
|
1155
|
+
"params": {
|
|
1156
|
+
"controlType": "select",
|
|
1157
|
+
"preserveCompatibleProperties": true
|
|
1158
|
+
},
|
|
1159
|
+
"isPositive": true
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
"id": "configure-remote-options",
|
|
1163
|
+
"request": "Load options from the customers resource using id and name.",
|
|
1164
|
+
"operationId": "optionSource.configure",
|
|
1165
|
+
"params": {
|
|
1166
|
+
"kind": "resource",
|
|
1167
|
+
"resource": "customers",
|
|
1168
|
+
"valueField": "id",
|
|
1169
|
+
"labelField": "name"
|
|
1170
|
+
},
|
|
1171
|
+
"isPositive": true
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"id": "configure-cascade",
|
|
1175
|
+
"request": "Filter city options when state changes.",
|
|
1176
|
+
"operationId": "cascade.configure",
|
|
1177
|
+
"params": {
|
|
1178
|
+
"dependentField": "city",
|
|
1179
|
+
"sourceField": "state",
|
|
1180
|
+
"dependencyFilterMap": {
|
|
1181
|
+
"stateId": "state.id"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
"isPositive": true
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"id": "configure-renderer",
|
|
1188
|
+
"request": "Expose placeholder in the visual editor as a text field.",
|
|
1189
|
+
"operationId": "renderer.configure",
|
|
1190
|
+
"params": {
|
|
1191
|
+
"propertyName": "placeholder",
|
|
1192
|
+
"editorType": "text",
|
|
1193
|
+
"group": "Presentation"
|
|
1194
|
+
},
|
|
1195
|
+
"isPositive": true
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"id": "add-required-validation",
|
|
1199
|
+
"request": "Make this field required with a validation message.",
|
|
1200
|
+
"operationId": "validationRule.add",
|
|
1201
|
+
"params": {
|
|
1202
|
+
"rule": {
|
|
1203
|
+
"type": "required"
|
|
1204
|
+
},
|
|
1205
|
+
"message": "Required field"
|
|
1206
|
+
},
|
|
1207
|
+
"isPositive": true
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"id": "set-context-hint",
|
|
1211
|
+
"request": "Add a contextual hint for sales users.",
|
|
1212
|
+
"operationId": "contextHint.set",
|
|
1213
|
+
"params": {
|
|
1214
|
+
"hintPath": "helpText",
|
|
1215
|
+
"value": "Use the legal customer name."
|
|
1216
|
+
},
|
|
1217
|
+
"isPositive": true
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"id": "normalize-seed",
|
|
1221
|
+
"request": "Normalize this imported field metadata while preserving advanced properties.",
|
|
1222
|
+
"operationId": "normalization.apply",
|
|
1223
|
+
"params": {
|
|
1224
|
+
"mode": "preserve-advanced-properties",
|
|
1225
|
+
"preserveUnknownCanonicalFields": true
|
|
1226
|
+
},
|
|
1227
|
+
"isPositive": true
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"id": "reject-unknown-control",
|
|
1231
|
+
"request": "Use an unknown control type named magic-picker.",
|
|
1232
|
+
"operationId": "controlType.set",
|
|
1233
|
+
"params": {
|
|
1234
|
+
"controlType": "magic-picker"
|
|
1235
|
+
},
|
|
1236
|
+
"isPositive": false
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"id": "reject-json-only-coverage",
|
|
1240
|
+
"request": "Support this field only by editing raw JSON.",
|
|
1241
|
+
"operationId": "renderer.configure",
|
|
1242
|
+
"params": {
|
|
1243
|
+
"propertyName": "optionSource",
|
|
1244
|
+
"editorType": "json"
|
|
1245
|
+
},
|
|
1246
|
+
"isPositive": false
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"id": "reject-cascade-cycle",
|
|
1250
|
+
"request": "Make field A depend on B and B depend on A.",
|
|
1251
|
+
"operationId": "cascade.configure",
|
|
1252
|
+
"params": {
|
|
1253
|
+
"dependentField": "a",
|
|
1254
|
+
"sourceField": "b"
|
|
1255
|
+
},
|
|
1256
|
+
"isPositive": false
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"id": "reject-host-only-option-source",
|
|
1260
|
+
"request": "Save a host-only URL string as the option source.",
|
|
1261
|
+
"operationId": "optionSource.configure",
|
|
1262
|
+
"params": {
|
|
1263
|
+
"kind": "remote",
|
|
1264
|
+
"endpoint": "local-only://options"
|
|
1265
|
+
},
|
|
1266
|
+
"isPositive": false
|
|
1267
|
+
}
|
|
1268
|
+
]
|
|
1269
|
+
},
|
|
1270
|
+
"chunks": [
|
|
1271
|
+
{
|
|
1272
|
+
"chunkIndex": 0,
|
|
1273
|
+
"chunkKind": "summary",
|
|
1274
|
+
"content": "Component ID: praxis-metadata-editor\nSelector: praxis-field-metadata-editor\nFriendly Name: Praxis Metadata Editor\nDescription: Editor for field metadata and schema helpers.\nLib/Package: @praxisui/metadata-editor\nTags: widget, metadata, configurable\nInputs:\n - controlType (FieldControlType)\n - seed (Partial<FieldDefinition>)\nOutputs:\n - applied (Partial<FieldDefinition>)\n - cancel (void)\n",
|
|
1275
|
+
"sourcePointer": "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/praxis-metadata-editor.metadata.ts",
|
|
1276
|
+
"contentHash": "553cc0efd72287cd0ae4903ef352e67534fb20b5423f32e39526318f988697f4",
|
|
1277
|
+
"sourceKind": "component_definition",
|
|
1278
|
+
"sourceId": "praxis-metadata-editor",
|
|
1279
|
+
"corpusVersion": "1.0.0"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"chunkIndex": 1,
|
|
1283
|
+
"chunkKind": "authoring_manifest",
|
|
1284
|
+
"content": "{\n \"schemaVersion\": \"1.0.0\",\n \"componentId\": \"praxis-metadata-editor\",\n \"ownerPackage\": \"@praxisui/metadata-editor\",\n \"configSchemaId\": \"FieldMetadata\",\n \"manifestVersion\": \"1.0.0\",\n \"runtimeInputs\": [\n {\n \"name\": \"controlType\",\n \"type\": \"FieldControlType\",\n \"description\": \"Canonical control type used to resolve editor property coverage.\"\n },\n {\n \"name\": \"seed\",\n \"type\": \"Partial<FieldMetadata | FieldDefinition>\",\n \"description\": \"Initial canonical field metadata used to hydrate the editor.\"\n },\n {\n \"name\": \"fields\",\n \"type\": \"Array<FieldMetadata | FieldDefinition>\",\n \"description\": \"Available fields used by cascade authoring and context validation.\"\n },\n {\n \"name\": \"properties\",\n \"type\": \"EditorProperty[]\",\n \"description\": \"Renderer property catalog resolved from ConfigRegistryService.\"\n },\n {\n \"name\": \"form\",\n \"type\": \"FormGroup\",\n \"description\": \"Dynamic form generated from canonical editor properties by DynamicFormFactoryService.\"\n }\n ],\n \"editableTargets\": [\n {\n \"kind\": \"fieldMetadata\",\n \"resolver\": \"field-metadata-json-path\",\n \"description\": \"Canonical FieldMetadata root and property paths.\"\n },\n {\n \"kind\": \"controlType\",\n \"resolver\": \"dynamic-fields-control-type-discovery\",\n \"description\": \"Control type selected from dynamic-fields discovery and editor config registry.\"\n },\n {\n \"kind\": \"optionSource\",\n \"resolver\": \"field-metadata-option-source\",\n \"description\": \"Canonical option source including backend x-ui option source fields where applicable.\"\n },\n {\n \"kind\": \"cascade\",\n \"resolver\": \"metadata-editor-cascade-rules\",\n \"description\": \"Cascade dependencies and dependency filter mappings edited through CascadeManagerTab.\"\n },\n {\n \"kind\": \"renderer\",\n \"resolver\": \"metadata-editor-renderer-property\",\n \"description\": \"Dynamic editor renderer property coverage and editor component mapping.\"\n },\n {\n \"kind\": \"validation\",\n \"resolver\": \"field-metadata-validation-rules\",\n \"description\": \"Field validation rules and contextual validators.\"\n },\n {\n \"kind\": \"contextHint\",\n \"resolver\": \"metadata-editor-context-hints\",\n \"description\": \"Authoring hints, help text and contextual guidance for metadata editors.\"\n },\n {\n \"kind\": \"normalization\",\n \"resolver\": \"metadata-editor-schema-normalizer\",\n \"description\": \"Schema normalization and seed hydration rules.\"\n }\n ],\n \"operations\": [\n {\n \"operationId\": \"fieldMetadata.property.set\",\n \"title\": \"Set FieldMetadata property\",\n \"scope\": \"fieldMetadataPath\",\n \"targetKind\": \"fieldMetadata\",\n \"target\": {\n \"kind\": \"fieldMetadata\",\n \"resolver\": \"field-metadata-json-path\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"path\",\n \"value\"\n ],\n \"properties\": {\n \"path\": {\n \"enum\": [\n \"name\",\n \"label\",\n \"description\",\n \"controlType\",\n \"placeholder\",\n \"defaultValue\",\n \"group\",\n \"order\",\n \"required\",\n \"disabled\",\n \"readOnly\",\n \"hidden\",\n \"source\",\n \"transient\",\n \"submitPolicy\",\n \"hint\",\n \"helpText\",\n \"tooltip\",\n \"valuePresentation\",\n \"presentation\",\n \"presentation.presenter\",\n \"presentation.tone\",\n \"presentation.appearance\",\n \"presentation.icon\",\n \"presentation.label\",\n \"presentation.badge\",\n \"presentation.tooltip\",\n \"presentationRules\",\n \"options\",\n \"optionSource\",\n \"validators\",\n \"conditionalRequired\",\n \"conditionalDisplay\",\n \"visibleIn\",\n \"ariaLabel\",\n \"ariaDescribedBy\"\n ]\n },\n \"value\": {},\n \"merge\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-field-property-set\",\n \"handlerContract\": {\n \"reads\": [\n \"fieldMetadata\",\n \"fieldMetadataPath\",\n \"SchemaNormalizerService\"\n ],\n \"writes\": [\n \"fieldMetadata\"\n ],\n \"identityKeys\": [\n \"field.name\",\n \"path\"\n ],\n \"failureModes\": [\n \"unknown-field-metadata-path\",\n \"non-canonical-shape\",\n \"readonly-field\",\n \"normalization-failed\"\n ],\n \"description\": \"Sets a canonical FieldMetadata property through a governed metadata path and re-runs schema normalization.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"field-metadata-shape-canonical\",\n \"field-path-supported-by-editor\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"fieldMetadata\"\n ],\n \"submissionImpact\": \"affects-schema-backed-data\",\n \"preconditions\": [\n \"field-metadata-loaded\"\n ]\n },\n {\n \"operationId\": \"controlType.set\",\n \"title\": \"Set control type\",\n \"scope\": \"controlType\",\n \"targetKind\": \"controlType\",\n \"target\": {\n \"kind\": \"controlType\",\n \"resolver\": \"dynamic-fields-control-type-discovery\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"controlType\"\n ],\n \"properties\": {\n \"controlType\": {\n \"type\": \"string\"\n },\n \"preserveCompatibleProperties\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-control-type-set\",\n \"handlerContract\": {\n \"reads\": [\n \"FieldControlType\",\n \"ConfigRegistryService\",\n \"dynamic-fields-discovery\",\n \"fieldMetadata\"\n ],\n \"writes\": [\n \"fieldMetadata.controlType\",\n \"properties\",\n \"normalizedSeed\"\n ],\n \"identityKeys\": [\n \"field.name\",\n \"controlType\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"controlType\"\n ],\n \"properties\": {\n \"controlType\": {\n \"type\": \"string\"\n },\n \"preserveCompatibleProperties\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"failureModes\": [\n \"control-type-not-discovered\",\n \"editor-coverage-missing\",\n \"incompatible-metadata-preservation\"\n ],\n \"description\": \"Changes control type only when dynamic-fields discovery and metadata-editor config registry both expose renderer/editor coverage.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"control-type-exists-in-discovery\",\n \"editor-coverage-exists\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"fieldMetadata.controlType\",\n \"properties\",\n \"normalizedSeed\"\n ],\n \"submissionImpact\": \"affects-schema-backed-data\",\n \"preconditions\": [\n \"dynamic-fields-discovery-loaded\"\n ]\n },\n {\n \"operationId\": \"optionSource.configure\",\n \"title\": \"Configure option source\",\n \"scope\": \"dataBinding\",\n \"targetKind\": \"optionSource\",\n \"target\": {\n \"kind\": \"optionSource\",\n \"resolver\": \"field-metadata-option-source\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"minProperties\": 1,\n \"properties\": {\n \"kind\": {\n \"enum\": [\n \"static\",\n \"remote\",\n \"resource\",\n \"lookup\"\n ]\n },\n \"resource\": {\n \"type\": \"string\"\n },\n \"endpoint\": {\n \"type\": \"string\"\n },\n \"valueField\": {\n \"type\": \"string\"\n },\n \"labelField\": {\n \"type\": \"string\"\n },\n \"dependsOn\": {\n \"type\": \"string\"\n },\n \"dependencyFilterMap\": {\n \"type\": \"object\"\n },\n \"display\": {\n \"type\": \"object\",\n \"properties\": {\n \"preset\": {\n \"enum\": [\n \"compact\",\n \"rich\",\n \"directory\",\n \"status\",\n \"reference\",\n \"hierarchical\"\n ]\n },\n \"usage\": {\n \"enum\": [\n \"form\",\n \"filter\",\n \"table-cell\",\n \"dashboard\",\n \"wizard\",\n \"review\"\n ]\n },\n \"density\": {\n \"enum\": [\n \"compact\",\n \"comfortable\",\n \"rich\"\n ]\n },\n \"selectedLayout\": {\n \"enum\": [\n \"card\",\n \"inline\",\n \"compact\",\n \"token\"\n ]\n },\n \"resultLayout\": {\n \"enum\": [\n \"list\",\n \"denseList\",\n \"table\",\n \"card\"\n ]\n },\n \"primaryPropertyPath\": {\n \"type\": \"string\"\n },\n \"fields\": {\n \"type\": \"array\"\n },\n \"secondaryPropertyPaths\": {\n \"type\": \"array\"\n },\n \"badgePropertyPaths\": {\n \"type\": \"array\"\n },\n \"statusToneMap\": {\n \"type\": \"object\"\n }\n }\n },\n \"detail\": {\n \"type\": \"object\",\n \"properties\": {\n \"kind\": {\n \"enum\": [\n \"surface\",\n \"route\",\n \"href\"\n ]\n },\n \"surfaceId\": {\n \"type\": \"string\"\n },\n \"presentation\": {\n \"enum\": [\n \"drawer\",\n \"modal\"\n ]\n },\n \"preferredWidget\": {\n \"type\": \"string\"\n },\n \"mode\": {\n \"enum\": [\n \"view\",\n \"edit\",\n \"create\"\n ]\n }\n }\n },\n \"options\": {\n \"type\": \"array\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-option-source-configure\",\n \"handlerContract\": {\n \"reads\": [\n \"fieldMetadata.optionSource\",\n \"backend.x-ui.optionSource\",\n \"SchemaNormalizerService\"\n ],\n \"writes\": [\n \"fieldMetadata.optionSource\"\n ],\n \"identityKeys\": [\n \"field.name\",\n \"optionSource.kind\",\n \"optionSource.resource\"\n ],\n \"failureModes\": [\n \"invalid-option-source-kind\",\n \"remote-source-missing-governed-resource\",\n \"dependency-filter-map-invalid\"\n ],\n \"description\": \"Configures canonical optionSource fields while preserving backend x-ui dependsOn and dependencyFilterMap semantics.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"option-source-shape-canonical\",\n \"remote-option-source-governed\",\n \"cascade-backend-shape-preserved\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"fieldMetadata.optionSource\"\n ],\n \"submissionImpact\": \"affects-remote-binding\",\n \"preconditions\": [\n \"field-metadata-loaded\"\n ]\n },\n {\n \"operationId\": \"cascade.configure\",\n \"title\": \"Configure cascade rule\",\n \"scope\": \"interaction\",\n \"targetKind\": \"cascade\",\n \"target\": {\n \"kind\": \"cascade\",\n \"resolver\": \"metadata-editor-cascade-rules\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"dependentField\"\n ],\n \"properties\": {\n \"dependentField\": {\n \"type\": \"string\"\n },\n \"sourceField\": {\n \"type\": \"string\"\n },\n \"strategy\": {\n \"enum\": [\n \"replace\",\n \"merge\"\n ]\n },\n \"debounceMs\": {\n \"type\": \"number\"\n },\n \"loadMode\": {\n \"enum\": [\n \"immediate\",\n \"manual\",\n \"respectLoadOn\"\n ]\n },\n \"dependencyFilterMap\": {\n \"type\": \"object\"\n },\n \"optionSource\": {\n \"type\": \"object\",\n \"properties\": {\n \"kind\": {\n \"enum\": [\n \"static\",\n \"remote\",\n \"resource\",\n \"lookup\"\n ]\n },\n \"resource\": {\n \"type\": \"string\"\n },\n \"endpoint\": {\n \"type\": \"string\"\n },\n \"dependsOn\": {\n \"type\": \"string\"\n },\n \"dependencyFilterMap\": {\n \"type\": \"object\"\n }\n }\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-cascade-configure\",\n \"handlerContract\": {\n \"reads\": [\n \"CascadeManagerTabComponent\",\n \"CascadeRulesService\",\n \"fields\",\n \"fieldMetadata.optionSource\",\n \"fieldMetadata.dependencyFields\",\n \"fieldMetadata.dependencyFilterMap\"\n ],\n \"writes\": [\n \"fieldMetadata.dependencyFields\",\n \"fieldMetadata.enableDependencyCascade\",\n \"fieldMetadata.resetOnDependentChange\",\n \"fieldMetadata.dependencyFilterMap\",\n \"fieldMetadata.dependencyValuePath\",\n \"fieldMetadata.dependencyMergeStrategy\",\n \"fieldMetadata.dependencyDebounceMs\",\n \"fieldMetadata.dependencyLoadOnChange\",\n \"fieldMetadata.optionSource.dependsOn\",\n \"fieldMetadata.optionSource.dependencyFilterMap\"\n ],\n \"identityKeys\": [\n \"dependentField\",\n \"sourceField\"\n ],\n \"failureModes\": [\n \"dependent-field-not-found\",\n \"source-field-not-found\",\n \"cascade-cycle-detected\",\n \"dependency-filter-map-invalid\"\n ],\n \"description\": \"Applies cascade dependencies through CascadeRulesService using the metadata-editor save contract while preserving backend x-ui optionSource dependency semantics during hydration.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"cascade-fields-exist\",\n \"cascade-cycle-free\",\n \"cascade-backend-shape-preserved\",\n \"option-source-shape-canonical\",\n \"remote-option-source-governed\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"fieldMetadata.dependencyFields\",\n \"fieldMetadata.enableDependencyCascade\",\n \"fieldMetadata.resetOnDependentChange\",\n \"fieldMetadata.dependencyFilterMap\",\n \"fieldMetadata.dependencyValuePath\",\n \"fieldMetadata.dependencyMergeStrategy\",\n \"fieldMetadata.dependencyDebounceMs\",\n \"fieldMetadata.dependencyLoadOnChange\",\n \"fieldMetadata.optionSource.dependsOn\",\n \"fieldMetadata.optionSource.dependencyFilterMap\"\n ],\n \"submissionImpact\": \"affects-remote-binding\",\n \"preconditions\": [\n \"field-list-loaded\"\n ]\n },\n {\n \"operationId\": \"renderer.configure\",\n \"title\": \"Configure renderer coverage\",\n \"scope\": \"editorCoverage\",\n \"targetKind\": \"renderer\",\n \"target\": {\n \"kind\": \"renderer\",\n \"resolver\": \"metadata-editor-renderer-property\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": true\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"propertyName\",\n \"editorType\"\n ],\n \"properties\": {\n \"propertyName\": {\n \"type\": \"string\"\n },\n \"editorType\": {\n \"type\": \"string\"\n },\n \"group\": {\n \"type\": \"string\"\n },\n \"required\": {\n \"type\": \"boolean\"\n },\n \"options\": {\n \"type\": \"array\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-renderer-configure\",\n \"handlerContract\": {\n \"reads\": [\n \"DynamicEditorRendererComponent\",\n \"EditorComponentRegistryService\",\n \"ConfigRegistryService\",\n \"EditorProperty\"\n ],\n \"writes\": [\n \"properties\",\n \"editorCoverage\"\n ],\n \"identityKeys\": [\n \"controlType\",\n \"propertyName\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"propertyName\",\n \"editorType\"\n ],\n \"properties\": {\n \"propertyName\": {\n \"type\": \"string\"\n },\n \"editorType\": {\n \"type\": \"string\"\n },\n \"group\": {\n \"type\": \"string\"\n }\n }\n },\n \"failureModes\": [\n \"editor-type-not-registered\",\n \"property-not-covered\",\n \"json-only-coverage-not-accepted\"\n ],\n \"description\": \"Configures visual renderer coverage for a metadata property and rejects JSON-only support for required visual authoring.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"renderer-editor-type-registered\",\n \"visual-editor-coverage-required\",\n \"editor-coverage-exists\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"properties\",\n \"editorCoverage\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"config-registry-loaded\"\n ]\n },\n {\n \"operationId\": \"validationRule.add\",\n \"title\": \"Add validation rule\",\n \"scope\": \"fieldMetadataPath\",\n \"targetKind\": \"validation\",\n \"target\": {\n \"kind\": \"validation\",\n \"resolver\": \"field-metadata-validation-rules\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"rule\"\n ],\n \"properties\": {\n \"rule\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"contextValidatorId\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-validation-rule-add\",\n \"handlerContract\": {\n \"reads\": [\n \"fieldMetadata.validators\",\n \"ContextValidatorRegistryService\",\n \"DynamicFormFactoryService\"\n ],\n \"writes\": [\n \"fieldMetadata.validators\"\n ],\n \"identityKeys\": [\n \"field.name\",\n \"rule.type\",\n \"contextValidatorId\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"rule\"\n ],\n \"properties\": {\n \"rule\": {\n \"type\": \"object\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"contextValidatorId\": {\n \"type\": \"string\"\n }\n }\n },\n \"failureModes\": [\n \"validation-rule-invalid\",\n \"context-validator-not-registered\",\n \"duplicate-validation-rule\"\n ],\n \"description\": \"Adds a canonical validation rule and verifies contextual validator availability before persistence.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"validation-rule-canonical\",\n \"context-validator-registered\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"fieldMetadata.validators\"\n ],\n \"submissionImpact\": \"affects-submission\",\n \"preconditions\": [\n \"field-metadata-loaded\"\n ]\n },\n {\n \"operationId\": \"contextHint.set\",\n \"title\": \"Set metadata context hint\",\n \"scope\": \"meta\",\n \"targetKind\": \"contextHint\",\n \"target\": {\n \"kind\": \"contextHint\",\n \"resolver\": \"metadata-editor-context-hints\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"hintPath\",\n \"value\"\n ],\n \"properties\": {\n \"hintPath\": {\n \"enum\": [\n \"hint\",\n \"helpText\",\n \"description\",\n \"tooltip\",\n \"ariaLabel\",\n \"ariaDescribedBy\"\n ]\n },\n \"value\": {},\n \"localeKey\": {\n \"type\": \"string\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-context-hint-set\",\n \"handlerContract\": {\n \"reads\": [\n \"fieldMetadata.hint\",\n \"fieldMetadata.helpText\",\n \"fieldMetadata.description\",\n \"fieldMetadata.tooltip\",\n \"fieldMetadata.ariaLabel\",\n \"fieldMetadata.ariaDescribedBy\",\n \"metadata-editor-i18n\"\n ],\n \"writes\": [\n \"fieldMetadata.hint\",\n \"fieldMetadata.helpText\",\n \"fieldMetadata.description\",\n \"fieldMetadata.tooltip\",\n \"fieldMetadata.ariaLabel\",\n \"fieldMetadata.ariaDescribedBy\"\n ],\n \"identityKeys\": [\n \"field.name\",\n \"hintPath\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"required\": [\n \"hintPath\",\n \"value\"\n ],\n \"properties\": {\n \"hintPath\": {\n \"enum\": [\n \"hint\",\n \"helpText\",\n \"description\",\n \"tooltip\",\n \"ariaLabel\",\n \"ariaDescribedBy\"\n ]\n },\n \"value\": {},\n \"localeKey\": {\n \"type\": \"string\"\n }\n }\n },\n \"failureModes\": [\n \"hint-path-not-canonical\",\n \"hint-value-not-serializable\",\n \"i18n-key-missing\"\n ],\n \"description\": \"Sets structured FieldMetadata hint/help/accessibility text through canonical metadata paths and metadata-editor i18n constraints.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"context-hint-shape-canonical\",\n \"context-hint-i18n-compatible\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"fieldMetadata.hint\",\n \"fieldMetadata.helpText\",\n \"fieldMetadata.description\",\n \"fieldMetadata.tooltip\",\n \"fieldMetadata.ariaLabel\",\n \"fieldMetadata.ariaDescribedBy\"\n ],\n \"submissionImpact\": \"visual-only\",\n \"preconditions\": [\n \"field-metadata-loaded\"\n ]\n },\n {\n \"operationId\": \"normalization.apply\",\n \"title\": \"Apply schema normalization\",\n \"scope\": \"runtimeCoverage\",\n \"targetKind\": \"normalization\",\n \"target\": {\n \"kind\": \"normalization\",\n \"resolver\": \"metadata-editor-schema-normalizer\",\n \"ambiguityPolicy\": \"fail\",\n \"required\": false\n },\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"mode\": {\n \"enum\": [\n \"hydrate-seed\",\n \"coerce-types\",\n \"apply-defaults\",\n \"preserve-advanced-properties\"\n ]\n },\n \"preserveUnknownCanonicalFields\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"effects\": [\n {\n \"kind\": \"compile-domain-patch\",\n \"handler\": \"metadata-normalization-apply\",\n \"handlerContract\": {\n \"reads\": [\n \"SchemaNormalizerService\",\n \"fieldMetadata\",\n \"properties\",\n \"DynamicFormFactoryService\"\n ],\n \"writes\": [\n \"normalizedSeed\",\n \"form\",\n \"fieldMetadata\"\n ],\n \"identityKeys\": [\n \"field.name\",\n \"controlType\",\n \"mode\"\n ],\n \"inputSchema\": {\n \"type\": \"object\",\n \"properties\": {\n \"mode\": {\n \"enum\": [\n \"hydrate-seed\",\n \"coerce-types\",\n \"apply-defaults\",\n \"preserve-advanced-properties\"\n ]\n },\n \"preserveUnknownCanonicalFields\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"failureModes\": [\n \"normalizer-missing\",\n \"type-coercion-failed\",\n \"advanced-property-lost\",\n \"runtime-editor-drift\"\n ],\n \"description\": \"Runs metadata-editor schema normalization while preserving canonical advanced FieldMetadata properties and editor/runtime round-trip.\"\n }\n }\n ],\n \"destructive\": false,\n \"requiresConfirmation\": false,\n \"validators\": [\n \"normalization-preserves-canonical-fields\",\n \"runtime-editor-round-trip\",\n \"metadata-round-trip\"\n ],\n \"affectedPaths\": [\n \"normalizedSeed\",\n \"form\",\n \"fieldMetadata\"\n ],\n \"submissionImpact\": \"config-only\",\n \"preconditions\": [\n \"field-metadata-loaded\",\n \"editor-properties-loaded\"\n ]\n }\n ],\n \"validators\": [\n {\n \"validatorId\": \"field-metadata-shape-canonical\",\n \"level\": \"error\",\n \"code\": \"METADATA_FIELD_SHAPE_CANONICAL\",\n \"description\": \"Edited metadata must remain compatible with canonical FieldMetadata.\"\n },\n {\n \"validatorId\": \"field-path-supported-by-editor\",\n \"level\": \"error\",\n \"code\": \"METADATA_FIELD_PATH_SUPPORTED\",\n \"description\": \"Edited paths must be supported by visual editor coverage or explicitly delegated.\"\n },\n {\n \"validatorId\": \"control-type-exists-in-discovery\",\n \"level\": \"error\",\n \"code\": \"METADATA_CONTROL_TYPE_DISCOVERED\",\n \"description\": \"Control type must exist in dynamic-fields discovery.\"\n },\n {\n \"validatorId\": \"editor-coverage-exists\",\n \"level\": \"error\",\n \"code\": \"METADATA_EDITOR_COVERAGE_EXISTS\",\n \"description\": \"Control type and property must have metadata-editor coverage.\"\n },\n {\n \"validatorId\": \"option-source-shape-canonical\",\n \"level\": \"error\",\n \"code\": \"METADATA_OPTION_SOURCE_CANONICAL\",\n \"description\": \"Option source must use canonical FieldMetadata/x-ui shape.\"\n },\n {\n \"validatorId\": \"remote-option-source-governed\",\n \"level\": \"error\",\n \"code\": \"METADATA_REMOTE_OPTION_SOURCE_GOVERNED\",\n \"description\": \"Remote option sources must resolve through governed resource or endpoint metadata.\"\n },\n {\n \"validatorId\": \"cascade-fields-exist\",\n \"level\": \"error\",\n \"code\": \"METADATA_CASCADE_FIELDS_EXIST\",\n \"description\": \"Cascade source and dependent fields must exist.\"\n },\n {\n \"validatorId\": \"cascade-cycle-free\",\n \"level\": \"error\",\n \"code\": \"METADATA_CASCADE_CYCLE_FREE\",\n \"description\": \"Cascade dependencies must not create cycles.\"\n },\n {\n \"validatorId\": \"cascade-backend-shape-preserved\",\n \"level\": \"error\",\n \"code\": \"METADATA_CASCADE_BACKEND_SHAPE_PRESERVED\",\n \"description\": \"Cascade config must preserve x-ui optionSource dependsOn and dependencyFilterMap semantics.\"\n },\n {\n \"validatorId\": \"renderer-editor-type-registered\",\n \"level\": \"error\",\n \"code\": \"METADATA_RENDERER_TYPE_REGISTERED\",\n \"description\": \"Renderer editor type must be registered.\"\n },\n {\n \"validatorId\": \"visual-editor-coverage-required\",\n \"level\": \"error\",\n \"code\": \"METADATA_VISUAL_COVERAGE_REQUIRED\",\n \"description\": \"JSON-only support is not accepted for required visual authoring coverage.\"\n },\n {\n \"validatorId\": \"validation-rule-canonical\",\n \"level\": \"error\",\n \"code\": \"METADATA_VALIDATION_RULE_CANONICAL\",\n \"description\": \"Validation rule must use canonical metadata shape.\"\n },\n {\n \"validatorId\": \"context-validator-registered\",\n \"level\": \"error\",\n \"code\": \"METADATA_CONTEXT_VALIDATOR_REGISTERED\",\n \"description\": \"Contextual validator must be registered before use.\"\n },\n {\n \"validatorId\": \"context-hint-shape-canonical\",\n \"level\": \"error\",\n \"code\": \"METADATA_CONTEXT_HINT_CANONICAL\",\n \"description\": \"Context hints must remain structured metadata, not free-form host-only strings.\"\n },\n {\n \"validatorId\": \"context-hint-i18n-compatible\",\n \"level\": \"warning\",\n \"code\": \"METADATA_CONTEXT_HINT_I18N_COMPATIBLE\",\n \"description\": \"Authoring hint text must remain compatible with metadata-editor i18n.\"\n },\n {\n \"validatorId\": \"normalization-preserves-canonical-fields\",\n \"level\": \"error\",\n \"code\": \"METADATA_NORMALIZATION_PRESERVES_FIELDS\",\n \"description\": \"Normalization must not drop canonical advanced FieldMetadata properties.\"\n },\n {\n \"validatorId\": \"runtime-editor-round-trip\",\n \"level\": \"error\",\n \"code\": \"METADATA_RUNTIME_EDITOR_ROUND_TRIP\",\n \"description\": \"Runtime and editor must consume the same normalized metadata shape.\"\n },\n {\n \"validatorId\": \"metadata-round-trip\",\n \"level\": \"error\",\n \"code\": \"METADATA_ROUND_TRIP\",\n \"description\": \"Open, edit, apply/save, reopen and runtime consume must preserve metadata.\"\n }\n ],\n \"roundTripRequirements\": [\n \"FieldMetadata is the canonical edited document shape; backend x-ui-derived metadata must not be rewritten into host-only aliases.\",\n \"Control type changes require both dynamic-fields discovery and metadata-editor visual coverage.\",\n \"Option source cascades preserve x-ui optionSource.dependsOn and optionSource.dependencyFilterMap semantics.\",\n \"JSON-only support is incomplete when visual editor coverage is required.\",\n \"Schema normalization must preserve advanced canonical properties through open, edit, apply/save, reopen and runtime consumption.\"\n ],\n \"examples\": [\n {\n \"id\": \"set-label\",\n \"request\": \"Set this field label to Customer name.\",\n \"operationId\": \"fieldMetadata.property.set\",\n \"params\": {\n \"path\": \"label\",\n \"value\": \"Customer name\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-control-type\",\n \"request\": \"Change this field to a select control.\",\n \"operationId\": \"controlType.set\",\n \"params\": {\n \"controlType\": \"select\",\n \"preserveCompatibleProperties\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"configure-remote-options\",\n \"request\": \"Load options from the customers resource using id and name.\",\n \"operationId\": \"optionSource.configure\",\n \"params\": {\n \"kind\": \"resource\",\n \"resource\": \"customers\",\n \"valueField\": \"id\",\n \"labelField\": \"name\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"configure-cascade\",\n \"request\": \"Filter city options when state changes.\",\n \"operationId\": \"cascade.configure\",\n \"params\": {\n \"dependentField\": \"city\",\n \"sourceField\": \"state\",\n \"dependencyFilterMap\": {\n \"stateId\": \"state.id\"\n }\n },\n \"isPositive\": true\n },\n {\n \"id\": \"configure-renderer\",\n \"request\": \"Expose placeholder in the visual editor as a text field.\",\n \"operationId\": \"renderer.configure\",\n \"params\": {\n \"propertyName\": \"placeholder\",\n \"editorType\": \"text\",\n \"group\": \"Presentation\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"add-required-validation\",\n \"request\": \"Make this field required with a validation message.\",\n \"operationId\": \"validationRule.add\",\n \"params\": {\n \"rule\": {\n \"type\": \"required\"\n },\n \"message\": \"Required field\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"set-context-hint\",\n \"request\": \"Add a contextual hint for sales users.\",\n \"operationId\": \"contextHint.set\",\n \"params\": {\n \"hintPath\": \"helpText\",\n \"value\": \"Use the legal customer name.\"\n },\n \"isPositive\": true\n },\n {\n \"id\": \"normalize-seed\",\n \"request\": \"Normalize this imported field metadata while preserving advanced properties.\",\n \"operationId\": \"normalization.apply\",\n \"params\": {\n \"mode\": \"preserve-advanced-properties\",\n \"preserveUnknownCanonicalFields\": true\n },\n \"isPositive\": true\n },\n {\n \"id\": \"reject-unknown-control\",\n \"request\": \"Use an unknown control type named magic-picker.\",\n \"operationId\": \"controlType.set\",\n \"params\": {\n \"controlType\": \"magic-picker\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-json-only-coverage\",\n \"request\": \"Support this field only by editing raw JSON.\",\n \"operationId\": \"renderer.configure\",\n \"params\": {\n \"propertyName\": \"optionSource\",\n \"editorType\": \"json\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-cascade-cycle\",\n \"request\": \"Make field A depend on B and B depend on A.\",\n \"operationId\": \"cascade.configure\",\n \"params\": {\n \"dependentField\": \"a\",\n \"sourceField\": \"b\"\n },\n \"isPositive\": false\n },\n {\n \"id\": \"reject-host-only-option-source\",\n \"request\": \"Save a host-only URL string as the option source.\",\n \"operationId\": \"optionSource.configure\",\n \"params\": {\n \"kind\": \"remote\",\n \"endpoint\": \"local-only://options\"\n },\n \"isPositive\": false\n }\n ]\n}",
|
|
1285
|
+
"sourcePointer": "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/ai/praxis-metadata-editor-authoring-manifest.ts",
|
|
1286
|
+
"contentHash": "e1b5c8a8e412ec0e62be8abdc6a9c443499f6133bf363977516e14f2df2aa232",
|
|
1287
|
+
"sourceKind": "component_definition",
|
|
1288
|
+
"sourceId": "praxis-metadata-editor",
|
|
1289
|
+
"corpusVersion": "1.0.0"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"chunkIndex": 2,
|
|
1293
|
+
"chunkKind": "recipe",
|
|
1294
|
+
"content": "{\n \"_comment\": \"Receita para o Editor de Metadados (FieldMetadata).\",\n \"templateMeta\": {\n \"registryKey\": \"praxis-metadata-editor\",\n \"variantId\": \"base\",\n \"useWhen\": \"Base metadata editor configuration.\",\n \"examplePrompts\": [\n \"configure field metadata editor\",\n \"set up metadata editor preview and permissions\"\n ]\n },\n \"metadata\": {\n \"schema\": {\n \"id\": \"product-schema\",\n \"version\": \"1.0\"\n },\n \"permissions\": {\n \"edit\": [\"admin\"],\n \"view\": [\"user\", \"guest\"]\n },\n \"preview\": {\n \"live\": true,\n \"mode\": \"form\"\n },\n \"fieldDefinitions\": [\n {\n \"name\": \"sku\",\n \"label\": \"SKU\",\n \"controlType\": \"input\",\n \"validationHelpers\": {\n \"mask\": \"AAA-9999\",\n \"regex\": \"^[A-Z]{3}-\\\\d{4}$\"\n }\n },\n {\n \"name\": \"category\",\n \"label\": \"Categoria\",\n \"controlType\": \"select\",\n \"options\": [\"Electronics\", \"Books\"]\n },\n {\n \"name\": \"subcategory\",\n \"label\": \"Subcategoria\",\n \"controlType\": \"select\",\n \"cascades\": [\n {\n \"triggerField\": \"category\",\n \"action\": \"filterOptions\",\n \"endpoint\": \"/api/subcategories?category={category}\"\n }\n ]\n }\n ]\n }\n}\n",
|
|
1295
|
+
"sourcePointer": "praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json",
|
|
1296
|
+
"contentHash": "0a14f9e033581145b92c9f8c2f5d636f5f5cc13bef7ca5d72189e15086155c27",
|
|
1297
|
+
"sourceKind": "component_definition",
|
|
1298
|
+
"sourceId": "praxis-metadata-editor",
|
|
1299
|
+
"corpusVersion": "1.0.0"
|
|
1300
|
+
}
|
|
1301
|
+
]
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
"note": "Package-scoped Praxis component registry for source-free agent discovery. Use the canonical ingestion registry for cross-package aggregate analysis."
|
|
1305
|
+
}
|