data/models/validator: add EmptyFieldError and InvalidFieldError struct types, used to report better error messages in API