Memtro · JSON-LD Context

Memtro Com Context

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

4 Classes 26 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/
memtro: https://memtro.com/schema#

Classes

Message MemtroOptions ChatRequest ChatResponse

Properties

Property Type Container
role string
content
name string
tool_call_id string
mode string
memory string
retrieve boolean
tools boolean
show_progress boolean
engine string
cache boolean
model string
messages list
stream boolean
stream_options
temperature decimal
top_p decimal
max_tokens integer
max_completion_tokens integer
stop
tool_choice
id string
object string
created integer
choices list
usage

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://memtro.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "memtro": "https://memtro.com/schema#",
    "Message": "memtro:Message",
    "role": {
      "@id": "memtro:role",
      "@type": "xsd:string"
    },
    "content": {
      "@id": "memtro:content"
    },
    "name": {
      "@id": "memtro:name",
      "@type": "xsd:string"
    },
    "tool_call_id": {
      "@id": "memtro:tool_call_id",
      "@type": "xsd:string"
    },
    "MemtroOptions": "memtro:MemtroOptions",
    "mode": {
      "@id": "memtro:mode",
      "@type": "xsd:string"
    },
    "memory": {
      "@id": "memtro:memory",
      "@type": "xsd:string"
    },
    "retrieve": {
      "@id": "memtro:retrieve",
      "@type": "xsd:boolean"
    },
    "tools": {
      "@id": "memtro:tools",
      "@type": "xsd:boolean"
    },
    "show_progress": {
      "@id": "memtro:show_progress",
      "@type": "xsd:boolean"
    },
    "engine": {
      "@id": "memtro:engine",
      "@type": "xsd:string"
    },
    "cache": {
      "@id": "memtro:cache",
      "@type": "xsd:boolean"
    },
    "ChatRequest": "memtro:ChatRequest",
    "model": {
      "@id": "memtro:model",
      "@type": "xsd:string"
    },
    "messages": {
      "@id": "memtro:messages",
      "@container": "@list"
    },
    "stream": {
      "@id": "memtro:stream",
      "@type": "xsd:boolean"
    },
    "stream_options": {
      "@id": "memtro:stream_options"
    },
    "temperature": {
      "@id": "memtro:temperature",
      "@type": "xsd:decimal"
    },
    "top_p": {
      "@id": "memtro:top_p",
      "@type": "xsd:decimal"
    },
    "max_tokens": {
      "@id": "memtro:max_tokens",
      "@type": "xsd:integer"
    },
    "max_completion_tokens": {
      "@id": "memtro:max_completion_tokens",
      "@type": "xsd:integer"
    },
    "stop": {
      "@id": "memtro:stop"
    },
    "tool_choice": {
      "@id": "memtro:tool_choice"
    },
    "ChatResponse": "memtro:ChatResponse",
    "id": {
      "@id": "memtro:id",
      "@type": "xsd:string"
    },
    "object": {
      "@id": "memtro:object",
      "@type": "xsd:string"
    },
    "created": {
      "@id": "memtro:created",
      "@type": "xsd:integer"
    },
    "choices": {
      "@id": "memtro:choices",
      "@container": "@list"
    },
    "usage": {
      "@id": "memtro:usage"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Memtro API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Memtro'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-10) from openapi/_original/memtro-com-api-openapi.yml.",
  "dcterms:created": "2026-11-10",
  "dcterms:source": [
    "openapi/_original/memtro-com-api-openapi.yml"
  ]
}