/ReCiter-Identity-Model

ReCiter-Identity-Model

Primary LanguageJava

ReCiter-Identity-Model

Build Status Maven Central GitHub version codebeat badge License PRs Welcome Pending Pull-Requests Open Issues star this repo fork this repo Github All Releases Open Source Love

Data model

The following is a sample record from DynamoDB for the Identity table.

{
  "uid": "ccole",
  "primaryName": {
    "firstName": "Curtis",
    "firstInitial": "C",
    "middleName": "L",
    "middleInitial": "L",
    "lastName": "Cole"
  },
  "alternateNames": [
    {
      "firstName": "Curtis",
      "firstInitial": "C",
      "middleName": "L.",
      "middleInitial": "L",
      "lastName": "Cole"
    },
    {
      "firstName": "Curtis",
      "firstInitial": "C",
      "middleName": "Leland",
      "middleInitial": "L",
      "lastName": "Cole"
    }
  ],
  "emails": [
    "ccole@med.cornell.edu"
  ],
  "knownRelationships": [
    {
      "uid": "lgolight",
      "name": {
        "firstName": "Linnie",
        "firstInitial": "L",
        "middleName": "M",
        "middleInitial": "M",
        "lastName": "Golightly"
      },
      "type": "CO_INVESTIGATOR"
  ],
  "organizationalUnits": [
    {
      "organizationalUnitLabel": "Library",
      "organizationalUnitType": "DEPARTMENT",
      "startDate": "2010-10-01",
      "endDate": ""
    },
    {
      "organizationalUnitLabel": "Health Informatics",
      "organizationalUnitType": "DIVISION",
      "startDate": "2018-01-01",
      "endDate": "2019-02-30"
    }
  ],  
  "title": "Associate Professor of Clinical Medicine",
  "institutions": [
    "Weill Cornell Medical College, Cornell University",
    "NewYork-Presbyterian Hospital",
    "Bowdoin College",
    "Cornell University Medical College",
    "Weill Cornell Medical College"
  ],
  "degreeYear": {
    "bachelorYear": 1986,
    "doctoralYear": 1994
  },
  "personTypes": [
    "academic",
    "academic-faculty",
    "academic-faculty-weillfulltime",
    "academic-faculty-associate",
    "employee-nonacademic",
    "employee-exempt",
    "employee",
    "affiliate",
    "affiliate-nyp",
    "affiliate-nyp-weillcampus-credentialed"
  ],
  "grants": [
    "TR000457",
    "HS017029"
  ],
  "primaryEmail": "ccole@med.cornell.edu",
  "primaryOrganizationalUnit": "Medicine (Infectious Disease)"
  "primaryInstitution": "Weill Cornell Medical College, Cornell University"
}