{
  "collectionName": "components_dishes",
  "info": {
    "displayName": "dish",
    "description": "",
    "icon": "address-book"
  },
  "attributes": {
    "name": {
      "type": "string",
      "required": false,
      "default": "My super dish"
    },
    "description": {
      "type": "text"
    },
    "price": {
      "type": "float"
    },
    "picture": {
      "type": "media",
      "required": false
    },
    "very_long_description": {
      "type": "richtext"
    },
    "categories": {
      "type": "relation",
      "relation": "oneToOne",
      "target": "api::category.category"
    }
  }
}
