Relationship (JSON)
A relationship between two or more persons.
Properties
Name |
Type |
Description |
|
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". |
|
facts |
array of
Fact
|
The fact conclusions for the relationship. |
|
type |
string
|
The type of this relationship. |
|
Properties inherited from Subject |
evidence |
array of
EvidenceReference
|
References to the evidence being referenced for this subject. |
|
media |
array of
SourceReference
|
References to multimedia resources associated with this subject. |
|
identifiers |
map of
array of
string
|
The list of identifiers for the agent. |
|
extracted |
boolean
|
Whether this subject has been identified as "extracted", meaning it captures information extracted from a single source. |
FTU
|
Properties inherited from Conclusion |
attribution |
Attribution
|
Attribution metadata for a conclusion. |
|
sources |
array 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
|
notes |
array of
Note
|
Notes about a person. |
|
lang |
string
|
The language of the conclusion. See http://www.w3.org/International/articles/language-tags/ |
FTR
|
confidence |
string
|
The level of confidence the contributor has about the data. |
|
sortKey |
string
|
A sort key in relation to other facts for display purposes. |
|
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
{
"person1" : {
"resourceId" : "...",
"resource" : "..."
},
"person2" : {
"resourceId" : "...",
"resource" : "..."
},
"facts" : [ {
"date" : {
"original" : "...",
"formal" : "...",
"normalized" : [ { }, { } ],
"confidence" : "...",
"id" : "..."
},
"place" : {
"original" : "...",
"normalized" : [ { }, { } ],
"description" : "...",
"confidence" : "...",
"id" : "..."
},
"value" : "...",
"qualifiers" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"type" : "...",
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"sources" : [ {
"attribution" : { },
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ { }, { } ],
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
}, {
"attribution" : { },
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ { }, { } ],
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
} ],
"analysis" : {
"resourceId" : "...",
"resource" : "..."
},
"notes" : [ {
"subject" : "...",
"text" : "...",
"attribution" : { },
"lang" : "...",
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
}, {
"subject" : "...",
"text" : "...",
"attribution" : { },
"lang" : "...",
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
} ],
"lang" : "...",
"confidence" : "...",
"sortKey" : "...",
"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" : "..."
}, {
"date" : {
"original" : "...",
"formal" : "...",
"normalized" : [ { }, { } ],
"confidence" : "...",
"id" : "..."
},
"place" : {
"original" : "...",
"normalized" : [ { }, { } ],
"description" : "...",
"confidence" : "...",
"id" : "..."
},
"value" : "...",
"qualifiers" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"type" : "...",
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"sources" : [ {
"attribution" : { },
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ { }, { } ],
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
}, {
"attribution" : { },
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ { }, { } ],
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
} ],
"analysis" : {
"resourceId" : "...",
"resource" : "..."
},
"notes" : [ {
"subject" : "...",
"text" : "...",
"attribution" : { },
"lang" : "...",
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
}, {
"subject" : "...",
"text" : "...",
"attribution" : { },
"lang" : "...",
"links" : {
"property1" : { },
"property2" : { }
},
"id" : "..."
} ],
"lang" : "...",
"confidence" : "...",
"sortKey" : "...",
"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" : "..."
} ],
"type" : "...",
"evidence" : [ {
"resourceId" : "...",
"resource" : "...",
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"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" : "..."
}, {
"resourceId" : "...",
"resource" : "...",
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"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" : "..."
} ],
"media" : [ {
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"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" : "..."
}, {
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"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" : "..."
} ],
"identifiers" : {
"property1" : [ "...", "..." ],
"property2" : [ "...", "..." ]
},
"extracted" : true,
"attribution" : {
"contributor" : {
"resourceId" : "...",
"resource" : "..."
},
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : {
"resourceId" : "...",
"resource" : "..."
},
"created" : 12345,
"id" : "..."
},
"sources" : [ {
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"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" : "..."
}, {
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"description" : "...",
"descriptionId" : "...",
"qualifiers" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"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" : "..."
} ],
"analysis" : {
"resourceId" : "...",
"resource" : "..."
},
"notes" : [ {
"subject" : "...",
"text" : "...",
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"lang" : "...",
"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" : "..."
}, {
"subject" : "...",
"text" : "...",
"attribution" : {
"contributor" : { },
"modified" : 12345,
"changeMessage" : "...",
"changeMessageResource" : "...",
"creator" : { },
"created" : 12345,
"id" : "..."
},
"lang" : "...",
"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" : "..."
} ],
"lang" : "...",
"confidence" : "...",
"sortKey" : "...",
"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" : "..."
}