SchemaValidatorConfig
age-schema-client / SchemaValidatorConfig
Interface: SchemaValidatorConfig
Defined in: src/schema/validator.ts:21
Schema validator configuration
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
collectAllErrors? | boolean | Whether to collect all validation errors instead of failing on the first error | src/schema/validator.ts:25 |
validateTypes? | boolean | Whether to validate data types | src/schema/validator.ts:30 |
validateRequired? | boolean | Whether to validate required properties | src/schema/validator.ts:35 |
validateConstraints? | boolean | Whether to validate constraints | src/schema/validator.ts:40 |
allowUnknownProperties? | boolean | Whether to allow unknown properties | src/schema/validator.ts:45 |