draft-04 is no longer the most broadly implemented draft
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- json
- Domain
- documentation
Research direction
Review the contributing guidelines and README, and verify the implementation counts in _data/validator-libraries-modern.yml alongside the editor support listed in the issue. Resolve whether the project should recommend draft-07, then update the agreed guidance; the work is done when the policy is decided and the documentation reflects it.
Written by the indexing model from the issue text.
Description
Description of the feature / enhancement.
The contributing guidelines say:
Use the lowest possible schema draft needed, preferably Draft v4, to ensure interoperability with as many supported editors, IDEs and parsers as possible.
However, among actively maintained implementations (which is what the "modern" part of the filename below means), draft-04 comes in 3rd place (grepping the source for json-schema.org's implementations page):
bash % grep 'draft.*3' _data/validator-libraries-modern.yml | wc -l 7
bash % grep 'draft.*4' _data/validator-libraries-modern.yml | wc -l 35
bash % grep 'draft.*6' _data/validator-libraries-modern.yml | wc -l 38
bash % grep 'draft.*7' _data/validator-libraries-modern.yml | wc -l 48
bash % grep 'draft.*19' _data/validator-libraries-modern.yml | wc -l 21
bash % grep 'draft.*20' _data/validator-libraries-modern.yml | wc -l 21
As for IDEs, that part of the implementations page is done in markdown so not as easy to grep, but after checking the various relevant projects to make sure things are up-to-date, we have:
Altova XMLSpy 2019r3 - 6, 7 appears to now support 2019-09 and 2020-12
Dashjoin JSON Schema editor - (not fully compliant with any draft, partial draft-06)
Hackolade Studio - 4, 6, 7, 2019-09, 2020-12
JSONBuddy - 4, 6, 7, 2019-09
JSONEditor Online - 4, 6, 7
Liquid JSON Schema Editor - 4, 6, 7, 2019-09
Oxygen JSON Editor - 4, 6, 7
Stoplight Studio - 4, 6, 7 now supports OAS 3.1 so presumably JSON Schema 2020-12
Visual Studio Code - 4, 6, 7, 2019-09, 2020-12
WebStorm, IntelliJ IDEA, and other JetBrains IDEs - 4, 6, 7, 2020-12 support is being tracked
Eclipse IDE - (seems to support JSON Schema through various plugins, and I can't figure out what is th emost common setup)
Discarding the editor that doesn't completely support anything, every implementation supports draft-07. Most but not all support draft-04. A few support 2020-12 or are working on it, but not as many as support draft-04.
So, across both categories, the most broadly implemented draft is now draft-07. A draft-07 schema will be usable with 37% more validators than draft-04, and with all of the listed editors that have clear support statements.
At what point can the contribution guidelines be updates to reflect this?
[NOTE: I couldn't figure out what to say about the PR question. I would be happy to make a PR for the README, as that would be trivial, but this is really a policy question for folks to decide, so of course I'm not going to submit a PR for an undecided point that might be rejected.]
Are you making a PR for this?
Yes, I will create a PR.
- Dominant language
- JavaScript
- Stars
- 3.9k
- Forks
- 2.4k
- Avg merge
- 12h 34m
- Merged PRs (30d)
- 134
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SchemaStore/schemastore
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
SchemaStore/schemastore#6712 ·
Maintainers usually reply within 1 day
-
claude-code-settings: serverName pattern rejects the documented plugin: and claude.ai connector namesPossibly taken @PandaHUN777 claimed this 53 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
SchemaStore/schemastore#6430 ·
Maintainers usually reply within 1 day
-
claude-code-settings: add `permissions.blockReadsOutsideWorkingDirectories`Possibly taken @Solaris-star claimed this 46 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
SchemaStore/schemastore#6429 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
SchemaStore/schemastore#6351 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SchemaStore/schemastore#6019 · 4 comments ·
Maintainers usually reply within 1 day
All issues in SchemaStore/schemastore
Similar issues
-
marketing
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#2090 ·
-
area: ui good first issue javascript priority: medium refactor
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fukubie/StockLlama#49 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sunososobro-hub/cloudball#350 · 2 comments ·
Maintainers usually reply within 1 day
-
wpvc
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
10up/embed-block-figma#101 ·