CanonicAI · JSON-LD Context

Canonicai Com Context

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

10 Classes 37 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/
canonicai: https://canonicai.com/schema#

Classes

Answer AnswerSummary AnswerListResponse AnswerSearchResponse NotFoundError CanonSummary CanonListResponse CanonRecord ConstructMatch ConstructSearchResponse

Properties

Property Type Container
id string
slug string
home string
question string
shortAnswer string
answer string
canonicalUrl reference
citations list
sourcePackets list
status string
generatedBy
url reference
jsonUrl reference
citationCount integer
count integer
answers list
query string
matches list
code string
message string
validSlugCount integer
action_statement string
n_constructs integer
n_source_works integer
date_modified string
canons list
constructs list
relationships list
open_divergences list
coverage
provenance
source_works list
guide_url string
score integer
canon string
name string
definition string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://canonicai.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "canonicai": "https://canonicai.com/schema#",
    "Answer": "canonicai:Answer",
    "id": {
      "@id": "canonicai:id",
      "@type": "xsd:string"
    },
    "slug": {
      "@id": "canonicai:slug",
      "@type": "xsd:string"
    },
    "home": {
      "@id": "canonicai:home",
      "@type": "xsd:string"
    },
    "question": {
      "@id": "canonicai:question",
      "@type": "xsd:string"
    },
    "shortAnswer": {
      "@id": "canonicai:shortAnswer",
      "@type": "xsd:string"
    },
    "answer": {
      "@id": "canonicai:answer",
      "@type": "xsd:string"
    },
    "canonicalUrl": {
      "@id": "canonicai:canonicalUrl",
      "@type": "@id"
    },
    "citations": {
      "@id": "canonicai:citations",
      "@container": "@list"
    },
    "sourcePackets": {
      "@id": "canonicai:sourcePackets",
      "@container": "@list"
    },
    "status": {
      "@id": "canonicai:status",
      "@type": "xsd:string"
    },
    "generatedBy": {
      "@id": "canonicai:generatedBy"
    },
    "AnswerSummary": "canonicai:AnswerSummary",
    "url": {
      "@id": "canonicai:url",
      "@type": "@id"
    },
    "jsonUrl": {
      "@id": "canonicai:jsonUrl",
      "@type": "@id"
    },
    "citationCount": {
      "@id": "canonicai:citationCount",
      "@type": "xsd:integer"
    },
    "AnswerListResponse": "canonicai:AnswerListResponse",
    "count": {
      "@id": "canonicai:count",
      "@type": "xsd:integer"
    },
    "answers": {
      "@id": "canonicai:answers",
      "@container": "@list"
    },
    "AnswerSearchResponse": "canonicai:AnswerSearchResponse",
    "query": {
      "@id": "canonicai:query",
      "@type": "xsd:string"
    },
    "matches": {
      "@id": "canonicai:matches",
      "@container": "@list"
    },
    "NotFoundError": "canonicai:NotFoundError",
    "code": {
      "@id": "canonicai:code",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "canonicai:message",
      "@type": "xsd:string"
    },
    "validSlugCount": {
      "@id": "canonicai:validSlugCount",
      "@type": "xsd:integer"
    },
    "CanonSummary": "canonicai:CanonSummary",
    "action_statement": {
      "@id": "canonicai:action_statement",
      "@type": "xsd:string"
    },
    "n_constructs": {
      "@id": "canonicai:n_constructs",
      "@type": "xsd:integer"
    },
    "n_source_works": {
      "@id": "canonicai:n_source_works",
      "@type": "xsd:integer"
    },
    "date_modified": {
      "@id": "canonicai:date_modified",
      "@type": "xsd:string"
    },
    "CanonListResponse": "canonicai:CanonListResponse",
    "canons": {
      "@id": "canonicai:canons",
      "@container": "@list"
    },
    "CanonRecord": "canonicai:CanonRecord",
    "constructs": {
      "@id": "canonicai:constructs",
      "@container": "@list"
    },
    "relationships": {
      "@id": "canonicai:relationships",
      "@container": "@list"
    },
    "open_divergences": {
      "@id": "canonicai:open_divergences",
      "@container": "@list"
    },
    "coverage": {
      "@id": "canonicai:coverage"
    },
    "provenance": {
      "@id": "canonicai:provenance"
    },
    "source_works": {
      "@id": "canonicai:source_works",
      "@container": "@list"
    },
    "guide_url": {
      "@id": "canonicai:guide_url",
      "@type": "xsd:string"
    },
    "ConstructMatch": "canonicai:ConstructMatch",
    "score": {
      "@id": "canonicai:score",
      "@type": "xsd:integer"
    },
    "canon": {
      "@id": "canonicai:canon",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "canonicai:name",
      "@type": "xsd:string"
    },
    "definition": {
      "@id": "canonicai:definition",
      "@type": "xsd:string"
    },
    "ConstructSearchResponse": "canonicai:ConstructSearchResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "CanonicAI API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects CanonicAI'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/canonicai-com-openapi.json.",
  "dcterms:created": "2026-11-04",
  "dcterms:source": [
    "openapi/canonicai-com-openapi.json"
  ]
}