code: def validate_config(key: str, config: dict) -> None:
      
  
      try:
          jsonschema.validate(config, CONFIG_JSON_SCHEMA[key])
      except jsonschema.ValidationError as x_validation:
          raise JSONValidation('JSON validation error on {} configuration: {}'.format(key, x_validation.message))
      except jsonschema.SchemaError as x_schema:
          raise JSONValidation('JSON schema error on {} specification: {}'.format(key, x_schema.message))
docs: 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