Skip to content

Segment

Defined in: schema.ts:156

A named, reusable audience — a tree of conditions (top-level AND, with nested AND/OR/NOT groups) referenced by targeting rules via the inSegment operator. Segments are an authoring convenience: a single-key inSegment is resolved (inlined) into rules at compile time; array inSegment and notInSegment are embedded in the snapshot and evaluated at runtime.

Property Type Description Defined in
conditions ConditionNode[] Top-level AND of ConditionNodes. May reference other segments via inSegment. schema.ts:161
description? string - schema.ts:159
key string - schema.ts:157
name? string - schema.ts:158