def validate_parameters(cls, parameters, schema=None):
        """Validate parameters format against schema specification
        Raises:
          - ValidationError if the instance is invalid
          - SchemaError if the schema itself is invalid
        """
        if schema is None:
            schema = cls.get_parameters_schema()
        jsonschema.validate(parameters, schema)