ping-identity
    Preparing search index...

    Type Alias JourneyBaseField

    Base shape shared by all normalized callback fields.

    raw is the original native callback payload and serves as the escape hatch to access any field not surfaced by the specific field type.

    type is intentionally not declared here: every member of JourneyNormalizedField declares its own discriminant, which is what makes the union narrow without casts.

    type JourneyBaseField = {
        defaultValue?: JourneyFormValue;
        executionMode: JourneyExecutionMode;
        id: string;
        kind: JourneyFieldKind;
        message?: string;
        options?: JourneyFieldOption[];
        prompt: string;
        raw: JourneyCallback;
        ref: JourneyFieldRef;
        required: boolean;
        requiresUserInput: boolean;
    }
    Index

    Properties

    defaultValue?: JourneyFormValue

    Optional default value derived from callback payload.

    executionMode: JourneyExecutionMode

    Execution mode classification for submit behavior.

    id: string

    Stable internal field key.

    Treat this as an opaque identifier and do not rely on its string format.

    UI-oriented field kind.

    message?: string

    Optional callback message value.

    options?: JourneyFieldOption[]

    Option collection for choice/confirmation callbacks.

    prompt: string

    Prompt text provided by the native callback payload.

    This value may be empty when the callback does not provide a prompt.

    Original native callback payload (escape hatch).

    Typed callback reference for this field.

    required: boolean

    Indicates whether this callback is marked as required by callback payload.

    requiresUserInput: boolean

    Indicates whether user interaction is required before submission.