#JC-1565 validation constants move to entity