Added Brand schema.

This commit is contained in:
David Ball 2024-07-22 19:39:52 -04:00
parent 7591c7d608
commit 041eee61ea

View File

@ -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
}
}
}
}
}