Skip to content

Name file (public address)

Document
08
Status
Approved 2026-10-20
Version
v2
Date
2026-10-20

The Korean version is authoritative. This page was translated by AI (Claude) and has not yet been checked by a person. 한국어 원문

The field names of the Hahoe Genesis Protocol (HGP) are published at a public address so that other institutions’ software can read them too. This page is the human-readable description of that address.


What Address Form
This description page https://hgp.hahoe.io/ns/ page for people to read
Meaning of the field names (name file) https://hgp.hahoe.io/ns/v2.jsonld (current version), https://hgp.hahoe.io/ns/v1.jsonld (old version, kept as is) JSON-LD 1.1 context
Definitions of fields and values, mapping to other standards https://hgp.hahoe.io/ns/terms-v2.jsonld JSON-LD (RDFS, SKOS)
Base address of the fields https://hgp.hahoe.io/ns# hgp:sha256 = https://hgp.hahoe.io/ns#sha256
Relation network rule table https://hgp.hahoe.io/ns/relations-v1.json JSON
Fixity bundle profile https://hgp.hahoe.io/ns/#fixity-v1 section 4 of this page
GEDCOM profile https://hgp.hahoe.io/ns/#gedcom-v1 section 7 of this page
  • The version number is part of the address. A version, once published, is never changed. To add fields or change a meaning, the next version (v3) is published. Old versions stay as they are.
  • The base address of the fields (ns#) stays the same across versions. The same field always has the same address.
  • These open without login. Machine-readable files are served with Content-Type: application/ld+json (application/json for the rule table) and Access-Control-Allow-Origin: *, so that other institutions’ software can read them directly.

v1 (2026-10-12) contained only the two groups in use at the time (2.1, 2.2). v2 (2026-10-20) adds the ledger fields, now that 03-manifest is approved (2.3 to 2.5).

Field Meaning Computation
sha256 Fingerprint of the original file SHA-256 (FIPS 180-4), over the file bytes as they are, 64 lowercase hexadecimal characters
root Volume fingerprint RFC 6962 2.1 Merkle root. Leaf = SHA-256(0x00 ‖ fingerprint), internal node = SHA-256(0x01 ‖ left ‖ right), an odd node is promoted without duplication. Leaf order is the order of faces in the volume; an identical original counts only the first time (02-Fingerprint section 5)
root_version Version of the volume fingerprint. Goes up when the faces change
method How the volume fingerprint was made (human-readable text)
manifest Which IIIF manifest this fixity bundle belongs to address
canvases One entry per canvas
canvas IIIF canvas address address
derivation How the on-screen reduced copy was made from the original: crop [x0, y0, x1, y1] (original pixels), rotate (degrees), reduced_long_side (pixels)

2.2 Relation network ledger (06-Relation network)

Section titled “2.2 Relation network ledger (06-Relation network)”
Field Meaning (06 section 4)
id Identifier of the entry (UUID). When published as JSON-LD, urn:uuid: is prefixed to id, about, to and replaces
type Kind of entry: node node, claim claim, view view
kind Kind of node: person, group, place, event, work, thing
handle Human-readable handle <project>:<handle>
about, to The subject of a claim and the other party of a relation (identifiers)
prop, value What is being stated, and its value
role Role in an event, kinship relation (section 5)
basis stated the source says so directly, inferred worked out by inference
source List of source positions
when Time of fact (edtf, original, calendar, converted_by, anchor)
at Time of record (RFC 3339)
event What the entry does: claimed, confirmed, retracted, reopened, scope_changed
status candidate candidate, confirmed confirmed, retracted retracted
made_by, confirmed_by Maker (person or machine), confirmation stamp (capacity as)
scope, depositor Scope, depositor of the source record
include, prefer, ties Rules of a view (06 section 7)
replaces, note The entry it replaces, a note
  • The hgp field at the very start of a ledger entry (specification version, e.g. "2026.10") collides with the name of the name file, so it is not expanded as JSON-LD. When publishing as JSON-LD, put it in conformsTo.

v2 keeps every v1 field as it is (the same field gets the same identifier) and adds the fields below. The meaning of each field and its mapping to other standards are in terms-v2.jsonld.

Group Fields Document
Ledger level, file, mime (→ dct:format), bytes, sha256_device, sha256_store, sha256_stored, encryption, store, started_at, source_type (→ IPTC vocabulary), action, derived_from, edits, approval_required, scope_after, owner, holder, agreement, rights, consent, via, sig 03-manifest section 3
Ledger event values captured, received, fixity_checked, fixity_failed, sent, derived, consent_changed, encrypted, destroyed, key_changed, status (→ hgp:app_status_changed) 03-manifest section 5
Data type values audio, scan, photo, video, text 03-manifest section 4
Deposit agreement entry parties, covers, from, review_at, owner_consent, layers, doc (entry type agreement_line) 07-Deposit section 4
Product provenance subject, event_kind, prev, parents, of, sealed, sealed_count, profile (→ dct:conformsTo), decided_by, item, salt, leaf, proof decision 0016, 0017
Relation network kin_type, lang (the script or language of a value), reckoning (how an age was counted). Also definitions for every prop value (relation vocabulary): the v1 vocabulary plus clan_seat, posthumous_name, temple_name, title_granted, social_status, adopted_heir, generation, buried_at, age_at_death, mark, no_record 06-Relation network sections 4.1 and 5
  • Values of prop and scope are expanded to identifiers (IRIs). "prop":"courtesy_name" → hgp:courtesy_name, "scope":"private" → hgp:scope_private. In v1 they were plain text. So another institution can read in terms-v2.jsonld that a courtesy name (ja) is the same as Wikidata P1782.
  • When the same word means different things in different fields, each field expands it separately (JSON-LD 1.1 per-field context). confirmed in level (the provenance grade “confirmed”) is hgp:level_confirmed, while confirmed in a claim’s status (a confirmed claim) stays hgp:confirmed.
  • Values of source_type are expanded to the official IPTC addresses: digitalCapture → http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture.
  • profile is expanded as dct:conformsTo (the rule it follows). A profile inside a fixity bundle is no longer dropped either. Inside an IIIF manifest, the IIIF context comes last, so IIIF’s profile wins (section 3).
  • Claims whose value is an object (external_id and the like) are wrapped as {"@value": {…}, "@type": "@json"} when published as JSON-LD.
  • What did not change: every field and value that was in v1 expands to the same identifier. This was confirmed by testing (section 6).

Known overlaps and gaps in v2. A published version is never changed, so they are written down here and will be separated in the next version.

  • hgp:event has the same address for two meanings: the ledger field event (why the entry was written) and the node kind kind: "event" (an event). In the next version, the node kind becomes hgp:kind_event.
  • about is @type: @id, so it takes only a node identifier. When a position ({"book","face","line"}) is put in about, it is wrapped as {"@value": {…}, "@type": "@json"} when published.
  • conformsTo (specification version, text) and profile (profile address) both expand to dct:conformsTo. Text and addresses are mixed, so the receiving side reads both.
  • retracted is in two groups, the event values and the status values, and event_kind is defined twice, as a ledger field and as a prop value. The meaning is the same.
  • Among the values, the 27 for events, statuses, provenance grades and scopes have Korean names only.

title, people, voices, place, sent_to and the app processing status status (the one in 03-manifest) are not in the name file. They are fields that are never published (03-manifest section 9). A JSON-LD processor drops fields that are not in the name file, so even if they slip in by mistake, they do not go out. A processor in safe mode raises an error. The name of a view entry (the name of the view), the reason of a claim (why it was retracted) and the per-type fields of 03-manifest section 4 (duration_sec, book, faces and so on) are not in v2 either. They will be looked at in the next version.

This follows the results of testing with the official IIIF validator (hgp issue #1, arkive 2026-10-12).

  • Write @context as a list, with the hgp address first and the IIIF address last: ["https://hgp.hahoe.io/ns/v1.jsonld", "http://iiif.io/api/presentation/3/context.json"]
  • A canvas may carry hgp:sha256 (fingerprint of the original scan). It passes the validator.
  • Do not put hgp:root on the manifest. The validator rejects it. The volume fingerprint goes in metadata (text for people) and in the fixity bundle referenced by seeAlso (for machines) (decision 0009).
  • Do not put an object in place of an address in the context position. The validator rejects it.

This is the machine-readable file that the manifest’s seeAlso points to (02-Fingerprint section 9).

{"type": "Dataset", "format": "application/json",
"profile": "https://hgp.hahoe.io/ns/#fixity-v1",
"id": "<저장고>/api/books/<권>/export/fixity"}

The fields inside the bundle are those in section 2.1. "@context": "https://hgp.hahoe.io/ns/v1.jsonld" may be placed at the top of the bundle. The earlier temporary name urn:x-hgp:fixity is replaced by this address.

  • Inside the bundle, write the profile as conformsTo: "conformsTo": "https://hgp.hahoe.io/ns/#fixity-v1". profile is the name used in the manifest’s seeAlso field (IIIF) and is not in the v1 name file, so a JSON-LD processor drops a profile inside the bundle (tested 2026-10-12). In v2, a profile inside the bundle is also expanded to dct:conformsTo (2.4).

relations-v1.json is a table written so that machines can check “which fields go with which kind of node, what shape the values take, and whether there is one value or many”. The meaning of the fields is in 06-Relation network; this table sets only the shape.

  • Two levels of violation. error is something that must not enter the ledger (no source, or a machine confirming from the start). review is something for a person to look at (two values in a field that should have one, a role name not on the list). Because 06 section 7 says superpositions are kept rather than resolved, two values is not a violation but a review.
  • A claim made by a machine can never be confirmed from the start (error). Only people apply confirmation stamps (decision 0006).
  • Roles in an event (role of participant) are fixed values.
Value Korean label Old value (still read until arkive migrates)
visitor 찾아온 이 (the one who visited) “찾아온 이”
host 맞은 이 (the one who received the visitor) “맞은 이”
sender 보낸 이, 준 이 (the one who sent, the one who gave) “보낸 이”, “준 이”
recipient 받은 이 (the one who received) “받은 이”, “받은 이(물건)” (received, of an object)
companion 함께한 이 (the one who accompanied) “함께한 이”
passer 급제자 (the one who passed the state examination; exam events) New value. Not in rule table v1, so it shows up as review

Since the kind of event (event_kind) already distinguishes letters from objects, “준 이” (gave) and “보낸 이” (sent) are merged into one.

  • Kinship relations (role of kin) record the form of address in the original text as is (jokjil, clan nephew; joksuk, clan uncle; oesuk, maternal uncle; and so on). Korean kinship terms are many and finely shaded in meaning, so they are not closed into a fixed list. An empty string is an error.
  • The rule table is written in JSON. It could be exported to W3C SHACL (the standard for checking graphs), but that is not done for now (referenced).

terms-v2 holds only part of the mappings to other standards in the table of 06-Relation network section 5 (CRM P1 for name, P19 and P20 and E67 and E69 for born and died, and others, come in the next version).

Standard Mapping Grade
JSON-LD 1.1 (W3C) v1.jsonld and v2.jsonld are JSON-LD 1.1 contexts. For v1, examples of a claim entry, a node entry, a fixity bundle and a canvas (2026-10-12); for v2, those plus a ledger entry, an agreement entry, a product provenance entry, a publication entry, an external identifier claim, and a fixity bundle referenced from an IIIF manifest, were expanded with a processor (jsonld.js 8.3.3, safe mode) and converted all the way to RDF (2026-10-20). It was also confirmed that v1 and v2 give the same field the same identifier. terms-v2.jsonld also expands in safe mode aligned
GEDCOM 7 (FamilySearch) Mapped to the extension tags of the HGP GEDCOM profile in section 7. The jokbo tool’s sample conversion of a genealogy uses this form. Not yet tested with genealogy software referenced
W3C SKOS, RDFS Definitions and mappings in terms-v2.jsonld (skos:exactMatch means the same, skos:closeMatch means similar) aligned
IIIF Presentation 3 Manifests written as in section 3 pass the official validator (6 arkive volumes) conforms
W3C SHACL The rule table is designed so it can be converted to SHACL referenced

These are the extension tags used when a genealogy (jokbo) is exported as GEDCOM 7 (FamilySearch, genealogy exchange format) (decision 0020 section 8, 0021). GEDCOM 7 asks that each extension tag have a public address stating its meaning, written in SCHMA in the file header. This section is that address.

1 SCHMA
2 TAG _KLUNAR https://hgp.hahoe.io/ns/#gedcom-klunar
2 TAG _KAGE https://hgp.hahoe.io/ns/#gedcom-kage
2 TAG _HGPSRC https://hgp.hahoe.io/ns/#gedcom-hgpsrc
2 TAG _HGPSTAT https://hgp.hahoe.io/ns/#gedcom-hgpstat
2 TAG _SHA256 https://hgp.hahoe.io/ns/#gedcom-sha256
2 TAG _HGPKEY https://hgp.hahoe.io/ns/#gedcom-hgpkey
  • The earlier temporary names urn:x-hgp:gedcom:… and addresses inside the repository are replaced by these addresses.
  • A file made with this profile states in its header NOTE that it “follows the HGP GEDCOM profile gedcom-v1”.
  • A version, once published, is never changed. A change means gedcom-v2.

A calendar name used inside DATE. The four calendars defined in GEDCOM (Gregorian, Julian, French Republican, Hebrew) do not include the lunar calendar, so it is added as an extension.

  • Form: DATE _KLUNAR [day] [month] year. The month is M1 to M12 for a regular month and L1 to L12 for a leap month. The day is 1 to 30. The year is the number of the solar year in which that lunar year began.
  • Put alongside it: the wording of the original in PHRASE, and the date converted to the solar calendar in SDATE (GEDCOM 7’s date for sorting). If it cannot be converted, leave out SDATE and keep only the year.
  • Example: 壬寅年 十月 一日 → 2 DATE _KLUNAR 1 M10 1542 / 3 PHRASE 壬寅十月一日 / 2 SDATE JULIAN 7 NOV 1542 (before 15 October 1582 the Julian calendar is used)
  • In the relation network, this is calendar: korean-lunar, original and edtf in when (06-Relation network section 6).
  • The GEDCOM 5.5.1 version has no such calendar, so it is exported as a solar DATE and a NOTE with the original wording.

Placed under an event (mostly DEAT), it keeps the age stated in the original as is, in Korean age reckoning (se-neun nai; one year at birth, plus one each new year). Example: 享年六十六 → 2 _KAGE 66. GEDCOM’s AGE is read as full years of age, so the two are not mixed. In the relation network, this is age_at_death + reckoning: korean (06-Relation network section 5).

Under TRAN (Hangul reading, romanization). Values: PRINTED printed in the original, MACHINE produced by a machine, PERSON produced by a person. In the relation network, this is the made_by of that name claim.

Under a source citation (under SOUR). Values: CANDIDATE candidate (read by a machine, not yet seen by a person), CONFIRMED confirmed (a person has checked it against the original). It is the same as status in the relation network. Only people confirm (decision 0006).

Under a source record (0 @S…@ SOUR). The SHA-256 fingerprint (02-Fingerprint) of the original file of that genealogy. 64 lowercase hexadecimal characters.

Under a person (INDI). The key of the source position (face, generation band, sequence number) where this person appears. If the same person appears in several places (on the birth family’s side and the adoptive family’s side, and so on), the keys are joined with commas. In the relation network, this is the source position of a claim.

7.7 Mapping between GEDCOM and the relation network

Section titled “7.7 Mapping between GEDCOM and the relation network”
GEDCOM 7 Relation network (06)
INDI person node
NAME (original Chinese characters) / TRAN + LANG ko-Hang, ko-Latn name claim, with lang telling the scripts apart
NAME + TYPE OTHER + PHRASE (courtesy name (ja), art name (ho), first given name (chohwi)) courtesy_name, art_name, alias
BIRT, DEAT, BURI born, died, buried_at
HUSB, WIFE / CHIL of FAM spouse / child
FAMC + PEDI ADOPTED, ADOP adopted_heir, kin type adoptive
SOUR + PAGE source of a claim (face, line)
Two records of the same person same_as (confirmed by a person)
NOTE note
  • Possibly living persons are removed before export (06-Relation network section 9 item 3, decision 0008). A version that includes them is private and is never published.
  • GEDCOM allows several events of the same kind for the same person, each with its own source. Different records in genealogies of different editions are exported in superposition that way.