diff --git a/src/api/brand/content-types/brand/schema.json b/src/api/brand/content-types/brand/schema.json new file mode 100644 index 0000000..b77a2db --- /dev/null +++ b/src/api/brand/content-types/brand/schema.json @@ -0,0 +1,66 @@ +{ + "kind": "singleType", + "collectionName": "brands", + "info": { + "singularName": "brand", + "pluralName": "brands", + "displayName": "Brand" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "attributes": { + "name": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string", + "required": true, + "unique": true + }, + "slug": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string", + "unique": true + }, + "shortDescription": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "blocks" + }, + "description": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "blocks" + }, + "logoImage": { + "allowedTypes": [ + "images" + ], + "type": "media", + "multiple": false, + "pluginOptions": { + "i18n": { + "localized": true + } + } + } + } +}