LPS-51839 Extract validations

cc/ @adolfopa