The mask of a state of type, a state's JSON as StateEventRecord.state carries it: it masks the tree it is given in place where it can and returns the masked state, so a writer gives it a tree of its own. Null when type's state schema masks nothing, so such a state is written as it is.