-
Notifications
You must be signed in to change notification settings - Fork 4
Add gedcom-occurrences extension v0.2.1 #177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
13d6c79
03b8afe
23da8aa
3c514c1
74ecf70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| lang: en-US | ||
|
|
||
| type: enumeration set | ||
|
|
||
| uri: https://github.com/glamberson/gedcom-occurrences/enumset-Presence | ||
|
|
||
| enumeration values: | ||
| - "https://github.com/glamberson/gedcom-occurrences/enum-Present" | ||
| - "https://github.com/glamberson/gedcom-occurrences/enum-Absent" | ||
| - "https://github.com/glamberson/gedcom-occurrences/enum-Unknown" | ||
|
|
||
| contact: "https://github.com/glamberson/gedcom-occurrences" | ||
| ... | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,19 @@ | ||||||||
| %YAML 1.2 | ||||||||
| --- | ||||||||
| lang: en-US | ||||||||
|
|
||||||||
| type: enumeration | ||||||||
|
|
||||||||
| uri: https://github.com/glamberson/gedcom-occurrences/enum-Absent | ||||||||
|
|
||||||||
| extension tags: _ABSENT | ||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We think this might be invalid syntax since it's supposed to be an array. so something like
Suggested change
|
||||||||
|
|
||||||||
| specification: | ||||||||
| - Absent | ||||||||
| - Person was listed or referenced but not physically present | ||||||||
|
|
||||||||
| value of: | ||||||||
| - https://github.com/glamberson/gedcom-occurrences/enumset-Presence | ||||||||
|
|
||||||||
| contact: https://github.com/glamberson/gedcom-occurrences | ||||||||
| ... | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| lang: en-US | ||
|
|
||
| type: enumeration | ||
|
|
||
| uri: https://github.com/glamberson/gedcom-occurrences/enum-Present | ||
|
|
||
| extension tags: _PRESENT | ||
|
|
||
| specification: | ||
| - Present | ||
| - Person was physically present at the occurrence | ||
|
|
||
| value of: | ||
| - https://github.com/glamberson/gedcom-occurrences/enumset-Presence | ||
|
|
||
| contact: https://github.com/glamberson/gedcom-occurrences | ||
| ... |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| lang: en-US | ||
|
|
||
| type: enumeration | ||
|
|
||
| uri: https://github.com/glamberson/gedcom-occurrences/enum-Unknown | ||
|
|
||
| extension tags: _UNKNOWN | ||
|
|
||
| specification: | ||
| - Unknown | ||
| - Presence status cannot be determined from the source | ||
|
|
||
| value of: | ||
| - https://github.com/glamberson/gedcom-occurrences/enumset-Presence | ||
|
|
||
| contact: https://github.com/glamberson/gedcom-occurrences | ||
| ... |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| contact: https://github.com/glamberson/gedcom-occurrences | ||
| extension tags: | ||
| - _ATTR | ||
| label: Occurrence Attribute | ||
| lang: en-US | ||
| payload: null | ||
| specification: | ||
| - Attribute | ||
| - 'A custom attribute for an occurrence reference. Used to store | ||
|
|
||
| occurrence-specific participant attributes such as dwelling number, | ||
|
|
||
| enumeration district, or other structured data from historical records.' | ||
| substructures: | ||
| https://gedcom.io/terms/v7/TEXT: '{1:1}' | ||
| https://gedcom.io/terms/v7/TYPE: '{1:1}' | ||
| superstructures: | ||
| https://github.com/glamberson/gedcom-occurrences/_OCREF: '{0:M}' | ||
| type: structure | ||
| uri: https://github.com/glamberson/gedcom-occurrences/_ATTR | ||
| ... |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| contact: https://github.com/glamberson/gedcom-occurrences | ||
| extension tags: | ||
| - _OCREF | ||
| label: Occurrence Reference | ||
| lang: en-US | ||
| payload: '@<https://github.com/glamberson/gedcom-occurrences/_OCUR>@' | ||
| specification: | ||
| - Occurrence Reference | ||
| - 'A reference from an individual or family to an occurrence record (_OCUR). | ||
|
|
||
| This structure contains all participant-specific data such as role, age, | ||
|
|
||
| and participation details. | ||
|
|
||
|
|
||
| In the container-only model (v0.2.0+), all participant data is stored | ||
|
|
||
| exclusively in _OCREF structures to avoid data duplication and synchronization | ||
|
|
||
| issues.' | ||
| substructures: | ||
| https://gedcom.io/terms/v7/AGE: '{0:1}' | ||
| https://gedcom.io/terms/v7/NOTE: '{0:M}' | ||
| https://gedcom.io/terms/v7/ROLE: '{1:1}' | ||
| https://gedcom.io/terms/v7/SNOTE: '{0:M}' | ||
| https://gedcom.io/terms/v7/SOUR: '{0:M}' | ||
| https://github.com/glamberson/gedcom-occurrences/_ATTR: '{0:M}' | ||
| https://github.com/glamberson/gedcom-occurrences/_PRESENCE: '{0:1}' | ||
| superstructures: | ||
| https://gedcom.io/terms/v7/record-FAM: '{0:M}' | ||
| https://gedcom.io/terms/v7/record-INDI: '{0:M}' | ||
| type: structure | ||
| uri: https://github.com/glamberson/gedcom-occurrences/_OCREF | ||
| ... |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,49 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| %YAML 1.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| contact: https://github.com/glamberson/gedcom-occurrences | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| extension tags: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| - _OCUR | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| label: Occurrence | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| lang: en-US | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| payload: null | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| specification: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| - Occurrence Record | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| - 'An _OCUR record represents an occurrence as an independent, first-class object | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| that can involve multiple participants with different roles. This allows | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| the same occurrence (such as a census, burial, or ceremony) to be referenced | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| by multiple people without duplication of occurrence data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Unlike embedded events (EVEN) in INDI or FAM records, _OCUR records exist at | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| the top level and are referenced using _OCREF from participants. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| This extension addresses the synchronization problems that occur when multiple | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| people participate in the same event, providing a clean separation between | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Remove blank lines in the middle of sentences. Same in other files in this PR. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| event data (date, place, type) and participation data (role, age).' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| substructures: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/ADDR: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/AGNC: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/CAUS: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/CHAN: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/DATE: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/EXID: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/NOTE: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/OBJE: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/PLAC: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/RELI: '{0:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/SNOTE: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/SOUR: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/TYPE: '{1:1}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://gedcom.io/terms/v7/UID: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| https://github.com/glamberson/gedcom-occurrences/_PART: '{0:M}' | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| superstructures: {} | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| type: structure | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| uri: https://github.com/glamberson/gedcom-occurrences/_OCUR | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ... | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| contact: https://github.com/glamberson/gedcom-occurrences | ||
| extension tags: | ||
| - _PART | ||
| label: Participant | ||
| lang: en-US | ||
| payload: '@<https://gedcom.io/terms/v7/record-INDI>@ | @<https://gedcom.io/terms/v7/record-FAM>@' | ||
| specification: | ||
| - Participant | ||
| - 'A reference to an individual or family that participated in an occurrence. | ||
|
|
||
|
|
||
| In the container-only model (v0.2.0+), _PART contains only the pointer | ||
|
|
||
| to the participant. All participant-specific data (role, age, etc.) is | ||
|
|
||
| stored in the corresponding _OCREF structure to avoid data duplication.' | ||
| substructures: {} | ||
| superstructures: | ||
| https://github.com/glamberson/gedcom-occurrences/_OCUR: '{0:M}' | ||
| type: structure | ||
| uri: https://github.com/glamberson/gedcom-occurrences/_PART | ||
| ... |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| %YAML 1.2 | ||
| --- | ||
| contact: https://github.com/glamberson/gedcom-occurrences | ||
| extension tags: | ||
| - _PRESENCE | ||
| label: Presence Status | ||
| lang: en-US | ||
| payload: https://github.com/glamberson/gedcom-occurrences/enumset-Presence | ||
| specification: | ||
| - Presence Status | ||
| - 'Indicates the presence status of a participant in an occurrence. | ||
|
|
||
| Used to distinguish between participants who were physically present | ||
|
|
||
| versus those who were listed but absent.' | ||
| substructures: {} | ||
| superstructures: | ||
| https://github.com/glamberson/gedcom-occurrences/_OCREF: '{0:1}' | ||
| type: structure | ||
| uri: https://github.com/glamberson/gedcom-occurrences/_PRESENCE | ||
| ... |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussion during GEDCOM Steering Committee meeting,
We recommend also using the
documentation:field defined at https://gedcom.io/terms/format