Agent (XML)
An agent, e.g. person, organization, or group. In genealogical research, an agent often
takes the role of a contributor.
Properties
Name |
Type |
Description |
|
account |
list of
OnlineAccount
|
The accounts that belong to this person or organization. |
|
address |
list of
Address
|
The addresses that belong to this person or organization. |
|
email |
list of
ResourceReference
|
The emails that belong to this person or organization. |
|
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. |
|
identifier |
list of
Identifier
|
The list of identifiers for the agent. |
|
name |
list of
TextValue
|
The list of names for the agent. |
|
openid |
ResourceReference
|
The openid of the person or organization. |
|
person |
ResourceReference
|
The person that describes this agent. |
|
phone |
list of
ResourceReference
|
The phones that belong to this person or organization. |
|
Properties inherited from HypermediaEnabledData |
link |
list 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
<agent id="..." xmlns="http://gedcomx.org/v1/">
<account id="...">
<accountName>...</accountName>
<serviceHomepage resource="..." resourceId="..."/>
<extension1 xmlns="">...</extension1>
<extension2 xmlns="">...</extension2>
</account>
<address id="...">
<city>...</city>
<country>...</country>
<postalCode>...</postalCode>
<stateOrProvince>...</stateOrProvince>
<street>...</street>
<street2>...</street2>
<street3>...</street3>
<street4>...</street4>
<street5>...</street5>
<street6>...</street6>
<value>...</value>
<extension1 xmlns="">...</extension1>
<extension2 xmlns="">...</extension2>
</address>
<email resource="..." resourceId="..."/>
<homepage resource="..." resourceId="..."/>
<identifier type="...">...</identifier>
<name xml:lang="...">...</name>
<openid resource="..." resourceId="..."/>
<person resource="..." resourceId="..."/>
<phone resource="..." resourceId="..."/>
<link accept="..." allow="..." count="..." href="..." hreflang="..." offset="..." rel="..." results="..." template="..." title="..." type="..."/>
<extension1 xmlns="">...</extension1>
<extension2 xmlns="">...</extension2>
</agent>