diff --git a/schemas/config/collection-meta.schema.json b/schemas/config/collection-meta.schema.json index 5663333..165af80 100644 --- a/schemas/config/collection-meta.schema.json +++ b/schemas/config/collection-meta.schema.json @@ -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" + ] } ] } diff --git a/schemas/config/field-meta.schema.json b/schemas/config/field-meta.schema.json index c05105a..c54db19 100644 --- a/schemas/config/field-meta.schema.json +++ b/schemas/config/field-meta.schema.json @@ -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" }