Public declaration syntax from forge-ts/packages/forge-core/src/schema.ts Original source SHA-256: e8587842c3c0f99372a44df698ad9b07d1cd2185b457a8d52cea0144b0ec2c24 Function bodies and constant values are omitted. This is not the complete implementation. Source line 18 export const SchemaType /* type inferred in source */; Source line 29 export type SchemaType = (typeof SchemaType)[keyof typeof SchemaType]; Source line 45 export class JsonSchema { readonly type: SchemaType; descriptionText?: string; propertiesMap?: Map; requiredFields?: string[]; additionalPropertiesAllowed?: boolean; itemsSchema?: JsonSchema; enumValuesList?: unknown[]; minimumValue?: number; maximumValue?: number; minLengthValue?: number; maxLengthValue?: number; static string(): JsonSchema; static number(): JsonSchema; static integer(): JsonSchema; static boolean(): JsonSchema; static array(): JsonSchema; static object(): JsonSchema; static null(): JsonSchema; description(desc: string): this; property(name: string, schema: JsonSchema): this; required(name: string): this; items(schema: JsonSchema): this; enumValues(values: unknown[]): this; minimum(min: number): this; maximum(max: number): this; minLength(len: number): this; maxLength(len: number): this; additionalProperties(allowed: boolean): this; validate(value: unknown): void; toJSON(): Record; }