Skip to content

Add validTime to the Procedure GeoJSON schema - #199

Open
Sam-Bolling wants to merge 1 commit into
masterfrom
fix/174-procedure-valid-time
Open

Add validTime to the Procedure GeoJSON schema#199
Sam-Bolling wants to merge 1 commit into
masterfrom
fix/174-procedure-valid-time

Conversation

@Sam-Bolling

Copy link
Copy Markdown
Collaborator

Summary

  • Add the optional properties/validTime field required by the Part 1 Procedure model and GeoJSON mapping.
  • Reuse the shared TimePeriod definition already applied to other GeoJSON resource schemas.

Validation

  • Parsed the updated JSON schema and ran git diff --check.
  • Generated a forced Redocly diagnostic bundle and confirmed that Procedure validTime resolves to bundled timePeriod.
  • Used focused AJV fixtures matching the repository time schemas: a period ending in "now" passed, while one ending in ".." failed as expected under the current schema.

A normal full Part 1 bundle is currently blocked by an unrelated indentation error in api/part1/openapi/paths/systemDeployments.yaml that is already present on master and is unchanged by this PR.

Addresses #174

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