{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tpsclear-co-uk/json-schema/tpsclear-co-uk-get-v1-usage-response-schema.json",
  "title": "GetV1UsageResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/tpsclear-co-uk-openapi-generated.yml#/components/schemas/GetV1UsageResponse",
  "type": "object",
  "properties": {
    "key": {
      "type": "object",
      "description": "Key last 4 characters and name"
    },
    "environment": {
      "type": "string",
      "description": "live or test"
    },
    "plan": {
      "type": "string",
      "description": "The key's plan type"
    },
    "window": {
      "type": "object",
      "description": "Current fair-use window limits and usage"
    },
    "last30d": {
      "type": "object",
      "description": "30-day rolling totals for calls and lookups"
    },
    "uk_credits": {
      "type": "integer",
      "description": "Prepaid UK checks remaining on live key"
    }
  }
}