export default { "kind": "collectionType", "collectionName": "retailers", "info": { "singularName": "retailer", "pluralName": "retailers", "displayName": "Retailer", "description": "" }, "options": { "draftAndPublish": true }, "pluginOptions": {}, "attributes": { "name": { "type": "string", "required": true }, "ERPId": { "type": "string", "required": true, "unique": true }, "slug": { "type": "uid", "targetField": "name", "required": true }, "street": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "zipcode": { "type": "string" }, "latitude": { "type": "float" }, "longitude": { "type": "float" }, "ERPSyncedAt": { "type": "datetime" }, "hours": { "type": "json" }, "phone": { "type": "string" }, "customerType": { "type": "enumeration", "enum": [ "Both", "Medical", "Recreational" ] }, "specials": { "type": "relation", "relation": "oneToMany", "target": "plugin::dutchie-plus.special", "mappedBy": "retailer" }, "filter": { "type": "json" }, "brands": { "type": "relation", "relation": "oneToMany", "target": "plugin::dutchie-plus.brand", }, "categories": { "type": "relation", "relation": "oneToMany", "target": "plugin::dutchie-plus.category", }, "strainTypes": { "type": "relation", "relation": "oneToMany", "target": "plugin::dutchie-plus.strain-type", }, "subcategories": { "type": "relation", "relation": "oneToMany", "target": "plugin::dutchie-plus.subcategory", }, } }