ContextDB · JSON-LD Context
db Ai Context
JSON-LD context defining the semantic vocabulary for db Ai from ContextDB.
44 Classes
112 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
contextdb:
https://contextdb.ai/schema#
Classes
EpistemicSource
EvolutionOperation
EvolutionOutcome
Error
HealthResponse
AuditPublicKeys
ReadyResponse
Memory
RememberRequest
RememberItem
RememberManyRequest
RememberResponse
RememberManyResponse
EvolveRequest
EvolveResponse
FormationTurn
ExtractMemoriesRequest
FormationCandidate
FormationOperationResult
FormationOperationCounts
FormationResponse
FormationJobRequest
FormationJobStatus
FormationTerminalReason
FormationJobSubmission
FormationCandidateReview
FormationAttempt
FormationJobResult
FormationJob
RecallRequest
RecallResponse
RecallForActionRequest
RecallForActionResponse
ConfirmRequest
ConfirmResponse
ForgetRequest
ForgetResponse
ExecutionReceiptRequest
ExecutionReceipt
ExecutionReceiptResponse
JsonRpcRequest
JsonRpcResponse
PendingConfirmationsRequest
PendingConfirmationsResponse
Properties
| Property | Type | Container |
|---|---|---|
| code | string | |
| message | string | |
| request_id | string | |
| ok | boolean | |
| service | string | |
| sdk_pin | string | |
| schema_version | integer | |
| keys | list | |
| ready | boolean | |
| checks | ||
| id | string | |
| content | string | |
| user_id | string | |
| epistemic_source | reference | |
| confidence | decimal | |
| corroboration_count | integer | |
| action_relevant | boolean | |
| requires_confirmation | boolean | |
| confirmed | boolean | |
| independent_corroboration | integer | |
| injection_suspect | boolean | |
| entity_key | string | |
| attribute_key | string | |
| valid_until | dateTime | |
| superseded_by | string | |
| source | reference | |
| entity | string | |
| attribute | string | |
| event_time | dateTime | |
| items | list | |
| memory | reference | |
| memory_version | reference | |
| primary_wal_lsn | reference | |
| memories | list | |
| operation | reference | |
| target_memory_id | string | |
| metadata | ||
| noop_reason | string | |
| requested_operation | reference | |
| applied_operation | reference | |
| outcome | reference | |
| previous_memory_ids | list | |
| deleted_memory_ids | list | |
| speaker | string | |
| turns | list | |
| mode | string | |
| source_id | string | |
| max_memories | integer | |
| quote | string | |
| turn_indexes | list | |
| candidate_key | string | |
| memory_id | string | |
| added | integer | |
| updated | integer | |
| deleted | integer | |
| noop | integer | |
| run_id | string | |
| status | string | |
| attempts | integer | |
| candidates | list | |
| memory_ids | list | |
| operation_results | list | |
| operation_counts | reference | |
| error_code | string | |
| deadline_seconds | decimal | |
| job_id | string | |
| accepted | boolean | |
| candidate_index | integer | |
| rejection_reason | string | |
| attempt | integer | |
| provider_called | boolean | |
| provider | string | |
| model | string | |
| latency_ms | integer | |
| accepted_count | integer | |
| rejected_count | integer | |
| provider_cost_usd | decimal | |
| failure_reason | string | |
| started_at | dateTime | |
| finished_at | dateTime | |
| terminal_reason | reference | |
| provider_attempts | integer | |
| provider_latency_ms | integer | |
| attempt_count | integer | |
| max_attempts | integer | |
| max_provider_attempts | integer | |
| elapsed_ms | integer | |
| created_at | dateTime | |
| completed_at | dateTime | |
| result | ||
| query | string | |
| top_k | integer | |
| as_of | dateTime | |
| max_context_tokens | integer | |
| min_confidence | decimal | |
| min_memory_version | reference | |
| min_primary_wal_lsn | string | |
| read_consistency | string | |
| context | string | |
| decision_id | string | |
| pending_confirmation_ids | list | |
| erase_partition | boolean | |
| confirmation | string | |
| verified | boolean | |
| action_name | string | |
| external_ref | string | |
| policy_alignment | string | |
| receipt | reference | |
| jsonrpc | string | |
| method | string | |
| params | ||
| error |
JSON-LD Document
{
"@context": {
"@vocab": "https://contextdb.ai/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"contextdb": "https://contextdb.ai/schema#",
"EpistemicSource": "contextdb:EpistemicSource",
"EvolutionOperation": "contextdb:EvolutionOperation",
"EvolutionOutcome": "contextdb:EvolutionOutcome",
"Error": "contextdb:Error",
"code": {
"@id": "contextdb:code",
"@type": "xsd:string"
},
"message": {
"@id": "contextdb:message",
"@type": "xsd:string"
},
"request_id": {
"@id": "contextdb:request_id",
"@type": "xsd:string"
},
"HealthResponse": "contextdb:HealthResponse",
"ok": {
"@id": "contextdb:ok",
"@type": "xsd:boolean"
},
"service": {
"@id": "contextdb:service",
"@type": "xsd:string"
},
"sdk_pin": {
"@id": "contextdb:sdk_pin",
"@type": "xsd:string"
},
"AuditPublicKeys": "contextdb:AuditPublicKeys",
"schema_version": {
"@id": "contextdb:schema_version",
"@type": "xsd:integer"
},
"keys": {
"@id": "contextdb:keys",
"@container": "@list"
},
"ReadyResponse": "contextdb:ReadyResponse",
"ready": {
"@id": "contextdb:ready",
"@type": "xsd:boolean"
},
"checks": {
"@id": "contextdb:checks"
},
"Memory": "contextdb:Memory",
"id": {
"@id": "contextdb:id",
"@type": "xsd:string"
},
"content": {
"@id": "contextdb:content",
"@type": "xsd:string"
},
"user_id": {
"@id": "contextdb:user_id",
"@type": "xsd:string"
},
"epistemic_source": {
"@id": "contextdb:epistemic_source",
"@type": "@id"
},
"confidence": {
"@id": "contextdb:confidence",
"@type": "xsd:decimal"
},
"corroboration_count": {
"@id": "contextdb:corroboration_count",
"@type": "xsd:integer"
},
"action_relevant": {
"@id": "contextdb:action_relevant",
"@type": "xsd:boolean"
},
"requires_confirmation": {
"@id": "contextdb:requires_confirmation",
"@type": "xsd:boolean"
},
"confirmed": {
"@id": "contextdb:confirmed",
"@type": "xsd:boolean"
},
"independent_corroboration": {
"@id": "contextdb:independent_corroboration",
"@type": "xsd:integer"
},
"injection_suspect": {
"@id": "contextdb:injection_suspect",
"@type": "xsd:boolean"
},
"entity_key": {
"@id": "contextdb:entity_key",
"@type": "xsd:string"
},
"attribute_key": {
"@id": "contextdb:attribute_key",
"@type": "xsd:string"
},
"valid_until": {
"@id": "contextdb:valid_until",
"@type": "xsd:dateTime"
},
"superseded_by": {
"@id": "contextdb:superseded_by",
"@type": "xsd:string"
},
"RememberRequest": "contextdb:RememberRequest",
"source": {
"@id": "contextdb:source",
"@type": "@id"
},
"entity": {
"@id": "contextdb:entity",
"@type": "xsd:string"
},
"attribute": {
"@id": "contextdb:attribute",
"@type": "xsd:string"
},
"event_time": {
"@id": "contextdb:event_time",
"@type": "xsd:dateTime"
},
"RememberItem": "contextdb:RememberItem",
"RememberManyRequest": "contextdb:RememberManyRequest",
"items": {
"@id": "contextdb:items",
"@container": "@list"
},
"RememberResponse": "contextdb:RememberResponse",
"memory": {
"@id": "contextdb:memory",
"@type": "@id"
},
"memory_version": {
"@id": "contextdb:memory_version",
"@type": "@id"
},
"primary_wal_lsn": {
"@id": "contextdb:primary_wal_lsn",
"@type": "@id"
},
"RememberManyResponse": "contextdb:RememberManyResponse",
"memories": {
"@id": "contextdb:memories",
"@container": "@list"
},
"EvolveRequest": "contextdb:EvolveRequest",
"operation": {
"@id": "contextdb:operation",
"@type": "@id"
},
"target_memory_id": {
"@id": "contextdb:target_memory_id",
"@type": "xsd:string"
},
"metadata": {
"@id": "contextdb:metadata"
},
"noop_reason": {
"@id": "contextdb:noop_reason",
"@type": "xsd:string"
},
"EvolveResponse": "contextdb:EvolveResponse",
"requested_operation": {
"@id": "contextdb:requested_operation",
"@type": "@id"
},
"applied_operation": {
"@id": "contextdb:applied_operation",
"@type": "@id"
},
"outcome": {
"@id": "contextdb:outcome",
"@type": "@id"
},
"previous_memory_ids": {
"@id": "contextdb:previous_memory_ids",
"@container": "@list"
},
"deleted_memory_ids": {
"@id": "contextdb:deleted_memory_ids",
"@container": "@list"
},
"FormationTurn": "contextdb:FormationTurn",
"speaker": {
"@id": "contextdb:speaker",
"@type": "xsd:string"
},
"ExtractMemoriesRequest": "contextdb:ExtractMemoriesRequest",
"turns": {
"@id": "contextdb:turns",
"@container": "@list"
},
"mode": {
"@id": "contextdb:mode",
"@type": "xsd:string"
},
"source_id": {
"@id": "contextdb:source_id",
"@type": "xsd:string"
},
"max_memories": {
"@id": "contextdb:max_memories",
"@type": "xsd:integer"
},
"FormationCandidate": "contextdb:FormationCandidate",
"quote": {
"@id": "contextdb:quote",
"@type": "xsd:string"
},
"turn_indexes": {
"@id": "contextdb:turn_indexes",
"@container": "@list"
},
"candidate_key": {
"@id": "contextdb:candidate_key",
"@type": "xsd:string"
},
"FormationOperationResult": "contextdb:FormationOperationResult",
"memory_id": {
"@id": "contextdb:memory_id",
"@type": "xsd:string"
},
"FormationOperationCounts": "contextdb:FormationOperationCounts",
"added": {
"@id": "contextdb:added",
"@type": "xsd:integer"
},
"updated": {
"@id": "contextdb:updated",
"@type": "xsd:integer"
},
"deleted": {
"@id": "contextdb:deleted",
"@type": "xsd:integer"
},
"noop": {
"@id": "contextdb:noop",
"@type": "xsd:integer"
},
"FormationResponse": "contextdb:FormationResponse",
"run_id": {
"@id": "contextdb:run_id",
"@type": "xsd:string"
},
"status": {
"@id": "contextdb:status",
"@type": "xsd:string"
},
"attempts": {
"@id": "contextdb:attempts",
"@type": "xsd:integer"
},
"candidates": {
"@id": "contextdb:candidates",
"@container": "@list"
},
"memory_ids": {
"@id": "contextdb:memory_ids",
"@container": "@list"
},
"operation_results": {
"@id": "contextdb:operation_results",
"@container": "@list"
},
"operation_counts": {
"@id": "contextdb:operation_counts",
"@type": "@id"
},
"error_code": {
"@id": "contextdb:error_code",
"@type": "xsd:string"
},
"FormationJobRequest": "contextdb:FormationJobRequest",
"deadline_seconds": {
"@id": "contextdb:deadline_seconds",
"@type": "xsd:decimal"
},
"FormationJobStatus": "contextdb:FormationJobStatus",
"FormationTerminalReason": "contextdb:FormationTerminalReason",
"FormationJobSubmission": "contextdb:FormationJobSubmission",
"job_id": {
"@id": "contextdb:job_id",
"@type": "xsd:string"
},
"FormationCandidateReview": "contextdb:FormationCandidateReview",
"accepted": {
"@id": "contextdb:accepted",
"@type": "xsd:boolean"
},
"candidate_index": {
"@id": "contextdb:candidate_index",
"@type": "xsd:integer"
},
"rejection_reason": {
"@id": "contextdb:rejection_reason",
"@type": "xsd:string"
},
"FormationAttempt": "contextdb:FormationAttempt",
"attempt": {
"@id": "contextdb:attempt",
"@type": "xsd:integer"
},
"provider_called": {
"@id": "contextdb:provider_called",
"@type": "xsd:boolean"
},
"provider": {
"@id": "contextdb:provider",
"@type": "xsd:string"
},
"model": {
"@id": "contextdb:model",
"@type": "xsd:string"
},
"latency_ms": {
"@id": "contextdb:latency_ms",
"@type": "xsd:integer"
},
"accepted_count": {
"@id": "contextdb:accepted_count",
"@type": "xsd:integer"
},
"rejected_count": {
"@id": "contextdb:rejected_count",
"@type": "xsd:integer"
},
"provider_cost_usd": {
"@id": "contextdb:provider_cost_usd",
"@type": "xsd:decimal"
},
"failure_reason": {
"@id": "contextdb:failure_reason",
"@type": "xsd:string"
},
"started_at": {
"@id": "contextdb:started_at",
"@type": "xsd:dateTime"
},
"finished_at": {
"@id": "contextdb:finished_at",
"@type": "xsd:dateTime"
},
"FormationJobResult": "contextdb:FormationJobResult",
"terminal_reason": {
"@id": "contextdb:terminal_reason",
"@type": "@id"
},
"provider_attempts": {
"@id": "contextdb:provider_attempts",
"@type": "xsd:integer"
},
"provider_latency_ms": {
"@id": "contextdb:provider_latency_ms",
"@type": "xsd:integer"
},
"FormationJob": "contextdb:FormationJob",
"attempt_count": {
"@id": "contextdb:attempt_count",
"@type": "xsd:integer"
},
"max_attempts": {
"@id": "contextdb:max_attempts",
"@type": "xsd:integer"
},
"max_provider_attempts": {
"@id": "contextdb:max_provider_attempts",
"@type": "xsd:integer"
},
"elapsed_ms": {
"@id": "contextdb:elapsed_ms",
"@type": "xsd:integer"
},
"created_at": {
"@id": "contextdb:created_at",
"@type": "xsd:dateTime"
},
"completed_at": {
"@id": "contextdb:completed_at",
"@type": "xsd:dateTime"
},
"result": {
"@id": "contextdb:result"
},
"RecallRequest": "contextdb:RecallRequest",
"query": {
"@id": "contextdb:query",
"@type": "xsd:string"
},
"top_k": {
"@id": "contextdb:top_k",
"@type": "xsd:integer"
},
"as_of": {
"@id": "contextdb:as_of",
"@type": "xsd:dateTime"
},
"max_context_tokens": {
"@id": "contextdb:max_context_tokens",
"@type": "xsd:integer"
},
"min_confidence": {
"@id": "contextdb:min_confidence",
"@type": "xsd:decimal"
},
"min_memory_version": {
"@id": "contextdb:min_memory_version",
"@type": "@id"
},
"min_primary_wal_lsn": {
"@id": "contextdb:min_primary_wal_lsn",
"@type": "xsd:string"
},
"read_consistency": {
"@id": "contextdb:read_consistency",
"@type": "xsd:string"
},
"RecallResponse": "contextdb:RecallResponse",
"context": {
"@id": "contextdb:context",
"@type": "xsd:string"
},
"RecallForActionRequest": "contextdb:RecallForActionRequest",
"RecallForActionResponse": "contextdb:RecallForActionResponse",
"decision_id": {
"@id": "contextdb:decision_id",
"@type": "xsd:string"
},
"pending_confirmation_ids": {
"@id": "contextdb:pending_confirmation_ids",
"@container": "@list"
},
"ConfirmRequest": "contextdb:ConfirmRequest",
"ConfirmResponse": "contextdb:ConfirmResponse",
"ForgetRequest": "contextdb:ForgetRequest",
"erase_partition": {
"@id": "contextdb:erase_partition",
"@type": "xsd:boolean"
},
"confirmation": {
"@id": "contextdb:confirmation",
"@type": "xsd:string"
},
"ForgetResponse": "contextdb:ForgetResponse",
"verified": {
"@id": "contextdb:verified",
"@type": "xsd:boolean"
},
"ExecutionReceiptRequest": "contextdb:ExecutionReceiptRequest",
"action_name": {
"@id": "contextdb:action_name",
"@type": "xsd:string"
},
"external_ref": {
"@id": "contextdb:external_ref",
"@type": "xsd:string"
},
"ExecutionReceipt": "contextdb:ExecutionReceipt",
"policy_alignment": {
"@id": "contextdb:policy_alignment",
"@type": "xsd:string"
},
"ExecutionReceiptResponse": "contextdb:ExecutionReceiptResponse",
"receipt": {
"@id": "contextdb:receipt",
"@type": "@id"
},
"JsonRpcRequest": "contextdb:JsonRpcRequest",
"jsonrpc": {
"@id": "contextdb:jsonrpc",
"@type": "xsd:string"
},
"method": {
"@id": "contextdb:method",
"@type": "xsd:string"
},
"params": {
"@id": "contextdb:params"
},
"JsonRpcResponse": "contextdb:JsonRpcResponse",
"error": {
"@id": "contextdb:error"
},
"PendingConfirmationsRequest": "contextdb:PendingConfirmationsRequest",
"PendingConfirmationsResponse": "contextdb:PendingConfirmationsResponse"
},
"@type": "schema:Dataset",
"schema:name": "ContextDB API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects ContextDB'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-04) from openapi/contextdb-ai-openapi.yaml.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/contextdb-ai-openapi.yaml"
]
}