# Familienmitglieder Database (Notion)

**Database ID:** `31f14575-8289-4131-bae2-4a711a2133b1`
**Title:** Familienmitglieder
**Workspace:** Notion von Ahmed Zeyd Aytac (Integration: Kiwi)

## Structure

Each page represents a family member with these properties:

| Property | Type | Description |
|----------|------|-------------|
| Name | title | Full name |
| Verhältnis | select | Relationship to Ahmed Zeyd (Selbst, Vater, Mutter, Bruder, Großmutter, Großvater, Onkel, Tante, Cousin 1. Grades, etc.) |
| Seite | select | Family side: Vaterseite / Mutterseite |
| Geburt | date | Birth date |
| Tod | date | Death date (if deceased) |
| Geburtsort | rich_text | Place of birth |
| Beruf | rich_text | Profession |

## Key Entries (for legal/notary/medical lookups)

| Person | ID | Verhältnis | Geburt |
|--------|-----|------------|--------|
| Ahmed Zeyd Aytac | `22317d44-1d4b-4663-a25d-99dc6be09e95` | Selbst | 1999-11-29 |
| Ercüment Aytac, MSc. | `0d6a5999-8cdc-4d38-a12b-63a321eb9d43` | Vater | 1965-03-08 |
| Mag. Gülmihri Aytac | `ca745839-9208-4072-80c3-85f113bf2dc9` | Mutter | 1968-12-18 |
| Birsen Aytac | `cb3e9ba1-1919-45f3-a9a9-c10471efe613` | Großmutter (Vaterseite) | 1942-08-28 |
| Dipl. Ing. Erdinc Aytac | `4513f67f-364d-470d-8e23-2a2073bc9a2e` | Großvater (Vaterseite) | 1941-08-02 |
| Hatice Cabuk | `b1dfb8ed-5a05-4c84-abc0-d05b2fd5593d` | Großmutter (Mutterseite) | 1948-08-20 |
| Ahmet Cabuk | `ef4316f6-5666-495e-b2a6-56a77d02b775` | Großvater (Mutterseite) | 1934-07-01 († 2001-11-21) |
| Esad Dervis Aytac | `6c778ddc-f7ca-4da3-a53a-5ee4d96acdc6` | Bruder | 2004-06-04 |

## Query Pattern

```bash
export NOTION_API_KEY="$(grep NOTION /DATA/.hermes/.env | cut -d= -f2-)" && \
curl -s -X POST "https://api.notion.com/v1/data_sources/31f14575-8289-4131-bae2-4a711a2133b1/query" \
  -H "Authorization: Bearer ${NOTION_API_KEY}" \
  -H "Notion-Version: 2025-09-03" \
  -H "Content-Type: application/json" \
  -d '{"page_size": 50}'
```

**Fallback:** If v2025-09-03 returns 404, use v2022-06-28 with `/v1/databases/{id}/query`.

## Person Pages (Extended Content)

Individual person pages contain additional block content (biography, milestones, addresses, parent names). Fetch with:

```bash
curl -s "https://api.notion.com/v1/blocks/{page_id}/children?page_size=100" \
  -H "Authorization: Bearer ${NOTION_API_KEY}" \
  -H "Notion-Version: 2025-09-03"
```

## Limitations

- **No addresses** stored for most family members (only Ahmed Zeyd has Rasumofskygasse 4/12, 1030 Wien)
- **No passport/ID numbers** stored
- **No bank details** stored
- **No SVN/Sozialversicherungsnummern** stored
- Birth dates with day=01 are often approximate (only month/year known)
