Skip to content

Commit

Permalink
update some shite
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Oct 3, 2023
1 parent 81364df commit 8dd189a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions hdr_schemata/models/GWDM/1.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1379,6 +1379,7 @@
"type": "null"
}
],
"default": null,
"description": "Spatial and Temporal coverage",
"title": "Coverage"
},
Expand All @@ -1401,7 +1402,9 @@
"$ref": "#/$defs/Accessibility"
}
],
"description": "Accessibility information."
"default": null,
"description": "Accessibility information.",
"title": "Accessibility"
},
"linkage": {
"anyOf": [
Expand All @@ -1417,6 +1420,7 @@
"title": "Linkage"
},
"observations": {
"default": null,
"description": "Obsservations",
"items": {
"$ref": "#/$defs/Observation"
Expand All @@ -1443,10 +1447,7 @@
},
"required": [
"required",
"summary",
"coverage",
"accessibility",
"observations"
"summary"
],
"title": "Gwdm10",
"type": "object"
Expand Down
5 changes: 3 additions & 2 deletions hdr_schemata/models/GWDM/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Config:
)

coverage: Optional[Coverage] = Field(
None,
description='Spatial and Temporal coverage',
title='Coverage',
)
Expand All @@ -43,7 +44,7 @@ class Config:
)

accessibility: Accessibility = Field(
...,
None,
description='Accessibility information.',
title='Accessibility',
)
Expand All @@ -55,7 +56,7 @@ class Config:
)

observations: List[Observation] = Field(
...,
None,
description='Obsservations',
title='Observations',
)
Expand Down

0 comments on commit 8dd189a

Please sign in to comment.