-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
396 additions
and
714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,13 @@ | ||
from typing import Optional | ||
from pydantic import BaseModel, Field | ||
from pydantic import Field | ||
from hdr_schemata.definitions.HDRUK import * | ||
|
||
from .Usage import Usage | ||
from hdr_schemata.models.GWDM.v1_1 import Accessibility as BaseAccessibility | ||
from .Access import Access | ||
from .FormatAndStandards import FormatAndStandards | ||
|
||
class Accessibility(BaseModel): | ||
class Config: | ||
extra = 'forbid' | ||
|
||
usage: Optional[Usage] = Field( | ||
None, | ||
description='This section includes information about how the data can be used and how it is currently being used', | ||
title='Usage', | ||
) | ||
class Accessibility(BaseAccessibility): | ||
access: Access = Field( | ||
..., | ||
description='This section includes information about data access', | ||
title='Access', | ||
) | ||
formatAndStandards: Optional[FormatAndStandards] = Field( | ||
None, | ||
description='Section includes technical attributes for language vocabularies, sizes etc. and gives researchers facts about and processing the underlying data in the dataset.', | ||
title='Format and Standards', | ||
description="This section includes information about data access", | ||
title="Access", | ||
) |