{
  "id": "flashcards",
  "name": "记忆卡片",
  "version": "1.0.0",
  "kind": "utility",
  "description": "先看题面自行回忆，翻卡后查看答案并标记是否掌握。",
  "branding": {
    "icon": "assets/icon.png"
  },
  "categories": [
    "learning",
    "productivity"
  ],
  "tags": [
    "learning",
    "productivity"
  ],
  "localizations": {
    "zh-CN": {
      "displayName": "记忆卡片",
      "description": "先看题面自行回忆，翻卡后查看答案并标记是否掌握。"
    },
    "en": {
      "displayName": "Flip Cards",
      "description": "Recall from the prompt, flip to reveal the answer, and track mastery."
    }
  },
  "ui": {
    "main": "ui/index.html",
    "permissions": [
      "theme",
      "storage"
    ],
    "collections": [
      {
        "name": "cards",
        "title": "记忆卡片",
        "fields": [
          {
            "key": "title",
            "type": "string",
            "required": true
          },
          {
            "key": "deck",
            "type": "string"
          },
          {
            "key": "answer",
            "type": "string",
            "required": true
          },
          {
            "key": "status",
            "type": "enum",
            "values": [
              "待复习",
              "已掌握"
            ],
            "default": "待复习"
          }
        ]
      }
    ]
  },
  "engines": {
    "xopc": ">=0.0.106 <1.0.0"
  }
}
