webnwb should maintain an awareness of the attached JSON Schema and support validation of file properties using a variety of mechanisms, including:
Direct validation with JSON Schema
Attachment of arbitrary functions to specific paths / objects (e.g. all Subject instances should have a sex property that is one of four options)
This would be where the NWB Inspector could be used.
Resulting warnings and errors would then need to be represented in the EasyNWB object editor. A high-level review component could also be created (#7).
Description
webnwb
should maintain an awareness of the attached JSON Schema and support validation of file properties using a variety of mechanisms, including:sex
property that is one of four options)Resulting warnings and errors would then need to be represented in the EasyNWB object editor. A high-level review component could also be created (#7).