{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-arc/json-schema/microsoft-azure-arc-gateways-list-result-schema.json",
  "title": "GatewaysListResult",
  "description": "Paged collection of Gateway items",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-arc-gateways-api-openapi.yml#/components/schemas/GatewaysListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The Gateway items on this page",
      "items": {
        "$ref": "#/$defs/Gateway"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "Gateway": {
      "type": "object",
      "description": "Describes an Arc Gateway.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/GatewayProperties",
          "description": "Hybrid Compute Gateway properties",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "GatewayProperties": {
      "type": "object",
      "description": "Describes the properties of a Gateway Profile.",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state, which only appears in the response.",
          "readOnly": true
        },
        "gatewayId": {
          "type": "string",
          "description": "A unique, immutable, identifier for the Gateway.",
          "readOnly": true
        },
        "gatewayType": {
          "$ref": "#/$defs/GatewayType",
          "description": "The type of the Gateway resource."
        },
        "gatewayEndpoint": {
          "type": "string",
          "description": "The endpoint fqdn for the Gateway.",
          "readOnly": true
        },
        "allowedFeatures": {
          "type": "array",
          "description": "Specifies the list of features that are enabled for this Gateway.",
          "items": {
            "type": "string"
          }
        },
        "gatewayBypass": {
          "type": "array",
          "description": "Specifies the list of domain names that should bypass the gateway. Each entry must be a valid DNS hostname.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GatewayType": {
      "type": "string",
      "description": "The type of the Gateway resource.",
      "enum": [
        "Public"
      ],
      "x-ms-enum": {
        "name": "GatewayType",
        "modelAsString": true,
        "values": [
          {
            "name": "Public",
            "value": "Public",
            "description": "Public"
          }
        ]
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The provisioning state, which only appears in the response.",
      "enum": [
        "Creating",
        "Updating",
        "Deleting",
        "Succeeded",
        "Failed",
        "Accepted",
        "Canceled",
        "Deleted"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Accepted"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Deleted",
            "value": "Deleted",
            "description": "Deleted"
          }
        ]
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}