openenergysolutions / openfmb.adapters

OpenFMB Adapters
Apache License 2.0
3 stars 1 forks source link

JSON schema to describe the YAML configurations #33

Closed jadamcrain closed 4 years ago

jadamcrain commented 5 years ago

https://json-schema-everywhere.github.io/yaml

https://json-schema.org/implementations.html

https://github.com/romaricdrigon/MetaYaml

https://www.npmjs.com/package/pajv#validate-data

https://www.tutorialspoint.com/yaml/yaml_json_schema.htm

https://medium.com/trabe/application-config-with-yaml-and-json-schema-validation-94a870855314

emgre commented 4 years ago

Add the ability for the adapter to emit JSON schemas for both the main configuration file, and for detailed mapping configurations for DNP3 and Modbus. YAML provides a superset of JSON’s functionality, and our limited usage makes them complete one to one.