Skip to content

Type Alias: FormulaField ​

FormulaField = object

Defined in: analyzeSchema.ts:27

Describes a single computed field discovered by analyzeSchema.

Properties ​

condition ​

condition: RJSFSchema | true

Defined in: analyzeSchema.ts:41

The schema condition under which this formula is active.

  • true — always active (fields from properties, items, prefixItems, or allOf branches).
  • RJSFSchema — a conditional schema (a oneOf/anyOf branch condition, possibly composed via { allOf: [...] } for nested branches).

contextMode ​

contextMode: ContextMode

Defined in: analyzeSchema.ts:33

Which values are available when evaluating this field's formula.


formula ​

formula: string

Defined in: analyzeSchema.ts:31

The raw formula string from the schema.


path ​

path: (string | number | ArrayIndex)[]

Defined in: analyzeSchema.ts:29

JSON path to the field within the form data. Uniform array item positions are represented by ARRAY_INDEX.

Released under the MIT License.