{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yentaknows-ai/json-schema/yentaknows-ai-destination-schema.json",
  "title": "Destination",
  "description": "A published destination as the directory presents it.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dev-openapi.json#/components/schemas/Destination",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "default_language": {
      "type": "string"
    },
    "mcp_endpoint": {
      "type": "string",
      "description": "The destination's MCP URL, present only when it is live."
    },
    "yenta_page_url": {
      "type": "string",
      "description": "The destination's page on Yenta, to open or cite; present only when it is live."
    },
    "things_to_do": {
      "type": "object",
      "description": "What the destination publishes, as counts.",
      "properties": {
        "listing_count": {
          "type": "integer",
          "description": "Places to eat, stay and visit (default language)."
        },
        "categories": {
          "type": "object",
          "description": "Listing count per category slug, the 5 biggest.",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "event_count": {
          "type": "integer",
          "description": "Upcoming events."
        },
        "guide_topic_count": {
          "type": "integer",
          "description": "Guide topics (weather, safety, ...)."
        }
      }
    },
    "next_steps": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Which tool to call next for listings, events and tips."
    }
  },
  "required": [
    "slug",
    "name",
    "country",
    "currency",
    "timezone",
    "default_language"
  ]
}