{
  "version": "1.0",
  "site": "https://usetanai.com",
  "actions": [
    {
      "id": "tanning-calculator",
      "name": "Tanning Calculator",
      "description": "Calculate safe tanning session duration based on skin type (Fitzpatrick I-VI) and current UV index. Returns recommended minutes per side.",
      "method": "declarative",
      "endpoint": "/en/tools/tanning-calculator/",
      "parameters": {
        "type": "object",
        "required": ["skinType", "uvIndex"],
        "properties": {
          "skinType": {
            "type": "string",
            "enum": ["I", "II", "III", "IV", "V", "VI"],
            "description": "Fitzpatrick skin type (I=very fair, VI=very dark)"
          },
          "uvIndex": {
            "type": "integer",
            "minimum": 1,
            "maximum": 11,
            "description": "Current UV index at location"
          }
        }
      }
    },
    {
      "id": "skin-type-quiz",
      "name": "Skin Type Quiz",
      "description": "Determine Fitzpatrick skin phototype (I-VI) by answering 6 questions about hair color, eye color, skin color, freckles, sun reaction, and tanning ability.",
      "method": "declarative",
      "endpoint": "/en/tools/skin-type-quiz/",
      "parameters": {
        "type": "object",
        "required": [],
        "properties": {}
      }
    },
    {
      "id": "vitamin-d-calculator",
      "name": "Vitamin D Calculator",
      "description": "Estimate vitamin D synthesis from sun exposure based on skin type, location latitude, time of year, and exposure duration.",
      "method": "declarative",
      "endpoint": "/en/tools/vitamin-d-calculator/",
      "parameters": {
        "type": "object",
        "required": ["skinType", "latitude"],
        "properties": {
          "skinType": {
            "type": "string",
            "enum": ["I", "II", "III", "IV", "V", "VI"],
            "description": "Fitzpatrick skin type"
          },
          "latitude": {
            "type": "number",
            "description": "Latitude of location in degrees"
          }
        }
      }
    },
    {
      "id": "download-app",
      "name": "Download Tan AI App",
      "description": "Get the Tan AI tanning assistant app for iOS or Android. Free to download with real-time UV tracking, AI skin analysis, and personalized tanning plans.",
      "method": "declarative",
      "endpoint": "/en/#cta",
      "parameters": {
        "type": "object",
        "required": ["platform"],
        "properties": {
          "platform": {
            "type": "string",
            "enum": ["ios", "android"],
            "description": "Mobile platform"
          }
        }
      }
    }
  ]
}
