{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-account-quota-list-result-schema.json",
  "title": "AccountQuotaListResult",
  "description": "The response of a AccountQuota list operation.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-accountquotas-api-openapi.yml#/components/schemas/AccountQuotaListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The AccountQuota items on this page",
      "items": {
        "$ref": "#/$defs/AccountQuota"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AccountFreeTrialProperties": {
      "type": "object",
      "description": "The Playwright service account quota resource free-trial properties.",
      "properties": {
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The free-trial createdAt utcDateTime.",
          "readOnly": true
        },
        "expiryAt": {
          "type": "string",
          "format": "date-time",
          "description": "The free-trial expiryAt utcDateTime.",
          "readOnly": true
        },
        "allocatedValue": {
          "type": "integer",
          "format": "int32",
          "description": "The free-trial allocated limit value eg. allocated free minutes.",
          "readOnly": true
        },
        "usedValue": {
          "type": "integer",
          "format": "int32",
          "description": "The free-trial used value eg. used free minutes.",
          "readOnly": true
        },
        "percentageUsed": {
          "type": "number",
          "format": "float",
          "description": "The free-trial percentage used.",
          "minimum": 0,
          "maximum": 100,
          "readOnly": true
        }
      },
      "required": [
        "createdAt",
        "expiryAt",
        "allocatedValue",
        "usedValue",
        "percentageUsed"
      ]
    },
    "AccountQuota": {
      "type": "object",
      "description": "A quota resource for a Playwright service account.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AccountQuotaProperties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "AccountQuotaProperties": {
      "type": "object",
      "description": "The Playwright service account quota resource properties.",
      "properties": {
        "freeTrial": {
          "$ref": "#/$defs/AccountFreeTrialProperties",
          "description": "The Playwright service account quota resource free-trial properties."
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The status of the last operation.",
          "readOnly": true
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The status of the current operation.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Creating",
        "Deleting",
        "Accepted"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Resource has been created."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Resource creation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Resource creation was canceled."
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creation in progress.."
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deletion in progress.."
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Change accepted for processing.."
          }
        ]
      }
    }
  }
}