feat(schema): templateProps + schemaRef + designGuide + blockStudio

Vorbereitung fuer dynamische Pagebuilder-Bloecke (nova feature/dynamic-pagebuilder-blocks):
- field-meta: Widget templateProps, meta.schemaRef {ref?, field required}
  (statische subFields / Sibling-Schema / FK-Schema fuer type:any-Felder)
- collection-meta: meta.designGuide (i18nText) als KI-Hinweis pro Collection
- collection-meta: viewHint.blockStudio {previewField, lint, renderer.file}
  (Spezial-View wie navigation/media, inkl. oneOf-Zweig)
This commit is contained in:
apairon committed 2026-09-30 20:36:22 +00:00
1 parent 19601b1f0f
commit 0fa213f3b6
2 files changed
+48

No files matched your search

@@ -17,6 +17,9 @@
"group": {
"type": "string"
},
"designGuide": {
"$ref": "defs.schema.json#/definitions/i18nText"
},
"imageUrl": {
"oneOf": [
{
@@ -287,6 +290,30 @@
}
}
}
},
"blockStudio": {
"type": "object",
"additionalProperties": false,
"properties": {
"previewField": {
"type": "string"
},
"lint": {
"type": "boolean"
},
"renderer": {
"type": "object",
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
}
},
"required": [
"file"
]
}
}
}
},
"oneOf": [
@@ -299,6 +326,11 @@
"required": [
"navigation"
]
},
{
"required": [
"blockStudio"
]
}
]
}
+16
View File
@@ -35,6 +35,7 @@
"foreignMedia",
"pagebuilder",
"pageBuilder",
"templateProps",
"containerLessObject",
"containerLessObjectArray",
"color"
@@ -299,6 +300,21 @@
}
}
},
"schemaRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"ref": {
"type": "string"
},
"field": {
"type": "string"
}
},
"required": [
"field"
]
},
"openapi": {
"$ref": "openapi.schema.json#/definitions/fieldOpenapi"
}