{
  "$schema": "https://genogramai.com/schemas/genogram/v1.json",
  "format": "genogram-json",
  "version": "1.0",
  "notation": "https://genogramai.com/notation/v1",
  "title": "Rivera and O'Neill families",
  "description": "A three-generation genogram with both families of origin, a divorce, an adoption and the classic emotional lines.",
  "asOf": "2026-12",
  "indexPerson": "sofia",
  "people": [
    {
      "id": "miguel",
      "name": "Miguel Rivera",
      "symbol": "person-male",
      "status": "status-deceased",
      "birth": {
        "date": "1940"
      },
      "death": {
        "date": "2012",
        "cause": "Heart attack"
      },
      "conditions": [
        {
          "type": "medical-heart",
          "label": "Heart disease"
        }
      ],
      "immigration": "immigration-double"
    },
    {
      "id": "rosa",
      "name": "Rosa Rivera",
      "symbol": "person-female",
      "birth": {
        "date": "1943"
      },
      "conditions": [
        {
          "type": "medical-diabetes",
          "label": "Type 2 diabetes"
        }
      ],
      "immigration": "immigration-double"
    },
    {
      "id": "james",
      "name": "James O'Neill",
      "symbol": "person-male",
      "status": "status-deceased",
      "birth": {
        "date": "1938"
      },
      "death": {
        "date": "2001"
      },
      "conditions": [
        {
          "type": "medical-alcohol",
          "label": "Alcohol use"
        }
      ]
    },
    {
      "id": "mary",
      "name": "Mary O'Neill",
      "symbol": "person-female",
      "birth": {
        "date": "1941"
      }
    },
    {
      "id": "ana",
      "name": "Ana Rivera",
      "symbol": "person-female",
      "birth": {
        "date": "1969"
      }
    },
    {
      "id": "carlos",
      "name": "Carlos Rivera",
      "symbol": "person-male",
      "birth": {
        "date": "1966"
      },
      "occupation": "Electrician"
    },
    {
      "id": "linda",
      "name": "Linda O'Neill",
      "symbol": "person-female",
      "birth": {
        "date": "1968"
      },
      "conditions": [
        {
          "type": "medical-depression",
          "label": "Depression",
          "status": "recovery"
        }
      ]
    },
    {
      "id": "patrick",
      "name": "Patrick O'Neill",
      "symbol": "person-male",
      "birth": {
        "date": "1971"
      },
      "conditions": [
        {
          "type": "medical-alcohol",
          "label": "Alcohol use",
          "status": "recovery"
        }
      ]
    },
    {
      "id": "mark",
      "name": "Mark Hale",
      "symbol": "person-male",
      "birth": {
        "date": "1965"
      }
    },
    {
      "id": "sofia",
      "name": "Sofia Rivera",
      "symbol": "person-female",
      "birth": {
        "date": "1998"
      }
    },
    {
      "id": "daniel",
      "name": "Daniel Rivera",
      "symbol": "person-male",
      "birth": {
        "date": "2003"
      }
    }
  ],
  "partnerships": [
    {
      "partners": [
        "miguel",
        "rosa"
      ],
      "type": "relationship-marriage",
      "events": [
        {
          "type": "married",
          "date": "1964"
        }
      ]
    },
    {
      "partners": [
        "james",
        "mary"
      ],
      "type": "relationship-marriage",
      "events": [
        {
          "type": "married",
          "date": "1966"
        }
      ]
    },
    {
      "partners": [
        "carlos",
        "linda"
      ],
      "type": "relationship-divorce",
      "events": [
        {
          "type": "married",
          "date": "1994"
        },
        {
          "type": "divorced",
          "date": "2010"
        }
      ]
    },
    {
      "partners": [
        "linda",
        "mark"
      ],
      "type": "relationship-cohabitation",
      "events": []
    }
  ],
  "children": [
    {
      "child": "carlos",
      "parents": [
        "miguel",
        "rosa"
      ]
    },
    {
      "child": "ana",
      "parents": [
        "miguel",
        "rosa"
      ]
    },
    {
      "child": "linda",
      "parents": [
        "james",
        "mary"
      ]
    },
    {
      "child": "patrick",
      "parents": [
        "james",
        "mary"
      ]
    },
    {
      "child": "sofia",
      "parents": [
        "carlos",
        "linda"
      ]
    },
    {
      "child": "daniel",
      "parents": [
        "carlos",
        "linda"
      ],
      "type": "child-adopted",
      "since": "2004"
    }
  ],
  "relationships": [
    {
      "from": "sofia",
      "to": "linda",
      "type": "emotional-close"
    },
    {
      "from": "carlos",
      "to": "linda",
      "type": "emotional-hostile"
    },
    {
      "from": "daniel",
      "to": "carlos",
      "type": "emotional-estranged"
    },
    {
      "from": "linda",
      "to": "mary",
      "type": "emotional-fused"
    }
  ]
}
