FamilySearch / gedcomx

An open data model and an open serialization format for exchanging genealogical data.
http://www.gedcomx.org
Apache License 2.0
354 stars 68 forks source link

Metadata about the originating software of the GEDCOM X data #306

Open justincy opened 7 years ago

justincy commented 7 years ago

Does the GEDCOM X spec currently support a method of noting the program that assembled the GEDCOM X data? I have a program that outputs data in GEDCOM X format and I'd like to add metadata to that which includes the program's name and version, much like metadata that is often embedded in images.

It seems that I could use attribution property of the JSON data type but attributions is typically used for users.

stoicflame commented 7 years ago

Are you looking for a property with specific semantic meaning for software and version? Or do you just need human-readable text?

There's not a great place for the former, although I think it would be reasonable to add it, perhaps to the "Attribution" data type.

If you just need a human-readable place for it, I'd suggest you just create a SourceDescription of the data and put what you need in the title or citation, e.g.:

{
  "descriptionRef" : "#this",
  ...
  "sourceDescriptions" : [ {
    "id" : "this",
    "citations" : [ {
      "value" : "Data for user John Doe; February 21, 2017; using My Great Software, Version 1.2.3"
    } ]
  } ]
}