drkane / datasette-reconcile

Adds a reconciliation API endpoint to Datasette, based on the Reconciliation Service API specification.
MIT License
22 stars 6 forks source link

Use JSON schemas to validate requests and results #4

Closed drkane closed 3 years ago

drkane commented 3 years ago

Particularly for requests, use the available JSON schemas to validate the queries object:

For the manifest and results, validate them against JSON schema in tests

https://python-jsonschema.readthedocs.io/en/stable/