Persisted data shape for a body zone.

interface Data {
    __kind?: string;
    name?: string;
    probWeight: number;
    shortcode: string;
}

Hierarchy (View Summary)

Properties

__kind?: string

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.

name?: string

Display name of the zone (e.g. "Arms"); falls back to the shortcode.

probWeight: number

How many zone numbers this zone claims; sizes its run of BodyZone.zoneNumbers. 0 makes the zone unrollable. Read straight off the persisted data — never modifier-wrapped, since the runs are positional across all zones.

shortcode: string

Unique zone identifier within the body structure.