turbomam / examples-first-cookiecutter

A cookiecutter for linkml projects which illustrates the Examples First design pattern
1 stars 0 forks source link

add check-jsonschema for short term all-invalids reporting #53

Open turbomam opened 1 year ago

turbomam commented 1 year ago

Eventually to be replaced by a LinkML tool

This benefits from the fact that the Collection is the tree root.

And from the fact that we are making Collection examples.

turbomam commented 1 year ago

representative usage:

poetry run check-jsonschema \
  --schemafile project/jsonschema/my_awesome_schema.schema.json \
  src/data/examples/invalid/PersonCollection-undefined-slot.yaml