Help Center
Data

Creating a schema

How to add a schema and its fields to a project.

Creating a schema

Steps

  1. Open the project, then Data → Schemas.
  2. Click New schema.
  3. Enter a Label (human-friendly: "Players") and a Name (internal identifier used in data bindings: players).
  4. Pick Object (single set of fields) or List (multiple items with the same fields).
  5. Click Create schema.

The schema appears in the list. Click its label (or the fields icon) to open its field list.

Adding fields

  1. On the schema's page, click New field.
  2. Enter a Label. The Name is generated from the label automatically (Player name → player_name); edit it if you want something else.
  3. Pick a Type: Text, Number, Boolean, Color, Image or Dropdown.
  4. Fill in the type-specific options, if any:
    • Text — Multiline text.
    • Number — Min, Max, Step (all optional).
    • Dropdown — Choices, comma-separated (Home, Away).
  5. Optionally set a Default value, and tick Required or Hide from input.
  6. Click Create field.

Once a schema has at least one field, the New field dialog also shows Conditional Rules. See Conditional rules.

Hide from input

A field marked Hide from input gets a hidden badge and is left out of data-entry forms:

  • In the control panel's data edit.
  • On the Graphic Data page used by assigned users.
  • In the dataset editor for users who are not admins or editors. Admins and editors still see the field there.

The field still exists in the data and can still be bound in templates — useful for values that are filled by a mapping or a rule.

Reordering fields

Drag a field by its grip handle on the left. The new order is saved immediately and controls the order of fields in data-entry forms. It has no effect on rendering.

Editing and deleting

Use the edit and delete icons at the end of each row. Every change to a field (create, edit or delete) is applied to all datasets that use the schema straight away: missing fields are filled with their default value and conditional rules are re-run.

Editing after templates exist

Adding a new field is safe. Renaming a field's Name — or the schema's Name — breaks every template binding and mapping binding that uses the old name. The graphic shows empty values until you rebind, and values already stored under the old name are not moved to the new one.

Changing only the Label is always safe.