namespace _heimdall.helpers.json_schema { /** */ type type_name = ( "null" | "boolean" | "integer" | "float" | "string" | "array" | "object" ); /** * @see https://json-schema.org/ * @see https://json-schema.org/understanding-json-schema/reference/type.html */ export type type_schema = ( { description ?: string; deprecated ?: boolean; } & ( { type : "null"; } | { type : "boolean"; default ?: boolean; enum ?: Array; } | { type : "integer"; default ?: int; enum ?: Array; minimum ?: int; exclusiveMinimum ?: int; maximum ?: int; exclusiveMaximum ?: int; } | { type : "number"; default ?: float; enum ?: Array; minimum ?: float; exclusiveMinimum ?: float; maximum ?: float; exclusiveMaximum ?: float; } | { type : "string"; default ?: string; enum ?: Array; minLength ?: int; maxLength ?: int; pattern ?: string; } | /** * @see https://json-schema.org/understanding-json-schema/reference/object.html#object */ { type : "object"; additionalProperties ?: ( false | type_schema ); properties ?: Record; required ?: Array; unevaluatedProperties ?: boolean; default ?: Object; enum ?: Array; } | { type ?: "array"; items ?: type_schema; default ?: Array; enum ?: Array>; } | { type ?: Array; } | { anyOf ?: Array; } | { allOf ?: Array; } ) ); }