StateSchema = Record<string, StateFieldDef>
Record
string
StateFieldDef
State schema: a record of field names to their declarations.