Relationships

Relationships

FieldTypeDescription
id 🔑INTEGERUnique identifier for the relationship record.
agency_id 🔗INTEGERThe ID of the agency this relationship belongs to.
external_identifierSTRINGExternal systems identifier for the relationship, if provided.
source_person_id 🔗INTEGERThe ID of the source person in the relationship.
destination_person_id 🔗INTEGERThe ID of the destination person in the relationship.
kinship_relationshipSTRINGThe specific type of kinship relationship (e.g., parent, sibling, cousin, aunt, uncle).
kinship_relationship_other_descriptionSTRINGAdditional description if the kinship relationship is 'other'.
fictive_kin_descriptionSTRINGDescription of the fictive kin relationship, if applicable.
parental_lineSTRINGThe parental line of the relationship (maternal, paternal, parental, or combinations).
lineage_typeSTRINGThe type of lineage (biological, adopted, step, half, marriage, alleged, presumed, unknown).
emotional_relationship_statusesSTRINGThe emotional status of the relationship (close, cordial, distant, contentious, no_prior_interaction).
additional_relationship_detailsSTRINGAdditional details about the relationship.
verification_sourceSTRINGSource of relationship verification (worker, not_verified).
verified_atTIMESTAMPThe timestamp when the relationship was verified.
lockedBOOLEANWhether the relationship is locked from further edits.
created_atTIMESTAMPThe timestamp when the relationship record was created.
updated_atTIMESTAMPThe timestamp when the relationship record was last updated.
deleted_atTIMESTAMPThe timestamp when the relationship record was soft deleted, if applicable.

Key Information

Primary Keys

  • id - Unique identifier for the relationship record.

Foreign Keys

  • agency_id - The ID of the agency this relationship belongs to.
  • source_person_id - The ID of the source person in the relationship.
  • destination_person_id - The ID of the destination person in the relationship.