{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ecoaloha-com/json-schema/ecoaloha-com-booking-link-schema.json",
  "title": "BookingLink",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecoaloha-com-openapi.json#/components/schemas/BookingLink",
  "type": "object",
  "required": [
    "url",
    "experienceId",
    "affiliate",
    "disclosure"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Viator affiliate product page. Booking and payment happen on Viator."
    },
    "experienceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,80}$",
      "description": "Viator product code, for example 5010SYDNEY."
    },
    "affiliate": {
      "type": "boolean",
      "const": true
    },
    "disclosure": {
      "type": "string"
    }
  }
}