Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove boolean form of exclusive* keywords. #210

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

Merged
awwright merged 1 commit into json-schema-org:master from handrews:excl-no-bool
Dec 29, 2016

Conversation

Copy link
Contributor

@handrews handrews commented Dec 28, 2016

Yet another alternative to #185 and #189. This just drops the boolean keywords and does the minimal changes necessary to implement that.

@epoberezkin, if you want to make it impossible for both minimum and exclusiveMinimum to appear together (and likewise for maximum and exclusiveMaximum) could you please file that as a separate issue like you did with the items and additionalItems dependencies? All of those cases are ones that work without the dependencies but could be more helpful with, so let's discuss that whole concept on its own. Maybe even just broaden #209 to cover all of these meta-schema dependency questions? Then we could sort it all out at once and if it gets sorted before this gets merged (if it ever does) I will update this patch accordingly.

epoberezkin reacted with thumbs up emoji
Copy link
Member

@handrews I think I'd rather make separate PR for all dependencies (exclusiveMaximum and additionalItems). This can be merged as is I think, I've approved.

handrews reacted with hooray emoji

Copy link
Contributor Author

Thanks, @epoberezkin !

@awwright @Relequestual , over to you for final approval.

Copy link
Member

This looks fine, as long as it's clear that implementations are still allowed to implement a superset of functionality (particularly, despite saying "MUST be a number")

handrews reacted with hooray emoji

@awwright awwright merged commit 41fca9f into json-schema-org:master Dec 29, 2016
Copy link
Member

@awwright how can we stop them :)
Some still support required: true form from draft 3...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@epoberezkin epoberezkin epoberezkin approved these changes

Reviewers whose approvals may not affect merge requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /