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

Is there any chances to get support for oneOf? #200

Closed
harshal123 opened this issue May 10, 2016 · 3 comments
Closed

Is there any chances to get support for oneOf? #200

harshal123 opened this issue May 10, 2016 · 3 comments

Comments

@harshal123
Copy link

harshal123 commented May 10, 2016

No description provided.

@n1k0
Copy link
Collaborator

n1k0 commented May 10, 2016

I'm sorry, what's the question precisely? We have a checkbox widget already.

@harshal123
Copy link
Author

Hi Nicholas,

Thanks for getting back quickly.

json-schema supports four keywords *anyOf, allOf, oneOf, not * intend to
bring logical processing primitives to JSON Schema validation.

They would allow to get rid of:

  • schemas in type;
  • the disallow keyword;
  • the extends keyword.

Here are the complete details.
https://github.com/json-schema/json-schema/wiki/anyOf,-allOf,-oneOf,-not

I am working on json-schema which has oneOf functionality simple checkbox
can't be enough i guess.

Can you help me in this?

On Tue, May 10, 2016 at 6:56 PM, Nicolas Perriault <notifications@github.com

wrote:

I'm sorry, what's the question precisely? We have a checkbox widget
already.


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#200 (comment)

@harshal123 harshal123 changed the title Is there any chances to get support for on-off? Is there any chances to get support for oneOf? May 10, 2016
@n1k0
Copy link
Collaborator

n1k0 commented May 10, 2016

Lol, for some reason I read on/off and not oneOf, I must be tired :D

We already have an issue filed about this in #52, so i'll close this as it's a duplicate.

Side note, bringing support for this is not in our current priorities, but we do certainly accept patches ;)

@n1k0 n1k0 closed this as completed May 11, 2016
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

2 participants