HEADER

From PGVWiki
Jump to: navigation, search

The Header structure provides information about the entire transmission. The SOURce system name identifies which system sent the data. The DESTination system name identifies the intended receiving system.

Additional GEDCOM standards will be produced in the future to reflect GEDCOM expansion and maturity. This requires the reading program to make sure it can read the GEDC.VERS and the GEDC.FORM values to insure proper readability. The CHAR tag is required. All character codes greater than 0x7F must be converted to ANSEL.

n HEAD          {1:1}
   +1 SOUR <APPROVED_SYSTEM_ID>  {1:1}
     +2 VERS <VERSION_NUMBER>  {0:1}
     +2 NAME <NAME_OF_PRODUCT>  {0:1}
     +2 CORP <NAME_OF_BUSINESS>  {0:1}
       +3 <<ADDRESS_STRUCTURE>>  {0:1}
     +2 DATA <NAME_OF_SOURCE_DATA>  {0:1}
       +3 DATE <PUBLICATION_DATE>  {0:1}
       +3 COPR <COPYRIGHT_SOURCE_DATA>  {0:1}
         +4 [CONT|CONC]<COPYRIGHT_SOURCE_DATA>
   +1 DEST <RECEIVING_SYSTEM_NAME>  {0:1*}
   +1 DATE <TRANSMISSION_DATE>  {0:1}
     +2 TIME <TIME_VALUE>  {0:1}
   +1 SUBM @<XREF:SUBM>@  {1:1}
   +1 SUBN @<XREF:SUBN>@  {0:1}
   +1 FILE <FILE_NAME>  {0:1}
   +1 COPR <COPYRIGHT_GEDCOM_FILE>  {0:1}
   +1 GEDC        {1:1}
     +2 VERS <VERSION_NUMBER>  {1:1}
     +2 FORM <GEDCOM_FORM>  {1:1}
   +1 CHAR <CHARACTER_SET>  {1:1}
     +2 VERS <VERSION_NUMBER>  {0:1}
   +1 LANG <LANGUAGE_OF_TEXT>  {0:1}
   +1 PLAC        {0:1}
     +2 FORM <PLACE_HIERARCHY>  {1:1}
   +1 NOTE <GEDCOM_CONTENT_DESCRIPTION>  {0:1}
     +2 [CONT|CONC] <GEDCOM_CONTENT_DESCRIPTION>  {0:M}