When reading a schema we should raise an error for any unknown key. Currently we
only read known keys from the dict, so we can easily miss a typo or wrong key alignment in the schema YAML file.
One potential solution is do that in schema_ctx:
- for any get['key'] of a dict maintain set of read keys
- call 'check_unused_keys' will report unused (invalid) keys ; we must be carefull to access all keys in any scenario!
When reading a schema we should raise an error for any unknown key. Currently we
only read known keys from the dict, so we can easily miss a typo or wrong key alignment in the schema YAML file.
One potential solution is do that in schema_ctx: