Gathering detailed insights and metrics for @gigatorb3/rjsf-validator-ajv6
Gathering detailed insights and metrics for @gigatorb3/rjsf-validator-ajv6
Gathering detailed insights and metrics for @gigatorb3/rjsf-validator-ajv6
Gathering detailed insights and metrics for @gigatorb3/rjsf-validator-ajv6
A React component for building Web forms from JSON Schema.
npm install @gigatorb3/rjsf-validator-ajv6
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (76.56%)
JavaScript (22.56%)
CSS (0.67%)
MDX (0.19%)
HTML (0.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
15,044 Stars
1,795 Commits
2,268 Forks
162 Watchers
29 Branches
370 Contributors
Updated on Jul 16, 2025
Latest Version
5.0.0-beta.13
Package Id
@gigatorb3/rjsf-validator-ajv6@5.0.0-beta.13
Unpacked Size
189.25 kB
Size
25.28 kB
File Count
14
NPM Version
9.1.2
Node Version
18.12.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
AJV-6 based validator plugin for react-jsonschema-form
.
Explore the docs »
View Playground
·
Report Bug
·
Request Feature
Exports validator-ajv6
plugin for react-jsonschema-form
.
NOTE: This package is deprecated in favor of the
@rjsf/validator-ajv8
and is provided primarily for people upgrading to version 5 who initially want to minimize the validator differences.
@rjsf/utils >= 5.0.0
1yarn add @rjsf/core
1yarn add @rjsf/validator-ajv6
1import { RJSFSchema } from "@rjsf/utils"; 2import Form from '@rjsf/core'; 3import validator from '@rjsf/validator-ajv6'; 4 5const schema: RJSFSchema = { 6 type: 'string', 7}; 8 9<Form schema={schema} validator={validator} />
or, using a more complex example using custom validator with custom formats
1import { RJSFSchema } from "@rjsf/utils"; 2import Form from '@rjsf/core'; 3import { customizeValidator } from '@rjsf/validator-ajv6'; 4 5const customFormats = { 6 'phone-us': /\(?\d{3}\)?[\s-]?\d{3}[\s-]?\d{4}$/ 7}; 8 9const validator = customizeValidator({ 10 customFormats, 11}); 12 13const schema: RJSFSchema = { 14 type: 'string', 15 format: 'phone-us' 16}; 17 18<Form schema={schema} validator={validator} />
or, using a more complex example using a custom with additional meta schema
1import { RJSFSchema } from "@rjsf/utils"; 2import Form from '@rjsf/core'; 3import { customizeValidator } from '@rjsf/validator-ajv6'; 4 5const metaSchemaDraft04 = require("ajv/lib/refs/json-schema-draft-04.json"); 6 7const validator = customizeValidator({ 8 additionalMetaSchemas: [metaSchemaDraft04], 9}); 10 11const schema: RJSFSchema = { 12 "$schema": "http://json-schema.org/draft-04/schema#", 13 type: 'string', 14}; 15 16<Form schema={schema} validator={validator} />
or, using a more complex example using custom validator config override options
1import { RJSFSchema } from "@rjsf/utils"; 2import Form from '@rjsf/core'; 3import { customizeValidator } from '@rjsf/validator-ajv6'; 4 5const validator = customizeValidator({ 6 ajvOptionsOverrides: { 7 $data: true, 8 verbose: true, 9 } 10}); 11 12const schema: RJSFSchema = { 13 type: 'string', 14}; 15 16<Form schema={schema} validator={validator} />
Finally, you can combine both additional meta schemas, custom formats and custom validator config override options.
1import { RJSFSchema } from "@rjsf/utils"; 2import Form from '@rjsf/core'; 3import { customizeValidator } from '@rjsf/validator-ajv6'; 4 5const metaSchemaDraft04 = require("ajv/lib/refs/json-schema-draft-04.json"); 6 7const customFormats = { 8 'phone-us': /\(?\d{3}\)?[\s-]?\d{3}[\s-]?\d{4}$/ 9}; 10 11const validator = customizeValidator({ 12 additionalMetaSchemas: [metaSchemaDraft04], 13 customFormats, 14 ajvOptionsOverrides: { 15 $data: true, 16 verbose: true, 17 } 18}); 19 20const schema: RJSFSchema = { 21 "$schema": "http://json-schema.org/draft-04/schema#", 22 type: 'string', 23 format: 'phone-us' 24}; 25 26<Form schema={schema} validator={validator} />
See the open issues for a list of proposed features (and known issues).
Read our contributors' guide to get started.
rjsf team: https://github.com/orgs/rjsf-team/people
GitHub repository: https://github.com/rjsf-team/react-jsonschema-form
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 26/28 approved changesets -- score normalized to 9
Reason
3 existing vulnerabilities detected
Details
Reason
badge detected: InProgress
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More