{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cdn/json-schema/microsoft-azure-cdn-resource-usage-list-result-schema.json",
  "title": "ResourceUsageListResult",
  "description": "Output of check resource usage API.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-cdn-endpoints-api-openapi.yml#/components/schemas/ResourceUsageListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ResourceUsage items on this page",
      "items": {
        "$ref": "#/$defs/ResourceUsage"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ResourceUsage": {
      "type": "object",
      "description": "Output of check resource usage API.",
      "properties": {
        "resourceType": {
          "type": "string",
          "description": "Resource type for which the usage is provided.",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/ResourceUsageUnit",
          "description": "Unit of the usage. e.g. count.",
          "readOnly": true
        },
        "currentValue": {
          "type": "integer",
          "format": "int32",
          "description": "Actual value of usage on the specified resource type.",
          "readOnly": true
        },
        "limit": {
          "type": "integer",
          "format": "int32",
          "description": "Quota of the specified resource type.",
          "readOnly": true
        }
      }
    },
    "ResourceUsageUnit": {
      "type": "string",
      "description": "Unit of the usage. e.g. count.",
      "enum": [
        "count"
      ],
      "x-ms-enum": {
        "name": "ResourceUsageUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "count",
            "value": "count"
          }
        ]
      }
    }
  }
}