Added Brand schema.
This commit is contained in:
parent
7591c7d608
commit
041eee61ea
66
src/api/brand/content-types/brand/schema.json
Normal file
66
src/api/brand/content-types/brand/schema.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user