UNPKG

@tsed/schema

Version:
63 lines (62 loc) 1.76 kB
/** * JSON Schema properties for composition keywords (oneOf, allOf, anyOf). * * These properties define schema composition, allowing multiple schemas to be * combined using different logical operators. * * @public */ export declare const MANY_OF_PROPERTIES: string[]; /** * JSON Schema properties specific to string type validation. * * These properties control string length constraints, pattern matching, * and format validation (e.g., email, uri, date-time). * * @public */ export declare const STRING_PROPERTIES: string[]; /** * JSON Schema properties specific to boolean type validation. * * Currently empty as boolean types have no specific validation properties * beyond the type itself. * * @public */ export declare const BOOLEAN_PROPERTIES: never[]; /** * JSON Schema properties specific to number and integer type validation. * * These properties control numeric range constraints and divisibility rules. * * @public */ export declare const NUMBER_PROPERTIES: string[]; /** * JSON Schema properties specific to array type validation. * * These properties control array size constraints, uniqueness requirements, * item schemas, and containment rules. * * @public */ export declare const ARRAY_PROPERTIES: string[]; /** * JSON Schema properties specific to object type validation. * * These properties control object property constraints, pattern-based properties, * and property dependencies. * * @public */ export declare const OBJECT_PROPERTIES: string[]; /** * JSON Schema properties common to all types. * * These properties can be applied to any schema regardless of its type, * defining constant values or enumerated options. * * @public */ export declare const COMMON_PROPERTIES: string[];