InlineSchema
An XSD schema stored inline as source text.
Type InlineSchema
type InlineSchema = {
content: string
imports?: Record<string, string>
}An XSD schema stored inline as source text.
Use this form in runtimes without a filesystem, such as Cloudflare Workers or the browser. The bundled Factur-X, XRechnung, and Order-X definitions use it.
Properties
content
stringContents of the root XSD file.
Defined in packages/validators/xsd/src/types.ts:10
imports
Record<string, string>Contents of imported or included XSD files, keyed by file name.
Defined in packages/validators/xsd/src/types.ts:12
Defined in packages/validators/xsd/src/types.ts:8