Skip to content

feat: add ingestion metadata validation (MAPCO-11589) - #10

Open
lirantul123 wants to merge 1 commit into
openapi-endpointsfrom
ingestion-validation
Open

lirantul123 wants to merge 1 commit into
openapi-endpointsfrom
ingestion-validation

Conversation

@lirantul123

Copy link
Copy Markdown
Collaborator

Add ValidationManager that validates ingestion metadata using zod schemas from @map-colonies/3d-shared: core fields (new3DLayerMetadataSchema), footprint 2D/3D (geometrySchema), and date-before-date. Invalid metadata throws AppError(400) routed via the controller error seam. Wire the validator into RecordManager's ingestion path. Restore AppError (now used). Unit + integration tests.

Question Answer
Bug fix ✖
New feature ✔
Breaking change ✖
Deprecations ✖
Documentation ✖
Tests added ✔
Chore ✖

Add ValidationManager that validates ingestion metadata using zod schemas from
@map-colonies/3d-shared: core fields (new3DLayerMetadataSchema), footprint 2D/3D
(geometrySchema), and date-before-date. Invalid metadata throws AppError(400)
routed via the controller error seam. Wire the validator into RecordManager's
ingestion path. Restore AppError (now used). Unit + integration tests.
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🎫 Related Jira Issue: MAPCO-11589

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