Skip to content

Value presentation

How operator clients (the TUI, the web app) show a Value, a state entry or an event: its kinds, decided from the instance by rules, and each kind's value and stream representations (openspec value-presentation). The rules are data, shipped as presentation fragments by the owner of the payloads they describe.

A fragment is a representations document (presentation/<id>.json, schema presentation/representations.schema.json) with its decoders (code, for binary formats a rule cannot describe) and its conformance vectors (presentation/<id>.kinds.yaml). The composed mapping is the owners' fragments by id, then the generic one; a user's document matches first and its lists replace the shipped lists of their kinds. A kind defined twice is reported and the later one ignored.

The fragments and the vectors: Presentation fragments. Composing them in a client: Compose the presentation.