Skip to main content
Version: 0.3.0

StringConstraints

age-schema-client v0.3.0


age-schema-client / StringConstraints

Interface: StringConstraints

Defined in: src/schema/types.ts:166

String property constraints

Properties

PropertyTypeDescriptionDefined in
minLength?numberMinimum string lengthsrc/schema/types.ts:170
maxLength?numberMaximum string lengthsrc/schema/types.ts:175
pattern?stringRegular expression patternsrc/schema/types.ts:180
enum?string[]Enumerated allowed valuessrc/schema/types.ts:185
format?stringFormat validation (e.g., 'email', 'uri')src/schema/types.ts:190