Skip to content

Commit

Permalink
Merge branch 'main' of github.com:FamilySearch/GEDCOM
Browse files Browse the repository at this point in the history
  • Loading branch information
tychonievich committed Feb 23, 2023
2 parents f436fca + fb10bb4 commit 18ea14a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
4 changes: 3 additions & 1 deletion specification/gedcom-02-datatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ dateRange = %s"BET" D date D %s"AND" D date
dateApprox = (%s"ABT" / %s"CAL" / %s"EST") D date
dateRestrict = %s"FROM" / %s"TO" / %s"BET" / %s"AND" / %s"BEF"
/ %s"AFT" / %s"ABT" / %s"CAL" / %s"EST" / %s"BCE"
/ %s"AFT" / %s"ABT" / %s"CAL" / %s"EST"
calendar = %s"GREGORIAN" / %s"JULIAN" / %s"FRENCH_R" / %s"HEBREW"
/ extTag
Expand All @@ -112,6 +112,8 @@ In addition to the constraints above:
- No calendar names, months, or epochs match `dateRestrict`.
- Extension calendars (those with `extTag` for their `calendar`) must use `extTag`, not `stdTag`, for months.

It is recommended that calendars avoid using a single tag to refer to both a month and an epoch.

An absent `calendar` is equivalent to the calendar `GREGORIAN`.

The grammar above allows for `date`s to be preceded by various words. The meaning of these words is given as follows:
Expand Down
34 changes: 32 additions & 2 deletions specification/gedcom-03-datamodel.md
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,30 @@ An event structure asserts the event did occur if any of the following are true:
````
</div>
<div class="note">
Version 5.4 (1995) introduced the "event did occur" meaning of event.`DATE`, so it is now well-established in applications and files.
However, it is common for users to enter a date range with no end without intending to indicate that the event occurred.
For example, pre 7.0 files sometimes used
````gedcom
1 NATU
2 DATE AFT 1800
````
to mean what 7.0 encodes as
````gedcom
1 NOT NATU
2 DATE TO 1800
````
without intending to imply that `NATU` ever did actually occur.
Because this is a "sometimes used" rather than a "formally means" situation,
it is likely that data using 5.x "after meaning not before" *de facto* pattern will be transferred as-is into 7.0 and persist in files for the foreseeable future.
</div>
- There is a `PLAC` substructure
Expand Down Expand Up @@ -1648,7 +1672,7 @@ See also `FAMILY_EVENT_STRUCTURE`.
An [Individual Attribute](#individual-attributes).
See also `INDIVIDUAL_ATTRIBUTE_STRUCTURE`.
#### `EDUC` (Description) `g7:EDUC`
#### `EDUC` (Education) `g7:EDUC`
An [Individual Attribute](#individual-attributes).
See also `INDIVIDUAL_ATTRIBUTE_STRUCTURE`.
Expand All @@ -1664,7 +1688,7 @@ If an invalid email address is present upon import, it should be preserved as-is
The version 5.5.1 specification contained a typo where this tag was sometimes written `EMAI` and sometimes written `EMAIL`. `EMAIL` should be used in version 7.0 and later.
:::
#### `EMIG` (Description) `g7:EMIG`
#### `EMIG` (Emigration) `g7:EMIG`
An [Individual Event](#individual-events).
See also `INDIVIDUAL_EVENT_STRUCTURE`.
Expand Down Expand Up @@ -2762,6 +2786,12 @@ New globally unique identifiers should be created and formatted as described in
This is metadata about the structure itself, not data about its subject.
Multiple structures describing different aspects of the same subject would have different `UID` values.

Because the `UID` identifies a structure, it can facilitate inter-tool collaboration
by distinguishing between a structure being edited and a new structure being created.
If an application allows structures to be edited in a way that completely changes their meaning
(e.g., changing all the contents of an `INDI` record to have it describe a completely different person)
then any `UID`s should also be changed.

:::note
Some systems used a 16-byte UUID with a custom 2-byte checksum for a total of 18 bytes:

Expand Down

0 comments on commit 18ea14a

Please sign in to comment.