Schema reference · 1.0

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

https://deepsixdive.com/schema/1.0

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.

ElementInsideValueNote
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:

<deepsix:gps>
<deepsix:entry lat lon/>, an optional <deepsix:exit lat lon/>, and <deepsix:source>
Decimal degrees to 6 places. Source is shearwater_swift_ai or user.
<deepsix:conditions>
Child elements wave_height_m (m), swell_direction_deg (degrees), swell_period_s (seconds), current_velocity_ms (m/s), current_direction_deg (degrees), sst_c (°C) and source
source is open_meteo.
<deepsix:tides>, WorldTides form
Child elements heightAtEntry (m), trend, rateOfChange, nextExtremeType, nextExtremeHeight (m), nextExtremeTime (ISO 8601), responseDatum, stationName, stationDistanceKm (km) and source
source is worldtides.
<deepsix:tides>, Open-Meteo form
Child elements heightAtEntry (m), state, tidalRange (m) and source
source is open_meteo.
<deepsix:marinelife>
<deepsix:sighting> entries, with children commonName, scientificName and category, and optional attributes confidence (0–1) and identified_by
category is the Marine Life group in English, such as Fish, Shark/Ray or Nudibranch, and is optional. identified_by is a short source label, for example critterexpert, claude or user, or dive for a species logged against the dive without a photo. Rejected and disputed IDs are left out.
<deepsix:manualSightings>
<deepsix:manualSighting> entries, with commonName, scientificName, critterCategory, taxonomicClass, taxonomicFamily, taxonomicGenus, sightingQuantity (integer), sightingNotes and idSource
<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.

0No suit
1Skin or Lycra (about 0.5 mm)
21–2 mm
33 mm
55 mm
77 mm
8Semi-dry
9Drysuit

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.

Inside <divecomputer>
deepsix:repetitiveDiveNumber, deepsix:tempHigh_C, deepsix:entry_gps, deepsix:exit_gps, deepsix:gps_source, deepsix:wave_height_m, deepsix:swell_direction_deg, deepsix:swell_period_s, deepsix:current_velocity_ms, deepsix:current_direction_deg, deepsix:sst_c, deepsix:conditions_source, deepsix:tideHeightAtEntry, deepsix:tideTrend, deepsix:tideRateOfChange, deepsix:tideNextExtremeType, deepsix:tideNextExtremeHeight, deepsix:tideNextExtremeTime, deepsix:tideResponseDatum, deepsix:tideStationName, deepsix:tideStationDistanceKm, deepsix:tideState, deepsix:tidalRange, deepsix:sighting, deepsix:manualSighting:<n>, deepsix:wetsuitType, deepsix:wetsuitThickness, and thermal comfort (coming in 1.1)
Inside <trip>
deepsix:tripDefaultWetsuitType, deepsix:tripDefaultWeightKg

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]