1 Commits

Author SHA1 Message Date
Athanasius
7111bdbbbb
scripts/test-schema: A *very* basic script to see if a schema works
* It's using `sys.argv`, not `argparse`.
* Thus there's no `--help`.
* Supply it with: 1) Filename of a schema definition, 2) filename of a full
  EDDN message text to test for compliance.
* No output if both schema and message load *and* the message passes the
  schema.  Else you'll get python exception output from `jsonschema.validate()`.
2022-09-02 15:39:20 +01:00