SemText

Reference · SemText · Knowledge & documents

<sem-requirement>

SemText element

You write the requirement as the content and set kind, status and priority as attributes. Machines read it as one requirement record; readers see a labelled statement.

A requirement statement with a status and priority. You write the requirement as the content and set kind, status and priority as attributes. Machines read it as one requirement record; readers see a labelled statement. one of `functional`, `non-functional`, `constraint` — the requirement class, drawn into the label chrome. one of `draft`, `approved`, `implemented` — lifecycle token, drawn as a status chip (display-only). free token (e.g. `high`); drawn into the status chip when present. per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Example

sem-requirement.html
source
1 <sem-requirement id="req-session-rotate" kind="functional"
2 status="approved" priority="high">
3 Access tokens MUST rotate at most 15 minutes after issue.
4 </sem-requirement>
render
No shipped runtime for this element — the authored example renders as plain HTML.

Source: spec/schema/sem-requirement.md