{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-list-workspace-quotas-schema.json",
  "title": "ListWorkspaceQuotas",
  "description": "The List WorkspaceQuotasByVMFamily operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-subscriptions-api-openapi.yml#/components/schemas/ListWorkspaceQuotas",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ResourceQuota items on this page",
      "items": {
        "$ref": "#/$defs/ResourceQuota"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "QuotaUnit": {
      "type": "string",
      "description": "An enum describing the unit of quota measurement.",
      "enum": [
        "Count"
      ],
      "x-ms-enum": {
        "name": "QuotaUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "Count",
            "value": "Count"
          }
        ]
      }
    },
    "ResourceName": {
      "type": "object",
      "description": "The Resource Name.",
      "properties": {
        "value": {
          "type": "string",
          "description": "The name of the resource.",
          "readOnly": true
        },
        "localizedValue": {
          "type": "string",
          "description": "The localized name of the resource.",
          "readOnly": true
        }
      }
    },
    "ResourceQuota": {
      "type": "object",
      "description": "The quota assigned to a resource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Specifies the resource ID.",
          "readOnly": true
        },
        "amlWorkspaceLocation": {
          "type": "string",
          "description": "Region of the AML workspace in the id.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Specifies the resource type.",
          "readOnly": true
        },
        "name": {
          "$ref": "#/$defs/ResourceName",
          "description": "Name of the resource.",
          "readOnly": true
        },
        "limit": {
          "type": "integer",
          "format": "int64",
          "title": "Limit.",
          "description": "The maximum permitted quota of the resource.",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/QuotaUnit",
          "description": "An enum describing the unit of quota measurement.",
          "readOnly": true
        }
      }
    }
  }
}