It would make much more sense not to depend on a third-party attribute, provided by sf validator `#[Assert\Valid]` for the main feature of the library.