{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-express-route/json-schema/microsoft-azure-express-route-authorization-list-result-schema.json",
  "title": "AuthorizationListResult",
  "description": "Paged collection of ExpressRouteCircuitAuthorization items",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-express-route-expressroutecircuitauthorizations-api-openapi.yml#/components/schemas/AuthorizationListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ExpressRouteCircuitAuthorization items on this page",
      "items": {
        "$ref": "#/$defs/ExpressRouteCircuitAuthorization"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AuthorizationPropertiesFormat": {
      "type": "object",
      "description": "Properties of ExpressRouteCircuitAuthorization.",
      "properties": {
        "authorizationKey": {
          "type": "string",
          "description": "The authorization key."
        },
        "authorizationUseStatus": {
          "$ref": "#/$defs/AuthorizationUseStatus",
          "description": "The authorization use status."
        },
        "connectionResourceUri": {
          "type": "string",
          "description": "The reference to the ExpressRoute connection resource using the authorization.",
          "readOnly": true
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the authorization resource.",
          "readOnly": true
        }
      }
    },
    "AuthorizationUseStatus": {
      "type": "string",
      "description": "The authorization use status.",
      "enum": [
        "Available",
        "InUse"
      ],
      "x-ms-enum": {
        "name": "AuthorizationUseStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Available",
            "value": "Available",
            "description": "Available"
          },
          {
            "name": "InUse",
            "value": "InUse",
            "description": "InUse"
          }
        ]
      }
    },
    "ExpressRouteCircuitAuthorization": {
      "type": "object",
      "description": "Authorization in an ExpressRouteCircuit resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AuthorizationPropertiesFormat",
          "description": "Properties of the express route circuit authorization.",
          "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"
        }
      ]
    },
    "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
    }
  }
}