OceanToken AI · JSON-LD Context

Oceantoken Ai Context

JSON-LD context defining the semantic vocabulary for Oceantoken Ai from OceanToken AI.

2 Classes 14 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/
oceantoken: https://oceantoken.ai/schema#

Classes

PostV1RerankRequest GetV1UsageRequestidResponse

Properties

Property Type Container
query string
documents list
top_n integer
id string
model string
cost decimal
status string
usage
usage.prompt_tokens integer
usage.completion_tokens integer
usage.total_tokens integer
started_at string
ended_at string
duration_ms integer

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://oceantoken.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "oceantoken": "https://oceantoken.ai/schema#",
    "PostV1RerankRequest": "oceantoken:PostV1RerankRequest",
    "query": {
      "@id": "oceantoken:query",
      "@type": "xsd:string"
    },
    "documents": {
      "@id": "oceantoken:documents",
      "@container": "@list"
    },
    "top_n": {
      "@id": "oceantoken:top_n",
      "@type": "xsd:integer"
    },
    "GetV1UsageRequestidResponse": "oceantoken:GetV1UsageRequestidResponse",
    "id": {
      "@id": "oceantoken:id",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "oceantoken:model",
      "@type": "xsd:string"
    },
    "cost": {
      "@id": "oceantoken:cost",
      "@type": "xsd:decimal"
    },
    "status": {
      "@id": "oceantoken:status",
      "@type": "xsd:string"
    },
    "usage": {
      "@id": "oceantoken:usage"
    },
    "usage.prompt_tokens": {
      "@id": "oceantoken:usage.prompt_tokens",
      "@type": "xsd:integer"
    },
    "usage.completion_tokens": {
      "@id": "oceantoken:usage.completion_tokens",
      "@type": "xsd:integer"
    },
    "usage.total_tokens": {
      "@id": "oceantoken:usage.total_tokens",
      "@type": "xsd:integer"
    },
    "started_at": {
      "@id": "oceantoken:started_at",
      "@type": "xsd:string"
    },
    "ended_at": {
      "@id": "oceantoken:ended_at",
      "@type": "xsd:string"
    },
    "duration_ms": {
      "@id": "oceantoken:duration_ms",
      "@type": "xsd:integer"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "OceanToken AI API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects OceanToken AI'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-19) from openapi/_ae-authored/oceantoken-ai-openapi-generated.yml.",
  "dcterms:created": "2026-11-19",
  "dcterms:source": [
    "openapi/_ae-authored/oceantoken-ai-openapi-generated.yml"
  ]
}