Unit.
What every unit carries, whatever its type
Figure 1Unitspecified
- kind
- value
- scope
- none
- key
- every unit carries these
- store
- none
- family
- kernel
Fields#
| field | type | required | note |
|---|---|---|---|
id | id | yes | opaque, ordered by time, given once by the kernel; never made from an attribute |
kind | Kind | yes | a registered kind; an unregistered kind cannot be named in code |
key | text | no | for a kind that is the same by construction, made from the input; two units of one kind never share one |
scope | Scope | yes | never widens; a unit made from others lives at the narrowest |
made_at | time | yes | set once |
made_by | Caller | yes | the caller with the run |
trace | id | yes | the run that made or moved it, set on every flow |
Routes that use it#
/v1/read/unitreturns it