Skip to content

Commit

Permalink
Add TODOs for temporal extent validation
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulVanSchayck committed Oct 13, 2023
1 parent fd4a157 commit 87ef737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edr_pydantic/extent.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ class Spatial(EdrBaseModel):


class Temporal(EdrBaseModel):
# TODO: Validate this list has two items (C.7. Temporal Object)
interval: List[List[AwareDatetime]]
# TODO: Validate this is a list of ISO 8601 single time, ISO 8601 time duration or ISO 8601 interval
values: List[str]
trs: str

Expand Down

0 comments on commit 87ef737

Please sign in to comment.