JSON Document

A JSON Document is a file-kind type assigned to .json files registered in a local corpus. It is one of the built-in extension templates the local server ships with: referencing a .json file from a Sparqdown document gives it this type by default, without any per-corpus configuration.

What the registry stores

The Version graph carries the standard file metadata — a title derived from the filename and the sdg:JsonDocument type assertion. Content is not parsed or retained in the graph — unless the file explicitly declares a CIDA document type in its reserved cida key (e.g. an npm Package Manifest), in which case the declared type's adapter projects a defined slice of the content into the version graph.

Relationship to other types

  • File — the generic fallback file-kind for unmapped extensions.
  • Markdown Document — the built-in file-kind for .md files.
  • RDF Document — the built-in file-kind for RDF serializations, including .jsonld (which matches as RDF, not JSON).
  • npm Package Manifest — a declared-type specialization whose adapter projects a content slice into the graph.