Skip to content

Rule.io SDK


Rule.io SDK / rcml/src / PlaceholderNode

Type Alias: PlaceholderNode

PlaceholderNode = object

Defined in: rcml/src/email/content/json-validator/types.ts:77

A dynamic placeholder atom that will be replaced at render time.

Properties

attrs

attrs: object

Defined in: rcml/src/email/content/json-validator/types.ts:79

max-length

max-length: string | null

Optional maximum character length for the rendered value.

name

name: string

Human-readable display name for the placeholder.

original

original: string

Original source token as it appeared in the RFM source.

type

type: "CustomField" | "Subscriber" | "User" | "RemoteContent" | "Date"

Category of the placeholder.

value

value: string | number | null

The resolved value at generation time, or null if unavailable.


type

type: "placeholder"

Defined in: rcml/src/email/content/json-validator/types.ts:78