Elastix · JSON-LD Context
Elastix Context
JSON-LD context defining the semantic vocabulary for Elastix from Elastix.
12 Classes
40 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
elastix:
https://elastix.example/schema#
Classes
ChatMessage
CreateChatCompletionRequest
Tool
ToolChoiceFunction
ToolCall
ChatCompletion
ChatCompletionChunk
Usage
ReadinessStatus
ModelList
Model
Error
Properties
| Property | Type | Container |
|---|---|---|
| role | string | |
| content | string | |
| tool_calls | list | |
| tool_call_id | string | |
| model | string | |
| messages | list | |
| stream | boolean | |
| max_tokens | integer | |
| temperature | decimal | |
| top_p | decimal | |
| stop | ||
| n | integer | |
| seed | integer | |
| reasoning_effort | string | |
| frequency_penalty | decimal | |
| presence_penalty | decimal | |
| logit_bias | ||
| response_format | ||
| logprobs | boolean | |
| top_logprobs | integer | |
| stream_options | ||
| tools | list | |
| tool_choice | ||
| parallel_tool_calls | boolean | |
| metadata | ||
| type | string | |
| function | ||
| id | string | |
| object | string | |
| created | integer | |
| choices | list | |
| usage | reference | |
| prompt_tokens | integer | |
| completion_tokens | integer | |
| total_tokens | integer | |
| status | string | |
| db | string | |
| data | list | |
| owned_by | string | |
| error |
JSON-LD Document
{
"@context": {
"@vocab": "https://elastix.example/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"elastix": "https://elastix.example/schema#",
"ChatMessage": "elastix:ChatMessage",
"role": {
"@id": "elastix:role",
"@type": "xsd:string"
},
"content": {
"@id": "elastix:content",
"@type": "xsd:string"
},
"tool_calls": {
"@id": "elastix:tool_calls",
"@container": "@list"
},
"tool_call_id": {
"@id": "elastix:tool_call_id",
"@type": "xsd:string"
},
"CreateChatCompletionRequest": "elastix:CreateChatCompletionRequest",
"model": {
"@id": "elastix:model",
"@type": "xsd:string"
},
"messages": {
"@id": "elastix:messages",
"@container": "@list"
},
"stream": {
"@id": "elastix:stream",
"@type": "xsd:boolean"
},
"max_tokens": {
"@id": "elastix:max_tokens",
"@type": "xsd:integer"
},
"temperature": {
"@id": "elastix:temperature",
"@type": "xsd:decimal"
},
"top_p": {
"@id": "elastix:top_p",
"@type": "xsd:decimal"
},
"stop": {
"@id": "elastix:stop"
},
"n": {
"@id": "elastix:n",
"@type": "xsd:integer"
},
"seed": {
"@id": "elastix:seed",
"@type": "xsd:integer"
},
"reasoning_effort": {
"@id": "elastix:reasoning_effort",
"@type": "xsd:string"
},
"frequency_penalty": {
"@id": "elastix:frequency_penalty",
"@type": "xsd:decimal"
},
"presence_penalty": {
"@id": "elastix:presence_penalty",
"@type": "xsd:decimal"
},
"logit_bias": {
"@id": "elastix:logit_bias"
},
"response_format": {
"@id": "elastix:response_format"
},
"logprobs": {
"@id": "elastix:logprobs",
"@type": "xsd:boolean"
},
"top_logprobs": {
"@id": "elastix:top_logprobs",
"@type": "xsd:integer"
},
"stream_options": {
"@id": "elastix:stream_options"
},
"tools": {
"@id": "elastix:tools",
"@container": "@list"
},
"tool_choice": {
"@id": "elastix:tool_choice"
},
"parallel_tool_calls": {
"@id": "elastix:parallel_tool_calls",
"@type": "xsd:boolean"
},
"metadata": {
"@id": "elastix:metadata"
},
"Tool": "elastix:Tool",
"type": {
"@id": "elastix:type",
"@type": "xsd:string"
},
"function": {
"@id": "elastix:function"
},
"ToolChoiceFunction": "elastix:ToolChoiceFunction",
"ToolCall": "elastix:ToolCall",
"id": {
"@id": "elastix:id",
"@type": "xsd:string"
},
"ChatCompletion": "elastix:ChatCompletion",
"object": {
"@id": "elastix:object",
"@type": "xsd:string"
},
"created": {
"@id": "elastix:created",
"@type": "xsd:integer"
},
"choices": {
"@id": "elastix:choices",
"@container": "@list"
},
"usage": {
"@id": "elastix:usage",
"@type": "@id"
},
"ChatCompletionChunk": "elastix:ChatCompletionChunk",
"Usage": "elastix:Usage",
"prompt_tokens": {
"@id": "elastix:prompt_tokens",
"@type": "xsd:integer"
},
"completion_tokens": {
"@id": "elastix:completion_tokens",
"@type": "xsd:integer"
},
"total_tokens": {
"@id": "elastix:total_tokens",
"@type": "xsd:integer"
},
"ReadinessStatus": "elastix:ReadinessStatus",
"status": {
"@id": "elastix:status",
"@type": "xsd:string"
},
"db": {
"@id": "elastix:db",
"@type": "xsd:string"
},
"ModelList": "elastix:ModelList",
"data": {
"@id": "elastix:data",
"@container": "@list"
},
"Model": "elastix:Model",
"owned_by": {
"@id": "elastix:owned_by",
"@type": "xsd:string"
},
"Error": "elastix:Error",
"error": {
"@id": "elastix:error"
}
},
"@type": "schema:Dataset",
"schema:name": "Elastix API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Elastix'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-29) from openapi/elastix-openapi.json.",
"dcterms:created": "2026-11-29",
"dcterms:source": [
"openapi/elastix-openapi.json"
]
}