Details
-
Task
-
Status: Open (View Workflow)
-
TBD
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The user JSON schema contains the following property definition.
"preferredContactTypeId":
{ "description": "Id of user's preferred contact type", "type": "string" }A value of 002 means that email is the preferred contact type. Elsewhere in FOLIO, enum types are used for this and the values are meaningful names. For example, a status property could have an enum with values of Active and Inactive.
It would be more programmer friendly, to either use an enum, or store a UUID and have a table with a meaningful name in it that matches the UUID.
This would also be helpful for things like reporting or transferring the data to a separate reports database.