/** * Data format of the GENERATED element-ordering tables (src/schema/generated). * * The tables are plain, data-only const objects produced by * `npx tsx tools/codegen/generate.ts` from the ECMA-376 5th edition * Transitional XML Schemas (see tools/codegen/schemas.manifest.json for the * pinned source). One module per schema family keeps imports tree-shakable. * * Encoding (compact and diff-stable): * - `ns` — the namespace URIs this family's tables reference; every other * field refers to them by index. The empty string '' denotes * "no namespace" (unqualified attributes). * - `children` — key `${nsIndex}:${localName}` of a PARENT element; value * a flat triple list `[childNsIndex, childLocalName, position, ...]` in * schema order. `position` is the 0-based slot in the flattened content * model; children sharing a position come from one collapsed * xsd:choice/xsd:all group ("same position, any of these"). * - `attributeDefaults` — key as above; value a flat triple list * `[attrNsIndex, attrLocalName, defaultValue, ...]` for attributes whose * XSD declaration carries a default (or fixed) value. */ /** Element-ordering tables and attribute defaults for one schema family. */ export interface SchemaFamily { /** Namespace URIs referenced by index; '' means "no namespace". */ readonly ns: readonly string[]; /** Parent element → flat [childNsIndex, childLocalName, position, ...]. */ readonly children: Readonly>; /** Element → flat [attrNsIndex, attrLocalName, defaultValue, ...]. */ readonly attributeDefaults: Readonly>; } //# sourceMappingURL=types.d.ts.map