From 87ef7379ca2bb1ffe3bea5c5174a5218ef0f9ff9 Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Fri, 13 Oct 2023 10:02:12 +0200 Subject: [PATCH] Add TODOs for temporal extent validation --- src/edr_pydantic/extent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/edr_pydantic/extent.py b/src/edr_pydantic/extent.py index 43668a0..be808e4 100644 --- a/src/edr_pydantic/extent.py +++ b/src/edr_pydantic/extent.py @@ -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