merge: dynamic pagebuilder schemas (templateProps, schemaRef, designGuide, blockStudio)
# Conflicts: # schemas/config/collection-meta.schema.json
This commit is contained in:
commit
7870253b73
2 files changed
+48
-1
No files matched your search
@@ -50,7 +50,9 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"designGuide": {
|
||||
"$ref": "defs.schema.json#/definitions/i18nText"
|
||||
},
|
||||
"imageUrl": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -321,6 +323,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": [
|
||||
@@ -333,6 +359,11 @@
|
||||
"required": [
|
||||
"navigation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"required": [
|
||||
"blockStudio"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user