InvalidArgumentError if type is not provided or is not a supported person contact type
Throws
InvalidArgumentError if name is not provided
Throws
InvalidArgumentError if parent is not provided or is not the identifier of a valid contact. The parent
contact's type must be one of the supported parent contact types for the new person.
Throws
InvalidArgumentError if the provided reported_date is not in a valid format. Valid formats are
'YYYY-MM-DDTHH:mm:ssZ', 'YYYY-MM-DDTHH:mm:ss.SSSZ', or .
Returns a function for creating a person from the given data context.