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
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