Agent (JSON)

An agent, e.g. person, organization, or group. In genealogical research, an agent often takes the role of a contributor.

URI:Agent
Extends:HypermediaEnabledData

Properties

Name Type Description
identifiers map of array of string The list of identifiers for the agent.
names array of TextValue The list of names for the agent.
homepage ResourceReference The homepage of the person or organization. Note this is different from the homepage of the service where the person or organization has an account.
openid ResourceReference The openid of the person or organization.
accounts array of OnlineAccount The accounts that belong to this person or organization.
emails array of ResourceReference The emails that belong to this person or organization.
phones array of ResourceReference The phones that belong to this person or organization.
addresses array of Address The addresses that belong to this person or organization.
person ResourceReference The person that describes this agent.
Properties inherited from HypermediaEnabledData
links map of Link The list of hypermedia links. Links are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
Properties inherited from ExtensibleData
id string A local, context-specific id for the data.

Example

{
  "identifiers" : {
    "property1" : [ "...", "..." ],
    "property2" : [ "...", "..." ]
  },
  "names" : [ {
    "lang" : "...",
    "value" : "..."
  }, {
    "lang" : "...",
    "value" : "..."
  } ],
  "homepage" : {
    "resourceId" : "...",
    "resource" : "..."
  },
  "openid" : {
    "resourceId" : "...",
    "resource" : "..."
  },
  "accounts" : [ {
    "serviceHomepage" : {
      "resourceId" : "...",
      "resource" : "..."
    },
    "accountName" : "...",
    "id" : "..."
  }, {
    "serviceHomepage" : {
      "resourceId" : "...",
      "resource" : "..."
    },
    "accountName" : "...",
    "id" : "..."
  } ],
  "emails" : [ {
    "resourceId" : "...",
    "resource" : "..."
  }, {
    "resourceId" : "...",
    "resource" : "..."
  } ],
  "phones" : [ {
    "resourceId" : "...",
    "resource" : "..."
  }, {
    "resourceId" : "...",
    "resource" : "..."
  } ],
  "addresses" : [ {
    "city" : "...",
    "country" : "...",
    "postalCode" : "...",
    "stateOrProvince" : "...",
    "street" : "...",
    "street2" : "...",
    "street3" : "...",
    "street4" : "...",
    "street5" : "...",
    "street6" : "...",
    "value" : "...",
    "id" : "..."
  }, {
    "city" : "...",
    "country" : "...",
    "postalCode" : "...",
    "stateOrProvince" : "...",
    "street" : "...",
    "street2" : "...",
    "street3" : "...",
    "street4" : "...",
    "street5" : "...",
    "street6" : "...",
    "value" : "...",
    "id" : "..."
  } ],
  "person" : {
    "resourceId" : "...",
    "resource" : "..."
  },
  "links" : {
    "property1" : {
      "href" : "...",
      "template" : "...",
      "title" : "...",
      "type" : "...",
      "accept" : "...",
      "allow" : "...",
      "hreflang" : "...",
      "count" : 12345,
      "offset" : 12345,
      "results" : 12345
    },
    "property2" : {
      "href" : "...",
      "template" : "...",
      "title" : "...",
      "type" : "...",
      "accept" : "...",
      "allow" : "...",
      "hreflang" : "...",
      "count" : 12345,
      "offset" : 12345,
      "results" : 12345
    }
  },
  "id" : "..."
}

Change Language

Feedback

Sending...

Feedback was sent.

Can't send feedback. Retry in 5 seconds.