You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
The JSON Schema specification
Notifications You must be signed in to change notification settings
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to fileJSON Schema is a vocabulary that allows you to validate, annotate, and manipulate JSON documents. This repository contains the sources for the work in progress of the next set of JSON Schema IETF Internet Draft (I-D) documents. For the latest released I-Ds, please see the Specification page on the website.
For the current status of issues and pull requests, please see the following labels Labels are assigned based on Sensible Github Labels.
To build the spec files to HTML from the Markdown sources, run npm run build-all . You can also build each individually with npm run build -- filename.md (Example: npm run build -- jsonschema-core.md ). You can also use wildcards to build multiple specs at the same time: npm run build -- jsonschema-*.md . The spec is built using Remark, a markdown engine with good support for plugins and lots of existing plugins we can use.
## Foo ## Bar This is covered in > // --> Renders to "This is covered in [Section 2.3](#foo)" - Link text will use "Section" or "Appendix" as needed
\`\`\`jsonschema "My Fun Title" < "type": "string" >\`\`\`
To build components that are being maintained as IETF Internet-Drafts, run make . The Makefile will create the necessary Python venv for you as part of the regular make target.
make clean will remove all output including the venv. To clean just the spec output and keep the venv, use make spec-clean .
If you want to run xml2rfc manually after running make for the first time, you will need to activate the virtual environment: source .venv/bin/activate .
The version of "xml2rfc" that this project uses is updated by modifying requirements.in and running pip-compile requirements.in .
Descriptions of the xml2rfc, I-D documents, and RFC processes:
Conformance tests for JSON Schema and its vocabularies may be found in their own repository.