{ "kind": "collectionType", "collectionName": "events", "info": { "name": "event", "description": "" }, "options": { "increments": true, "timestamps": true, "draftAndPublish": false }, "attributes": { "name": { "type": "string", "required": true }, "email": { "type": "string", "required": true }, "date": { "type": "date" }, "address": { "type": "text" }, "cars": { "via": "event", "collection": "car" }, "position": { "type": "json" }, "waiting_list": { "type": "json" }, "users": { "via": "events", "plugin": "users-permissions", "collection": "user" }, "uuid": { "type": "string", "unique": true } } }