{
  "version": "1.0",
  "skills": [
    {
      "id": "thai-holidays",
      "name": "Thai Public Holidays",
      "description": "Look up official Thai public holidays for any year, including substitute days and Buddhist alcohol ban days.",
      "endpoint": "https://thailandformats.com/api/v1/holidays/{year}",
      "method": "GET",
      "parameters": {
        "year": { "type": "integer", "required": true, "description": "Gregorian year (e.g. 2026)" }
      }
    },
    {
      "id": "alcohol-status",
      "name": "Thailand Alcohol Status",
      "description": "Check in real-time whether you can buy alcohol in Thailand right now. Accounts for daily time restrictions and Buddhist holiday bans.",
      "endpoint": "https://thailandformats.com/api/v1/alcohol",
      "method": "GET",
      "parameters": {}
    },
    {
      "id": "thai-date-info",
      "name": "Thai Date Information",
      "description": "Get Thai Buddhist Era year, day colour, day name in Thai, and any holidays for a given date.",
      "endpoint": "https://thailandformats.com/api/v1/date/{date}",
      "method": "GET",
      "parameters": {
        "date": { "type": "string", "format": "date", "required": true, "description": "Date in YYYY-MM-DD format" }
      }
    },
    {
      "id": "working-days",
      "name": "Thai Working Days Calculator",
      "description": "Calculate business days between two dates in Thailand, excluding weekends and public holidays.",
      "endpoint": "https://thailandformats.com/api/v1/working-days",
      "method": "GET",
      "parameters": {
        "start_date": { "type": "string", "format": "date", "required": true },
        "end_date": { "type": "string", "format": "date", "required": false },
        "add_days": { "type": "integer", "required": false, "description": "Add N business days instead of specifying end_date" }
      }
    },
    {
      "id": "convert-area",
      "name": "Thai Area Unit Converter",
      "description": "Convert between Thai area units (Rai, Ngan, Wah) and international units (sqm, acre, hectare).",
      "endpoint": "https://thailandformats.com/api/v1/convert/area",
      "method": "GET",
      "parameters": {
        "amount": { "type": "number", "required": false, "default": 1 },
        "from": { "type": "string", "required": true, "enum": ["rai", "ngan", "wah", "sqm", "acre", "hectare", "sqmile"] },
        "to": { "type": "string", "required": true, "enum": ["rai", "ngan", "wah", "sqm", "acre", "hectare", "sqmile"] }
      }
    },
    {
      "id": "convert-distance",
      "name": "Thai Distance Unit Converter",
      "description": "Convert between Thai distance units (Wa, Sen, Yot) and international units (m, km, mile).",
      "endpoint": "https://thailandformats.com/api/v1/convert/distance",
      "method": "GET",
      "parameters": {
        "amount": { "type": "number", "required": false, "default": 1 },
        "from": { "type": "string", "required": true, "enum": ["wa", "sen", "yot", "cm", "m", "km", "in", "ft", "mile"] },
        "to": { "type": "string", "required": true, "enum": ["wa", "sen", "yot", "cm", "m", "km", "in", "ft", "mile"] }
      }
    },
    {
      "id": "validate-idcard",
      "name": "Thai ID Card Validator",
      "description": "Validate a Thai 13-digit national ID card number using the official checksum algorithm.",
      "endpoint": "https://thailandformats.com/api/v1/validate/idcard/{number}",
      "method": "GET",
      "parameters": {
        "number": { "type": "string", "required": true, "description": "13-digit Thai ID card number" }
      }
    }
  ]
}
