{
  "openapi": "3.1.0",
  "info": {
    "title": "พิคเคิลบอลไทยแลนด์ Open Data API",
    "version": "2026-11-05",
    "summary": "พิคเคิลบอลไทยแลนด์ (ไทย, THB) Read-Only Static Open Data API.",
    "contact": {
      "name": "พิคเคิลบอลไทยแลนด์",
      "url": "https://pickleball.fashion/th/feedback/"
    },
    "license": {
      "name": "Free to cite with attribution to pickleball.fashion",
      "url": "https://pickleball.fashion/th/copyright/"
    }
  },
  "servers": [
    {
      "url": "https://pickleball.fashion",
      "description": "Production"
    }
  ],
  "paths": {
    "/th/api/courts-full.json": {
      "get": {
        "operationId": "listCourtsFull_th",
        "summary": "สนามพิคเคิลบอลในประเทศไทย",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/courts.json": {
      "get": {
        "operationId": "listCourtsGeo_th",
        "summary": "Courts Geo Index",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/courts.csv": {
      "get": {
        "operationId": "downloadCourtsCsv_th",
        "summary": "Courts CSV (UTF-8 BOM)",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/paddles.json": {
      "get": {
        "operationId": "listPaddles_th",
        "summary": "เปรียบเทียบไม้พิคเคิลบอลในไทย",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/apparel.json": {
      "get": {
        "operationId": "listApparel_th",
        "summary": "รองเท้า ชุดกีฬา และอุปกรณ์พิคเคิลบอล",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/news.json": {
      "get": {
        "operationId": "listNews_th",
        "summary": "ข่าวสารพิคเคิลบอลในประเทศไทย",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/events.json": {
      "get": {
        "operationId": "listEvents_th",
        "summary": "ตารางแข่งขันและกิจกรรมพิคเคิลบอลในไทย",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/th/api/learn.json": {
      "get": {
        "operationId": "listLearn_th",
        "summary": "กติกาพิคเคิลบอลและคู่มือสำหรับมือใหม่",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Paddle": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "currency": {
            "type": "string",
            "const": "THB"
          },
          "price_min_thb": {
            "type": [
              "integer",
              "null"
            ]
          },
          "price_max_thb": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      }
    }
  }
}
