Reference 03 shape - daveclay/velle GitHub Wiki

3. shape

A shape declares one kind of record your system keeps: its name and its typed properties.

shape Customer {
    name: text
    email: text
}

Each line names a property and its type. Instances of a plain shape are created only by rules. A shape declared act can also be submitted from outside the system.

Shape names start uppercase, property names lowercase (checks.md, F1).

Related: §6 relationships, §7 derived properties, §8 refinements.