{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1password/refs/heads/main/json-schema/1password-events-event-location-schema.json",
  "title": "EventLocation",
  "description": "Geographic location information associated with an event.",
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "The two-letter ISO country code.",
      "minLength": 2,
      "maxLength": 2
    },
    "region": {
      "type": "string",
      "description": "The region or state."
    },
    "city": {
      "type": "string",
      "description": "The city name."
    },
    "latitude": {
      "type": "number",
      "format": "double",
      "description": "The latitude coordinate."
    },
    "longitude": {
      "type": "number",
      "format": "double",
      "description": "The longitude coordinate."
    }
  }
}