diff --git a/registry_tools/GEDCOM.io b/registry_tools/GEDCOM.io index da76dfe9..45791f0a 160000 --- a/registry_tools/GEDCOM.io +++ b/registry_tools/GEDCOM.io @@ -1 +1 @@ -Subproject commit da76dfe933b22833035e005e7092ba1a91be0140 +Subproject commit 45791f0a61ae7375bca211019fdaeb12179c3925 diff --git a/structure/extension/_ATTR.yaml b/structure/extension/_ATTR.yaml new file mode 100644 index 00000000..75150f0f --- /dev/null +++ b/structure/extension/_ATTR.yaml @@ -0,0 +1,34 @@ +%YAML 1.2 +--- +lang: en-US + +type: structure + +uri: https://github.com/glamberson/gedcom-tags/_ATTR + +extension tags: + - _ATTR + +specification: + - Generic Attribute + - | + The _ATTR structure provides a generic mechanism for vendors to add + custom attributes to tags. The payload contains the attribute name, + and the required _VALUE substructure contains the attribute value. + + This allows software to extend tags with specific functionality + without requiring changes to the base specification. + +label: 'Attribute' + +payload: http://www.w3.org/2001/XMLSchema#string + +substructures: + "https://github.com/glamberson/gedcom-tags/_VALUE": "{1:1}" + +superstructures: + "https://github.com/glamberson/gedcom-tags/_TAG": "{0:M}" + +contact: "lamberson@yahoo.com" + +... diff --git a/structure/extension/_COLOR.yaml b/structure/extension/_COLOR.yaml new file mode 100644 index 00000000..94eff3dd --- /dev/null +++ b/structure/extension/_COLOR.yaml @@ -0,0 +1,33 @@ +%YAML 1.2 +--- +lang: en-US + +type: structure + +uri: https://github.com/glamberson/gedcom-tags/_COLOR + +extension tags: + - _COLOR + +specification: + - Color + - | + The _COLOR structure specifies a color for visual representation of a tag. + The color must be specified as a 6-digit hexadecimal value in the format + #RRGGBB, where RR is red, GG is green, and BB is blue. Values are + case-insensitive. + + Examples: #FF0000 (red), #00FF00 (green), #0000FF (blue) + +label: 'Color' + +payload: http://www.w3.org/2001/XMLSchema#string + +substructures: {} + +superstructures: + "https://github.com/glamberson/gedcom-tags/_TAG": "{0:1}" + +contact: "lamberson@yahoo.com" + +... diff --git a/structure/extension/_TAG.yaml b/structure/extension/_TAG.yaml new file mode 100644 index 00000000..df81d3da --- /dev/null +++ b/structure/extension/_TAG.yaml @@ -0,0 +1,39 @@ +%YAML 1.2 +--- +lang: en-US + +type: record + +uri: https://github.com/glamberson/gedcom-tags/_TAG + +extension tags: + - _TAG + +specification: + - Tag Record + - | + A _TAG record represents an organizational tag that can be applied to + any record type for categorization purposes. Tags support optional + visual color coding and vendor-specific attributes through the + generic _ATTR mechanism. + + Tags are first-class records that exist at the top level and are + referenced by other records using the _TAG substructure. + +label: 'Tag' + +payload: null + +substructures: + "https://gedcom.io/terms/v7/NAME": "{1:1}" + "https://github.com/glamberson/gedcom-tags/_COLOR": "{0:1}" + "https://github.com/glamberson/gedcom-tags/_ATTR": "{0:M}" + "https://gedcom.io/terms/v7/NOTE": "{0:M}" + "https://gedcom.io/terms/v7/SNOTE": "{0:M}" + "https://gedcom.io/terms/v7/CHAN": "{0:1}" + +superstructures: {} + +contact: "lamberson@yahoo.com" + +... diff --git a/structure/extension/_TAG_ref.yaml b/structure/extension/_TAG_ref.yaml new file mode 100644 index 00000000..e186f618 --- /dev/null +++ b/structure/extension/_TAG_ref.yaml @@ -0,0 +1,48 @@ +%YAML 1.2 +--- +lang: en-US + +type: structure + +uri: https://github.com/glamberson/gedcom-tags/_TAG_ref + +extension tags: + - _TAG + +specification: + - Tag Reference + - | + When used as a substructure, _TAG references a tag record to apply + that tag to the containing record. The payload is a pointer to a + _TAG record. Optional DATE and NOTE substructures can provide + context about when and why the tag was applied. + +label: 'Tag Reference' + +payload: "@@" + +substructures: + "https://gedcom.io/terms/v7/DATE": "{0:1}" + "https://gedcom.io/terms/v7/NOTE": "{0:M}" + +superstructures: + "https://gedcom.io/terms/v7/record-INDI": "{0:M}" + "https://gedcom.io/terms/v7/record-FAM": "{0:M}" + "https://gedcom.io/terms/v7/record-SOUR": "{0:M}" + "https://gedcom.io/terms/v7/record-REPO": "{0:M}" + "https://gedcom.io/terms/v7/record-OBJE": "{0:M}" + "https://gedcom.io/terms/v7/record-NOTE": "{0:M}" + "https://gedcom.io/terms/v7/record-SNOTE": "{0:M}" + "https://gedcom.io/terms/v7/record-SUBM": "{0:M}" + "https://gedcom.io/terms/v7/EVEN": "{0:M}" + "https://gedcom.io/terms/v7/BIRT": "{0:M}" + "https://gedcom.io/terms/v7/DEAT": "{0:M}" + "https://gedcom.io/terms/v7/MARR": "{0:M}" + "https://gedcom.io/terms/v7/CENS": "{0:M}" + "https://gedcom.io/terms/v7/PLAC": "{0:M}" + "https://gedcom.io/terms/v7/NAME": "{0:M}" + "https://gedcom.io/terms/v7/ASSO": "{0:M}" + +contact: "lamberson@yahoo.com" + +... diff --git a/structure/extension/_VALUE.yaml b/structure/extension/_VALUE.yaml new file mode 100644 index 00000000..6a81d9b9 --- /dev/null +++ b/structure/extension/_VALUE.yaml @@ -0,0 +1,30 @@ +%YAML 1.2 +--- +lang: en-US + +type: structure + +uri: https://github.com/glamberson/gedcom-tags/_VALUE + +extension tags: + - _VALUE + +specification: + - Attribute Value + - | + The _VALUE structure contains the value for a generic attribute + defined by _ATTR. The value is a string that can contain any + vendor-specific data. + +label: 'Value' + +payload: http://www.w3.org/2001/XMLSchema#string + +substructures: {} + +superstructures: + "https://github.com/glamberson/gedcom-tags/_ATTR": "{1:1}" + +contact: "lamberson@yahoo.com" + +...