sdpb icon indicating copy to clipboard operation
sdpb copied to clipboard

Validate JSON files using JSON schema

Open vasdommes opened this issue 1 year ago • 0 comments

We have JSON schemas e.g. for sdpb input files, e.g. docs/sdpb_input_block_schema.json. We can use schemas to check correctness of both schemas and serialization code.

  • [ ] Validate in integration tests (should be easy)
  • [ ] Validate inside a program (a bit harder, since we have to save schemas to executable during compilation)

vasdommes avatar Aug 15 '23 20:08 vasdommes