Defining a Standard Definition
A Standard definition uses thedef keyword to declare each allowed value. The syntax mirrors a regular Standard but contains def entries instead of typed constraints:
def entry maps a name (e.g. red) to a string value (e.g. "RED"). The name is what you use in code; the value is what gets stored in the record.
Using a Standard Definition as a Constraint
Reference a Standard definition in another Standard using thestandard type and the @ prefix on the definition’s reference:
vehicle Standard for the type constraint, the system validates that it matches one of the values defined in the color Standard definition. Any value that does not match will be rejected before the record is saved.
Standard definitions enforce their allowed values at write time. If you add or remove a
def entry from a Standard definition, existing records are not retroactively updated — only new writes are validated against the updated definition.