vendekagon-labs / unify

An engine for automating data integration & harmonization via schema inference.
Apache License 2.0
8 stars 0 forks source link

unify schema compilation should do more validation #23

Closed benkamphaus closed 10 months ago

benkamphaus commented 10 months ago

Currently, if fields are in the wrong order, or omitted, etc. for the attribute definitions and id definitions for any of the kinds, this will lead to invalid schema being generated (e.g. schema transaction data with nils, missing required fields like cardinality, etc.) -- this can be handled with simple spec based collection regex validation. A spec for the Unify compatible schema generation DSL will also serve as documentation for other Clojurists. (Though more natural language documentation of that spec should be provided as well).