Validate a Genogram JSON document
validate_genogramCheck a whole genogram written as Genogram JSON 1.0 (schema: https://genogramai.com/schemas/genogram/v1.json) against the schema and the Open Genogram Notation conformance rules: unknown or misplaced symbol ids, references to missing people, a divorce on a couple that never married, a child whose two parents have no partnership, ancestry loops, impossible or implausible dates, twins without matching parents, colour-only distinctions without labels, and missing key items. Returns valid (no errors), each issue with its rule id (GN-xxx), severity, a plain-language fix and a JSON path. Call it before render_genogram.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"genogram": "<genogram>"
},
"name": "validate_genogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genogram | Yes | The Genogram JSON document ({"format": "genogram-json", "version": "1.0", "people": [...], ...}). |