## Phase 3, Task 5: SensorML 3.0 Type Definitions ### Status: COMPLETE ✅ Resolved by commit `3eac9c6`. ### Deliverables | File | Lines | Description | |------|-------|-------------| | `src/ogc-api/csapi/formats/sensorml/types.ts` | 852 | Full SensorML 3.0 type hierarchy | | `src/ogc-api/csapi/formats/sensorml/types.spec.ts` | 462 | 23 type compilation & discriminator tests | ### Coverage - **50 exported types** covering the complete SensorML 3.0 process model - **Inheritance chain**: `DescribedObject → AbstractProcess → AbstractPhysicalProcess → concrete` - **4 concrete process types** with string-literal `type` discriminators: - `SimpleProcess`, `AggregateProcess`, `PhysicalComponent`, `PhysicalSystem` - **`SensorMLProcess` discriminated union** for type-safe narrowing via `switch(proc.type)` - **20+ supporting types**: Term, Document, Event, ResponsibleParty, CapabilityList, CharacteristicList, Settings, Position, ComponentList, ConnectionList, etc. - **SWE Common integration** via `import type { ... } from '../swecommon/types.js'` ### Verification - `tsc --noEmit`: clean (zero errors) - 23/23 SensorML tests pass - 27/27 SWE Common tests pass (no regressions) - All 400 CSAPI tests unaffected"
Activity
feat: add SensorML 3.0 type definitions (Issue #18)
docs: Phase 3.4 code review — SensorML 3.0 type definitions (Issue #18)
docs: Phase 3.4 live server smoke test — SensorML type alignment, 52N…
Sam-Bolling commentedon Feb 15, 2026
📋 Required Reading: Phase 3 Lessons Learned
Before starting work on this issue, review the Phase 3 Lessons Learned document:
👉
docs/governance/phase-3-lessons-learned.mdInstructions:
phase-2-lessons-learned.mdsecond — Lessons 8 (multi-server) and 10 (read-only smoke tests) remain mandatoryAI_OPERATIONAL_CONSTRAINTS.mdas alwaysKey lessons applicable to all Phase 3 work:
docs: add findings report for Issue #18 — empty-body 201 response cra…
feat: add SSN namespace support to featureType recognition (#76)\n\nA…