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

Document the constrained "method" vocabulary #23

Open
waldoj opened this issue Jun 17, 2014 · 3 comments
Open

Document the constrained "method" vocabulary #23

waldoj opened this issue Jun 17, 2014 · 3 comments

Comments

@waldoj
Copy link
Member

waldoj commented Jun 17, 2014

Each method element specifies a method of hunting. Valid values include "archery," "firearms," and "muzzleloader," among others. At a minimum, we should document what the possible values are. Better, we should provide another dataset of machine-readable information defining each of these methods.

@waldoj
Copy link
Member Author

waldoj commented Oct 16, 2014

This, of course, will be part of the schema (per #4), from which we'll generate the schema documentation.

@waldoj
Copy link
Member Author

waldoj commented May 2, 2015

I have to believe that JSON Schema v0.4 addresses this. It has an enum data type, but I think that only allows 1 value, not n values. Maybe combined with oneOf?

@waldoj
Copy link
Member Author

waldoj commented Jul 2, 2015

Or maybe just use pattern?

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

No branches or pull requests

1 participant