markspec/component/v1.json

Single BOM component detail payload used by MarkSpec site APIs.

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

Represents a single BOM component entry (CMP namespace) with deployment, allocation, and verification detail. Produced by the site builder at api/entries/component/{display-id}.json for each component in the project. Components use Part-of to build the product tree and Deployable-on for deployment chains.

Quick guide

Properties

PathTypeRequiredDescription
displayIdstringyesHuman-readable display ID (e.g., CMP_BRK_001)
titlestringyesComponent title
nodeTypestringyescomponent, part, module, service, or device
sourcestringyesmarkdown or doc-comment
locationobjectyesSource location where the component was defined
location.filestringyesRelative file path from the project root
location.lineintegeryesLine number (1-based)
location.columnintegerColumn number (1-based)
idstringULID identifier
partOfstring \nullParent component display ID (from Part-of). Null for roots
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
deployedOnlinkTarget \nullDeployment target (from Deployable-on)
allocatedReqslinkTarget[]Requirements allocated to this component
verifiedBylinkTarget[]Verification entries for this component
coverageobjectPer-component coverage summary
coverage.allocatedintegerNumber of allocated requirements
coverage.verifiedintegerNumber of verification entries
urlstringRelative URL to this component's detail page

Common pitfall

partOf is a display ID string, not a linkTarget object — unlike deployedOn which is a full resolved link.