{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-gateway-resource-sku-results-schema.json",
  "title": "GatewayResourceSkuResults",
  "description": "The API Management gateway SKUs operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-apimanagementgatewayskus-api-openapi.yml#/components/schemas/GatewayResourceSkuResults",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GatewayResourceSkuResult"
      },
      "x-ms-identifiers": [
        "resourceType",
        "sku/name"
      ],
      "description": "The list of skus available for the gateway."
    },
    "nextLink": {
      "type": "string",
      "description": "The uri to fetch the next page of API Management gateway Skus."
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "GatewayResourceSkuResult": {
      "type": "object",
      "properties": {
        "resourceType": {
          "readOnly": true,
          "type": "string",
          "description": "The type of resource the SKU applies to."
        },
        "sku": {
          "$ref": "#/$defs/GatewaySku",
          "readOnly": true,
          "description": "Specifies API Management gateway SKU."
        },
        "capacity": {
          "$ref": "#/$defs/GatewaySkuCapacity",
          "readOnly": true,
          "description": "Specifies the number of API Management gateway units."
        }
      },
      "description": "Describes an available API Management gateway SKU."
    },
    "GatewaySku": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the Sku.",
          "enum": [
            "Standard",
            "WorkspaceGatewayStandard",
            "WorkspaceGatewayPremium"
          ],
          "x-ms-enum": {
            "name": "ApiGatewaySkuType",
            "modelAsString": true,
            "values": [
              {
                "value": "Standard",
                "description": "Standard SKU of the API gateway."
              },
              {
                "value": "WorkspaceGatewayStandard",
                "description": "Standard SKU of the API gateway to be used in Workspaces."
              },
              {
                "value": "WorkspaceGatewayPremium",
                "description": "Premium SKU of the API gateway to be used in Workspaces."
              }
            ]
          }
        }
      },
      "description": "Describes an available API Management SKU for gateways."
    },
    "GatewaySkuCapacity": {
      "type": "object",
      "properties": {
        "minimum": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "The minimum capacity."
        },
        "maximum": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "The maximum capacity that can be set."
        },
        "default": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "The default capacity."
        },
        "scaleType": {
          "type": "string",
          "readOnly": true,
          "description": "The scale type applicable to the sku.",
          "enum": [
            "Automatic",
            "Manual",
            "None"
          ],
          "x-ms-enum": {
            "name": "GatewaySkuCapacityScaleType",
            "modelAsString": true,
            "values": [
              {
                "value": "Automatic",
                "description": "Supported scale type automatic."
              },
              {
                "value": "Manual",
                "description": "Supported scale type manual."
              },
              {
                "value": "None",
                "description": "Scaling not supported."
              }
            ]
          }
        }
      },
      "description": "Describes scaling information of a SKU."
    }
  }
}