eventtype

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
class restriction of xs:token required
id eventtypeID required
lang xs:language optional

Source

<xs:element minOccurs="0" maxOccurs="unbounded" name="eventtype">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="description" type="normstringlang"/>
      <xs:element minOccurs="0" default="EVEN" name="gedcomtag" type="xs:token"/>
      <xs:element minOccurs="0" name="roles" type="xs:unsignedInt"/>
      <xs:element minOccurs="0" name="note" type="stringlang"/>
    </xs:sequence>
    <xs:attribute name="id" type="eventtypeID" use="required"/>
    <xs:attribute name="class" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="annulment"/>
          <xs:enumeration value="baptism"/>
          <xs:enumeration value="birth"/>
          <xs:enumeration value="blessing"/>
          <xs:enumeration value="burial"/>
          <xs:enumeration value="census"/>
          <xs:enumeration value="confirmation"/>
          <xs:enumeration value="coronation"/>
          <xs:enumeration value="cremation"/>
          <xs:enumeration value="death"/>
          <xs:enumeration value="discharge"/>
          <xs:enumeration value="divorce"/>
          <xs:enumeration value="election"/>
          <xs:enumeration value="emigration"/>
          <xs:enumeration value="enlistment"/>
          <xs:enumeration value="graduation"/>
          <xs:enumeration value="health"/>
          <xs:enumeration value="immigration"/>
          <xs:enumeration value="internment"/>
          <xs:enumeration value="marriage"/>
          <xs:enumeration value="naturalization"/>
          <xs:enumeration value="ordination"/>
          <xs:enumeration value="residence"/>
          <xs:enumeration value="retirement"/>
          <xs:enumeration value="other"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="lang" type="xs:language" use="optional"/>
  </xs:complexType>
</xs:element>

Sample

born

BIRT

1