{
  "kind": "collectionType",
  "collectionName": "menusections",
  "info": {
    "displayName": "Menu Section",
    "singularName": "menusection",
    "pluralName": "menusections",
    "description": ""
  },
  "options": {
    "comment": "",
    "draftAndPublish": false
  },
  "attributes": {
    "name": {
      "type": "string",
      "required": true,
      "minLength": 6
    },
    "dishes": {
      "component": "default.dish",
      "type": "component",
      "repeatable": true,
      "required": true
    },
    "menu": {
      "type": "relation",
      "relation": "manyToOne",
      "target": "api::menu.menu",
      "inversedBy": "menusections"
    }
  }
}
