VDL Plugin SDK

IrSchema

Import from @varavel/vdl-plugin-sdk.

IrSchema: object;

IrSchema exposes the generated runtime helpers for IrSchema.

Type Declaration

NameTypeDescription
hydrate()(input) => IrSchemaHydrates a validated IrSchema value into its runtime representation.
parse()(json) => IrSchemaParses a JSON string into a validated and hydrated IrSchema value.
validate()(input, path?) => string | nullPerforms structural validation for IrSchema (required field presence and basic type shape only); it does not enforce business rules.