Skip to content

Tag

A label that works the same on every record: a namespaced slug with a display name, a colour and a description. The envelope's tags[] holds slugs that resolve to Tag records.

PackSystem
Versionv1 (latest)
URNurn:postware:system:tag
Identitynamespace + slug

Fields

FieldTypeReqNotes
namestringyesthe display form; may carry case and spaces
slugstringyeslowercase segments joined by /; pattern ^[a-z0-9][a-z0-9_-]{0,63}(?:/[a-z0-9][a-z0-9_-]{0,63})*$
namespacestringnonone = workspace-local; sys, a pack name and a source name are reserved; pattern ^[a-z][a-z0-9-]{0,31}$
colorstringno#RRGGBB; pattern ^#[0-9a-fA-F]{6}$
descriptionstringno
applies_tostring[]nomodel names this tag is meant for; absent means any