markspec/search/v1.json

Flat record array used for client-side search indexing.

Schema URL: https://driftsys.github.io/schemas/markspec/search/v1.json

Flat array optimized for client-side search with MiniSearch. Each element contains the fields needed for indexing and the stored fields returned in search results. Produced at api/search.json and lazy-loaded on first keystroke in the site search UI.

Quick guide

Properties

Root type is array. Each element:

PathTypeRequiredDescription
[].displayIdstringyesHuman-readable display ID
[].titlestringyesEntry title
[].bodystringyesTruncated body text for indexing
[].entryTypestringyesEntry type abbreviation
[].urlstringyesRelative URL to the entry's page
[].labelsstring[]Labels attached to this entry

Common pitfall

Do not infer full traceability links from search payloads.