{ "kind": "collectionType", "collectionName": "travels", "info": { "name": "travel", "description": "" }, "options": { "increments": true, "timestamps": true, "draftAndPublish": false }, "attributes": { "meeting": { "type": "string" }, "departure": { "type": "datetime" }, "details": { "type": "text" }, "passengersCompo": { "type": "component", "repeatable": true, "component": "passenger.passenger" }, "event": { "via": "travels", "model": "event" }, "vehicleName": { "type": "string" }, "seats": { "type": "integer", "default": 4, "min": 0 }, "phone_number": { "type": "string" }, "passengers": { "via": "travel", "collection": "passenger" } } }