Basic Family Example
A foundational GENEALOGIX archive demonstrating a two-parent household with two children and basic relationship entries.
Structure
basic-family/
├── .glx-archive/
│ ├── config.glx
│ └── schema-version.glx
├── persons/
│ ├── person-mother.glx
│ ├── person-father.glx
│ ├── person-child-alice.glx
│ └── person-child-bob.glx
├── relationships/
│ ├── rel-marriage.glx
│ ├── rel-parent-alice.glx
│ └── rel-parent-bob.glx
├── sources/
│ └── README.md
├── media/
│ └── README.md
└── README.mdFamily Overview
- Mary and Robert Thompson are married.
- They have two children: Alice and Robert Jr.
- Relationships demonstrate marriage and parent-child connections.
Files
persons/person-mother.glx
yaml
persons:
person-mother:
properties:
given_name: "Mary"
family_name: "Thompson"
gender: femalepersons/person-father.glx
yaml
persons:
person-father:
properties:
given_name: "Robert"
family_name: "Thompson"
gender: malepersons/person-child-alice.glx
yaml
persons:
person-child-alice:
properties:
given_name: "Alice"
family_name: "Thompson"
gender: femalepersons/person-child-bob.glx
yaml
persons:
person-child-bob:
properties:
given_name: "Robert"
family_name: "Thompson"
gender: malerelationships/rel-marriage.glx
yaml
relationships:
rel-marriage:
type: marriage
participants:
- person: person-mother
role: spouse
- person: person-father
role: spouserelationships/rel-parent-alice.glx
yaml
relationships:
rel-parent-alice:
type: parent_child
participants:
- person: person-mother
role: parent
- person: person-father
role: parent
- person: person-child-alice
role: childrelationships/rel-parent-bob.glx
yaml
relationships:
rel-parent-bob:
type: parent_child
participants:
- person: person-mother
role: parent
- person: person-father
role: parent
- person: person-child-bob
role: childValidation
bash
glx validate
# ✓ All files valid
glx check-schemas
# ✓ schemas validWhat This Demonstrates
- Marriage and parent-child relationship entries
- Multiple persons with cross-referenced relationships
- Config and schema version files
- Layout ready for adding sources, media, and assertions
Next Steps
Add supporting sources (certificates, census records) under sources/ and attach them to relationship or person assertion files.