Extension Syntax
To extend a Standard, declare your new Standard name and reference as usual, then append a colon followed by the parent Standard’s reference prepended with@:
Basic Example
A common use case is modeling different vehicle types. You can extend the basevehicle Standard to create a truck Standard that inherits all vehicle constraints:
TRCK has all of the same constraints as VHL — vin, make, model, and any others defined in vehicle — stored in its own dedicated table.
Adding Extra Constraints
You can give your extended Standard additional constraints by including a constraint block. The extended Standard will contain all parent constraints plus any new ones you define:TRCK inherits all constraints from VHL and adds two more:
owner— a reference to aPER(person) Standard record, required on every truck.max_weight— adoublevalue representing the truck’s maximum weight, optional.
Extension is not inheritance in the runtime sense — it copies the constraint structure at definition time. Changes to the parent Standard’s constraints after extension are not automatically reflected in the extended Standard.