Skip to main content

Interface: FlatField

Defined in: packages/core/src/migrate/flatten.ts:26

Properties​

choices?​

optional choices?: string[];

Defined in: packages/core/src/migrate/flatten.ts:39

Resolved choice values, when the element has a fixed list.


name​

name: string;

Defined in: packages/core/src/migrate/flatten.ts:27


path​

path: string;

Defined in: packages/core/src/migrate/flatten.ts:30

JSON pointer to the element, for issue reporting.


repeatPath​

repeatPath: string;

Defined in: packages/core/src/migrate/flatten.ts:36

Dotted names of the enclosing repeats, outermost first, or '' at the root. Two fields with different repeatPath hold data of different cardinality even when the name matches.


required​

required: boolean;

Defined in: packages/core/src/migrate/flatten.ts:37


semanticShape​

semanticShape: string;

Defined in: packages/core/src/migrate/flatten.ts:43

shape minus labels and hints — see semanticShapeOf.


shape​

shape: string;

Defined in: packages/core/src/migrate/flatten.ts:41

Everything except name, so a rename can be detected by shape equality.


type​

type: string;

Defined in: packages/core/src/migrate/flatten.ts:28