Uploaded image for project: 'mod-users'
  1. mod-users
  2. MODUSERS-123

Make preferredContactTypeId JSON property an enum with a meaningful name, or make it a UUID and add a matching table

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:

      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.

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              kurt Kurt Nordstrom
              Reporter:
              jemiller Jon Miller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  TestRail: Runs

                    TestRail: Cases