{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-storage-accounts/json-schema/azure-storage-accounts-usage-list-result-schema.json",
  "title": "UsageListResult",
  "description": "The response from the List Usages operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-storage-accounts-locationusage-api-openapi.yml#/components/schemas/UsageListResult",
  "properties": {
    "value": {
      "description": "Gets or sets the list of Storage Resource Usages.",
      "items": {
        "$ref": "#/$defs/Usage"
      },
      "type": "array"
    }
  },
  "$defs": {
    "Usage": {
      "description": "Describes Storage Resource Usage.",
      "properties": {
        "currentValue": {
          "description": "Gets the current count of the allocated resources in the subscription.",
          "format": "int32",
          "readOnly": true,
          "type": "integer"
        },
        "limit": {
          "description": "Gets the maximum count of the resources that can be allocated in the subscription.",
          "format": "int32",
          "readOnly": true,
          "type": "integer"
        },
        "name": {
          "$ref": "#/$defs/UsageName",
          "description": "Gets the name of the type of usage.",
          "readOnly": true
        },
        "unit": {
          "description": "Gets the unit of measurement.",
          "enum": [
            "Count",
            "Bytes",
            "Seconds",
            "Percent",
            "CountsPerSecond",
            "BytesPerSecond"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "UsageUnit"
          }
        }
      }
    },
    "UsageName": {
      "description": "The usage names that can be used; currently limited to StorageAccount.",
      "properties": {
        "localizedValue": {
          "description": "Gets a localized string describing the resource name.",
          "readOnly": true,
          "type": "string"
        },
        "value": {
          "description": "Gets a string describing the resource name.",
          "readOnly": true,
          "type": "string"
        }
      }
    }
  }
}