{
  "id": "dining-list",
  "name": "餐厅收藏",
  "version": "1.0.0",
  "kind": "utility",
  "description": "记录想去和去过的餐厅、所在区域与想点的菜。",
  "branding": {
    "icon": "assets/icon.png"
  },
  "categories": [
    "food",
    "leisure"
  ],
  "tags": [
    "food",
    "leisure"
  ],
  "localizations": {
    "zh-CN": {
      "displayName": "餐厅收藏",
      "description": "记录想去和去过的餐厅、所在区域与想点的菜。"
    },
    "en": {
      "displayName": "Dining List",
      "description": "Save restaurants to try, where they are, and what to order."
    }
  },
  "ui": {
    "main": "ui/index.html",
    "permissions": [
      "theme",
      "storage"
    ],
    "collections": [
      {
        "name": "restaurants",
        "title": "餐厅收藏",
        "fields": [
          {
            "key": "title",
            "type": "string",
            "required": true
          },
          {
            "key": "neighborhood",
            "type": "string"
          },
          {
            "key": "dish",
            "type": "string"
          },
          {
            "key": "rating",
            "type": "enum",
            "values": [
              "未评价",
              "会再去",
              "还可以",
              "暂不回访"
            ]
          },
          {
            "key": "note",
            "type": "string"
          },
          {
            "key": "status",
            "type": "enum",
            "values": [
              "想去",
              "已去"
            ],
            "default": "想去"
          }
        ]
      }
    ]
  },
  "engines": {
    "xopc": ">=0.0.106 <1.0.0"
  }
}
