{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-usage-list-schema.json",
  "title": "UsageList",
  "description": "Response for usage get request",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-purview-usages-api-openapi.yml#/components/schemas/UsageList",
  "type": "object",
  "properties": {
    "value": {
      "description": "Collection of usage values.",
      "uniqueItems": false,
      "type": "array",
      "items": {
        "$ref": "#/$defs/Usage"
      }
    },
    "nextLink": {
      "description": "The Url of next result page.",
      "type": "string"
    }
  },
  "$defs": {
    "QuotaName": {
      "description": "Quota name",
      "type": "object",
      "properties": {
        "localizedValue": {
          "description": "Gets or sets the localized name value.",
          "type": "string"
        },
        "value": {
          "description": "Gets or sets the name value.",
          "type": "string"
        }
      }
    },
    "Usage": {
      "description": "Response for usage information",
      "type": "object",
      "properties": {
        "currentValue": {
          "format": "int32",
          "description": "Current usage quota value",
          "type": "integer",
          "readOnly": true
        },
        "id": {
          "description": "Fully qualified ARM resource Id",
          "type": "string",
          "readOnly": true
        },
        "limit": {
          "format": "int32",
          "description": "Usage quota limit",
          "type": "integer",
          "readOnly": true
        },
        "name": {
          "description": "Quota name",
          "allOf": [
            {
              "$ref": "#/$defs/QuotaName"
            }
          ],
          "readOnly": true
        },
        "unit": {
          "description": "Quota usage unit.",
          "type": "string",
          "readOnly": true
        }
      }
    }
  }
}