Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Generalized contact names per Bruce Skingle's feedback

...

Code Block
languagejs
titleContact Entity JSON
linenumberstrue
{
    "user-12345":
    {
        "type":     "org.symphonyoss.obj.contact",
        "version":  "0.1",
        "id":
        [
			{
				"type":     "com.symphony.user.userId",
				"value": 	123456789
			},
            {
                "type":     "org.symphonyoss.obj.contact.id",
                "value":    "user-12345"
            },
            {
                "type":     "com.ipreo.contact.id",
                "value":    "iid-contact-65832"
            }
        ],
        "contactInfoId":
        {
            "type":     "org.symphonyoss.obj.contact.info.id",
            "value":    100203
        },
        "namefullName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "Mr. Jonathan A. Smith, IIIJohn Smith"
        },
        "prefixformalName":
        {
            "type":     "org.symphonyoss.obj.contact.prefix.idstring",
            "value":    12         },
        "first":
        {
            "type":     "org.symphonyoss.string",
            "value":    "Jonathan""Mr. Jonathan A. Smith, III"
            },
        "nicknameinformalName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "John"
        },
        "middle":
        {
            "type":     "org.symphonyoss.string", Smith"
            "value":    "A."
        },
        "lastindexName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "Smith"
        },
        "suffix":
        {
      , John"
     "type":     "org.symphonyoss.obj.contact.suffix.id",
            "value":    3
        },
        "summary":
        {
            "type":     "org.symphonyoss.string",
            "value":    "A one-lineshort summary of the contact"
        },
        "biography":
        {
            "type":     "org.symphonyoss.string",
            "value":    "An in-depth profile of the contact in paragraph / prose form."
        },
        "organizations":
        [
            {
                "id":
                [
                    {
                        "type":     "org.symphonyoss.fin.organization.id",
                        "value":    "organization-12345"
                    },
                    {
                        "type":     "org.symphonyoss.fin.organization.id.ipreo",
                        "value":    "iid-organization-65833"
                    }
                ],
                "name":
                {
                    "type":     "org.symphonyoss.string",
                    "value":    "Apple Inc."
                },
                "start":
                {
                    "type":     "org.symphonyoss.time.rfc3339",
                    "value":    "2012-01-01"
                },
                "end":
                {
                    "type":     "org.symphonyoss.time.rfc3339",
                    "value":    "2016-11-12"
                },
                "title":
                {
                    "type":     "org.symphonyoss.string",
                    "value":    "Director of North America Macintosh Sales, Education"
                },
                "role":
                {
                    "type":     "org.symphonyoss.obj.contact.role.id",
                    "value":    24
                },
                "contactInfoId":
                {
                    "type":     "org.symphonyoss.obj.contact.info.id",
                    "value":    100203
                }
            }
        ]
    }
}

...