owner

Occurrence

compulsory, single

Attributes

id=unique identifier of the owner of the UDDF file

Description

Inside the <owner> element all data of the owner are given. Only one <owner> element is allowed to appear inside the <diver> section. <owner> must be the first element inside <diver>.

The attribute serves for the data import from another UDDF file so that the owner of the imported file can now be managed as a buddy.

Parent Elements

<diver>

Child Elements

<address>, <contact>, <diveinsurances> <divepermissions>, <education>, <equipment>, <medical>, <notes>, <personal>

See Also

<buddy>, <diver>

Examples

(see also <buddy>)

<uddf version="2.2.0">
    <generator>
        <!-- description of the program generating the UDDF file -->
    </generator>
    <diver>
        <owner id="robertpeterroth">
            <personal>
                <firstname>Robert</firstname>
                <middlename>Peter</middlename>
                <lastname>Roth</lastname>
                <title>Dr.</title>
                <sex>m</sex>
                <birthdate>
                    <year>1954</year>
                    <month>7</month>
                    <day>22</month>
                    <dayofweek>4</dayofweek>
                </birthdate>
            </personal>
            <address>
                <street>Newtonstr. 123</street>
                <city>Turingtown</city>
                <postcode>54345</postcode>
                <country>Texas, USA</country>
            </address>
            <contact>
                <language>English</language>
                <phone>0123/456789</phone>
                <mobilephone>0321/987654</mobilephone>
                <fax>0123/456780</fax>
                <email>robert-peter.roth@robert-peter-roth.org</email>
                <homepage>http://www.robert-peter-roth.org</homepage>
            </contact>
            <equipment>
                <!-- listing of all parts of equipment of the ownwe of the UDDF file -->
                <!-- regulator -->
                <regulator id="roberts_best_peace">
                    <name>Black Shark</name>
                    <manufacturer>
                        <name>Neptun</name>
                    </manufacturer>
                    <model>Black Shark 5</model>
                    <serialnumber>111111</serialnumber>
                    <purchase>
                        <date>
                            <year>1967</year
                            <month>10</month>
                            <day>13</day>
                            <dayofweek>5</dayofweek> <!-- Friday :-) -->
                        </date>
                        <price currency="USD">100.00</price>
                        <shop>
                            <name>Diving Equipment Muller</name>
                            <address>
                                <street>Betterstr. 46</street>
                                <city>Atown</city>
                                <postcode>87678</postcode>
                                <country>Texas, USA</country>
                            </address>
                            <contact>
                                <language>English</language>
                                <phone>0345/123123</phone>
                            </contact>
                        </shop>
                    </purchase>
                    <nextservicedate>
                        <!-- date of next service interval -->
                    </nextservicedate>
                </regulator>
                <!-- diving watch -->
                <watch id="roberts_diving_watch">
                    <name>Tigershark diving watch</name>
                    <manufacturer>
                        <name>Neptun</name>
                    </manufacturer>
                    <model>Tigershark</model>
                    <serialnumber>007</serialnumber>
                    <purchase>
                        <date>
                            <year>1969</year
                            <month>9</month>
                            <day>13</day>
                            <dayofweek>6</dayofweek> <!-- Saturday -->
                        </date>
                        <price currency="USD">90.00</price>
                        <shop>
                            <notes>
                                <text>
                                    My first diving watch, very hard to save the money for it!
                                    Unfortunately, I don't remember the shop where I bought it...
                                </text>
                            </notes>
                        </shop>
                </watch>
                <!-- Buoyancy Control Device -->
                <buoyancycontroldevice id="roberts_bcd">
                    <name>DeepDown</name>
                    <manufacturer>
                        <name>BestBCD</name>
                    </manufacturer>
                    <model>Dive King</model>
                    <serialnumber>23456</serialnumber>
                    <purchase>
                        <date>
                            <year>1988</year
                            <month>5</month>
                            <day>13</day>
                            <dayofweek>5</dayofweek> <!-- ;-) -->
                        </date>
                        <price currency="USD">300.00</price>
                        <shop>
                            <name>Dive In Here</name>
                            <address>
                                <street>Emmastr. 3</street>
                                <city>Otown</city>
                                <postcode>98789</postcode>
                                <country>Texas, USA</country>
                            </address>
                            <contact>
                                <language>English</language>
                                <phone>0234/234543</phone>
                                <fax>0234/234544</fax>
                                <email>info@dive-in-here.com</email>
                                <homepage>http://www.dive-in-here.com</homepage>
                            </contact>
                        </shop>
                    </purchase>
                    <nextservicedate>
                        <!-- date of next service interval -->
                    </nextservicedate>
                </buoyancycontroldevice>
                <!-- tank -->
                <tank id="tank_1">
                    <name>FavoriteTank</name>
                    <manufacturer>
                        <name>Super-Tank-Manufacturer</name>
                    </manufacturer>
                    <model>Hard as Steel</model>
                    <serialnumber>12345</serialnumber>
                    <purchase>
                        <date>
                            <!-- date of purchase -->
                        </date>
                        <price currency="USD">125.00</price>
                        <shop>
                            <!-- information about the shop where the tank was bought -->
                        </shop>
                    </purchase>
                    <nextservicedate>
                        <!-- date of next service interval -->
                    </nextservicedate>
                    <tankmaterial>steel</tankmaterial>
                    <notes>
                        <image>
                            <objectname>steeltank_new.jpg</objectname>
                            <imagedata>
                                <!-- date when the picture was taken -->
                                <date>
                                    <year>2001</year><month>5</month><day>2</day>
                                </date>
                            </imagedata>
                        </image>
                        <image>
                            <objectname>steeltank_after_2_years.jpg</objectname>
                            <imagedata>
                                <!-- date when the picture was taken -->
                                <date>
                                    <year>2003</year><month>7</month><day>6</day>
                                </date>
                            </imagedata>
                        </image>
                    </notes>
                </tank>
                <!-- Here more descriptions of parts of equipment can be given. Of course, several -->
                <!-- regulators, tanks, masks etc. can be given. -->
            </equipment>
            <medical>
                <examination>
                    <date>
                        <year>2003</year
                        <month>4</month>
                        <day>12</day>
                        <dayofweek>6</dayofweek> <!-- Saturday -->
                    </date>
                    <doctor id="doctorDusel">
                        <personal>
                            <firstname>Diego</firstname>
                            <lastname>Dusel</lastname>
                            <title>Dr.</title>
                            <sex>m</sex>
                            <birthdate>
                                <!-- if date of birth is known it can be given here -->
                            </birthdate
                        </personal>
                        <address>
                            <street>Duddlestr. 34</street>
                            <city>Acity</city>
                            <postcode>54321</postcode>
                            <country>New Mexico, USA</country>
                        </address>
                        <contact>
                            <language>English</language>
                            <phone>01234/987654</phone>
                            <!-- no mobile phone, neither email address nor homepage known -->
                        </contact>
                    </doctor>
                    <examinationresult>passed</examinationresult>
                    <notes>
                        <text>
                            Flatfeet are no problem for diving! :-)
                        </text>
                        <image>
                            <objectname>flatfoot.jpg</objectname>
                        </image>
                    </notes>
                </examination>
                <examination>
                    <date>
                        <year>2004</year
                        <month>4</month>
                        <day>20</day>
                        <dayofweek>2</dayofweek> <!-- Tuesday -->
                    </date>
                    <!-- following a cross reference to the doctor examining -->
                    <!-- because information about the person is given above -->
                    <doctorref ref="doctorDusel"/>
                    <examinationresult>passed</examinationresult>
                </examination>
            </medical>
            <education>
                <!-- all levels of diving education -> several -->
                <!-- <certification> elements one after the other -->
                <certification>
                    <level>OWD</level>
                    <organisation>PADI</organisation>
                    <!-- because the data of the then diving instructor were not -->
                    <!-- written into the UDDF file a cross refence via -->
                    <!-- <instructorref ref="..."/> is omitted -->
                    <issuedate>
                        <year>1994</year
                        <month>3</month>
                        <day>15</day>
                        <dayofweek>2</dayofweek> <!-- Tuesday -->
                    </issuedate>
                </certification>
                <certification>
                    <level>AOWD</level>
                    <organisation>PADI</organisation>
                    <!-- because the data of the then diving instructor were not -->
                    <!-- written into the UDDF file a cross refence via -->
                    <!-- <instructorref ref="..."/> is omitted -->
                    <issuedate>
                        <year>1997</year
                        <month>11</month>
                        <day>26</day>
                        <dayofweek>3</dayofweek> <!-- Wednesday -->
                    </issuedate>
                </certification>
                <certification>
                    <level>Divemaster</level>
                    <organisation>PADI</organisation>
                    <!-- because the data of the then diving instructor were not -->
                    <!-- written into the UDDF file a cross refence via -->
                    <!-- <instructorref ref="..."/> is omitted -->
                    <issuedate>
                        <year>2000</year
                        <month>5</month>
                        <day>10</day>
                        <dayofweek>3</dayofweek> <!-- Wednesday -->
                    </issuedate>
                </certification>
            </education>
            <divepermissions>
                <!-- as many dive permissions as needed can be listed here -->
                <permit>
                    <name>DiveCard</name>
                    <region>Austria</region>
                    <issuedate>
                        <year>2004</year
                        <month>8</month>
                        <day>24</day>
                        <dayofweek>2</dayofweek>  <!-- Tuesday -->
                    </issuedate>
                    <validdate>
                        <year>2005</year
                        <month>8</month>
                        <day>23</day>
                        <dayofweek>2</dayofweek>  <!-- Tuesday -->
                    </validdate>
                </permit>
                <permit>
                    <name>Zeeland</name>
                    <region>Zeeland (The Netherlands)</region>
                    <issuedate>
                        <year>1996</year
                        <month>9</month>
                        <day>3</day>
                        <dayofweek>2</dayofweek>  <!-- Tuesday -->
                    </issuedate>
                    <validdate>
                        <year>2001</year
                        <month>8</month>
                        <day>31</day>
                        <dayofweek>5</dayofweek> <!-- Friday -->
                    </validdate>
                </permit>
                <!-- here more permissions if necessary -->
            </divepermissions>
            <diveinsurances>
                <insurance>
                    <name>For Ever Diving</name>
                    <issuedate>
                        <year>2004</year
                        <month>2</month>
                        <day>30</day>
                    </issuedate>
                    <validdate>
                        <year>2005</year
                        <month>2</month>
                        <day>29</day>
                    </validdate>
                </insurance>
            </diveinsurances>
            <notes>
                <image>
                    <objectname>my_equipment_and_me_1978.jpg</objectname>
                    <!-- picture data unknown, <imagedata> is omitted -->
                </image>
                <image>
                    <objectname>my_first_divecomputer_1992.jpg</objectname>
                    <!-- picture data unknown, <imagedata> is omitted -->
                </image>
                <image>
                    <objectname>dive_1111-our_group.jpg</objectname>
                    <!-- picture data unknown, <imagedata> is omitted -->
                </image>
                <audio>
                    <objectname>talk_for_celebration of dive_888.wav</objectname>
                </audio>
                <video>
                    <objectname>party_dive_1000.avi</objectname>
                </video>
            </notes>
        </owner>
        <buddy id="buddy_1">
            <!-- description of buddy No. 1 -->
        </buddy>
        <buddy id="buddy_2">
            <!-- description of the second listed buddy -->
        </buddy>
        <!-- here more buddies can be listed -->
    </diver>
    <!-- here more sections -->
</uddf>