Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tychonievich committed Nov 1, 2022
1 parent e5f9a09 commit 3da7e58
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- Clarify that the same tag can be used for multiple URIs in the schema provided the meanings are non-overlapping. Recommend tags only be reused for closely related concepts, similar to how standard tags are.

- Recommend that `g7:type-DateExact` should use UTC time because it is used in places where exact machine-generated timestamps are expected.
- Recommend that `g7:type-Date#exact` should use UTC time because it is used in places where exact machine-generated timestamps are expected.

- Split shared rows in date definition table and reorder rows to be more logically organized.

Expand Down
2 changes: 1 addition & 1 deletion extracted-files/cardinalities.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ https://gedcom.io/terms/v7/record-INDI https://gedcom.io/terms/v7/INDI-TITL {0:M
https://gedcom.io/terms/v7/CROP https://gedcom.io/terms/v7/TOP {0:1}
https://gedcom.io/terms/v7/INDI-NAME https://gedcom.io/terms/v7/NAME-TRAN {0:M}
https://gedcom.io/terms/v7/PLAC https://gedcom.io/terms/v7/PLAC-TRAN {0:M}
https://gedcom.io/terms/v7/NOTE https://gedcom.io/terms/v7/NOTE-TRAN {0:1}
https://gedcom.io/terms/v7/NOTE https://gedcom.io/terms/v7/NOTE-TRAN {0:M}
https://gedcom.io/terms/v7/record-SNOTE https://gedcom.io/terms/v7/NOTE-TRAN {0:M}
https://gedcom.io/terms/v7/FILE https://gedcom.io/terms/v7/FILE-TRAN {0:M}
https://gedcom.io/terms/v7/ADOP https://gedcom.io/terms/v7/TYPE {0:1}
Expand Down
3 changes: 2 additions & 1 deletion extracted-files/grammar.abnf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ Integer = 1*digit

; ------------- Enumeration -------------

Enum = Tag
stdEnum = stdTag / Integer
Enum = stdEnum / extTag


; ------------- Date -------------
Expand Down
2 changes: 1 addition & 1 deletion extracted-files/grammar.gedstruct
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ NOTE_STRUCTURE :=
n NOTE <Text> {1:1} g7:NOTE
+1 MIME <MediaType> {0:1} g7:MIME
+1 LANG <Language> {0:1} g7:LANG
+1 TRAN <Text> {0:1} g7:NOTE-TRAN
+1 TRAN <Text> {0:M} g7:NOTE-TRAN
+2 MIME <MediaType> {0:1} g7:MIME
+2 LANG <Language> {0:1} g7:LANG
+1 <<SOURCE_CITATION>> {0:M}
Expand Down
2 changes: 1 addition & 1 deletion extracted-files/tags/ADOP-FAMC
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ standard tag: FAMC
specification:
- Family child
- |
The individual or couple that adopted this this individual.
The individual or couple that adopted this individual.

Adoption by an individual, rather than a couple, may be represented either
by pointing to a FAM where that individual is a HUSB or WIFE and using a
Expand Down
2 changes: 1 addition & 1 deletion extracted-files/tags/NOTE
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ payload: http://www.w3.org/2001/XMLSchema#string
substructures:
"https://gedcom.io/terms/v7/LANG": "{0:1}"
"https://gedcom.io/terms/v7/MIME": "{0:1}"
"https://gedcom.io/terms/v7/NOTE-TRAN": "{0:1}"
"https://gedcom.io/terms/v7/NOTE-TRAN": "{0:M}"
"https://gedcom.io/terms/v7/SOUR": "{0:M}"

superstructures:
Expand Down
2 changes: 1 addition & 1 deletion extracted-files/tags/NOTE-TRAN
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ substructures:
"https://gedcom.io/terms/v7/MIME": "{0:1}"

superstructures:
"https://gedcom.io/terms/v7/NOTE": "{0:1}"
"https://gedcom.io/terms/v7/NOTE": "{0:M}"
"https://gedcom.io/terms/v7/record-SNOTE": "{0:M}"
...
8 changes: 6 additions & 2 deletions extracted-files/tags/type-Date
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,13 @@ specification:

TO x Lasted for multiple days, ending on x.

BET xAFT x Exact date unknown, but no earlier than x.
BET x Exact date unknown, but no earlier than x.

AND xBEF x Exact date unknown, but no later than x.
AND x Exact date unknown, but no later than x.

BEF x Exact date unknown, but no later than x.

AFT x Exact date unknown, but no earlier than x.

ABT x Exact date unknown, but near x.

Expand Down
14 changes: 8 additions & 6 deletions extracted-files/tags/type-Enum
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ uri: https://gedcom.io/terms/v7/type-Enum
specification:
- |
An enumeration is a selection from a set of options. They are represented
as a string matching the same production as a tag.
as a string matching the same production as a tag, with the additional
permission that standard enumerations may be integers.

Enum = Tag
stdEnum = stdTag / Integer
Enum = stdEnum / extTag

Each structure type with an enumeration payload also defines specific
payload values it permits. These permitted payloads match production stdTag
and should each have a defined URI. Payload values that match production
extTag are always permitted in structures with an enumeration payload and
have their URI defined by the schema.
payload values it permits. These permitted payloads match production
stdEnum and should each have a defined URI. Payload values that match
production extTag are always permitted in structures with an enumeration
payload and have their URI defined by the schema.

Each enumeration value has a distinct meaning as identified by its
corresponding URI.
Expand Down
3 changes: 2 additions & 1 deletion extracted-files/tags/type-Time
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ specification:
11:00 PM). It may be represented either in event-local time or in
Coordinated Universal Time (UTC). UTC is indicated by including a Z
(U+005A) after the time value; event-local time is indicated by its
absence.
absence. When a time is used together with a DateExact, it is recommended
that UTC time be used rather than event-local time.

Time = hour ":" minute [":" second ["." fraction]] [%s"Z"]

Expand Down

0 comments on commit 3da7e58

Please sign in to comment.