{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-direct-connect/refs/heads/main/json-schema/amazon-direct-connect-location-schema.json",
  "title": "Location",
  "description": "Information about an Direct Connect location.",
  "type": "object",
  "properties": {
    "locationCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LocationCode"
        },
        {
          "description": "The code for the location."
        }
      ]
    },
    "locationName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LocationName"
        },
        {
          "description": "The name of the location. This includes the name of the colocation partner and the physical site of the building."
        }
      ]
    },
    "region": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Region"
        },
        {
          "description": "The Amazon Web Services Region for the location."
        }
      ]
    },
    "availablePortSpeeds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AvailablePortSpeeds"
        },
        {
          "description": "The available port speeds for the location."
        }
      ]
    },
    "availableProviders": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ProviderList"
        },
        {
          "description": "The name of the service provider for the location."
        }
      ]
    },
    "availableMacSecPortSpeeds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AvailableMacSecPortSpeeds"
        },
        {
          "description": "The available MAC Security (MACsec) port speeds for the location."
        }
      ]
    }
  }
}