Skip to content

feat!: a diver's date of birth, phone, emergency contacts and insurances, read from and written to UDDF - #26

Merged
aleskiontherun merged 4 commits into
mainfrom
claude/py-1-diver-profile
Sep 23, 2026
Merged

aleskiontherun merged 4 commits into
mainfrom
claude/py-1-diver-profile

Conversation

@aleskiontherun

@aleskiontherun aleskiontherun commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

§6.1 gains a diver's born_on, phone, emergency_contacts and insurances, and bounds the Diver's name, username and email; SPEC_REF moves to divejson/divejson#26's squash commit on the specification's main and schema, fixtures and docs are re-vendored from it. The UDDF reader fills the three members UDDF has elements for — <birthdate>, the first <phone> or else <mobilephone>, and each <insurance> — reads an owner recording any of them as a diver even without a name, and keeps its output inside the new bounds: a phone or email past its bound is dropped rather than cut, an insurer's name is capped at 255, and an insurance with an empty <name> is dropped, each reported. The writer emits the same three into <owner> in the XSD's order with dates widened to midnight, and reports emergency_contacts and an insurance's number, which UDDF has no element for.

Verified with pytest, divejson conform fixtures --strict, and .github/scripts/spec_pin.py against a spec checkout.

🤖 Generated with Claude Code

aleskiontherun and others added 3 commits September 23, 2026 18:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ces, read from and written to UDDF

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aleskiontherun
aleskiontherun merged commit 0248b20 into main Sep 23, 2026
7 checks passed
@aleskiontherun
aleskiontherun deleted the claude/py-1-diver-profile branch September 23, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant