The deepsix: extensions
UDDF and Subsurface XML don’t have fields for some of what DeepSix Dive Log records, such as the exit position, the tide at entry or a confirmed species. DeepSix writes those in its own extensions, alongside the standard fields. They add to the standard record and never replace any of it.
A reader that doesn’t know the extensions can skip them. A strict UDDF validator may reject them.
This page lists everything DeepSix writes today. DeepSix reads the dive and trip extensions back when it imports its own files. Diver and certification details are written for completeness and aren’t read back.
Namespace
DeepSix compares the namespace exactly. A trailing slash, http or any other path isn’t read as DeepSix. The prefix doesn’t matter, but DeepSix writes deepsix:.
Exports are UDDF version 3.2.1. From DeepSix 1.1, the root element uses the standard UDDF namespace, http://www.streit.cc/uddf/3.2/. Earlier versions wrote http://www.stratigraphy.org/uddf/3.2/, and DeepSix still imports those files. Files from either version open in both.
UDDF: elements in the standard record
Values are plain text inside the element, in SI units unless the table says otherwise.
| Element | Inside | Value | Note |
|---|---|---|---|
| deepsix:insuranceDAN | <personal> | text | |
| deepsix:emergencyContact | <personal> | text | |
| deepsix:bloodType | <personal> | text | |
| deepsix:certType | <certification> | text | |
| deepsix:certAgency | <certification> | text | |
| deepsix:certLevel | <certification> | text | |
| deepsix:isEANx | <certification> | "true" | Written only when true. |
| deepsix:tripName | <repetitiongroup> | text | One repetition group per trip. |
| deepsix:tripStartDate | <repetitiongroup> | ISO 8601 date | |
| deepsix:tripEndDate | <repetitiongroup> | ISO 8601 date | |
| deepsix:tripDefaultWetsuitType | <repetitiongroup> | suit code | See suit codes below. |
| deepsix:tripDefaultWeightKg | <repetitiongroup> | kg | |
| deepsix:repetitiveDiveNumber | <dive> | integer | Written only when greater than 1. |
| deepsix:wetsuitType | <equipmentused> | suit code | See suit codes below. |
| deepsix:wetsuitThickness | <equipmentused> | mm | |
| deepsix:tankUsage | <tankdata> | text | |
| deepsix:decoSeverity | <informationafterdive> | none | closeCall | ndlZero | decoObligation | |
| deepsix:decoStatus | <informationafterdive> | true | false | |
| deepsix:ndlMinimum | <informationafterdive> | minutes | |
| deepsix:maxDecoObligation | <informationafterdive> | minutes | |
| deepsix:diveCNS | <informationafterdive> | percent | |
| deepsix:thermalComfort | <informationafterdive> | freezing | cold | just-right | warm | sweltering | New in 1.1 |
One attribute goes on a standard element. Each <tankpressure> sample carries deepsix:tank, the tank’s position as an integer, so two tanks breathing the same gas keep separate pressure curves.
Per-sample CNS and no-deco time use the standard UDDF cns and nodecotime elements. Files from early DeepSix builds wrote them as deepsix: elements, and DeepSix still reads those.
UDDF: the enrichment block
Each dive can carry one <deepsix:enrichment> element. It’s written only when it has something in it, and it holds any of these:
<uddf version="3.2.1"
xmlns:deepsix="https://deepsixdive.com/schema/1.0" …>
…
<dive id="…">
…
<deepsix:enrichment>
<deepsix:gps>
<deepsix:entry lat="-8.512345" lon="119.567890"/>
<deepsix:exit lat="-8.513012" lon="119.566401"/>
<deepsix:source>shearwater_swift_ai</deepsix:source>
</deepsix:gps>
<deepsix:marinelife>
<deepsix:sighting confidence="0.91" identified_by="critterexpert">
<deepsix:commonName>Reef manta ray</deepsix:commonName>
<deepsix:scientificName>Mobula alfredi</deepsix:scientificName>
<deepsix:category>Shark/Ray</deepsix:category>
</deepsix:sighting>
</deepsix:marinelife>
</deepsix:enrichment>
</dive>
</uddf> Suit codes
deepsix:wetsuitType and deepsix:tripDefaultWetsuitType use these codes, in UDDF and in Subsurface XML. The codes are permanent. They aren’t in order of warmth, so don’t compare them as numbers. There is no 4 or 6.
Subsurface XML
Subsurface XML has no namespaces. DeepSix writes its fields as <extradata key="deepsix:…" value="…"/>, which Subsurface keeps when it doesn’t know them.
deepsix:sighting joins its parts with a pipe: name|sci:…|cat:…|conf:…|by:….
Each <dive> also carries a plain attribute, deepsix-tz-offset: the dive’s UTC offset in seconds, so the local time survives a round trip.
What isn’t here
Neither format can hold everything DeepSix knows about a dive, such as its reef context, achievements and gear service records. For those, use the Portable Archive: an open, self-describing export format, so your log is never locked in.
Photos aren’t referenced in UDDF or Subsurface exports. A photo’s identifier in Apple Photos only means something on one device.
Dives you’ve excluded are left out of both exports.
Questions about the schema? Discord or [email protected]