SevKohler / OMOCL

Apache License 2.0
4 stars 2 forks source link

Schema? #9

Open joostholslag opened 2 weeks ago

joostholslag commented 2 weeks ago

Is there a json (or yaml) schema for the spec?

joostholslag commented 2 weeks ago

Potentially align with: https://github.com/better-care/fhir-connect-mapping-spec/blob/main/src/test/resources/mapping-files-spec/v0-2-0/model-mapping.schema.json

SevKohler commented 1 week ago

We aligned the header for both mapping languages, its nevetheless not yet implemented but will be in the future. We provided a railroad diagram for the yaml, yet there is no ANTLR grammar eg. yet, which is anyways hard if its a distribution of yaml since you need to add it to the existing YAML grammar. We should evaluate possible grammar representations for the future

joostholslag commented 1 week ago

We aligned the header for both mapping languages, its nevetheless not yet implemented but will be in the future.

We provided a railroad diagram for the yaml, yet there is no ANTLR grammar eg. yet, which is anyways hard if its a distribution of yaml since you need to add it to the existing YAML grammar.

We should evaluate possible grammar representations for the future

I assumed we need a (json) schema that defines the model. Grammar is also important but doesn't help with validation and autocomplete of keys and values etc. Right?