Define and validate against JSON schema for equipment/hw/sinks/etc
What
Currently the only real way to know what fields to are checked and/or required for specific equipment, device, and sinks configuration is to look directly at the source code. It would be better to have a well-defined schema for each. There is a standard JSON schema that one can use to define schemas that specify required fields, expected fields, what values of fields are supported, etc...
There exist nice ways to validate provided JSON files or JSON objects against a JSON schema both in C++ and in python.
This would allow:
- Building command-line utilities for verifying JSON configurations
- Having the equipment/sinks/devices validate the user-provided JSON configuration when they are configuring these objects
- Provide a well-defined specification for what each of the many configurable items
labRemote
defines to users