We model behavior using Matter semantics. For schema we allow any Matter
model that defines a datatype.
Most schema is a ValueModel which explicitly models data.
ClusterModel is also valid schema.
You will see references to "structs" and "lists" throughout this code.
These are Matter's two container types and map to JS objects and arrays
respectively.
If the schema is a ClusterModel, it models a struct with attributes
as fields.
We model behavior using Matter semantics. For schema we allow any Matter model that defines a datatype.
Most schema is a ValueModel which explicitly models data. ClusterModel is also valid schema.
You will see references to "structs" and "lists" throughout this code. These are Matter's two container types and map to JS objects and arrays respectively.
If the schema is a ClusterModel, it models a struct with attributes as fields.