{
  "titleId": "digimon-card",
  "titleName": "デジモンカードゲーム",
  "version": "1.1.0",
  "recommendedAppVersion": "1.1.0",
  "fields": [
    {
      "id": "keyword",
      "label": "キーワード",
      "type": "text",
      "searchable": true,
      "virtual": true,
      "quickSearch": true,
      "searchTargets": [
        "name",
        "cardNo",
        "effect",
        "inheritedEffect",
        "securityEffect",
        "text"
      ]
    },
    {
      "id": "cardText",
      "label": "カードテキスト",
      "type": "text",
      "searchable": true,
      "virtual": true,
      "searchTargets": [
        "effect",
        "inheritedEffect",
        "securityEffect",
        "text"
      ]
    },
    {
      "id": "cardNo",
      "label": "カードNo",
      "type": "text",
      "searchable": true,
      "required": true
    },
    {
      "id": "name",
      "label": "カード名",
      "type": "text",
      "searchable": true,
      "required": true
    },
    {
      "id": "type",
      "label": "種別",
      "type": "radio",
      "searchable": true,
      "required": true,
      "multiple": false,
      "options": [
        "デジタマ",
        "デジモン",
        "テイマー",
        "オプション",
        "デジモン/オプション"
      ],
      "dynamicOptions": true
    },
    {
      "id": "color",
      "label": "色",
      "type": "checkbox",
      "searchable": true,
      "multiple": true,
      "options": [
        "赤",
        "青",
        "黄",
        "緑",
        "白",
        "黒",
        "紫"
      ],
      "dynamicOptions": true
    },
    {
      "id": "lv",
      "label": "Lv",
      "type": "number_range",
      "searchable": true,
      "min": 2,
      "max": 7
    },
    {
      "id": "cost",
      "label": "コスト",
      "type": "number_range",
      "searchable": true,
      "min": 0,
      "max": 20
    },
    {
      "id": "dp",
      "label": "DP",
      "type": "number_range",
      "searchable": true,
      "min": 0,
      "max": 20000
    },
    {
      "id": "form",
      "label": "形態",
      "type": "checkbox",
      "searchable": true,
      "multiple": false,
      "options": [
        "幼年期",
        "成長期",
        "成熟期",
        "完全体",
        "究極体",
        "アーマー体",
        "ハイブリッド体",
        "アプモン",
        "並/アプモン",
        "超/アプモン",
        "極/アプモン",
        "神/アプモン",
        "不明/アプモン",
        "デ・リーパー",
        "イーター",
        "不明"
      ],
      "dynamicOptions": true
    },
    {
      "id": "attribute",
      "label": "属性",
      "type": "checkbox",
      "searchable": true,
      "multiple": false,
      "options": [
        "ワクチン種",
        "データ種",
        "ウィルス種",
        "フリー",
        "ヴァリアブル種",
        "不明",
        "ソーシャル",
        "ナビ",
        "ツール",
        "システム",
        "ゲーム",
        "エンタメ",
        "ライフ",
        "ゴッド",
        "NODATA"
      ],
      "dynamicOptions": true
    },
    {
      "id": "digimonType",
      "label": "タイプ",
      "type": "modal_multi",
      "searchable": true,
      "multiple": true,
      "optionSort": "reading",
      "options": [
        "X抗体",
        "ロイヤルナイツ",
        "聖騎士型",
        "鳥型"
      ],
      "dynamicOptions": true
    },
    {
      "id": "rarity",
      "label": "レアリティ",
      "type": "checkbox",
      "searchable": true,
      "multiple": false,
      "options": [
        "C",
        "U",
        "R",
        "SR",
        "UR",
        "SEC",
        "P"
      ],
      "dynamicOptions": true
    },
    {
      "id": "series",
      "label": "収録",
      "type": "modal_multi",
      "searchable": true,
      "multiple": true,
      "options": [
        "ブースターパック IGNITION OF X【BT-27】"
      ],
      "dynamicOptions": true
    },
    {
      "id": "evolution",
      "label": "進化条件",
      "type": "text",
      "searchable": false
    },
    {
      "id": "effect",
      "label": "効果",
      "type": "text",
      "searchable": false
    },
    {
      "id": "inheritedEffect",
      "label": "進化元効果",
      "type": "text",
      "searchable": false
    },
    {
      "id": "securityEffect",
      "label": "セキュリティ効果",
      "type": "text",
      "searchable": false
    },
    {
      "id": "text",
      "label": "テキスト",
      "type": "text",
      "searchable": false
    }
  ],
  "cardIdGeneration": {
    "type": "field",
    "fieldId": "cardNo"
  },
  "parallelCardSupport": {
    "enabled": true,
    "defaultShowParallel": false,
    "filterLabel": "パラレルカードを表示",
    "parallelLabel": "パラレル"
  },
  "deckRules": {
    "maxCopiesPerCard": {
      "default": 4
    },
    "zones": [
      {
        "id": "main",
        "label": "メインデッキ",
        "required": true,
        "cardCount": {
          "min": 50,
          "max": 50
        },
        "cardFilter": {
          "type": [
            "デジモン",
            "テイマー",
            "オプション",
            "デジモン/オプション"
          ]
        }
      },
      {
        "id": "digitama",
        "label": "デジタマデッキ",
        "required": false,
        "cardCount": {
          "min": 0,
          "max": 5
        },
        "cardFilter": {
          "type": "デジタマ"
        },
        "carryOverFilter": {
          "from": "main"
        }
      }
    ],
    "deckNameTemplate": "{name}",
    "deckNameFields": [
      "name"
    ],
    "listDisplayZone": "main",
    "mainZone": "main",
    "deckSort": {
      "groupBy": [
        "type"
      ],
      "options": [
        {
          "id": "lv",
          "label": "Lv順",
          "by": [
            "lv",
            "cardNo"
          ]
        },
        {
          "id": "cost",
          "label": "コスト順",
          "by": [
            "cost",
            "cardNo"
          ]
        },
        {
          "id": "color",
          "label": "色順",
          "by": [
            "color",
            "cardNo"
          ]
        },
        {
          "id": "cardNo",
          "label": "カードNo順",
          "by": [
            "cardNo"
          ]
        }
      ],
      "default": {
        "optionId": "lv",
        "direction": "asc"
      }
    },
    "deckStats": {
      "zones": [
        "main",
        "digitama"
      ],
      "items": [
        {
          "fieldId": "type",
          "chart": "stack"
        },
        {
          "fieldId": "color",
          "chart": "stack"
        },
        {
          "fieldId": "lv",
          "chart": "columns",
          "missingLabel": "なし"
        },
        {
          "fieldId": "cost",
          "chart": "columns",
          "missingLabel": "なし"
        },
        {
          "fieldId": "digimonType",
          "chart": "rows"
        }
      ]
    }
  },
  "migrations": [],
  "defaultSettings": {
    "theme": "auto",
    "language": "ja",
    "searchSort": [
      {
        "fieldId": "series",
        "order": "listed"
      },
      {
        "fieldId": "cardNo",
        "order": "asc"
      }
    ],
    "deckImageSheet": {
      "maxCards": 55
    }
  },
  "matchRecord": {
    "opponent": {
      "label": "相手のデッキ"
    }
  },
  "dataSources": [
    {
      "name": "全カード（公式カードリスト準拠）",
      "provider": "TCGrid",
      "url": "https://tcgrid.jp/api/v1/titles/digimon-card/data",
      "description": "全カードのデータ"
    }
  ]
}
