Skip to content

Commit

Permalink
Add custom axis to extent model
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulVanSchayck committed Oct 12, 2023
1 parent b3a9344 commit 5cfba49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/edr_pydantic/extent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ class Vertical(EdrBaseModel):
vrs: str


class Custom(EdrBaseModel):
interval: List[str]
id: str
values: List[str]
reference: Optional[str] = None


class Extent(EdrBaseModel):
spatial: Spatial
temporal: Optional[Temporal] = None
vertical: Optional[Vertical] = None
custom: Optional[List[Custom]] = None

0 comments on commit 5cfba49

Please sign in to comment.