{
  "openapi": "3.1.0",
  "info": {
    "title": "おむつ最安値実質単価 API (tanka-navi)",
    "version": "1.0.0",
    "description": "日本主要ECモール（楽天・Yahoo・Amazon）のポイント還元加味後1枚あたり実質単価最安値とおむつ購入URLを提供するAgentic Commerce API。"
  },
  "servers": [
    {
      "url": "https://tanka-navi.com"
    }
  ],
  "paths": {
    "/api/diapers/lowest": {
      "get": {
        "operationId": "getLowestDiaperPrice",
        "summary": "おむつ実質最安値の取得",
        "description": "指定されたサイズ・タイプ・ブランドの最安値商品情報と公式購入リンクを返します。",
        "parameters": [
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "M"
            },
            "description": "サイズ（新生児, S, M, L, BIG）"
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "パンツ"
            },
            "description": "タイプ（テープ, パンツ）"
          },
          {
            "name": "brand",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "ブランド（パンパース, メリーズ, ムーニー, グーン 等）"
          }
        ],
        "responses": {
          "200": {
            "description": "成功",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}