ngx-iso-form
Version:
Angular component design Reactive Form using specific JSON. The primary use of this UI library is to design ISO 20022 forms dynamically.
29 lines (28 loc) • 651 B
TypeScript
export interface SchemaElement {
id: string;
name: string;
dataType: string;
minOccurs: string;
maxOccurs: string;
minLength: string;
maxLength: string;
pattern: string;
fractionDigits: string;
totalDigits: string;
minInclusive: string;
maxInclusive: string;
values: string[];
isCurrency: boolean;
xpath: string;
elements: SchemaModel[];
expanded: boolean;
}
export interface SchemaModel extends SchemaElement {
uniqueId?: string;
hidden?: boolean;
value?: string;
multi?: string;
isFormControls?: boolean;
children?: SchemaModel[];
choiceKey?: string;
}