Snippets are small pieces of data that can be visualized on a page. They can represent anything from a simple text string to a complex data structure. Snippets are strongly typed and must conform to a specific schema. You may find the schemas for all registered snippets below.
Schemas are given in the JSON Schema format. Generally snippets require some data to be displayed, and may also include a view field to define the default visual appearance.
Internally we organized snippets into namespaces, which are used to group related snippets. For example, snippets related to a specific measuring device or those associated with a particular workgroup are categorized under relevant namespaces.
The table below lists all available snippet types, automatically generated based on the registered snippets within each namespace.
Type | Description |
---|---|
text | Represents some text on the page, allows to define different fonts, sizes and colours. |
array | Represents an grouping of snippets into one shared array snippet. Mainly useful for complex snippets or reusable templates. |
doodle | Represents a freehand drawing on a page. |
image | Represents an image with options for cropping and scaling. |
link | Represents a link to another external website or resource. |