Raise SchemaValidationError if self-validation fails