Skip to main content
Version: 0.3.0

SchemaValidatorConfig

age-schema-client v0.3.0


age-schema-client / SchemaValidatorConfig

Interface: SchemaValidatorConfig

Defined in: src/schema/validator.ts:21

Schema validator configuration

Properties

PropertyTypeDescriptionDefined in
collectAllErrors?booleanWhether to collect all validation errors instead of failing on the first errorsrc/schema/validator.ts:25
validateTypes?booleanWhether to validate data typessrc/schema/validator.ts:30
validateRequired?booleanWhether to validate required propertiessrc/schema/validator.ts:35
validateConstraints?booleanWhether to validate constraintssrc/schema/validator.ts:40
allowUnknownProperties?booleanWhether to allow unknown propertiessrc/schema/validator.ts:45