-
Notifications
You must be signed in to change notification settings - Fork 21
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
SCHEMA.TAG ambiguity #330
Comments
Possible 7.1 solution: 2 TAG _PARTY http://example.com/party-participation
3 TYPE SUBSTRUCTURE
4 CONTEXT https://gedcom.io/terms/v7/record-INDI
3 TYPE ENUM_VALUE
4 CONTEXT https://gedcom.io/terms/v7/enumset-EVEN
4 CONTEXT https://gedcom.io/terms/v7/enumset-EVENATTR
2 TAG _PARTY http://example.com/party
3 TYPE RECORD For backwards compatibility, if there's no TAG.TYPE then its up to the application to understand the context. For brevity, CONTEXT is optional, only needed when URIs share the same tag and TYPE. We could instead omit TYPE and only have CONTEXT, but that would make things like new event substructures (such as GEDCOM-L's _LOC substructure) very verbose to specify Open design decisions:
|
That said, I'm also open to explicitly referencing the YAML registry in the spec and saying applications need to consult it for duplicated extTags. |
Discussed 2023-08-10 |
Fixes #330 Signed-off-by: Dave Thaler <dthaler@microsoft.com>
FamilySearch/GEDCOM.io#89 has an illustrative case:
In the example above, the two URIs may differ in terms of what superstructures
_PARTY
can appear in.However, there's no way for a GEDCOM processor to know which is the case without knowing the schema details.
Should there be a substructure under
TAG
that can list the superstructures? Or do we require the URI to resolve to a YAML file? Or do we leave it unusable by generic tools?The text was updated successfully, but these errors were encountered: