Skip to content

Conversation

@IanMayo
Copy link
Member

@IanMayo IanMayo commented Jan 15, 2026

Add FeatureKindEnum with TRACK and POINT values to enable schema-based feature type discrimination. The kind field is required in both TrackProperties and ReferenceLocationProperties, allowing consumers to dispatch to the correct schema based on a single field check.

Changes:

  • Add FeatureKindEnum to common.yaml
  • Add kind field to TrackProperties (TRACK) and ReferenceLocationProperties (POINT)
  • Update all test fixtures with kind field
  • Regenerate Python, TypeScript, and JSON Schema artifacts
  • Update REP handler to emit kind: TRACK in parsed features

Add FeatureKindEnum with TRACK and POINT values to enable
schema-based feature type discrimination. The kind field is
required in both TrackProperties and ReferenceLocationProperties,
allowing consumers to dispatch to the correct schema based on
a single field check.

Changes:
- Add FeatureKindEnum to common.yaml
- Add kind field to TrackProperties (TRACK) and ReferenceLocationProperties (POINT)
- Update all test fixtures with kind field
- Regenerate Python, TypeScript, and JSON Schema artifacts
- Update REP handler to emit kind: TRACK in parsed features
- Add ADR-001 documenting the feature kind discriminator decision,
  including context, alternatives considered, and consequences
- Update data-model.md with FeatureKindEnum section and kind field
  in both TrackProperties and ReferenceLocationProperties tables
- Update JSON examples to include kind field
@IanMayo IanMayo merged commit d5889b7 into main Jan 15, 2026
4 checks passed
@IanMayo IanMayo deleted the claude/feature-type-identification-SXoPX branch January 15, 2026 13:08
IanMayo added a commit that referenced this pull request Jan 20, 2026
- Regenerate Pydantic, JSON Schema, and TypeScript from LinkML annotations
- Fix Unicode encoding crash in generate.py and Makefile (replace checkmarks with ASCII)
- Add backlog item #20 for deferred ELLIPSE/POLYGON schemas
- Reorder backlog by status then score
- Remove #19 from STRATEGY.md parking lot

All 43 schema tests pass. Completes the code generation portion of backlog #15.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants