{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-usage-list-result-schema.json",
  "title": "UsageListResult",
  "description": "The response model for the get usage operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-usages-api-openapi.yml#/components/schemas/UsageListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "Gets or sets usage.",
      "items": {
        "$ref": "#/$defs/Usage"
      }
    },
    "nextLink": {
      "type": "string"
    }
  },
  "$defs": {
    "Usage": {
      "type": "object",
      "description": "Definition of Usage.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Gets or sets the id of the resource."
        },
        "name": {
          "$ref": "#/$defs/UsageCounterName",
          "description": "Gets or sets the usage counter name."
        },
        "unit": {
          "type": "string",
          "description": "Gets or sets the usage unit name."
        },
        "currentValue": {
          "type": "number",
          "format": "double",
          "description": "Gets or sets the current usage value."
        },
        "limit": {
          "type": "integer",
          "format": "int64",
          "description": "Gets or sets max limit. -1 for unlimited"
        },
        "throttleStatus": {
          "type": "string",
          "description": "Gets or sets the throttle status."
        }
      }
    },
    "UsageCounterName": {
      "type": "object",
      "description": "Definition of usage counter name.",
      "properties": {
        "value": {
          "type": "string",
          "description": "Gets or sets the usage counter name."
        },
        "localizedValue": {
          "type": "string",
          "description": "Gets or sets the localized usage counter name."
        }
      }
    }
  }
}