{"success":true,"data":{"ext":"ged","name":"GEnealogical Data COMmunication","description":"GEnealogical Data COMmunication (GEDCOM) is a text-based genealogical file format originally developed by The Church of Jesus Christ of Latter-day Saints and now maintained through FamilySearch. It is used to exchange family history data between genealogy applications, archives, and online family tree services. The format is long established and generally safe, though imported data may contain inaccuracies or unsupported fields when opened in different software.","mime":[],"risk_level":"Safe","signatures":[{"hex":"30 20 48 45 41 44","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_ged(file_path: str) -> bool:\n    \"\"\"Check if file is a valid GED by magic bytes.\"\"\"\n    signature = bytes([0x30, 0x20, 0x48, 0x45, 0x41, 0x44])\n    with open(file_path, \"rb\") as f:\n        return f.read(6) == signature","node":"function isGED(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x30, 0x20, 0x48, 0x45, 0x41, 0x44]);\n  return buffer.subarray(0, 6).equals(signature);\n}","go":"func IsGED(data []byte) bool {\n    signature := []byte{0x30, 0x20, 0x48, 0x45, 0x41, 0x44}\n    if len(data) < 6 {\n        return false\n    }\n    return bytes.Equal(data[:6], signature)\n}"}}}