Promptster · JSON-LD Context
Promptster Dev Context
JSON-LD context defining the semantic vocabulary for Promptster Dev from Promptster.
16 Classes
41 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
promptster:
https://promptster.dev/schema#
Classes
Provider
TestPromptRequest
TestPromptResponse
ComparePromptsRequest
ComparePromptsResponse
ToolDefinition
ToolChoice
ToolCall
ResponseMetadata
UsageResponse
HistoryResponse
ProviderError
Error
ProviderToolsUnsupportedError
ProviderPaymentRequiredError
ProviderModelUnavailableError
Properties
| Property | Type | Container |
|---|---|---|
| provider | reference | |
| model | string | |
| prompt | string | |
| max_tokens | integer | |
| temperature | decimal | |
| system_prompt | string | |
| tools | reference | |
| tool_choice | reference | |
| id | string | |
| response | string | |
| tool_calls | reference | |
| finish_reason | reference | |
| metadata | reference | |
| created_at | dateTime | |
| configurations | list | |
| results | list | |
| name | string | |
| description | string | |
| parameters | ||
| arguments | ||
| arguments_raw | string | |
| arguments_parse_error | boolean | |
| input_tokens | integer | |
| output_tokens | integer | |
| total_tokens | integer | |
| response_time_ms | integer | |
| tokens_per_second | decimal | |
| estimated_cost | decimal | |
| reasoning_tokens | integer | |
| cached_input_tokens | integer | |
| user_id | string | |
| tier | string | |
| limits | ||
| usage | ||
| data | list | |
| pagination | ||
| statistics | ||
| type | string | |
| message | string | |
| error | ||
| warnings | list |
JSON-LD Document
{
"@context": {
"@vocab": "https://promptster.dev/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"promptster": "https://promptster.dev/schema#",
"Provider": "promptster:Provider",
"TestPromptRequest": "promptster:TestPromptRequest",
"provider": {
"@id": "promptster:provider",
"@type": "@id"
},
"model": {
"@id": "promptster:model",
"@type": "xsd:string"
},
"prompt": {
"@id": "promptster:prompt",
"@type": "xsd:string"
},
"max_tokens": {
"@id": "promptster:max_tokens",
"@type": "xsd:integer"
},
"temperature": {
"@id": "promptster:temperature",
"@type": "xsd:decimal"
},
"system_prompt": {
"@id": "promptster:system_prompt",
"@type": "xsd:string"
},
"tools": {
"@id": "promptster:tools",
"@type": "@id"
},
"tool_choice": {
"@id": "promptster:tool_choice",
"@type": "@id"
},
"TestPromptResponse": "promptster:TestPromptResponse",
"id": {
"@id": "promptster:id",
"@type": "xsd:string"
},
"response": {
"@id": "promptster:response",
"@type": "xsd:string"
},
"tool_calls": {
"@id": "promptster:tool_calls",
"@type": "@id"
},
"finish_reason": {
"@id": "promptster:finish_reason",
"@type": "@id"
},
"metadata": {
"@id": "promptster:metadata",
"@type": "@id"
},
"created_at": {
"@id": "promptster:created_at",
"@type": "xsd:dateTime"
},
"ComparePromptsRequest": "promptster:ComparePromptsRequest",
"configurations": {
"@id": "promptster:configurations",
"@container": "@list"
},
"ComparePromptsResponse": "promptster:ComparePromptsResponse",
"results": {
"@id": "promptster:results",
"@container": "@list"
},
"ToolDefinition": "promptster:ToolDefinition",
"name": {
"@id": "promptster:name",
"@type": "xsd:string"
},
"description": {
"@id": "promptster:description",
"@type": "xsd:string"
},
"parameters": {
"@id": "promptster:parameters"
},
"ToolChoice": "promptster:ToolChoice",
"ToolCall": "promptster:ToolCall",
"arguments": {
"@id": "promptster:arguments"
},
"arguments_raw": {
"@id": "promptster:arguments_raw",
"@type": "xsd:string"
},
"arguments_parse_error": {
"@id": "promptster:arguments_parse_error",
"@type": "xsd:boolean"
},
"ResponseMetadata": "promptster:ResponseMetadata",
"input_tokens": {
"@id": "promptster:input_tokens",
"@type": "xsd:integer"
},
"output_tokens": {
"@id": "promptster:output_tokens",
"@type": "xsd:integer"
},
"total_tokens": {
"@id": "promptster:total_tokens",
"@type": "xsd:integer"
},
"response_time_ms": {
"@id": "promptster:response_time_ms",
"@type": "xsd:integer"
},
"tokens_per_second": {
"@id": "promptster:tokens_per_second",
"@type": "xsd:decimal"
},
"estimated_cost": {
"@id": "promptster:estimated_cost",
"@type": "xsd:decimal"
},
"reasoning_tokens": {
"@id": "promptster:reasoning_tokens",
"@type": "xsd:integer"
},
"cached_input_tokens": {
"@id": "promptster:cached_input_tokens",
"@type": "xsd:integer"
},
"UsageResponse": "promptster:UsageResponse",
"user_id": {
"@id": "promptster:user_id",
"@type": "xsd:string"
},
"tier": {
"@id": "promptster:tier",
"@type": "xsd:string"
},
"limits": {
"@id": "promptster:limits"
},
"usage": {
"@id": "promptster:usage"
},
"HistoryResponse": "promptster:HistoryResponse",
"data": {
"@id": "promptster:data",
"@container": "@list"
},
"pagination": {
"@id": "promptster:pagination"
},
"statistics": {
"@id": "promptster:statistics"
},
"ProviderError": "promptster:ProviderError",
"type": {
"@id": "promptster:type",
"@type": "xsd:string"
},
"message": {
"@id": "promptster:message",
"@type": "xsd:string"
},
"Error": "promptster:Error",
"error": {
"@id": "promptster:error"
},
"ProviderToolsUnsupportedError": "promptster:ProviderToolsUnsupportedError",
"ProviderPaymentRequiredError": "promptster:ProviderPaymentRequiredError",
"ProviderModelUnavailableError": "promptster:ProviderModelUnavailableError",
"warnings": {
"@id": "promptster:warnings",
"@container": "@list"
}
},
"@type": "schema:Dataset",
"schema:name": "Promptster API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Promptster'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-22) from openapi/promptster-dev-openapi.yaml.",
"dcterms:created": "2026-11-22",
"dcterms:source": [
"openapi/promptster-dev-openapi.yaml"
]
}