From 041eee61ea5a042399dd773f480eb5a1cd3fe5a5 Mon Sep 17 00:00:00 2001 From: David Ball Date: Mon, 22 Jul 2024 19:39:52 -0400 Subject: [PATCH] Added Brand schema. --- src/api/brand/content-types/brand/schema.json | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 src/api/brand/content-types/brand/schema.json 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 + } + } + } + } +}