Context
The context provides a mapping for terms that can be used in the document. For additional details, see the JSON-LD spec.
Defining terms
Section titled “Defining terms”A term can be defined to provide a shorthand:
---"@context": name: http://schema.org/namename: "Example"---Terms can also be used as prefixes:
---"@context": schema: http://schema.org/schema:name: "Example"---Prefixes can also be used to define context terms:
---"@context": schema: http://schema.org/ name: schema:namename: "Example"---Specifying types
Section titled “Specifying types”A term can also include the @type keyword to specify the datatype, in which case @id should be used to specify the IRI the term refers to:
---"@context": schema: http://schema.org/ dateCreated: "@id": schema:dateCreated "@type": schema:Date
dateCreated: "2026-04-27"---Workspace context files
Section titled “Workspace context files”A context can be defined within a workspace file:
"@context": schema: http://schema.org/ xsd: http://www.w3.org/2001/XMLSchema#Documents can use the workspace-relative IRI to include the context:
---"@context": http://example.knowboard.dev/context.yamlldschema:name: "Example document"---Contexts can be combined to reference a workspace context as well as additional inline context:
---"@context": - http://example.knowboard.dev/context.yamlld - name: schema:namename: "Example document"---