Skip to content

Phase 3.4: SWE Common Types #17

Closed
Closed

Description

@Sam-Bolling

Phase 3.4: SWE Common Types\n\n### Completed\n\nCreated complete TypeScript type definitions for OGC SWE Common 3.0 (commit 784825c).\n\nFiles created:\n- src/ogc-api/csapi/formats/swecommon/types.ts (~600 lines)\n- src/ogc-api/csapi/formats/swecommon/types.spec.ts (~530 lines)\n\n16 data component types:\nSweBoolean, SweCount, SweQuantity, SweText, SweCategory, SweTime, SweCountRange, SweQuantityRange, SweTimeRange, SweCategoryRange, DataRecord, Vector, DataArray, Matrix, DataChoice, SweGeometry\n\n4 encoding types:\nTextEncoding, JSONEncoding, BinaryEncoding, XMLEncoding\n\nSupporting types:\nUnitOfMeasure, AllowedValues, AllowedTokens, AllowedTimes, NilValues, EncodedValues, ElementCount, AssociationAttributeGroup, GeometryConstraint\n\nDiscriminated unions:\nAnyComponent (16 types), AnySimpleComponent (10 types), AnyScalarComponent (6 types), DataEncoding (4 types)\n\nValidation: tsc --noEmit clean, 27 type/discriminator tests passing, 400 total CSAPI tests passing (zero regressions)."

Activity

  1. added a commit that references this issue on Feb 15, 2026
  2. Sam-Bolling commented on Feb 15, 2026

    @Sam-Bolling
    Author

    📋 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.md

    Instructions:

    1. Read the lessons learned document first — before reading the issue body
    2. Read phase-2-lessons-learned.md second — Lessons 8 (multi-server) and 10 (read-only smoke tests) remain mandatory
    3. Review AI_OPERATIONAL_CONSTRAINTS.md as always

    Key lessons applicable to all Phase 3 work:

    • Lesson 1: Upstream audit check — before building new layers
    • Lesson 2: Postel's Law — never gate extraction on validation
    • Lesson 10: Type naming rules when defining types from external specs
  3. added 2 commits that reference this issue on Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions