home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
f
/
family
/
!Family
/
GEDSyn
< prev
next >
Wrap
Text File
|
1996-02-22
|
47KB
|
2,880 lines
#Machine-readable definition of GEDCOM 5.3 syntax
#Denis Howe <dbh@doc.ic.ac.uk>
#0.00 14 Dec 1994 Unfinished
#0.01 First complete version
#
#Meta-syntax
#
#"#" introduces comment to end of line. Objects are separated
#by blank lines. Each object is of the form:
#
# <OBJECT NAME>
# [$<PRINT NAME>]
# [:<GEDCOM TAG> ['string']<VALUE CODE>]
# ?<HELP TEXT>
# <OBJECT NAME>* #sub-objects
#
#[] => optional, * => 0 or more
#Print name defaults to object name.
#Tag implies sub-objects are at level n+1, no tag => level n.
#Special tag "*" means "any valid tag" (in user tag context)
#
#Value code:
#N none
#S string
#X escape to auxillary processing p27
#@ cross-ref.
#? optional cross-ref
#
#Page numbers refer to 5.3 spec.
#AUTO => updated automatically by program
file
#Level -1. LINEAGE_LINKED_GEDCOM p14, HEADER p14, RECORD p15
#Not a real tag.
#AUTO
?A whole GEDCOM file
:ROOT N
header
event record
family
individual record
note
repository
source
submitter
trailer
abjuration
#p57. An event
?An oath to renounce a claim or leave a country
:_ABJUR N
event details
absolution
#p57. An event
?Forgiveness
:_ABSOL N
event details
#An originator type
abstractor
?This person produced an abstract of this source
:TYPE 'ABSTRACTOR'N
active source
$active
#A search status p34
?This source is currently being searched
:STAT 'ACTIVE'N
address
#In address structure p17
?A postal address and telephone number
:ADDR S
continuation
phone number
address structure
$address
#p17 in individual,distributor,place,publication p21,repository p20
?A site name and address
site name
address
adoption
#p57. An event
?The legal creation of a non-biological child-parent relationship
:ADOP N
event details
adoption child
$adoption
#In family child, A CHILD_FAMILY_EVENT p18
?Adoption of a child into a family
:ADOP N
child family event descriptor
age
date
place
note
adoption source
$adoption
#An event classification p27
?This source concerns an adoption
:EVEN 'ADOP'N
adult christening
#An event classification p27
?This source concerns an adult christening
:EVEN 'CHRA'N
age
#AGE_VALUE p24
#In adoption,event details
?The age of a person at the time of this event. The number of years must be given, even if it is zero. E.g. "4 yr 8 mo 10 da".
:AGE S
alias
#In individual record p16
?A person with a different name who is believed to be the same person as this one
:ALIA @
ancestor
#p59. A role
?An ancestor of someone involved in this event
:_ANCE N
role details
ancestor interest
#p46. In individual record
?A person or submitter interested in this person's ancestors
:ANCI @
ancestral file number
#p24. In individual record
?The unique permanent record number of an individual record in the LDS Ancestral File
:AFN S
applicant
#p59. A role
?Someone who applied for something
:_APLCNT N
role details
appraiser
#p59. A role
?
:_APRSR N
role details
apprentice
#p59. A role
?A person learning a trade
:_APPRN N
role details
arrival
#p22 In port
?The end of a journey
:ARVL N
date
place
associate
#In family p15,individual record p16,role
?A person or object associated with this family, individual or event
:ASSO @
association descriptor
association descriptor
#p24. In associate
?The kind of association this person has with the family, person or event
:TYPE S
audio
#In multi media link p19
?Sound data associated with this event, family or person
:AUDIO X
audio media
$audio
#A media type p30
$audio
?This source is a sound recording
:MEDI 'AUDIO'N
aunt
#p59. A role
?The sister of a parent of someone involved in this event
:_AUNT N
role details
author
#An originator type
?This person was the author of this source
:TYPE 'AUTHOR'N
baptism
#p57. An event p16
?A ceremony to accept a child or adult into the church
:BAPM N
event details
baptism source
$baptism
#An event classification p27
?This source concerns a baptism
:EVEN 'BAPM'N
bas mitzvah
#An event classification p27
?This source concerns a Bas/Bat Mitzvah
:EVEN 'BASM'N
betrothal
#p58. An event p16
?A promise to marry
:_MARR_BTRO N
event details
birth
#p57. An event p16
?The start of life
:BIRT N
event details
birth source
$birth
#An event classification p27
?This source concerns a birth
:EVEN 'BIRT'N
bishop
#p59. A role
?A bishop involved in this event
:_BISHP N
role details
blessing
#An event classification p27
?This source concerns a blessing
:EVEN 'BLES'N
boarder
#p59. A role
?
:_BOARDR N
role details
book
#A media type p30
?This source is a book
:MEDI 'BOOK'N
book publication
$book
#A publication type p21
?This source is a book
:TYPE 'BOOK'N
book source class
$book
#A source type p34
?This source is a book
:CLAS 'BOOK'N
born in covenant
#p29 an LDS ordinance descriptor
?A person born in the covenant
:TYPE 'BIC'N
borrower
#p59. A role
?Someone who borrowed something
:_BOROWR N
role details
bride
#p59. A role
?A woman getting married
:_BRID N
role details
brother
#p33 a relation p17
?The brother of someone associated with this event
:BROT ?
role descriptor
individual
brother in-law
#p60. A role
?A spouse's brother
:_NLAW_BRO
role details
brother role
#p60. A role
?A brother of someone involved in this event
:_BRO N
role details
burial plot ID
#In burial structure p17
?An individual grave within a cemetary
:PLOT S
burial
#An event classification p27
?This source concerns a burial
:EVEN 'BURI'N
burial structure
$burial
#p17. CEMETARY_NAME p25. In place
?The cemetary name and plot identifier, additional to burial place name
:CEME S
burial plot ID
#An originator type
business
?A business originated this source
:TYPE 'BUSINESS'N
buyer
#p47 A role
?Someone who buys something from someone else
:BUYR N
role details
captain
#p59. A role
?The captain (eg. of a ship)
:_CAPT N
role details
card
#A media type p30
?This source is stored on card
:MEDI 'CARD'N
cartulary
#p57. An event
?A collection of records or charters
:_CRTULRY N
event details
caste
#p24. In individual
?A racial, religious or hereditary group to which this person belonged
:CAST S
cause of death
#p24. An event details
?The cause of this person's death, as listed on the death certificate
:CAUS S
census
#In source p21
?A census which included this source
:CENS N
date
line number
dwelling number
family number
note
census event
$census
#p57. An event
?A periodic count of the population of a country or state
:CENS N
event details
census source
$census
#An event classification p27
?This source was an official census
:EVEN 'CENS'N
census source type
$census
#A source type p34
?This source was an official census
:CLAS 'CENSUS'N
change date
#An event details,event record,family,note,repository
#AUTO
?The date this data was last changed, DD Mon YYYY format. Eg. 15 Oct 1960
:CHAN N
date
note
character set
#In header
#AUTO
?The character set used in this file, either ANSEL (an ASCII superset) or UNICODE
:CHAR S
version number
charter
#p57. An event
?A formal written document or contract
:_CHARTR N
event details
child
#In family
?A child belonging to this family
:CHIL @
child relation
$child
#p33 a relation p17
?A child of someone associated with this event
:CHIL ?
role descriptor
individual
child role
$child
#p59 A role
?A child involved in this event
:CHIL N
role details
christening
#p57. An event
?The religious baptism and/or naming a child
:CHR N
event details
christening source
$christening
#An event classification p27
?This source concerns a christening
:EVEN 'CHR'N
church
#A source type p34
?This source is a church record
:CLAS 'CHURCH'N
citizenship
#p57. An event
?Acceptance as a citizen of a country
:_CITZN N
event details
clergyman
#p59. A role
?A member of the clergy
:_CLRGY N
role details
commander
#p59. A role
?A commander involved in this event
:_CMDR N
role details
compiler
#An originator type
?This person compiled this source
:TYPE 'COMPILER'N
concatenation
#In source p21
?Text that follows the previous text with no newline inbetween
:CONC S
confirmation
#An event classification p27
?This source concerns a confirmation
:EVEN 'CONF'N
contact person
#p25. In repository p20
?The name of a person who deals with correspondence concerning this repository
: