XML

Relationship (JSON)

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 relationshipType 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".
facts array of Fact The fact conclusions for the relationship.
fields array of Field Get the fields being used as evidence. FTU
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 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 array of Identifier The list of identifiers for the subject.
Properties inherited from Conclusion
confidence confidenceLevel The level of confidence the contributor has about the data.
sortKey string A sort key in relation to other facts for display purposes.
lang string The language of the conclusion. See http://www.w3.org/International/articles/language-tags/ FTR
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.
Properties inherited from HypermediaEnabledData
links array 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

{
  "type" : "...",
  "person1" : {
    "resourceId" : "...",
    "resource" : ...
  },
  "person2" : {
    "resourceId" : "...",
    "resource" : ...
  },
  "facts" : [ {
    "primary" : false,
    "type" : "...",
    "date" : {
    },
    "place" : {
    },
    "value" : "...",
    "qualifiers" : [ {
    }, ... ],
    "fields" : [ {
      "links" : {
        "type1" : [ {
        }, ... ],
        "type2" : [ {
        }, ... ],
        "..." : ...
      }
    }, ... ],
    "confidence" : "...",
    "sortKey" : "...",
    "lang" : "...",
    "attribution" : {
    },
    "sources" : [ {
      "links" : {
        "type1" : [ {
        }, ... ],
        "type2" : [ {
        }, ... ],
        "..." : ...
      }
    }, ... ],
    "analysis" : {
    },
    "notes" : [ {
      "links" : {
        "type1" : [ {
        }, ... ],
        "type2" : [ {
        }, ... ],
        "..." : ...
      }
    }, ... ],
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "fields" : [ {
    "type" : "...",
    "values" : [ {
      "links" : {
        "type1" : [ {
        }, ... ],
        "type2" : [ {
        }, ... ],
        "..." : ...
      }
    }, ... ],
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "extracted" : false,
  "evidence" : [ {
    "resourceId" : "...",
    "resource" : ...,
    "attribution" : {
    },
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "media" : [ {
    "description" : "...",
    "attribution" : {
    },
    "qualifiers" : [ {
    }, ... ],
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "identifiers" : {
    "type1" : [ {
      "type" : "...",
      "value" : "..."
    }, ... ],
    "type2" : [ {
      "type" : "...",
      "value" : "..."
    }, ... ],
    "..." : ...
  },
  "confidence" : "...",
  "sortKey" : "...",
  "lang" : "...",
  "attribution" : {
    "contributor" : {
    },
    "modified" : "...",
    "changeMessage" : "...",
    "id" : "..."
  },
  "sources" : [ {
    "description" : "...",
    "attribution" : {
    },
    "qualifiers" : [ {
    }, ... ],
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "analysis" : {
    "resourceId" : "...",
    "resource" : ...
  },
  "notes" : [ {
    "lang" : "...",
    "subject" : "...",
    "text" : "...",
    "attribution" : {
    },
    "links" : {
      "type1" : [ {
      }, ... ],
      "type2" : [ {
      }, ... ],
      "..." : ...
    },
    "id" : "..."
  }, ... ],
  "links" : {
    "type1" : [ {
      "template" : "...",
      "allow" : "...",
      "count" : ...,
      "accept" : "...",
      "type" : "...",
      "hreflang" : "...",
      "title" : "...",
      "results" : ...,
      "rel" : "...",
      "offset" : ...,
      "href" : ...
    }, ... ],
    "type2" : [ {
      "template" : "...",
      "allow" : "...",
      "count" : ...,
      "accept" : "...",
      "type" : "...",
      "hreflang" : "...",
      "title" : "...",
      "results" : ...,
      "rel" : "...",
      "offset" : ...,
      "href" : ...
    }, ... ],
    "..." : ...
  },
  "id" : "..."
}