Every operation a design accepts, with its fields: the one write path for the editor, the assistant and the API.
This page is generated from the product’s own definitions, so it is always current. To change it, change the product.
Every change to a design is a list of operations applied as one batch: if one operation fails, nothing is applied and the error says which and why. The editor, the assistant and the API all speak this list. Elements are addressed by id (or, in the assistant, by the short alias a read handed out). An optional ifMatch carries an element’s etag so a change is refused when the element moved on since it was read.
page.add
Add an empty page.
Field
Required
Type
Meaning
at
no
integer
Insert position (0 = first). Absent: last.
page.remove
Delete a page and everything on it (and their per-size layouts and visibility rules).
Field
Required
Type
Meaning
page
yes
string | integer
A 1-based page number (as numbered when the batch began; a page added in the batch goes by its id), or a page id.
page.move
Move a page to position to (0 = first).
Field
Required
Type
Meaning
page
yes
string | integer
A 1-based page number (as numbered when the batch began; a page added in the batch goes by its id), or a page id.
to
yes
integer
—
page.duplicate
Copy a page with new ids, keeping per-size layouts and visibility rules. Absent at: right after the original.
Field
Required
Type
Meaning
page
yes
string | integer
A 1-based page number (as numbered when the batch began; a page added in the batch goes by its id), or a page id.
at
no
integer
—
element.create
Create an element of any kind.
Field
Required
Type
Meaning
page
yes
"m" | string | integer
'm' for the master page (drawn on every page), a 1-based page number (as numbered when the batch began), or a page id.
parent
no
string
A group to add it to. Absent: the page itself.
at
no
integer
Stacking position among its siblings (0 = back). Absent: front.
element
yes
object
The element: kind, transform and the kind’s properties; an id is generated when absent. Schema defaults fill everything left out.
element.update
Change an element’s properties.
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
patch
yes
object
Properties to change. transform keys follow the geometry rules (and go to the size variant when one is given); style and config are merged key by key; anything else replaces. id, kind and children cannot change here.
variantId
no
string
A size variant id: write geometry, visibility and font size for that size only. Absent: the base size.
ifMatch
no
string
The element etag a read returned. When the element changed since, the op is refused as stale instead of overwriting the change.
element.delete
Delete an element (a group with everything inside it), with its per-size layouts and visibility rule.
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
ifMatch
no
string
The element etag a read returned. When the element changed since, the op is refused as stale instead of overwriting the change.
element.duplicate
Copy an element (with new ids for it and everything inside it).
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
count
no
integer
How many copies.
dx
no
number
Horizontal offset of each copy from the previous, in points.
dy
no
number
Vertical offset of each copy from the previous, in points.
element.group|element.combine
Wrap elements into a new group whose box is the union of theirs; each keeps its place on the page. element.combine is the same, named for turning imported parts (a circle’s halves and their values) into one composite.
Field
Required
Type
Meaning
ids
yes
string[]
Elements that share one parent (a page or the same group).
name
no
string
—
element.ungroup
Dissolve a group: its children take its place, keeping where they show on the page.
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
element.setZ
Change stacking order among siblings: front, back, one step, or an index (0 = back).
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
How the value is shown: percentage, currency, decimal, date or letter case (the binding’s transform). Absent: a rebind keeps the current format; a fresh binding shows the value as it comes.
When the channel’s rule follows a band set: true replaces it anyway (the channel stops following the set). Absent: such a channel is refused — use bandSet.update to change the bands.
ifMatch
no
string
The element etag a read returned. When the element changed since, the op is refused as stale instead of overwriting the change.
rule.clear
Remove a channel’s rule; the static value shows again.
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
columnId
no
string
—
channelId
yes
string
—
rule.linkBandSet
Make one channel follow a band set: its rule becomes one row per band, re-written whenever the band set changes. Replaces any rule the channel had.
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
columnId
no
string
A table column, for a column’s rule.
channelId
yes
string
—
bandSetId
yes
string
A band set of the design.
fieldId
no
string
The field whose value picks the band. Absent: the field the channel’s rule already reads.
The set: name, basis (number | percent), 2–12 ascending bands {to, color, label?, textColor?, badgePreset?} with the last to: null, optional defaults {textColor, badgePreset} and noData {color, label?, textColor?, badgePreset?} (default grey). With fromBuiltin: only a name to rename the copy.
fromBuiltin
no
string
A built-in band set to copy into the design (the catalog lists them: percentile-quartiles, red-amber-green, severity-4).
id
no
string
Generated when absent.
bandSet.update
Change a band set (every property, column and gauge following it changes with it). Read the overview’s usedBy first: this touches them all.
The fields to change; bands replaces the whole list. Every property following the set is re-written in this op.
bandSet.delete
Delete a band set; what followed it keeps its last rules, no longer linked.
Field
Required
Type
Meaning
bandSetId
yes
string
—
scale.linkBandSet
Make a gauge’s coloured bands follow a band set: its cutoffs as written, in the track’s units (a value read as a fraction is drawn ×100).
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
bandSetId
yes
string | null
The band set a gauge’s bands follow; null stops following.
element.toSplitCircle
Replace an ellipse with a split circle in its box: pie segments with a value text each, white dividers, keeping the ellipse’s id, name and import provenance. Then splitCircle.configure gives it fields and a band set.
Field
Required
Type
Meaning
id
yes
string
A whole ellipse — an imported circle, say — to rebuild in place.
The look: name and any of fill, textColor, icon, iconColor, variant, size, corners. Unspecified fields take the built-in Neutral look; id is generated when absent.
badgePreset.update
Change a saved badge look (every badge using it changes).
Field
Required
Type
Meaning
presetId
yes
string
—
patch
yes
object
—
badgePreset.delete
Delete a saved badge look; badges on it keep their look as their own, rules on it pick Neutral.
Field
Required
Type
Meaning
presetId
yes
string
—
brand.useRole
Make one channel follow a brand role (a colour, a font, the logo) of the record’s brand profile.
Field
Required
Type
Meaning
id
yes
string
An element: the alias a read handed out (e.g. e3kq9a) or its id. Any depth: inside groups too.
Which elements a bulk op acts on: every condition given must hold. Repeat groups match their template children, never generated items.
template
yes
object
An op without its id, run once per matched element. One of: element.update, element.delete, element.duplicate, element.rename, element.setVisibility, slot.unbind, text.setContent, rule.set, rule.clear, brand.useRole.
Expressions
A condition (a visibility rule’s condition) is an expression: a tree of nodes, each an object whose type says which kind it is. Operands are expressions themselves.