{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-search/json-schema/azure-ai-search-quota-usage-result-schema.json",
  "title": "QuotaUsageResult",
  "description": "Describes the quota usage for a particular SKU.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-search-usages-api-openapi.yml#/components/schemas/QuotaUsageResult",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The resource ID of the quota usage SKU endpoint for Microsoft.Search provider."
    },
    "unit": {
      "type": "string",
      "description": "The unit of measurement for the search SKU."
    },
    "currentValue": {
      "type": "integer",
      "format": "int32",
      "description": "The currently used up value for the particular search SKU."
    },
    "limit": {
      "type": "integer",
      "format": "int32",
      "description": "The quota limit for the particular search SKU."
    },
    "name": {
      "$ref": "#/$defs/QuotaUsageResultName",
      "description": "The SKU name information of the current search service.",
      "readOnly": true
    }
  },
  "$defs": {
    "QuotaUsageResultName": {
      "type": "object",
      "description": "The SKU name information, including its identifier and localized display name.",
      "properties": {
        "value": {
          "type": "string",
          "description": "The SKU name supported by Azure AI Search."
        },
        "localizedValue": {
          "type": "string",
          "description": "The localized string value for the SKU name."
        }
      }
    }
  }
}