Skip to content

Improved reference schema for model parameter validation

Gernot Maier requested to merge script-improvements into parameter-workflow-updates

This merge requests implements an improved reference schema for the model parameter descriptions:. This follows now the widely used (industry standard?) json-schema, which allows to use public tools for the validation. This is necessary, as it is very hard to keep track of the allowed / required / optional options.

In detail, this merge request implements:

Only parameters/Photon_conversion.yml has been adapted yet, all other parameter files requires. The schema also will need a bit further refinements, especially the required lists).

Note that the base of the schema has been derived using https://codebeautify.org/yaml-to-json-schema-generator.

No detailed merge request is required, just browsing through. This will get refined with the upgrades of the other parameter lists.

Merge request reports