{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-express-route/json-schema/microsoft-azure-express-route-peer-express-route-circuit-connection-list-result-schema.json",
  "title": "PeerExpressRouteCircuitConnectionListResult",
  "description": "The response of a PeerExpressRouteCircuitConnection list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-express-route-peerexpressroutecircuitconnections-api-openapi.yml#/components/schemas/PeerExpressRouteCircuitConnectionListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The PeerExpressRouteCircuitConnection items on this page",
      "items": {
        "$ref": "#/$defs/PeerExpressRouteCircuitConnection"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "CircuitConnectionStatus": {
      "type": "string",
      "description": "Express Route Circuit connection state.",
      "enum": [
        "Connected",
        "Connecting",
        "Disconnected"
      ],
      "x-ms-enum": {
        "name": "CircuitConnectionStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Connected",
            "value": "Connected",
            "description": "Connected"
          },
          {
            "name": "Connecting",
            "value": "Connecting",
            "description": "Connecting"
          },
          {
            "name": "Disconnected",
            "value": "Disconnected",
            "description": "Disconnected"
          }
        ]
      }
    },
    "PeerExpressRouteCircuitConnection": {
      "type": "object",
      "description": "Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PeerExpressRouteCircuitConnectionPropertiesFormat",
          "description": "Properties of the peer express route circuit connection.",
          "x-ms-client-flatten": true
        },
        "etag": {
          "type": "string",
          "description": "A unique read-only string that changes whenever the resource is updated.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResourceModel"
        }
      ]
    },
    "PeerExpressRouteCircuitConnectionPropertiesFormat": {
      "type": "object",
      "description": "Properties of the peer express route circuit connection.",
      "properties": {
        "expressRouteCircuitPeering": {
          "$ref": "#/$defs/SubResource",
          "description": "Reference to Express Route Circuit Private Peering Resource of the circuit."
        },
        "peerExpressRouteCircuitPeering": {
          "$ref": "#/$defs/SubResource",
          "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit."
        },
        "addressPrefix": {
          "type": "string",
          "description": "/29 IP address space to carve out Customer addresses for tunnels."
        },
        "circuitConnectionStatus": {
          "$ref": "#/$defs/CircuitConnectionStatus",
          "description": "Express Route Circuit connection state.",
          "readOnly": true
        },
        "connectionName": {
          "type": "string",
          "description": "The name of the express route circuit connection resource."
        },
        "authResourceGuid": {
          "type": "string",
          "description": "The resource guid of the authorization used for the express route circuit connection."
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the peer express route circuit connection 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"
          }
        ]
      }
    },
    "SubResource": {
      "type": "object",
      "description": "Reference to another subresource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        }
      }
    },
    "SubResourceModel": {
      "type": "object",
      "description": "Reference to another subresource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the resource."
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ],
      "x-ms-azure-resource": true
    }
  }
}