Static grammar for dynamic segment conditions. Same for every store except that some activities are platform-specific. Does not include live tags, products, or customers — those come from segmentTokenFieldOptions.
JSON Schema for the conditions object accepted by createDynamicSegment and updateDynamicSegment, generated from the same Zod schema the writer validates.
Parent tokens required in prerequisiteValues. Null: none. 0 (custom-fields): list declarations with no prerequisites, then pass [declarationId] to list values. Country before state is 1; country+state before city is 2.
Parent tokens required in prerequisiteValues. Null: none. 0 (custom-fields): list declarations with no prerequisites, then pass [declarationId] to list values. Country before state is 1; country+state before city is 2.