-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use JSON Schema in block definitions? #2
Comments
Also, at a minimum we should probably use JSON Schema for specing the block definition, request/response, and pipeline formats. |
Yeah that looks interesting. Where can I actually read about it? When I On Wed, Nov 28, 2012 at 5:03 PM, Tom Robinson [email protected]:
Jeff Lindsay |
That example was from the spec proposal: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-3 This tool is kind of cool: http://www.jsonschema.net/ |
I wholeheartedly support co-opting existing specifications when That said, I'm trying to figure out what kind of direct benefits would be On Fri, Nov 30, 2012 at 2:07 AM, Tom Robinson [email protected]:
V/R Matthew Hudson |
No, you're right. I do like their "properties" format (object instead of array), but don't think we need to be strictly JSON Schema compatible.
I do think it would be worth codifying some of the specs in JSON Schema, or some other machine readable description we can use for validation. |
JSON Schema looks a lot like what we have for specifying inputs/outputs. I think we all prefer using existing standards where it makes sense. Does it make sense?
Example JSON Schema from http://tools.ietf.org/html/draft-zyp-json-schema-03#section-3
The text was updated successfully, but these errors were encountered: