biocompute-objects / BCO_Documentation

Repository for documentation to support the IEEE 2791-2020 standard. Please see our home page for communications/publications:
http://biocomputeobject.org/
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

Define BCO in JSON Schema? #5

Closed stain closed 5 years ago

stain commented 6 years ago

Instead of the custom BCO data type schema with _type etc (which itself does not have any documentation), we should use something like JSON Schema which have multiple tools and validators.

Note that JSON Schema itself is working towards RFC so there might be finer details here changing, but I would argue it is still a more mature schema language for defining expected JSON types than the one we blindly use in primitives.json

corburn commented 6 years ago

@jpat1546 I think I could have this done today, would it be alright with you if I give this a go?

jpat1546 commented 6 years ago

@corburn Sure, go for it.