{
  "@context": {
    "@vocab": "https://ninjachat.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "ninjachat": "https://ninjachat.ai/schema#",
    "RerankResponse": "ninjachat:RerankResponse",
    "model": {
      "@id": "ninjachat:model",
      "@type": "xsd:string"
    },
    "provider": {
      "@id": "ninjachat:provider",
      "@type": "xsd:string"
    },
    "results": {
      "@id": "ninjachat:results",
      "@container": "@list"
    },
    "usage": {
      "@id": "ninjachat:usage"
    },
    "cost_usd": {
      "@id": "ninjachat:cost_usd",
      "@type": "xsd:decimal"
    },
    "request_id": {
      "@id": "ninjachat:request_id",
      "@type": "xsd:string"
    },
    "ErrorResponse": "ninjachat:ErrorResponse",
    "error": {
      "@id": "ninjachat:error"
    },
    "RerankRequest": "ninjachat:RerankRequest",
    "query": {
      "@id": "ninjachat:query",
      "@type": "xsd:string"
    },
    "documents": {
      "@id": "ninjachat:documents",
      "@container": "@list"
    },
    "top_n": {
      "@id": "ninjachat:top_n",
      "@type": "xsd:integer"
    },
    "return_documents": {
      "@id": "ninjachat:return_documents",
      "@type": "xsd:boolean"
    },
    "truncation": {
      "@id": "ninjachat:truncation",
      "@type": "xsd:boolean"
    },
    "SpeechRequest": "ninjachat:SpeechRequest",
    "input": {
      "@id": "ninjachat:input",
      "@type": "xsd:string"
    },
    "voice": {
      "@id": "ninjachat:voice",
      "@type": "xsd:string"
    },
    "response_format": {
      "@id": "ninjachat:response_format",
      "@type": "xsd:string"
    },
    "speed": {
      "@id": "ninjachat:speed",
      "@type": "xsd:decimal"
    },
    "EmbeddingsResponse": "ninjachat:EmbeddingsResponse",
    "object": {
      "@id": "ninjachat:object",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "ninjachat:data",
      "@container": "@list"
    },
    "EmbeddingsRequest": "ninjachat:EmbeddingsRequest",
    "dimensions": {
      "@id": "ninjachat:dimensions",
      "@type": "xsd:integer"
    },
    "encoding_format": {
      "@id": "ninjachat:encoding_format",
      "@type": "xsd:string"
    },
    "input_type": {
      "@id": "ninjachat:input_type",
      "@type": "xsd:string"
    },
    "user": {
      "@id": "ninjachat:user",
      "@type": "xsd:string"
    },
    "ProviderAttemptReceipt": "ninjachat:ProviderAttemptReceipt",
    "outcome": {
      "@id": "ninjachat:outcome",
      "@type": "xsd:string"
    },
    "attempt_index": {
      "@id": "ninjachat:attempt_index",
      "@type": "xsd:integer"
    },
    "RouterDecisionSummary": "ninjachat:RouterDecisionSummary",
    "id": {
      "@id": "ninjachat:id",
      "@type": "xsd:string"
    },
    "task": {
      "@id": "ninjachat:task",
      "@type": "xsd:string"
    },
    "classified_by": {
      "@id": "ninjachat:classified_by",
      "@type": "xsd:string"
    },
    "override": {
      "@id": "ninjachat:override",
      "@type": "xsd:string"
    },
    "reasoning": {
      "@id": "ninjachat:reasoning",
      "@type": "xsd:string"
    },
    "candidates": {
      "@id": "ninjachat:candidates",
      "@container": "@list"
    },
    "considered": {
      "@id": "ninjachat:considered",
      "@container": "@list"
    },
    "RoutingSummary": "ninjachat:RoutingSummary",
    "strategy": {
      "@id": "ninjachat:strategy",
      "@type": "xsd:string"
    },
    "requested_models": {
      "@id": "ninjachat:requested_models",
      "@container": "@list"
    },
    "resolved_model": {
      "@id": "ninjachat:resolved_model",
      "@type": "xsd:string"
    },
    "provider_attempts": {
      "@id": "ninjachat:provider_attempts",
      "@container": "@list"
    },
    "fallbacks_allowed": {
      "@id": "ninjachat:fallbacks_allowed",
      "@type": "xsd:boolean"
    },
    "data_policy": {
      "@id": "ninjachat:data_policy",
      "@type": "xsd:string"
    },
    "caching": {
      "@id": "ninjachat:caching",
      "@type": "xsd:string"
    },
    "source": {
      "@id": "ninjachat:source",
      "@type": "xsd:string"
    },
    "router": {
      "@id": "ninjachat:router",
      "@type": "@id"
    },
    "ResponseObject": "ninjachat:ResponseObject",
    "created_at": {
      "@id": "ninjachat:created_at",
      "@type": "xsd:integer"
    },
    "status": {
      "@id": "ninjachat:status",
      "@type": "xsd:string"
    },
    "incomplete_details": {
      "@id": "ninjachat:incomplete_details"
    },
    "instructions": {
      "@id": "ninjachat:instructions",
      "@type": "xsd:string"
    },
    "max_output_tokens": {
      "@id": "ninjachat:max_output_tokens",
      "@type": "xsd:integer"
    },
    "output": {
      "@id": "ninjachat:output",
      "@container": "@list"
    },
    "output_text": {
      "@id": "ninjachat:output_text",
      "@type": "xsd:string"
    },
    "parallel_tool_calls": {
      "@id": "ninjachat:parallel_tool_calls",
      "@type": "xsd:boolean"
    },
    "previous_response_id": {
      "@id": "ninjachat:previous_response_id"
    },
    "store": {
      "@id": "ninjachat:store",
      "@type": "xsd:boolean"
    },
    "routing": {
      "@id": "ninjachat:routing",
      "@type": "@id"
    },
    "metadata": {
      "@id": "ninjachat:metadata"
    },
    "ChatReasoning": "ninjachat:ChatReasoning",
    "effort": {
      "@id": "ninjachat:effort",
      "@type": "xsd:string"
    },
    "max_tokens": {
      "@id": "ninjachat:max_tokens",
      "@type": "xsd:integer"
    },
    "enabled": {
      "@id": "ninjachat:enabled",
      "@type": "xsd:boolean"
    },
    "RoutingPolicy": "ninjachat:RoutingPolicy",
    "providers": {
      "@id": "ninjachat:providers"
    },
    "allow_fallbacks": {
      "@id": "ninjachat:allow_fallbacks",
      "@type": "xsd:boolean"
    },
    "require_parameters": {
      "@id": "ninjachat:require_parameters",
      "@type": "xsd:boolean"
    },
    "max_cost_usd": {
      "@id": "ninjachat:max_cost_usd",
      "@type": "xsd:decimal"
    },
    "ResponsesRequest": "ninjachat:ResponsesRequest",
    "content_filter": {
      "@id": "ninjachat:content_filter",
      "@type": "xsd:boolean"
    },
    "models": {
      "@id": "ninjachat:models",
      "@container": "@list"
    },
    "temperature": {
      "@id": "ninjachat:temperature",
      "@type": "xsd:decimal"
    },
    "top_p": {
      "@id": "ninjachat:top_p",
      "@type": "xsd:decimal"
    },
    "stream": {
      "@id": "ninjachat:stream",
      "@type": "xsd:boolean"
    },
    "tools": {
      "@id": "ninjachat:tools",
      "@container": "@list"
    },
    "tool_choice": {
      "@id": "ninjachat:tool_choice"
    },
    "text": {
      "@id": "ninjachat:text"
    },
    "AnthropicMessagesRequest": "ninjachat:AnthropicMessagesRequest",
    "messages": {
      "@id": "ninjachat:messages",
      "@container": "@list"
    },
    "system": {
      "@id": "ninjachat:system"
    },
    "stop_sequences": {
      "@id": "ninjachat:stop_sequences",
      "@container": "@list"
    },
    "output_config": {
      "@id": "ninjachat:output_config"
    },
    "ChatUsage": "ninjachat:ChatUsage",
    "prompt_tokens": {
      "@id": "ninjachat:prompt_tokens",
      "@type": "xsd:integer"
    },
    "completion_tokens": {
      "@id": "ninjachat:completion_tokens",
      "@type": "xsd:integer"
    },
    "total_tokens": {
      "@id": "ninjachat:total_tokens",
      "@type": "xsd:integer"
    },
    "prompt_tokens_details": {
      "@id": "ninjachat:prompt_tokens_details"
    },
    "completion_tokens_details": {
      "@id": "ninjachat:completion_tokens_details"
    },
    "ChatCompletionResponse": "ninjachat:ChatCompletionResponse",
    "cost": {
      "@id": "ninjachat:cost"
    },
    "balance": {
      "@id": "ninjachat:balance",
      "@type": "xsd:string"
    },
    "created": {
      "@id": "ninjachat:created",
      "@type": "xsd:integer"
    },
    "choices": {
      "@id": "ninjachat:choices",
      "@container": "@list"
    },
    "ChatCompletionsRequest": "ninjachat:ChatCompletionsRequest",
    "max_completion_tokens": {
      "@id": "ninjachat:max_completion_tokens",
      "@type": "xsd:integer"
    },
    "stop": {
      "@id": "ninjachat:stop"
    },
    "frequency_penalty": {
      "@id": "ninjachat:frequency_penalty",
      "@type": "xsd:decimal"
    },
    "presence_penalty": {
      "@id": "ninjachat:presence_penalty",
      "@type": "xsd:decimal"
    },
    "seed": {
      "@id": "ninjachat:seed",
      "@type": "xsd:integer"
    },
    "stream_options": {
      "@id": "ninjachat:stream_options"
    },
    "PresetChatCompletionsRequest": "ninjachat:PresetChatCompletionsRequest",
    "PublicModelHistoryRow": "ninjachat:PublicModelHistoryRow",
    "date": {
      "@id": "ninjachat:date",
      "@type": "xsd:string"
    },
    "successRate": {
      "@id": "ninjachat:successRate",
      "@type": "xsd:decimal"
    },
    "p50Ms": {
      "@id": "ninjachat:p50Ms",
      "@type": "xsd:decimal"
    },
    "p95Ms": {
      "@id": "ninjachat:p95Ms",
      "@type": "xsd:decimal"
    },
    "p99Ms": {
      "@id": "ninjachat:p99Ms",
      "@type": "xsd:decimal"
    },
    "medianTtftMs": {
      "@id": "ninjachat:medianTtftMs",
      "@type": "xsd:decimal"
    },
    "tokensPerSec": {
      "@id": "ninjachat:tokensPerSec",
      "@type": "xsd:decimal"
    },
    "completionRate": {
      "@id": "ninjachat:completionRate",
      "@type": "xsd:decimal"
    },
    "medianGenerationMs": {
      "@id": "ninjachat:medianGenerationMs",
      "@type": "xsd:decimal"
    },
    "PublicModel": "ninjachat:PublicModel",
    "owned_by": {
      "@id": "ninjachat:owned_by",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "ninjachat:name",
      "@type": "xsd:string"
    },
    "modality": {
      "@id": "ninjachat:modality",
      "@type": "xsd:string"
    },
    "servable": {
      "@id": "ninjachat:servable",
      "@type": "xsd:boolean"
    },
    "description": {
      "@id": "ninjachat:description",
      "@type": "xsd:string"
    },
    "capabilities": {
      "@id": "ninjachat:capabilities",
      "@container": "@list"
    },
    "contextWindow": {
      "@id": "ninjachat:contextWindow",
      "@type": "xsd:decimal"
    },
    "maxOutputTokens": {
      "@id": "ninjachat:maxOutputTokens",
      "@type": "xsd:decimal"
    },
    "pricing": {
      "@id": "ninjachat:pricing"
    },
    "supportedParameters": {
      "@id": "ninjachat:supportedParameters",
      "@container": "@list"
    },
    "brand": {
      "@id": "ninjachat:brand",
      "@type": "xsd:string"
    },
    "virtual": {
      "@id": "ninjachat:virtual",
      "@type": "xsd:boolean"
    },
    "pricingNote": {
      "@id": "ninjachat:pricingNote",
      "@type": "xsd:string"
    },
    "overlay": {
      "@id": "ninjachat:overlay"
    },
    "history": {
      "@id": "ninjachat:history",
      "@container": "@list"
    },
    "ModelListResponse": "ninjachat:ModelListResponse",
    "total": {
      "@id": "ninjachat:total",
      "@type": "xsd:integer"
    },
    "generated_at": {
      "@id": "ninjachat:generated_at",
      "@type": "xsd:dateTime"
    },
    "ImageGenerationResponse": "ninjachat:ImageGenerationResponse",
    "images": {
      "@id": "ninjachat:images",
      "@container": "@list"
    },
    "storage": {
      "@id": "ninjachat:storage",
      "@type": "xsd:string"
    },
    "ImageGenerationRequest": "ninjachat:ImageGenerationRequest",
    "prompt": {
      "@id": "ninjachat:prompt",
      "@type": "xsd:string"
    },
    "size": {
      "@id": "ninjachat:size",
      "@type": "xsd:string"
    },
    "n": {
      "@id": "ninjachat:n",
      "@type": "xsd:integer"
    },
    "aspect_ratio": {
      "@id": "ninjachat:aspect_ratio",
      "@type": "xsd:string"
    },
    "image": {
      "@id": "ninjachat:image",
      "@type": "@id"
    },
    "reference_images": {
      "@id": "ninjachat:reference_images",
      "@container": "@list"
    },
    "width": {
      "@id": "ninjachat:width",
      "@type": "xsd:integer"
    },
    "height": {
      "@id": "ninjachat:height",
      "@type": "xsd:integer"
    },
    "VideoCreateResponse": "ninjachat:VideoCreateResponse",
    "message": {
      "@id": "ninjachat:message",
      "@type": "xsd:string"
    },
    "trace_request_id": {
      "@id": "ninjachat:trace_request_id",
      "@type": "xsd:string"
    },
    "VideoCreateRequest": "ninjachat:VideoCreateRequest",
    "duration": {
      "@id": "ninjachat:duration",
      "@type": "xsd:integer"
    },
    "image_url": {
      "@id": "ninjachat:image_url",
      "@type": "@id"
    },
    "end_image_url": {
      "@id": "ninjachat:end_image_url",
      "@type": "@id"
    },
    "reference_video": {
      "@id": "ninjachat:reference_video",
      "@type": "@id"
    },
    "reference_audio": {
      "@id": "ninjachat:reference_audio",
      "@type": "@id"
    },
    "generate_audio": {
      "@id": "ninjachat:generate_audio",
      "@type": "xsd:boolean"
    },
    "negative_prompt": {
      "@id": "ninjachat:negative_prompt",
      "@type": "xsd:string"
    },
    "watermark": {
      "@id": "ninjachat:watermark",
      "@type": "xsd:boolean"
    },
    "video_id": {
      "@id": "ninjachat:video_id",
      "@type": "xsd:string"
    },
    "VideoStatusResponse": "ninjachat:VideoStatusResponse",
    "progress": {
      "@id": "ninjachat:progress",
      "@type": "xsd:decimal"
    },
    "video_url": {
      "@id": "ninjachat:video_url",
      "@type": "@id"
    },
    "SearchResponse": "ninjachat:SearchResponse",
    "answer": {
      "@id": "ninjachat:answer",
      "@type": "xsd:string"
    },
    "sources": {
      "@id": "ninjachat:sources",
      "@container": "@list"
    },
    "follow_up_questions": {
      "@id": "ninjachat:follow_up_questions",
      "@container": "@list"
    },
    "SearchRequest": "ninjachat:SearchRequest",
    "group": {
      "@id": "ninjachat:group",
      "@type": "xsd:string"
    },
    "max_results": {
      "@id": "ninjachat:max_results",
      "@type": "xsd:integer"
    },
    "search_depth": {
      "@id": "ninjachat:search_depth",
      "@type": "xsd:string"
    },
    "topic": {
      "@id": "ninjachat:topic",
      "@type": "xsd:string"
    },
    "include_answer": {
      "@id": "ninjachat:include_answer",
      "@type": "xsd:boolean"
    },
    "include_images": {
      "@id": "ninjachat:include_images",
      "@type": "xsd:boolean"
    },
    "UsageResponse": "ninjachat:UsageResponse",
    "period": {
      "@id": "ninjachat:period",
      "@type": "xsd:string"
    },
    "total_requests": {
      "@id": "ninjachat:total_requests",
      "@type": "xsd:integer"
    },
    "total_cost_cents": {
      "@id": "ninjachat:total_cost_cents",
      "@type": "xsd:decimal"
    },
    "total_cost": {
      "@id": "ninjachat:total_cost",
      "@type": "xsd:string"
    },
    "daily": {
      "@id": "ninjachat:daily",
      "@container": "@list"
    },
    "by_model": {
      "@id": "ninjachat:by_model",
      "@container": "@list"
    },
    "by_endpoint": {
      "@id": "ninjachat:by_endpoint",
      "@container": "@list"
    },
    "BalanceResponse": "ninjachat:BalanceResponse",
    "balance_cents": {
      "@id": "ninjachat:balance_cents",
      "@type": "xsd:decimal"
    },
    "currency": {
      "@id": "ninjachat:currency",
      "@type": "xsd:string"
    },
    "RequestRecordResponse": "ninjachat:RequestRecordResponse",
    "timestamp": {
      "@id": "ninjachat:timestamp",
      "@type": "xsd:string"
    },
    "endpoint": {
      "@id": "ninjachat:endpoint",
      "@type": "xsd:string"
    },
    "model_requested": {
      "@id": "ninjachat:model_requested",
      "@type": "xsd:string"
    },
    "tokens": {
      "@id": "ninjachat:tokens"
    },
    "cost_cents": {
      "@id": "ninjachat:cost_cents",
      "@type": "xsd:decimal"
    },
    "metered_cost_cents": {
      "@id": "ninjachat:metered_cost_cents",
      "@type": "xsd:decimal"
    },
    "latency_ms": {
      "@id": "ninjachat:latency_ms",
      "@type": "xsd:decimal"
    },
    "ttfb_ms": {
      "@id": "ninjachat:ttfb_ms",
      "@type": "xsd:decimal"
    },
    "status_code": {
      "@id": "ninjachat:status_code",
      "@type": "xsd:integer"
    },
    "retries": {
      "@id": "ninjachat:retries",
      "@type": "xsd:integer"
    },
    "error_code": {
      "@id": "ninjachat:error_code",
      "@type": "xsd:string"
    },
    "WebhookEvent": "ninjachat:WebhookEvent",
    "WebhookEndpoint": "ninjachat:WebhookEndpoint",
    "url": {
      "@id": "ninjachat:url",
      "@type": "@id"
    },
    "destination": {
      "@id": "ninjachat:destination",
      "@type": "xsd:string"
    },
    "events": {
      "@id": "ninjachat:events",
      "@container": "@list"
    },
    "secret_hint": {
      "@id": "ninjachat:secret_hint",
      "@type": "xsd:string"
    },
    "WebhookListResponse": "ninjachat:WebhookListResponse",
    "endpoints": {
      "@id": "ninjachat:endpoints",
      "@container": "@list"
    },
    "WebhookDelivery": "ninjachat:WebhookDelivery",
    "endpoint_id": {
      "@id": "ninjachat:endpoint_id",
      "@type": "xsd:string"
    },
    "event": {
      "@id": "ninjachat:event",
      "@type": "xsd:string"
    },
    "attempts": {
      "@id": "ninjachat:attempts",
      "@type": "xsd:integer"
    },
    "delivered_at": {
      "@id": "ninjachat:delivered_at",
      "@type": "xsd:dateTime"
    },
    "next_attempt_at": {
      "@id": "ninjachat:next_attempt_at",
      "@type": "xsd:dateTime"
    },
    "last_error": {
      "@id": "ninjachat:last_error",
      "@type": "xsd:string"
    },
    "WebhookDeliveriesResponse": "ninjachat:WebhookDeliveriesResponse",
    "deliveries": {
      "@id": "ninjachat:deliveries",
      "@container": "@list"
    },
    "WebhookCreateResponse": "ninjachat:WebhookCreateResponse",
    "secret": {
      "@id": "ninjachat:secret",
      "@type": "xsd:string"
    },
    "WebhookCreateRequest": "ninjachat:WebhookCreateRequest",
    "WebhookActionResponse": "ninjachat:WebhookActionResponse",
    "updated": {
      "@id": "ninjachat:updated",
      "@type": "xsd:boolean"
    },
    "queued": {
      "@id": "ninjachat:queued",
      "@type": "xsd:boolean"
    },
    "WebhookDeleteResponse": "ninjachat:WebhookDeleteResponse",
    "disabled": {
      "@id": "ninjachat:disabled",
      "@type": "xsd:boolean"
    },
    "WebhookTestResponse": "ninjachat:WebhookTestResponse",
    "delivered": {
      "@id": "ninjachat:delivered",
      "@type": "xsd:boolean"
    },
    "detail": {
      "@id": "ninjachat:detail",
      "@type": "xsd:string"
    },
    "WebhookTestRequest": "ninjachat:WebhookTestRequest",
    "NetworkCatalogResponse": "ninjachat:NetworkCatalogResponse",
    "modalities": {
      "@id": "ninjachat:modalities"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "NinjaChat API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects NinjaChat'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/ninjachat-ai-openapi.json.",
  "dcterms:created": "2026-11-19",
  "dcterms:source": [
    "openapi/ninjachat-ai-openapi.json"
  ]
}