spec icon indicating copy to clipboard operation
spec copied to clipboard

JSON Schema for the Specification

Open matthewhudson opened this issue 13 years ago • 1 comments

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.

matthewhudson avatar Dec 06 '12 23:12 matthewhudson

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.

matthewhudson avatar Dec 10 '12 21:12 matthewhudson