validations should be defined in static properties as meta data