calliope-project / euro-calliope

A workflow to build models of the European electricity system for Calliope.
https://euro-calliope.readthedocs.io
MIT License
31 stars 18 forks source link

Schema rendered in docs can't handle certain property types. #180

Open brynpickering opened 3 years ago

brynpickering commented 3 years ago

What happened?

The rendering of the configuration schema in the docs (introduced in #177) isn't perfect as the Schema->Markdown dependency can't handle PropertyNames, which means no information regarding sea-connections and shapes is missing and instead reads Cannot contain additional properties..

Ideally we would replace these sentences with something more descriptive.

Version

1.1.0.dev

Relevant log output

No response

timtroendle commented 3 years ago

The library we use does not support patternProperties in version 0.2.1. I believe that's the problem.

Adobe maintains a library with the same name and functionality but which seems to be more mature. It's available as a npm package and could be an alternative.