{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orbisearch-com/json-schema/orbisearch-com-unlimited-usage-response-schema.json",
  "title": "UnlimitedUsageResponse",
  "description": "Current-period consumption for an unlimited plan (/v1/unlimited/usage).",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orbisearch-com-openapi.json#/components/schemas/UnlimitedUsageResponse",
  "properties": {
    "single_monthly_cap": {
      "type": "integer",
      "title": "Single Monthly Cap",
      "description": "Plan's single search requests per billing period."
    },
    "single_used": {
      "type": "integer",
      "title": "Single Used",
      "description": "Single search requests consumed this billing period."
    },
    "single_remaining": {
      "type": "integer",
      "title": "Single Remaining",
      "description": "Requests remaining before the monthly cap (never negative)."
    },
    "single_rps": {
      "type": "integer",
      "title": "Single Rps",
      "description": "Plan's single search requests-per-second limit (per account)."
    },
    "bulk_searches_per_day": {
      "type": "integer",
      "title": "Bulk Searches Per Day",
      "description": "Plan's daily bulk search limit (per account, UTC day)."
    },
    "bulk_searches_used_today": {
      "type": "integer",
      "title": "Bulk Searches Used Today",
      "description": "Bulk searches consumed in the current daily window."
    },
    "bulk_searches_reset_at": {
      "type": "string",
      "format": "date-time",
      "title": "Bulk Searches Reset At",
      "description": "When the daily bulk search limit resets (next UTC midnight)."
    },
    "current_period_start": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period Start",
      "description": "Start of the current billing period (cap window)."
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End",
      "description": "End of the current billing period, when the cap resets."
    }
  },
  "type": "object",
  "required": [
    "single_monthly_cap",
    "single_used",
    "single_remaining",
    "single_rps",
    "bulk_searches_per_day",
    "bulk_searches_used_today",
    "bulk_searches_reset_at",
    "current_period_start",
    "current_period_end"
  ]
}