Open
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.x
Current Behavior
As I understand it - The $schema
keyword is used to point to a JSON Schema that describes the shape of a valid JSON schema itself.
The most recent version of the JSON Schema spec is 2020-12 https://json-schema.org/specification.html
If we try use a schema with
"$schema": "https://json-schema.org/draft/2020-12/schema",
RSJF will show a validation error:
no schema with key or ref "https://json-schema.org/draft/2020-12/schema"
Expected Behavior
The most recent version of JSON schema should be supported.
Steps To Reproduce
- Navigate to: https://rjsf-team.github.io/react-jsonschema-form/
- Paste
"$schema": "https://json-schema.org/draft/2020-12/schema",
into the top level of the schema - Submit the form
- Observe the validation error
Environment
Sandbox
Anything else?
No response