The serialized shape shared by every SohlEntity, and the base each
subclass's own Data extends. An entity's toJSON() output is valid
Data for its constructor, so new Ctor(x.toJSON(), { parent })
reconstructs x.
Discriminator kind, written on serialization (SohlEntity.toJSON)
and read back on revival. Optional as constructor input — it is derived
from the concrete class, not supplied by callers.
The serialized shape shared by every SohlEntity, and the base each subclass's own
Dataextends. An entity'stoJSON()output is validDatafor its constructor, sonew Ctor(x.toJSON(), { parent })reconstructsx.