{
  "slug": "shogi-pieces",
  "title": "将棋の駒",
  "description": "将棋の駒8種と成駒6種。id は USI 表記（成駒は先頭に +）、count は片方の陣営の初期枚数。",
  "documentation": "/docs/shogi-pieces",
  "count": 14,
  "idField": "id",
  "idAliases": [
    "name",
    "kana",
    "romaji",
    "abbr",
    "english"
  ],
  "fields": [
    "id",
    "name",
    "kana",
    "romaji",
    "abbr",
    "english",
    "count",
    "isPromoted",
    "promotesTo",
    "moves",
    "note"
  ],
  "searchFields": [
    "name",
    "kana",
    "romaji",
    "english",
    "moves",
    "note"
  ],
  "storage": "static",
  "endpoints": [
    {
      "path": "/shogi-pieces",
      "description": "このAPIのメタ情報"
    },
    {
      "path": "/shogi-pieces/all",
      "description": "全件取得",
      "query": [
        "limit",
        "offset",
        "sort",
        "order",
        "fields",
        "pretty"
      ]
    },
    {
      "path": "/shogi-pieces/random",
      "description": "ランダムに1件（?count=n で複数、?seed= で再現可能）",
      "query": [
        "count",
        "seed",
        "fields",
        "pretty"
      ]
    },
    {
      "path": "/shogi-pieces/search",
      "description": "部分一致検索（対象: name, kana, romaji, english, moves, note）",
      "query": [
        "q",
        "limit",
        "offset",
        "sort",
        "order",
        "fields",
        "pretty"
      ]
    },
    {
      "path": "/shogi-pieces/fields",
      "description": "フィールド名の一覧"
    },
    {
      "path": "/shogi-pieces/getId",
      "description": "そのフィールドの全件分の値（?id= を付けると1件分）",
      "query": [
        "id",
        "unique",
        "pretty"
      ]
    },
    {
      "path": "/shogi-pieces/:id",
      "description": "ID 指定で1件"
    },
    {
      "path": "/shogi-pieces/:id/:field",
      "description": "1件の特定フィールドだけ"
    }
  ],
  "examples": [
    "/shogi-pieces/R",
    "/shogi-pieces/飛車",
    "/shogi-pieces/%2BP",
    "/shogi-pieces/random",
    "/shogi-pieces/all?fields=name,moves",
    "/shogi-pieces/search?q=%E9%87%91%E5%B0%86"
  ]
}