Skip to content

Documentation / @sw-file-lib/xml / xml-schema / SchemaInput

Type Alias: SchemaInput ​

ts
type SchemaInput = SwXmlNode | string | undefined;

Defined in: packages/xml/src/xml-schema/types.ts:87

A value accepted by schemas.

Top-level schemas usually receive an SwXmlNode. Primitive schemas may receive an attribute string when they are used as fields in an object schema.