gwxjg
gwxjg
means GeneWeb x Jingoo. This package translate data from Geneweb
structure to Jingoo's type system. Below, see a quick reference of which
structures and which fields are accessible from a Jingoo template.
If you (approximately) know how to read OCaml code, the best is to read Data module, where everything is defined.
Alternatively, here is a simplified view of what you get when using gwxjg
boolean
Either true
or false
.
burial
type
: burial typedate
: date
burial type
A burial type is "Buried"
or "Cremated"
calendar
A calendar is one of these string:
"Dgregorian"
"Djulian"
"Dfrench"
"Dhebrew"
date
death
date
: datedeath_reason
: death reason
death reason
A death reason is one of these string:
"Killed"
"Murdered"
"Executed"
"Disappeared"
"Unspecified"
"DeadYoung"
"DeadDontKnowWhen"
"DontKnowIfDead"
"OfCourseDead"
event
date
: datekind
: [event kind]name
: stringnote
: stringplace
: placespouse
: personsrc
: stringwitnesses
: witness list
event kind
A [event kind] is either free text or one of these string:
"EPERS_BIRTH"
"EPERS_BAPTISM"
"EPERS_DEATH"
"EPERS_BURIAL"
"EPERS_CREMATION"
"EPERS_ACCOMPLISHMENT"
"EPERS_ACQUISITION"
"EPERS_ADHESION"
"EPERS_BAPTISMLDS"
"EPERS_BARMITZVAH"
"EPERS_BATMITZVAH"
"EPERS_BENEDICTION"
"EPERS_CHANGENAME"
"EPERS_CIRCUMCISION"
"EPERS_CONFIRMATION"
"EPERS_CONFIRMATIONLDS"
"EPERS_DECORATION"
"EPERS_DEMOBILISATIONMILITAIRE"
"EPERS_DIPLOMA"
"EPERS_DISTINCTION"
"EPERS_DOTATION"
"EPERS_DOTATIONLDS"
"EPERS_EDUCATION"
"EPERS_ELECTION"
"EPERS_EMIGRATION"
"EPERS_EXCOMMUNICATION"
"EPERS_FAMILYLINKLDS"
"EPERS_FIRSTCOMMUNION"
"EPERS_FUNERAL"
"EPERS_GRADUATE"
"EPERS_HOSPITALISATION"
"EPERS_ILLNESS"
"EPERS_IMMIGRATION"
"EPERS_LISTEPASSENGER"
"EPERS_MILITARYDISTINCTION"
"EPERS_MILITARYPROMOTION"
"EPERS_MILITARYSERVICE"
"EPERS_MOBILISATIONMILITAIRE"
"EPERS_NATURALISATION"
"EPERS_OCCUPATION"
"EPERS_ORDINATION"
"EPERS_PROPERTY"
"EPERS_RECENSEMENT"
"EPERS_RESIDENCE"
"EPERS_RETIRED"
"EPERS_SCELLENTCHILDLDS"
"EPERS_SCELLENTPARENTLDS"
"EPERS_SCELLENTSPOUSELDS"
"EPERS_VENTEBIEN"
"EPERS_WILL"
"EFAM_MARRIAGE"
"EFAM_NO_MARRIAGE"
"EFAM_NO_MENTION"
"EFAM_ENGAGE"
"EFAM_DIVORCE"
"EFAM_SEPARATED"
"EFAM_ANNULATION"
"EFAM_MARRIAGE_BANN"
"EFAM_MARRIAGE_CONTRACT"
"EFAM_MARRIAGE_LICENSE"
"EFAM_PACS"
"EFAM_RESIDENCE"
family
divorce_date
: datechildren
: person listfather
: personevents
: event listifam
: stringmarriage_date
: datemarriage_place
: placemarriage_note
: stringmarriage_source
: stringmother
: personorigin_file
: stringrelation
: [relation]separation
: [separation]spouse
: personwitnesses
: [persons] list
float
A floating point number.
int
An integer.
list
A sequence of zero or more items.
person
access
: stringbaptism_date
: datebaptism_place
: placebirth_date
: datebirth_place
: placeburial
: burialburial_place
: stringchildren
: person listcremation_place
: placeconsanguinity
: floatdates
: stringdeath
: deathdeath_place
: placedigest
: stringevents
: event listfamilies
: family listfather
: personfirst_name
: stringfirst_name_aliases
: string listfirst_name_key
: stringfirst_name_key_val
: stringhalf_siblings
: person listiper
: stringis_birthday
: booleanis_visible_for_visitors
: booleanlinked_page
: stringmother
: personocc
: intoccupation
: stringparents
: familypublic_name
: stringqualifier
: stringqualifiers
: string listrelations
: person listrelated
: related listsex
: intsiblings
: person listsosa
: stringsources
: stringspouses
: person listsurname
: stringsurname_aliases
: string listsurname_key
: stringsurname_key_val
: stringtitles
: title list
place
For now, place is an alias for string, but it will eventually become a real data structure.
prec
A prec is one of these string:
"sure"
"about"
"maybe"
"before"
"after"
"oryear"
"yearint"
related
A related is a person with these extra fields:
sources
: stringkind
: related kind
related kind
A related kind is one of these string:
"ADOPTION"
"RECOGNITION"
"CANDIDATEPARENT"
"GODPARENT"
"FOSTERPARENT"
string
This is just text.