markspec/entry/v1.json

Typed entry payload used by MarkSpec site APIs.

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

Represents a single typed entry (STK, SYS, SRS, SAD, ICD, VAL, SIT, SWT, or custom type) with its resolved traceability links. Produced by the site builder at api/entries/{type}/{display-id}.json for each entry in the project.

Quick guide

Properties

PathTypeRequiredDescription
displayIdstringyesHuman-readable display ID (e.g., SRS_BRK_0001)
titlestringyesEntry title text
entryTypestringyesType abbreviation (e.g., STK, SRS, or custom)
sourcestringyesmarkdown or doc-comment
locationobjectyesSource location where the entry was defined
location.filestringyesRelative file path from the project root
location.lineintegeryesLine number (1-based)
location.columnintegerColumn number (1-based)
idstringULID identifier
bodystringEntry body rendered as Markdown
attributes[]object[]Custom attributes (key, value pairs)
labelsstring[]Labels (e.g., ASIL-B)
createdAtstring (date-time)Creation timestamp
createdBystringCreation author
updatedAtstring (date-time)Latest update timestamp
updatedBystringLatest update author
linksobjectResolved traceability links
links.satisfieslinkTarget[]Entries this entry satisfies
links.satisfiedBylinkTarget[]Entries that satisfy this entry
links.derivedFromlinkTargetEntry this is derived from (singular)
links.derivedTolinkTarget[]Entries derived from this entry
links.allocateslinkTarget[]Components this entry is allocated to
links.allocatedBylinkTarget[]Entries allocated to this component
links.verifieslinkTarget[]Entries this entry verifies
links.verifiedBylinkTarget[]Entries that verify this entry
links.implementslinkTarget[]Entries this entry implements
links.implementedBylinkTarget[]Entries that implement this entry
urlstringRelative URL to this entry's detail page

Common pitfall

derivedFrom is singular in this schema, while most other link fields are arrays.