map property type and validation