F json schema datamodel
Compare changes
- Florian Spreckelsen authored
@@ -521,7 +521,17 @@ class JsonSchemaParser(Parser):
@@ -521,7 +521,17 @@ class JsonSchemaParser(Parser):
For https://gitlab.indiscale.com/caosdb/customers/leibniz-zmt/management/-/issues/17 and https://gitlab.indiscale.com/caosdb/customers/leibniz-zmt/management/-/issues/24. A rudimentary parser of datamodels defined in json-schemas is introduced. It is sufficient to create flat datamodels, but it still lacks a lot.
$defs
and $ref
in json schemaextern
keyword from the yaml parserMainly, a new parser has been introduced. Most changes are actually tests for the new parser.
In principle, the new unit tests and the new integration test are sufficient. You can also use Joscha's ZMT model to verify that the parser actually fulfills the minimal requirement of creating a datamodel for exactly this schema.
Please, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.