{
  "id": "recipe-box",
  "name": "私房菜谱",
  "version": "1.0.0",
  "kind": "utility",
  "description": "保存自己的菜谱、份量、食材和做法，按关键词找菜。",
  "branding": {
    "icon": "assets/icon.png"
  },
  "categories": [
    "food",
    "home"
  ],
  "tags": [
    "food",
    "home"
  ],
  "localizations": {
    "zh-CN": {
      "displayName": "私房菜谱",
      "description": "保存自己的菜谱、份量、食材和做法，按关键词找菜。"
    },
    "en": {
      "displayName": "Recipe Box",
      "description": "Save personal recipes, servings, ingredients, and steps in a searchable box."
    }
  },
  "ui": {
    "main": "ui/index.html",
    "permissions": [
      "theme",
      "storage"
    ],
    "collections": [
      {
        "name": "recipes",
        "title": "私房菜谱",
        "fields": [
          {
            "key": "title",
            "type": "string",
            "required": true
          },
          {
            "key": "kind",
            "type": "enum",
            "values": [
              "家常菜",
              "主食",
              "汤羹",
              "烘焙",
              "饮品"
            ]
          },
          {
            "key": "servings",
            "type": "number"
          },
          {
            "key": "ingredients",
            "type": "string",
            "required": true
          },
          {
            "key": "steps",
            "type": "string",
            "required": true
          }
        ]
      }
    ]
  },
  "engines": {
    "xopc": ">=0.0.106 <1.0.0"
  }
}
