{
  "id": "subscription-tracker",
  "name": "订阅与账单管家",
  "description": "汇总月度与年化固定支出，高亮 7 天内即将续费的服务，随时管理停用与恢复。",
  "version": "1.0.2",
  "kind": "utility",
  "branding": { "icon": "assets/icon.png" },
  "categories": ["finance"],
  "tags": ["subscriptions", "bills", "finance", "offline"],
  "localizations": {
    "zh-CN": {
      "displayName": "订阅与账单管家",
      "description": "汇总月度与年化固定支出，高亮 7 天内即将续费的服务，随时管理停用与恢复。"
    },
    "en": {
      "displayName": "Subscriptions & Bills",
      "description": "Track recurring monthly & yearly bills and highlight renewals coming due within 7 days."
    }
  },
  "ui": {
    "main": "ui/index.html",
    "permissions": ["theme", "storage"],
    "recommendedMobilePin": false,
    "collections": [
      {
        "name": "subscriptions",
        "title": "订阅项目",
        "fields": [
          { "key": "name", "type": "string", "required": true },
          { "key": "amount", "type": "number", "required": true },
          { "key": "cycle", "type": "enum", "values": ["monthly", "yearly"], "default": "monthly" },
          { "key": "renewDate", "type": "date" },
          { "key": "active", "type": "boolean", "default": true }
        ]
      }
    ]
  },
  "engines": { "xopc": ">=0.0.106 <1.0.0" }
}
