Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Planning to support Draft 8 (2019‑09)? #104

Open
woodongwong opened this issue Mar 18, 2020 · 5 comments
Open

Planning to support Draft 8 (2019‑09)? #104

woodongwong opened this issue Mar 18, 2020 · 5 comments

Comments

@woodongwong
Copy link

No description provided.

@vearutop
Copy link
Member

Yes, but can not provide ETA for that.

@HamzaDevz
Copy link

Hello, still nothing after 3 years ? :)

@vearutop
Copy link
Member

I'm sorry it is taking so long, one of the problems is that for my needs draft-07 is still sufficient, so it is a bit hard to prioritize this upgrade over other things. :(

@edgar-accredify
Copy link

edgar-accredify commented Jan 21, 2025

Makes sense. How about https://json-schema.org/draft/2020-12 then?
format-annotation and format-assertion + regex adjustments to support unicode + dropping of media type, m? :D

Or maybe you can give some short draft of how would you go about implementing support for a new standard so others can take it as a reference and contribute?

@vearutop
Copy link
Member

Now, I haven't written any PHP for a long loooong while, so I'm not even sure I have enough skills for this upgrade. 😅

But I'd be happy to review/accept external contribution.

Or maybe you can give some short draft of how would you go about implementing support for a new standard so others can take it as a reference and contribute?

Originally, I used a custom code generator to create PHP classes for the schema itself, but with further development I was adding new fields manually to avoid breaking changes in the API.

Then, needed behavior could be added/updated using JSON schema test suite as continuous feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants