Relationship (XML)
A relationship between two or more persons.
Namespace: | http://gedcomx.org/v1/ |
URI: | http://gedcomx.org/v1/Relationship |
Extends: | Subject |
Properties
Name |
Type |
Description |
|
type |
string
|
The type of this relationship. |
|
person1 |
ResourceReference
|
A reference to a person in the relationship. The name "person1" is used only to distinguish it from
the other person in this relationship and implies neither order nor role. When the relationship type
implies direction, it goes from "person1" to "person2". |
|
person2 |
ResourceReference
|
A reference to a person in the relationship. The name "person2" is used only to distinguish it from
the other person in this relationship and implies neither order nor role. When the relationship type
implies direction, it goes from "person1" to "person2". |
|
fact |
list of
Fact
|
The fact conclusions for the relationship. |
|
Properties inherited from Subject |
extracted |
boolean
|
Whether this subject has been identified as "extracted", meaning it captures information extracted from a single source. |
FTU
|
evidence |
list of
EvidenceReference
|
References to the evidence being referenced for this subject. |
|
media |
list of
SourceReference
|
References to multimedia resources associated with this subject. |
|
identifier |
list of
Identifier
|
The list of identifiers for the subject. |
|
Properties inherited from Conclusion |
sortKey |
string
|
A sort key in relation to other facts for display purposes. |
|
confidence |
string
|
The level of confidence the contributor has about the data. |
|
lang |
string
|
The language of the conclusion. See http://www.w3.org/International/articles/language-tags/ |
FTR
|
attribution |
Attribution
|
Attribution metadata for a conclusion. |
|
source |
list of
SourceReference
|
The source references for a conclusion. |
|
analysis |
ResourceReference
|
A reference to the analysis document explaining the analysis that went into this conclusion. |
FTU
|
note |
list of
Note
|
Notes about a person. |
|
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
<relationship confidence="..." extracted="..." xml:lang="..." sortKey="..." type="..." xmlns="http://gedcomx.org/v1/">
<person1 resource="..." resourceId="..."/>
<person2 resource="..." resourceId="..."/>
<fact confidence="..." xml:lang="..." sortKey="..." type="...">
<date confidence="...">
<original>...</original>
<formal>...</formal>
<normalized/>
</date>
<place confidence="..." description="...">
<original>...</original>
<normalized/>
</place>
<value>...</value>
<qualifier name="...">...</qualifier>
<attribution/>
<source/>
<analysis/>
<note/>
</fact>
<evidence resource="..." resourceId="...">
<attribution/>
</evidence>
<media description="..." descriptionId="...">
<attribution/>
<qualifier/>
</media>
<identifier type="...">...</identifier>
<attribution/>
<source/>
<analysis/>
<note/>
</relationship>