{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-stream-analytics/json-schema/microsoft-azure-stream-analytics-subscription-quotas-list-result-schema.json",
  "title": "SubscriptionQuotasListResult",
  "description": "Result of the GetQuotas operation. It contains a list of quotas for the subscription in a particular region.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-stream-analytics-subscriptions-api-openapi.yml#/components/schemas/SubscriptionQuotasListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "List of quotas for the subscription in a particular region.",
      "type": "array",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/SubscriptionQuota"
      }
    }
  },
  "$defs": {
    "SubResource": {
      "type": "object",
      "description": "The base sub-resource model definition.",
      "properties": {
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "Resource Id"
        },
        "name": {
          "type": "string",
          "description": "Resource name"
        },
        "type": {
          "readOnly": true,
          "type": "string",
          "description": "Resource type"
        }
      },
      "x-ms-azure-resource": true
    },
    "SubscriptionQuota": {
      "description": "Describes the current quota for the subscription.",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ],
      "properties": {
        "properties": {
          "description": "Describes the properties of the quota.",
          "readOnly": true,
          "properties": {
            "maxCount": {
              "description": "The max permitted usage of this resource.",
              "type": "integer",
              "format": "int32",
              "readOnly": true
            },
            "currentCount": {
              "description": "The current usage of this resource.",
              "type": "integer",
              "format": "int32",
              "readOnly": true
            }
          },
          "x-ms-client-flatten": true
        }
      }
    }
  }
}