Skip to content

Commit

Permalink
fix temporal
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Sep 26, 2023
1 parent 06f8379 commit c69dc7c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions hdr_schemata/models/GWDM/base/Temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,32 @@ class Config:

startDate: Optional[Union[date, datetime]] = Field(
...,
description='.',
description='The start of the time period that the dataset provides coverage for',
example='12/03/2020',
title='Start Date',
)
endDate: Optional[Union[date, datetime]] = Field(
None,
description='.',
description='The end of the time period that the dataset provides coverage for',
example='12/03/2020',
title='End Date',
)
timeLag: TimeLag = Field(
...,
description='t',
description='Rypical time-lag between an event and the data for that event appearing in the dataset',
example="LESS 1 WEEK",
title='Time Lag',
)

accrualPeriodicity: Periodicity = Field(
...,
description='',
description='frequency of distribution release. If a dataset is distributed regularly please choose a distribution release periodicity from the constrained list and indicate the next release date. When the release date becomes historical, a new release date will be calculated based on the publishing periodicity.',
example="MONTHLY",
title='Periodicity',
)

distributionReleaseDate: Optional[Union[date, datetime]] = Field(
None,
description='',
description='Date of the latest release of the dataset. If this is a regular release i.e. quarterly, or this is a static dataset please complete this alongside Periodicity.',
title='Release Date',
)

0 comments on commit c69dc7c

Please sign in to comment.