{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-express-route/json-schema/microsoft-azure-express-route-express-route-ports-location-list-result-schema.json",
  "title": "ExpressRoutePorts Location List Result",
  "description": "Paged collection of ExpressRoutePortsLocation items",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-express-route-expressrouteportslocations-api-openapi.yml#/components/schemas/ExpressRoutePortsLocationListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ExpressRoutePortsLocation items on this page",
      "items": {
        "$ref": "#/$defs/ExpressRoutePortsLocation"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ExpressRoutePortsLocation": {
      "type": "object",
      "title": "ExpressRoutePorts Peering Location",
      "description": "Definition of the ExpressRoutePorts peering location resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ExpressRoutePortsLocationPropertiesFormat",
          "description": "ExpressRoutePort peering location properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "ExpressRoutePortsLocationBandwidths": {
      "type": "object",
      "title": "ExpressRoutePorts Location Bandwidths",
      "description": "Real-time inventory of available ExpressRoute port bandwidths.",
      "properties": {
        "offerName": {
          "type": "string",
          "description": "Bandwidth descriptive name.",
          "readOnly": true
        },
        "valueInGbps": {
          "type": "integer",
          "format": "int32",
          "description": "Bandwidth value in Gbps.",
          "readOnly": true
        }
      }
    },
    "ExpressRoutePortsLocationPropertiesFormat": {
      "type": "object",
      "title": "ExpressRoutePorts Location Properties",
      "description": "Properties specific to ExpressRoutePorts peering location resources.",
      "properties": {
        "address": {
          "type": "string",
          "description": "Address of peering location.",
          "readOnly": true
        },
        "contact": {
          "type": "string",
          "description": "Contact details of peering locations.",
          "readOnly": true
        },
        "availableBandwidths": {
          "type": "array",
          "description": "The inventory of available ExpressRoutePort bandwidths.",
          "items": {
            "$ref": "#/$defs/ExpressRoutePortsLocationBandwidths"
          }
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the express route port location resource.",
          "readOnly": true
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Provisioning states of a resource.",
      "enum": [
        "Failed",
        "Succeeded",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          }
        ]
      }
    },
    "Resource": {
      "type": "object",
      "description": "Common resource representation.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        },
        "name": {
          "type": "string",
          "description": "Resource name.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        },
        "location": {
          "type": "string",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "x-ms-azure-resource": true
    }
  }
}