Docs menu

Board file referenceDepends on how Ivy is set up

A board file (a file whose name ends in .ivy-board.yaml) shows the records of one collection as cards in columns. Each column holds one or more values of the group_by field: options of an indexed enum field such as status, or people of an indexed person field for a board by person. filter keeps only the records that match its conditions on indexed fields, card names the fields each card shows under its title, and new says whether new cards go to the bottom or the top of their column. A record whose value no column takes isn’t on the board. How collections and their fields are declared is in the collection file reference.

A board names no flow: a flow’s record trigger watches the board instead (see Flows). How people use boards is in Tasks and boards.

This page lists every field of a board file. It is generated from the same schema Ivy checks the file with, so it always matches what Ivy accepts.

What the check reports

Beyond the fields themselves, the check looks at the space: the collection must exist, group_by must be an indexed enum or person field, every value a column or a filter gives an enum field must be one of its options, the fields a filter or a card names must exist, and a filter’s must be indexed. While the collection’s file is in the trash, the check says the collection is detached.

The assistant sees a board file’s problems in the result whenever it saves one. To check the file in your own editor, use the JSON Schema Ivy serves at /schemas/board.schema.json on your Ivy address. For editors that use the YAML language server, make this the first line of the file: # yaml-language-server: $schema=https://<your Ivy address>/schemas/board.schema.json. In a sandbox, the schemas are in /opt/ivy/schemas/.

File fields

Field Type Required Default Description
card object, see card no What each card shows under its title.
collection text yes The collection whose records the board shows, by name, such as tasks.
columns list of object, see columns yes Left to right, 1 to 12; a record whose value no column takes isn’t on the board.
filter object, see filter no Shows only the records that match every condition.
group_by text yes The field whose value puts a record in a column: an indexed enum field, or an indexed person field for a board by person.
ivy one of board/v1 yes The format version.
new one of bottom, top no bottom Where New card puts a card in its column, and where records created on the board land. bottom: Below the column’s last card. top: Above the column’s first card.
title text yes 1 to 80 characters.

card

Field Type Required Default Description
fields list of text no The fields a card shows, in order, up to 8.

columns

Field Type Required Default Description
name text yes The column’s heading, 1 to 80 characters.
values list of text yes The values of group_by whose records the column holds, each in one column only; a card moved into the column gets the first.

filter

Field Type Required Default Description
all list of object, see filter.all 1 or any: list of object, see filter.all 1 yes Conditions that all hold: each on one field, or any of several.

filter.all 1

Field Type Required Default Description
field text yes An indexed field, the title field, created_at or updated_at.
op one of eq, ne, gt, gte, lt, lte, contains, in, is_empty, not_empty yes eq: Equal to value. ne: Not equal to value. gt: Greater than value: numbers by size, dates by time, text alphabetically. gte: Greater than or equal to value. lt: Less than value. lte: Less than or equal to value. contains: A list that has value as an item, or text that contains value, ignoring case. in: Equal to one of the values of the list. is_empty: Has no value. not_empty: Has a value.
value true or false or number or text or list of true or false or number or text no A text, number or true or false; a list of them for in; left out for is_empty and not_empty.

Example

ivy: board/v1
title: Team board
collection: tasks
group_by: status
columns:
  - name: To do
    values:
      - todo
  - name: Doing
    values:
      - doing
  - name: Done
    values:
      - done
filter:
  all:
    - field: labels
      op: contains
      value: team
card:
  fields:
    - assignees
    - due
    - labels
new: bottom