{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-web-pubsub/json-schema/microsoft-azure-web-pubsub-sku-list-schema.json",
  "title": "SkuList",
  "description": "The list skus operation response",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-web-pubsub-management-api-openapi.yml#/components/schemas/SkuList",
  "type": "object",
  "properties": {
    "value": {
      "description": "The list of skus available for the resource.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Sku"
      },
      "readOnly": true,
      "x-ms-identifiers": [
        "resourceType",
        "/sku/name",
        "/sku/tier"
      ]
    },
    "nextLink": {
      "description": "The URL the client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.",
      "type": "string",
      "readOnly": true
    }
  },
  "$defs": {
    "ResourceSku": {
      "description": "The billing information of the resource.",
      "required": [
        "name"
      ],
      "type": "object",
      "properties": {
        "name": {
          "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1, Premium_P2",
          "type": "string"
        },
        "tier": {
          "$ref": "#/$defs/WebPubSubSkuTier"
        },
        "size": {
          "description": "Not used. Retained for future use.",
          "type": "string",
          "readOnly": true
        },
        "family": {
          "description": "Not used. Retained for future use.",
          "type": "string",
          "readOnly": true
        },
        "capacity": {
          "format": "int32",
          "description": "Optional, integer. The unit count of the resource.\r\n1 for Free_F1/Standard_S1/Premium_P1, 100 for Premium_P2 by default.\r\n\r\nIf present, following values are allowed:\r\n    Free_F1: 1;\r\n    Standard_S1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n    Premium_P1:  1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n    Premium_P2:  100,200,300,400,500,600,700,800,900,1000;",
          "type": "integer"
        }
      }
    },
    "ScaleType": {
      "description": "The scale type applicable to the sku.",
      "enum": [
        "None",
        "Manual",
        "Automatic"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "ScaleType",
        "modelAsString": true
      }
    },
    "Sku": {
      "description": "Describes an available sku.\"",
      "type": "object",
      "properties": {
        "resourceType": {
          "description": "The resource type that this object applies to",
          "type": "string",
          "readOnly": true
        },
        "sku": {
          "$ref": "#/$defs/ResourceSku"
        },
        "capacity": {
          "$ref": "#/$defs/SkuCapacity"
        }
      }
    },
    "SkuCapacity": {
      "description": "Describes scaling information of a sku.",
      "type": "object",
      "properties": {
        "minimum": {
          "format": "int32",
          "description": "The lowest permitted capacity for this resource",
          "type": "integer",
          "readOnly": true
        },
        "maximum": {
          "format": "int32",
          "description": "The highest permitted capacity for this resource",
          "type": "integer",
          "readOnly": true
        },
        "default": {
          "format": "int32",
          "description": "The default capacity.",
          "type": "integer",
          "readOnly": true
        },
        "allowedValues": {
          "description": "Allows capacity value list.",
          "type": "array",
          "items": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "scaleType": {
          "$ref": "#/$defs/ScaleType"
        }
      }
    },
    "WebPubSubSkuTier": {
      "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead.",
      "enum": [
        "Free",
        "Basic",
        "Standard",
        "Premium"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "WebPubSubSkuTier",
        "modelAsString": true
      }
    }
  }
}