def validate_config(key: str, config: dict) -> None:
try:<EOL><INDENT>jsonschema.validate(config, CONFIG_JSON_SCHEMA[key])<EOL><DEDENT>except jsonschema.ValidationError as x_validation:<EOL><INDENT>raise JSONValidation('<STR_LIT>'.format(key, x_validation.message))<EOL><DEDENT>except jsonschema.SchemaError as x_schema:<EOL><INDENT>raise JSONValidation('<STR_LIT>'.format(key, x_schema.message))<EOL><DEDENT>
Call jsonschema validation to raise JSONValidation on non-compliance or silently pass.

:param key: validation schema key of interest
:param config: configuration dict to validate