River AI, Inc. · JSON-LD Context

River Ai Context

JSON-LD context defining the semantic vocabulary for River Ai from River AI, Inc..

3 Classes 6 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/
river: https://river.ai/schema#

Classes

PostV1ChatCompletionsRequest PostV1ChatCompletionsResponse GetV1ModelsResponse

Properties

Property Type Container
model string
messages list
max_tokens integer
stream boolean
usage
data list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://river.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "river": "https://river.ai/schema#",
    "PostV1ChatCompletionsRequest": "river:PostV1ChatCompletionsRequest",
    "model": {
      "@id": "river:model",
      "@type": "xsd:string"
    },
    "messages": {
      "@id": "river:messages",
      "@container": "@list"
    },
    "max_tokens": {
      "@id": "river:max_tokens",
      "@type": "xsd:integer"
    },
    "stream": {
      "@id": "river:stream",
      "@type": "xsd:boolean"
    },
    "PostV1ChatCompletionsResponse": "river:PostV1ChatCompletionsResponse",
    "usage": {
      "@id": "river:usage"
    },
    "GetV1ModelsResponse": "river:GetV1ModelsResponse",
    "data": {
      "@id": "river:data",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "River AI, Inc. API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects River AI, Inc.'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-10-18) from openapi/_ae-authored/river-ai-openapi-generated.yml.",
  "dcterms:created": "2026-10-18",
  "dcterms:source": [
    "openapi/_ae-authored/river-ai-openapi-generated.yml"
  ]
}