{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wall-marketing/json-schema/wall-marketing-venue-schema.json",
  "title": "Venue",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wall-marketing-openapi.json#/components/schemas/Venue",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Always \"venue\"."
    },
    "id": {
      "type": "string",
      "description": "The venue_id to quote and book with."
    },
    "name": {
      "type": "string",
      "description": "The venue's name."
    },
    "address": {
      "type": [
        "string",
        "null"
      ],
      "description": "Street address."
    },
    "latitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "Latitude of the venue."
    },
    "longitude": {
      "type": [
        "number",
        "null"
      ],
      "description": "Longitude of the venue."
    },
    "venue_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Kind of venue: bar, cafe, restaurant, hostel, hotel, gym, coworking, office, campus, event_venue, retail, other."
    },
    "price_per_day_usd": {
      "type": "number",
      "description": "Price for one day on this screen, in US dollars."
    },
    "venue_types": {
      "type": "array",
      "description": "Every kind of venue this is (a hostel with a bar is both), from its listing and our records.",
      "items": {
        "type": "string",
        "description": "A kind of venue."
      }
    },
    "open_dayparts": {
      "type": "array",
      "description": "Times of day the venue is open on at least two days a week: morning, afternoon, evening, night. Empty when its hours are unknown.",
      "items": {
        "type": "string",
        "description": "A time of day."
      }
    },
    "busy_dayparts": {
      "type": "array",
      "description": "Times of day the venue is busiest, from foot-traffic data, when known.",
      "items": {
        "type": "string",
        "description": "A time of day."
      }
    },
    "estimated_views_per_day": {
      "type": [
        "number",
        "null"
      ],
      "description": "Estimated people passing the screen each day; an estimate, not a measurement."
    },
    "opening_hours": {
      "type": [
        "array",
        "null"
      ],
      "description": "Opening hours, one line per day, when known.",
      "items": {
        "type": "string"
      }
    },
    "online": {
      "type": "boolean",
      "description": "Whether the screen checked in within the last 26 hours."
    },
    "last_seen_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the screen last checked in. ISO 8601, UTC."
    },
    "earliest_start": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "The first start_date a new booking can have here: the screen shows a new advert from the venue's next local midnight."
    },
    "distance_km": {
      "type": "number",
      "description": "Distance from near_latitude/near_longitude, when searching near a point."
    },
    "booked": {
      "type": "array",
      "description": "Date ranges already booked (advertiser.venues.get only).",
      "items": {
        "type": "object",
        "properties": {
          "start_date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Booked from."
          },
          "end_date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Booked until (exclusive)."
          }
        }
      }
    },
    "screen": {
      "type": "object",
      "description": "The screen at the venue.",
      "properties": {
        "technology": {
          "type": "string",
          "description": "Display technology (e-paper)."
        },
        "size_inches": {
          "type": "number",
          "description": "Screen diagonal in inches."
        },
        "width_px": {
          "type": "integer",
          "description": "Width in pixels."
        },
        "height_px": {
          "type": "integer",
          "description": "Height in pixels."
        },
        "colours": {
          "type": "array",
          "description": "The colours the panel can show.",
          "items": {
            "type": "string"
          }
        },
        "placement": {
          "type": "string",
          "description": "Where the screen hangs."
        },
        "exclusive": {
          "type": "boolean",
          "description": "True: one advert per screen at a time."
        }
      }
    }
  }
}