{
  "id": "decision-log",
  "name": "决策日志",
  "version": "1.0.0",
  "kind": "utility",
  "description": "记录决定、考虑过的方案和复查日期。",
  "branding": {
    "icon": "assets/icon.png"
  },
  "categories": [
    "productivity",
    "learning"
  ],
  "tags": [
    "productivity",
    "learning"
  ],
  "localizations": {
    "zh-CN": {
      "displayName": "决策日志",
      "description": "记录决定、考虑过的方案和复查日期。"
    },
    "en": {
      "displayName": "Decision Log",
      "description": "Record decisions, their rationale, and a date to review the outcome."
    }
  },
  "ui": {
    "main": "ui/index.html",
    "permissions": [
      "theme",
      "storage"
    ],
    "collections": [
      {
        "name": "decisions",
        "title": "决策日志",
        "fields": [
          {
            "key": "title",
            "type": "string",
            "required": true
          },
          {
            "key": "date",
            "type": "date"
          },
          {
            "key": "due",
            "type": "date"
          },
          {
            "key": "note",
            "type": "string"
          },
          {
            "key": "status",
            "type": "enum",
            "values": [
              "待复查",
              "已复查"
            ],
            "default": "待复查"
          }
        ]
      }
    ]
  },
  "engines": {
    "xopc": ">=0.0.106 <1.0.0"
  }
}
