SchemaDefinition import { SchemaDefinition } from "destack:schema"; Schema definition. export struct SchemaDefinition { kind: SchemaKind; type: Type; name: string; literal: T; element: Schema; count: Schema; elements: [SchemaElement]; parameters: [SchemaElement]; fields: [SchemaField]; variants: [Schema]; returnType: Schema; target: Schema; left: Schema; right: Schema; thenSchema: Schema; elseSchema: Schema; attributes: [Attribute]; constraints: [Constraint]; } language/library/src/schema/schema.ds:123:177 Members kind: SchemaKind Schema kind. type: Type Reflected source type when available. name: string Stable display name when available. literal: T Scalar literal value when this schema describes a literal. element: Schema Element schema for array-like types. count: Schema Count schema for fixed-size arrays. elements: [SchemaElement] Tuple elements. parameters: [SchemaElement] Function parameter schemas. fields: [SchemaField] Object fields. variants: [Schema] Union or intersection variants. returnType: Schema Return schema for callable types. target: Schema Target schema for unary type forms. left: Schema Left schema for binary type forms. right: Schema Right schema for binary type forms. thenSchema: Schema True branch schema for conditional types. elseSchema: Schema False branch schema for conditional types. attributes: [Attribute] Schema attributes. constraints: [Constraint] Schema constraints.