home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / f / family / !Family / GEDSyn < prev    next >
Text File  |  1996-02-22  |  47KB  |  2,880 lines

  1. #Machine-readable definition of GEDCOM 5.3 syntax
  2. #Denis Howe <dbh@doc.ic.ac.uk>
  3. #0.00 14 Dec 1994 Unfinished
  4. #0.01  First complete version
  5. #
  6. #Meta-syntax
  7. #
  8. #"#" introduces comment to end of line.  Objects are separated
  9. #by blank lines.  Each object is of the form:
  10. #
  11. #       <OBJECT NAME>
  12. #       [$<PRINT NAME>]
  13. #       [:<GEDCOM TAG> ['string']<VALUE CODE>]
  14. #       ?<HELP TEXT>
  15. #       <OBJECT NAME>*           #sub-objects
  16. #
  17. #[] => optional, * => 0 or more
  18. #Print name defaults to object name.
  19. #Tag implies sub-objects are at level n+1, no tag => level n.
  20. #Special tag "*" means "any valid tag" (in user tag context)
  21. #
  22. #Value code:
  23. #N none
  24. #S string
  25. #X escape to auxillary processing p27
  26. #@ cross-ref.
  27. #? optional cross-ref
  28. #
  29. #Page numbers refer to 5.3 spec.
  30. #AUTO => updated automatically by program
  31.  
  32. file
  33. #Level -1.  LINEAGE_LINKED_GEDCOM p14, HEADER p14, RECORD p15
  34. #Not a real tag.
  35. #AUTO
  36. ?A whole GEDCOM file
  37. :ROOT N
  38. header
  39. event record
  40. family
  41. individual record
  42. note
  43. repository
  44. source
  45. submitter
  46. trailer
  47.  
  48. abjuration
  49. #p57. An event 
  50. ?An oath to renounce a claim or leave a country
  51. :_ABJUR N
  52. event details
  53.  
  54. absolution
  55. #p57. An event
  56. ?Forgiveness
  57. :_ABSOL N
  58. event details
  59.  
  60. #An originator type
  61. abstractor
  62. ?This person produced an abstract of this source
  63. :TYPE 'ABSTRACTOR'N
  64.  
  65. active source
  66. $active
  67. #A search status p34
  68. ?This source is currently being searched
  69. :STAT 'ACTIVE'N
  70.  
  71. address
  72. #In address structure p17
  73. ?A postal address and telephone number
  74. :ADDR S
  75. continuation
  76. phone number
  77.  
  78. address structure
  79. $address
  80. #p17 in individual,distributor,place,publication p21,repository p20
  81. ?A site name and address
  82. site name
  83. address
  84.  
  85. adoption
  86. #p57. An event
  87. ?The legal creation of a non-biological child-parent relationship
  88. :ADOP N
  89. event details
  90.  
  91. adoption child
  92. $adoption
  93. #In family child, A CHILD_FAMILY_EVENT p18
  94. ?Adoption of a child into a family
  95. :ADOP N
  96. child family event descriptor
  97. age
  98. date
  99. place
  100. note
  101.  
  102. adoption source
  103. $adoption
  104. #An event classification p27
  105. ?This source concerns an adoption
  106. :EVEN 'ADOP'N
  107.  
  108. adult christening
  109. #An event classification p27
  110. ?This source concerns an adult christening
  111. :EVEN 'CHRA'N
  112.  
  113. age
  114. #AGE_VALUE p24
  115. #In adoption,event details
  116. ?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".
  117. :AGE S
  118.  
  119. alias
  120. #In individual record p16
  121. ?A person with a different name who is believed to be the same person as this one
  122. :ALIA @
  123.  
  124. ancestor
  125. #p59.  A role
  126. ?An ancestor of someone involved in this event
  127. :_ANCE N
  128. role details
  129.  
  130. ancestor interest
  131. #p46.  In individual record
  132. ?A person or submitter interested in this person's ancestors
  133. :ANCI @
  134.  
  135. ancestral file number
  136. #p24.  In individual record
  137. ?The unique permanent record number of an individual record in the LDS Ancestral File
  138. :AFN S
  139.  
  140. applicant
  141. #p59.  A role
  142. ?Someone who applied for something
  143. :_APLCNT N
  144. role details
  145.  
  146. appraiser
  147. #p59.  A role
  148. ?
  149. :_APRSR N
  150. role details
  151.  
  152. apprentice
  153. #p59.  A role
  154. ?A person learning a trade
  155. :_APPRN N
  156. role details
  157.  
  158. arrival
  159. #p22 In port
  160. ?The end of a journey
  161. :ARVL N
  162. date
  163. place
  164.  
  165. associate
  166. #In family p15,individual record p16,role 
  167. ?A person or object associated with this family, individual or event
  168. :ASSO @
  169. association descriptor
  170.  
  171. association descriptor
  172. #p24.  In associate
  173. ?The kind of association this person has with the family, person or event
  174. :TYPE S
  175.  
  176. audio
  177. #In multi media link p19
  178. ?Sound data associated with this event, family or person
  179. :AUDIO X
  180.  
  181. audio media
  182. $audio
  183. #A media type p30
  184. $audio
  185. ?This source is a sound recording
  186. :MEDI 'AUDIO'N
  187.  
  188. aunt
  189. #p59.  A role
  190. ?The sister of a parent of someone involved in this event
  191. :_AUNT N
  192. role details
  193.  
  194. author
  195. #An originator type
  196. ?This person was the author of this source
  197. :TYPE 'AUTHOR'N
  198.  
  199. baptism
  200. #p57. An event p16
  201. ?A ceremony to accept a child or adult into the church
  202. :BAPM N
  203. event details
  204.  
  205. baptism source
  206. $baptism
  207. #An event classification p27
  208. ?This source concerns a baptism 
  209. :EVEN 'BAPM'N
  210.  
  211. bas mitzvah
  212. #An event classification p27
  213. ?This source concerns a Bas/Bat Mitzvah
  214. :EVEN 'BASM'N
  215.  
  216. betrothal
  217. #p58. An event p16
  218. ?A promise to marry
  219. :_MARR_BTRO N 
  220. event details
  221.  
  222. birth
  223. #p57. An event p16
  224. ?The start of life
  225. :BIRT N
  226. event details
  227.  
  228. birth source
  229. $birth
  230. #An event classification p27
  231. ?This source concerns a birth
  232. :EVEN 'BIRT'N
  233.  
  234. bishop
  235. #p59.  A role
  236. ?A bishop involved in this event
  237. :_BISHP N
  238. role details
  239.  
  240. blessing
  241. #An event classification p27
  242. ?This source concerns a blessing
  243. :EVEN 'BLES'N
  244.  
  245. boarder
  246. #p59.  A role
  247. ?
  248. :_BOARDR N
  249. role details
  250.  
  251. book
  252. #A media type p30
  253. ?This source is a book
  254. :MEDI 'BOOK'N
  255.  
  256. book publication
  257. $book
  258. #A publication type p21
  259. ?This source is a book
  260. :TYPE 'BOOK'N
  261.  
  262. book source class
  263. $book
  264. #A source type p34
  265. ?This source is a book
  266. :CLAS 'BOOK'N
  267.  
  268. born in covenant
  269. #p29 an LDS ordinance descriptor
  270. ?A person born in the covenant
  271. :TYPE 'BIC'N
  272.  
  273. borrower
  274. #p59.  A role
  275. ?Someone who borrowed something
  276. :_BOROWR N
  277. role details
  278.  
  279. bride
  280. #p59.  A role
  281. ?A woman getting married
  282. :_BRID N
  283. role details
  284.  
  285. brother
  286. #p33 a relation p17
  287. ?The brother of someone associated with this event
  288. :BROT ?
  289. role descriptor
  290. individual
  291.  
  292. brother in-law
  293. #p60.  A role
  294. ?A spouse's brother
  295. :_NLAW_BRO
  296. role details
  297.  
  298. brother role
  299. #p60.  A role
  300. ?A brother of someone involved in this event
  301. :_BRO N
  302. role details
  303.  
  304. burial plot ID
  305. #In burial structure p17
  306. ?An individual grave within a cemetary
  307. :PLOT S
  308.  
  309. burial
  310. #An event classification p27
  311. ?This source concerns a burial
  312. :EVEN 'BURI'N
  313.  
  314. burial structure
  315. $burial
  316. #p17.  CEMETARY_NAME p25.  In place
  317. ?The cemetary name and plot identifier, additional to burial place name
  318. :CEME S
  319. burial plot ID
  320.  
  321. #An originator type
  322. business
  323. ?A business originated this source
  324. :TYPE 'BUSINESS'N
  325.  
  326. buyer
  327. #p47 A role
  328. ?Someone who buys something from someone else
  329. :BUYR N
  330. role details
  331.  
  332. captain
  333. #p59.  A role
  334. ?The captain (eg. of a ship)
  335. :_CAPT N
  336. role details
  337.  
  338. card
  339. #A media type p30
  340. ?This source is stored on card
  341. :MEDI 'CARD'N
  342.  
  343. cartulary
  344. #p57. An event
  345. ?A collection of records or charters
  346. :_CRTULRY N
  347. event details
  348.  
  349. caste
  350. #p24.  In individual
  351. ?A racial, religious or hereditary group to which this person belonged
  352. :CAST S
  353.  
  354. cause of death
  355. #p24.  An event details
  356. ?The cause of this person's death, as listed on the death certificate
  357. :CAUS S
  358.  
  359. census
  360. #In source p21
  361. ?A census which included this source
  362. :CENS N
  363. date
  364. line number
  365. dwelling number
  366. family number
  367. note
  368.  
  369. census event
  370. $census
  371. #p57. An event
  372. ?A periodic count of the population of a country or state
  373. :CENS N
  374. event details
  375.  
  376. census source
  377. $census
  378. #An event classification p27
  379. ?This source was an official census
  380. :EVEN 'CENS'N
  381.  
  382. census source type
  383. $census
  384. #A source type p34
  385. ?This source was an official census
  386. :CLAS 'CENSUS'N
  387.  
  388. change date
  389. #An event details,event record,family,note,repository
  390. #AUTO
  391. ?The date this data was last changed, DD Mon YYYY format.  Eg. 15 Oct 1960
  392. :CHAN N
  393. date
  394. note
  395.  
  396. character set
  397. #In header
  398. #AUTO
  399. ?The character set used in this file, either ANSEL (an ASCII superset) or UNICODE
  400. :CHAR S
  401. version number
  402.  
  403. charter
  404. #p57. An event
  405. ?A formal written document or contract
  406. :_CHARTR N
  407. event details
  408.  
  409. child
  410. #In family
  411. ?A child belonging to this family
  412. :CHIL @
  413.  
  414. child relation
  415. $child
  416. #p33 a relation p17
  417. ?A child of someone associated with this event
  418. :CHIL ?
  419. role descriptor
  420. individual
  421.  
  422. child role
  423. $child
  424. #p59 A role
  425. ?A child involved in this event
  426. :CHIL N
  427. role details
  428.  
  429. christening
  430. #p57. An event
  431. ?The religious baptism and/or naming a child
  432. :CHR N
  433. event details
  434.  
  435. christening source
  436. $christening
  437. #An event classification p27
  438. ?This source concerns a christening  
  439. :EVEN 'CHR'N
  440.  
  441. church
  442. #A source type p34
  443. ?This source is a church record
  444. :CLAS 'CHURCH'N
  445.  
  446. citizenship
  447. #p57. An event
  448. ?Acceptance as a citizen of a country
  449. :_CITZN N
  450. event details
  451.  
  452. clergyman
  453. #p59.  A role
  454. ?A member of the clergy
  455. :_CLRGY N
  456. role details
  457.  
  458. commander
  459. #p59.  A role
  460. ?A commander involved in this event
  461. :_CMDR N
  462. role details
  463.  
  464. compiler
  465. #An originator type
  466. ?This person compiled this source
  467. :TYPE 'COMPILER'N
  468.  
  469. concatenation
  470. #In source p21
  471. ?Text that follows the previous text with no newline inbetween
  472. :CONC S
  473.  
  474. confirmation
  475. #An event classification p27
  476. ?This source concerns a confirmation  
  477. :EVEN 'CONF'N
  478.  
  479. contact person
  480. #p25.  In repository p20
  481. ?The name of a person who deals with correspondence concerning this repository
  482. :