{
  "@context": {
    "@vocab": "https://usagemax.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "usagemax": "https://usagemax.com/schema#",
    "GatewayEvalRun": "usagemax:GatewayEvalRun",
    "runId": {
      "@id": "usagemax:runId",
      "@type": "xsd:string"
    },
    "baselineRunId": {
      "@id": "usagemax:baselineRunId",
      "@type": "xsd:string"
    },
    "report": {
      "@id": "usagemax:report"
    },
    "GatewayEvalReceipt": "usagemax:GatewayEvalReceipt",
    "status": {
      "@id": "usagemax:status",
      "@type": "xsd:string"
    },
    "gate": {
      "@id": "usagemax:gate"
    },
    "GatewayReceipt": "usagemax:GatewayReceipt",
    "schemaVersion": {
      "@id": "usagemax:schemaVersion"
    },
    "requestId": {
      "@id": "usagemax:requestId",
      "@type": "xsd:string"
    },
    "revision": {
      "@id": "usagemax:revision",
      "@type": "xsd:integer"
    },
    "provider": {
      "@id": "usagemax:provider",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "usagemax:model",
      "@type": "xsd:string"
    },
    "resolvedModel": {
      "@id": "usagemax:resolvedModel",
      "@type": "xsd:string"
    },
    "traceId": {
      "@id": "usagemax:traceId",
      "@type": "xsd:string"
    },
    "trace": {
      "@id": "usagemax:trace"
    },
    "settledAt": {
      "@id": "usagemax:settledAt",
      "@type": "xsd:integer"
    },
    "startedAt": {
      "@id": "usagemax:startedAt",
      "@type": "xsd:integer"
    },
    "firstTokenAt": {
      "@id": "usagemax:firstTokenAt",
      "@type": "xsd:integer"
    },
    "stream": {
      "@id": "usagemax:stream",
      "@type": "xsd:boolean"
    },
    "currency": {
      "@id": "usagemax:currency"
    },
    "customerChargeNanos": {
      "@id": "usagemax:customerChargeNanos",
      "@type": "xsd:integer"
    },
    "providerCostNanos": {
      "@id": "usagemax:providerCostNanos",
      "@type": "xsd:integer"
    },
    "providerCostBasis": {
      "@id": "usagemax:providerCostBasis",
      "@type": "xsd:string"
    },
    "usage": {
      "@id": "usagemax:usage"
    },
    "GatewaySpan": "usagemax:GatewaySpan",
    "spanId": {
      "@id": "usagemax:spanId",
      "@type": "xsd:string"
    },
    "parentSpanId": {
      "@id": "usagemax:parentSpanId",
      "@type": "xsd:string"
    },
    "kind": {
      "@id": "usagemax:kind",
      "@type": "xsd:string"
    },
    "endedAt": {
      "@id": "usagemax:endedAt",
      "@type": "xsd:integer"
    },
    "httpStatus": {
      "@id": "usagemax:httpStatus",
      "@type": "xsd:integer"
    },
    "outcome": {
      "@id": "usagemax:outcome",
      "@type": "xsd:string"
    },
    "GatewayMetrics": "usagemax:GatewayMetrics",
    "requests": {
      "@id": "usagemax:requests",
      "@type": "xsd:integer"
    },
    "errors": {
      "@id": "usagemax:errors",
      "@type": "xsd:integer"
    },
    "cancelled": {
      "@id": "usagemax:cancelled",
      "@type": "xsd:integer"
    },
    "pendingBilling": {
      "@id": "usagemax:pendingBilling",
      "@type": "xsd:integer"
    },
    "providerAttempts": {
      "@id": "usagemax:providerAttempts",
      "@type": "xsd:integer"
    },
    "providerErrors": {
      "@id": "usagemax:providerErrors",
      "@type": "xsd:integer"
    },
    "traces": {
      "@id": "usagemax:traces",
      "@type": "xsd:integer"
    },
    "inputTokens": {
      "@id": "usagemax:inputTokens",
      "@type": "xsd:integer"
    },
    "outputTokens": {
      "@id": "usagemax:outputTokens",
      "@type": "xsd:integer"
    },
    "cachedTokens": {
      "@id": "usagemax:cachedTokens",
      "@type": "xsd:integer"
    },
    "reasoningTokens": {
      "@id": "usagemax:reasoningTokens",
      "@type": "xsd:integer"
    },
    "costCovered": {
      "@id": "usagemax:costCovered",
      "@type": "xsd:integer"
    },
    "marginCovered": {
      "@id": "usagemax:marginCovered",
      "@type": "xsd:integer"
    },
    "invoiceConfirmed": {
      "@id": "usagemax:invoiceConfirmed",
      "@type": "xsd:integer"
    },
    "key": {
      "@id": "usagemax:key",
      "@type": "xsd:string"
    },
    "knownProviderCostNanos": {
      "@id": "usagemax:knownProviderCostNanos",
      "@type": "xsd:string"
    },
    "coveredMarginNanos": {
      "@id": "usagemax:coveredMarginNanos",
      "@type": "xsd:string"
    },
    "latency": {
      "@id": "usagemax:latency"
    },
    "firstToken": {
      "@id": "usagemax:firstToken"
    },
    "providerLatency": {
      "@id": "usagemax:providerLatency"
    },
    "GatewayOperations": "usagemax:GatewayOperations",
    "from": {
      "@id": "usagemax:from",
      "@type": "xsd:date"
    },
    "through": {
      "@id": "usagemax:through",
      "@type": "xsd:date"
    },
    "retainedFromAt": {
      "@id": "usagemax:retainedFromAt",
      "@type": "xsd:integer"
    },
    "generatedAt": {
      "@id": "usagemax:generatedAt",
      "@type": "xsd:integer"
    },
    "latestReceiptAt": {
      "@id": "usagemax:latestReceiptAt",
      "@type": "xsd:integer"
    },
    "latestRequestId": {
      "@id": "usagemax:latestRequestId",
      "@type": "xsd:string"
    },
    "truncated": {
      "@id": "usagemax:truncated",
      "@type": "xsd:boolean"
    },
    "groupsTruncated": {
      "@id": "usagemax:groupsTruncated",
      "@type": "xsd:boolean"
    },
    "limit": {
      "@id": "usagemax:limit",
      "@type": "xsd:integer"
    },
    "overall": {
      "@id": "usagemax:overall",
      "@type": "@id"
    },
    "daily": {
      "@id": "usagemax:daily",
      "@container": "@list"
    },
    "providers": {
      "@id": "usagemax:providers",
      "@container": "@list"
    },
    "models": {
      "@id": "usagemax:models",
      "@container": "@list"
    },
    "recent": {
      "@id": "usagemax:recent",
      "@container": "@list"
    },
    "alerts": {
      "@id": "usagemax:alerts"
    },
    "GatewayStatus": "usagemax:GatewayStatus",
    "ok": {
      "@id": "usagemax:ok"
    },
    "scope": {
      "@id": "usagemax:scope",
      "@type": "xsd:string"
    },
    "lastSuccessAt": {
      "@id": "usagemax:lastSuccessAt",
      "@type": "xsd:integer"
    },
    "GatewayWriteResult": "usagemax:GatewayWriteResult",
    "results": {
      "@id": "usagemax:results",
      "@container": "@list"
    },
    "GatewayReport": "usagemax:GatewayReport",
    "receipts": {
      "@id": "usagemax:receipts",
      "@container": "@list"
    },
    "NlwebResponse": "usagemax:NlwebResponse",
    "_meta": {
      "@id": "usagemax:_meta"
    },
    "query_id": {
      "@id": "usagemax:query_id",
      "@type": "xsd:string"
    },
    "answer": {
      "@id": "usagemax:answer",
      "@type": "xsd:string"
    },
    "sources": {
      "@id": "usagemax:sources",
      "@container": "@list"
    },
    "Error": "usagemax:Error",
    "error": {
      "@id": "usagemax:error",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "usagemax:message",
      "@type": "xsd:string"
    },
    "hint": {
      "@id": "usagemax:hint",
      "@type": "xsd:string"
    },
    "documentation": {
      "@id": "usagemax:documentation",
      "@type": "@id"
    },
    "SandboxDescriptor": "usagemax:SandboxDescriptor",
    "environment": {
      "@id": "usagemax:environment"
    },
    "service": {
      "@id": "usagemax:service",
      "@type": "xsd:string"
    },
    "writes": {
      "@id": "usagemax:writes"
    },
    "authentication": {
      "@id": "usagemax:authentication"
    },
    "endpoint": {
      "@id": "usagemax:endpoint",
      "@type": "@id"
    },
    "aliases": {
      "@id": "usagemax:aliases",
      "@container": "@list"
    },
    "method": {
      "@id": "usagemax:method"
    },
    "contentType": {
      "@id": "usagemax:contentType"
    },
    "limits": {
      "@id": "usagemax:limits"
    },
    "acceptedFields": {
      "@id": "usagemax:acceptedFields",
      "@container": "@list"
    },
    "validation": {
      "@id": "usagemax:validation",
      "@type": "xsd:string"
    },
    "example": {
      "@id": "usagemax:example",
      "@type": "@id"
    },
    "CollectorCapabilities": "usagemax:CollectorCapabilities",
    "snapshotProtocol": {
      "@id": "usagemax:snapshotProtocol",
      "@type": "xsd:integer"
    },
    "snapshotChunks": {
      "@id": "usagemax:snapshotChunks",
      "@type": "xsd:boolean"
    },
    "maxChunkRows": {
      "@id": "usagemax:maxChunkRows",
      "@type": "xsd:integer"
    },
    "maxSessionsPerRequest": {
      "@id": "usagemax:maxSessionsPerRequest",
      "@type": "xsd:integer"
    },
    "maxPartitionsPerRequest": {
      "@id": "usagemax:maxPartitionsPerRequest",
      "@type": "xsd:integer"
    },
    "recommendedCliVersion": {
      "@id": "usagemax:recommendedCliVersion",
      "@type": "xsd:string"
    },
    "NetworkStats": "usagemax:NetworkStats",
    "totalTokens": {
      "@id": "usagemax:totalTokens",
      "@type": "xsd:integer"
    },
    "totalCostMicros": {
      "@id": "usagemax:totalCostMicros",
      "@type": "xsd:integer"
    },
    "totalSessions": {
      "@id": "usagemax:totalSessions",
      "@type": "xsd:integer"
    },
    "profiles": {
      "@id": "usagemax:profiles",
      "@type": "xsd:integer"
    },
    "activeAgents": {
      "@id": "usagemax:activeAgents",
      "@type": "xsd:integer"
    },
    "eventsToday": {
      "@id": "usagemax:eventsToday",
      "@type": "xsd:integer"
    },
    "updatedAt": {
      "@id": "usagemax:updatedAt",
      "@type": "xsd:integer"
    },
    "LeaderboardRow": "usagemax:LeaderboardRow",
    "rank": {
      "@id": "usagemax:rank",
      "@type": "xsd:integer"
    },
    "user": {
      "@id": "usagemax:user"
    },
    "score": {
      "@id": "usagemax:score",
      "@type": "xsd:decimal"
    },
    "totalSpendUsd": {
      "@id": "usagemax:totalSpendUsd",
      "@type": "xsd:decimal"
    },
    "costBasis": {
      "@id": "usagemax:costBasis",
      "@type": "xsd:string"
    },
    "verification": {
      "@id": "usagemax:verification",
      "@type": "xsd:string"
    },
    "PublicProfile": "usagemax:PublicProfile",
    "stats": {
      "@id": "usagemax:stats"
    },
    "Range": "usagemax:Range",
    "first": {
      "@id": "usagemax:first",
      "@type": "xsd:date"
    },
    "last": {
      "@id": "usagemax:last",
      "@type": "xsd:date"
    },
    "DailyRow": "usagemax:DailyRow",
    "date": {
      "@id": "usagemax:date",
      "@type": "xsd:date"
    },
    "costUsd": {
      "@id": "usagemax:costUsd",
      "@type": "xsd:decimal"
    },
    "sessions": {
      "@id": "usagemax:sessions",
      "@type": "xsd:integer"
    },
    "DetailPage": "usagemax:DetailPage",
    "page": {
      "@id": "usagemax:page",
      "@container": "@list"
    },
    "isDone": {
      "@id": "usagemax:isDone",
      "@type": "xsd:boolean"
    },
    "continueCursor": {
      "@id": "usagemax:continueCursor",
      "@type": "xsd:string"
    },
    "consistentSnapshot": {
      "@id": "usagemax:consistentSnapshot",
      "@type": "xsd:boolean"
    },
    "groupBy": {
      "@id": "usagemax:groupBy",
      "@type": "xsd:string"
    },
    "LinkResponse": "usagemax:LinkResponse",
    "token": {
      "@id": "usagemax:token",
      "@type": "xsd:string"
    },
    "ingestUrl": {
      "@id": "usagemax:ingestUrl",
      "@type": "@id"
    },
    "snapshotUrl": {
      "@id": "usagemax:snapshotUrl",
      "@type": "@id"
    },
    "statusUrl": {
      "@id": "usagemax:statusUrl",
      "@type": "@id"
    },
    "revokeUrl": {
      "@id": "usagemax:revokeUrl",
      "@type": "@id"
    },
    "profileHandle": {
      "@id": "usagemax:profileHandle",
      "@type": "xsd:string"
    },
    "deviceName": {
      "@id": "usagemax:deviceName",
      "@type": "xsd:string"
    },
    "profileUrl": {
      "@id": "usagemax:profileUrl",
      "@type": "@id"
    },
    "CollectorStatus": "usagemax:CollectorStatus",
    "credentialType": {
      "@id": "usagemax:credentialType"
    },
    "writeOnly": {
      "@id": "usagemax:writeOnly"
    },
    "activation": {
      "@id": "usagemax:activation"
    },
    "expiresAt": {
      "@id": "usagemax:expiresAt"
    },
    "scopes": {
      "@id": "usagemax:scopes",
      "@container": "@list"
    },
    "scopeStatus": {
      "@id": "usagemax:scopeStatus",
      "@type": "xsd:string"
    },
    "ingestAuthorized": {
      "@id": "usagemax:ingestAuthorized",
      "@type": "xsd:boolean"
    },
    "deviceBinding": {
      "@id": "usagemax:deviceBinding",
      "@type": "xsd:string"
    },
    "platform": {
      "@id": "usagemax:platform",
      "@type": "xsd:string"
    },
    "cliVersion": {
      "@id": "usagemax:cliVersion",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "usagemax:createdAt",
      "@type": "xsd:integer"
    },
    "lastSeenAt": {
      "@id": "usagemax:lastSeenAt",
      "@type": "xsd:integer"
    },
    "lastFailureAt": {
      "@id": "usagemax:lastFailureAt",
      "@type": "xsd:integer"
    },
    "lastFailureCode": {
      "@id": "usagemax:lastFailureCode",
      "@type": "xsd:string"
    },
    "NativeTelemetryBatch": "usagemax:NativeTelemetryBatch",
    "events": {
      "@id": "usagemax:events",
      "@container": "@list"
    },
    "OtlpPayload": "usagemax:OtlpPayload",
    "resourceSpans": {
      "@id": "usagemax:resourceSpans",
      "@container": "@list"
    },
    "SnapshotOperation": "usagemax:SnapshotOperation",
    "operation": {
      "@id": "usagemax:operation",
      "@type": "xsd:string"
    },
    "mode": {
      "@id": "usagemax:mode",
      "@type": "xsd:string"
    },
    "sourceCount": {
      "@id": "usagemax:sourceCount",
      "@type": "xsd:integer"
    },
    "partitionCount": {
      "@id": "usagemax:partitionCount",
      "@type": "xsd:integer"
    },
    "inventoryComplete": {
      "@id": "usagemax:inventoryComplete",
      "@type": "xsd:boolean"
    },
    "inventoryErrors": {
      "@id": "usagemax:inventoryErrors",
      "@type": "xsd:integer"
    },
    "inventoryTruncated": {
      "@id": "usagemax:inventoryTruncated",
      "@type": "xsd:boolean"
    },
    "parserCoverageCertified": {
      "@id": "usagemax:parserCoverageCertified",
      "@type": "xsd:boolean"
    },
    "coverageStartDay": {
      "@id": "usagemax:coverageStartDay",
      "@type": "xsd:date"
    },
    "coverageEndDay": {
      "@id": "usagemax:coverageEndDay",
      "@type": "xsd:date"
    },
    "partitions": {
      "@id": "usagemax:partitions",
      "@container": "@list"
    },
    "IngestResponse": "usagemax:IngestResponse",
    "replay": {
      "@id": "usagemax:replay",
      "@type": "xsd:boolean"
    },
    "SnapshotResponse": "usagemax:SnapshotResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "UsageMax API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects UsageMax's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-27) from openapi/usagemax-com-openapi.json.",
  "dcterms:created": "2026-11-27",
  "dcterms:source": [
    "openapi/usagemax-com-openapi.json"
  ]
}