KeepBal · JSON-LD Context

Keepbal Com Context

JSON-LD context defining the semantic vocabulary for Keepbal Com from KeepBal.

7 Classes 23 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
keepbal: https://keepbal.com/schema#

Classes

CatalogModel JsonRpcError ToolInput Error ModelsList Balance Usage

Properties

Property Type Container
id string
endpoint string
input_micros_per_m integer
output_micros_per_m integer
cache_read_micros_per_m integer
cache_write_micros_per_m integer
jsonrpc string
error
body
queryParams
pathParams
max_cost_usd reference
object string
data list
currency string
account_balance_micros_usd integer
available_balance_micros_usd integer
api_key
as_of dateTime
start_time integer
end_time integer
bucket_width string
totals

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://keepbal.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "keepbal": "https://keepbal.com/schema#",
    "CatalogModel": "keepbal:CatalogModel",
    "id": {
      "@id": "keepbal:id",
      "@type": "xsd:string"
    },
    "endpoint": {
      "@id": "keepbal:endpoint",
      "@type": "xsd:string"
    },
    "input_micros_per_m": {
      "@id": "keepbal:input_micros_per_m",
      "@type": "xsd:integer"
    },
    "output_micros_per_m": {
      "@id": "keepbal:output_micros_per_m",
      "@type": "xsd:integer"
    },
    "cache_read_micros_per_m": {
      "@id": "keepbal:cache_read_micros_per_m",
      "@type": "xsd:integer"
    },
    "cache_write_micros_per_m": {
      "@id": "keepbal:cache_write_micros_per_m",
      "@type": "xsd:integer"
    },
    "JsonRpcError": "keepbal:JsonRpcError",
    "jsonrpc": {
      "@id": "keepbal:jsonrpc",
      "@type": "xsd:string"
    },
    "error": {
      "@id": "keepbal:error"
    },
    "ToolInput": "keepbal:ToolInput",
    "body": {
      "@id": "keepbal:body"
    },
    "queryParams": {
      "@id": "keepbal:queryParams"
    },
    "pathParams": {
      "@id": "keepbal:pathParams"
    },
    "max_cost_usd": {
      "@id": "keepbal:max_cost_usd",
      "@type": "@id"
    },
    "Error": "keepbal:Error",
    "ModelsList": "keepbal:ModelsList",
    "object": {
      "@id": "keepbal:object",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "keepbal:data",
      "@container": "@list"
    },
    "Balance": "keepbal:Balance",
    "currency": {
      "@id": "keepbal:currency",
      "@type": "xsd:string"
    },
    "account_balance_micros_usd": {
      "@id": "keepbal:account_balance_micros_usd",
      "@type": "xsd:integer"
    },
    "available_balance_micros_usd": {
      "@id": "keepbal:available_balance_micros_usd",
      "@type": "xsd:integer"
    },
    "api_key": {
      "@id": "keepbal:api_key"
    },
    "as_of": {
      "@id": "keepbal:as_of",
      "@type": "xsd:dateTime"
    },
    "Usage": "keepbal:Usage",
    "start_time": {
      "@id": "keepbal:start_time",
      "@type": "xsd:integer"
    },
    "end_time": {
      "@id": "keepbal:end_time",
      "@type": "xsd:integer"
    },
    "bucket_width": {
      "@id": "keepbal:bucket_width",
      "@type": "xsd:string"
    },
    "totals": {
      "@id": "keepbal:totals"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "KeepBal API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects KeepBal'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-13) from openapi/keepbal-com-openapi.yaml.",
  "dcterms:created": "2026-11-13",
  "dcterms:source": [
    "openapi/keepbal-com-openapi.yaml"
  ]
}