OSI-level validations? #35
Replies: 3 comments 2 replies
|
I personnally think we should lean into validation by providing parsers and type checkers that help ensure the quality of a model in the OSI. That gets harder to do the more we try to support different dialects. |
|
How about adding a JSON schema for YAML validation? This could at least help with basics when editing the YAML file.. https://github.com/ralfbecher/OSI/blob/json-schema/core-spec/osi-schema.json |
|
Related gap noticed while building the ThoughtSpot converter (#285): converters/README.md step 1 tells an export converter to validate its source OSI model, and step 9 validates the vendor output against vendor tooling. Nothing tells an import converter to run validation/validate.py on the OSI document it produces, even though the validator's four checks (schema, uniqueness, references, expression parse) are exactly the contract that output must satisfy. We're doing it anyway and it caught real issues. Suggest adding it as an explicit step in the converter guide. |
Uh oh!
There was an error while loading. Please reload this page.
What are the ideas around validations of the semantic layer? Should this be left fully on the tools that import/export or should there be an OSI validation "engine" included?
There are several validations I would care about:
All reactions