JSON Schema for the Specification
I've added some JSON Schemas describing the block definition, inputs, and outputs.
I used the file extension ".schema.json" because, as far I can tell, there is no standard file extension (reference).
All three schemas will require updates to accomodate nested objects inside inputs/outputs. Not sure if JSON Schema uses 'items', or 'additionalItems', or something else altogether. Please advise.
Once we have these schema ironed out we'll be able to put together a validator for others to test against.
This is now mostly working. The only problem seems to be the "$ref" parameter which isn't embedding the referenced schema in place.
Tom, can you take a look when you get a chance? I've been using jsonschemalint.com and https://github.com/garycourt/JSV to test against.