{"library":"form-schema-validation","type":"library","category":null,"description":"A schema-based object validation library for JavaScript, currently at version 2.0.1. It provides synchronous and asynchronous (Promise-based) validation, supports custom types, one-of type validation, custom validators, and nested schema definitions. Features include validating required/optional fields, object structure, keys, and custom error messages. It is commonly used for form validation but can validate any object. The library offers a simple API with a Schema class and validate method, and allows control over key validation via the validateKeys flag. It is maintained intermittently with low release cadence.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","schema","form","forms","object","validation","validation-schema","schema-validation","js-schema"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install form-schema-validation","imports":["import Schema from 'form-schema-validation'","import type { CustomValidator } from 'form-schema-validation'","import type { SchemaOptions } from 'form-schema-validation'"]},{"cmd":"yarn add form-schema-validation","imports":[]},{"cmd":"pnpm add form-schema-validation","imports":[]}],"homepage":"https://github.com/rstgroup/form-schema-validation","github":"https://github.com/rstgroup/form-schema-validation","docs":null,"changelog":null,"pypi":null,"npm":"form-schema-validation","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}