diff --git a/hdr_schemata/models/SchemaOrg/BioSchema/schema.json b/hdr_schemata/models/SchemaOrg/BioSchema/schema.json index dca38ce..e1e35e8 100644 --- a/hdr_schemata/models/SchemaOrg/BioSchema/schema.json +++ b/hdr_schemata/models/SchemaOrg/BioSchema/schema.json @@ -126,6 +126,19 @@ "default": null, "description": "Indicates a legal jurisdiction, e.g. of some legislation, or where some government service is based.", "title": "Jurisdiction" + }, + "temporalCoverage": { + "anyOf": [ + { + "$ref": "#/$defs/Text" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The typical expected age range, e.g. '7-9', '11-'.", + "title": "temporalCoverage" } }, "required": [ diff --git a/hdr_schemata/models/SchemaOrg/GoogleRecommended/schema.json b/hdr_schemata/models/SchemaOrg/GoogleRecommended/schema.json index 3dccde3..c286e26 100644 --- a/hdr_schemata/models/SchemaOrg/GoogleRecommended/schema.json +++ b/hdr_schemata/models/SchemaOrg/GoogleRecommended/schema.json @@ -126,6 +126,19 @@ "default": null, "description": "Indicates a legal jurisdiction, e.g. of some legislation, or where some government service is based.", "title": "Jurisdiction" + }, + "temporalCoverage": { + "anyOf": [ + { + "$ref": "#/$defs/Text" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The typical expected age range, e.g. '7-9', '11-'.", + "title": "temporalCoverage" } }, "required": [ @@ -682,6 +695,25 @@ ], "title": "Dataset Creator" }, + "temporalCoverage": { + "anyOf": [ + { + "$ref": "#/$defs/SingleDate" + }, + { + "$ref": "#/$defs/TimePeriod" + }, + { + "$ref": "#/$defs/OpenEndedTimePeriod" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The data in the dataset covers a specific time interval. Only include this property if the dataset has a temporal dimension. Schema.org uses the ISO 8601 standard to describe time intervals and time points. You can describe dates differently depending upon the dataset interval. Indicate open-ended intervals with two decimal points (..).", + "title": "Temporal Coverage" + }, "@id": { "allOf": [ { @@ -955,25 +987,6 @@ ], "title": "Spatial Coverage" }, - "temporalCoverage": { - "anyOf": [ - { - "$ref": "#/$defs/SingleDate" - }, - { - "$ref": "#/$defs/TimePeriod" - }, - { - "$ref": "#/$defs/OpenEndedTimePeriod" - }, - { - "type": "null" - } - ], - "default": null, - "description": "The data in the dataset covers a specific time interval. Only include this property if the dataset has a temporal dimension. Schema.org uses the ISO 8601 standard to describe time intervals and time points. You can describe dates differently depending upon the dataset interval. Indicate open-ended intervals with two decimal points (..).", - "title": "Temporal Coverage" - }, "variableMeasured": { "anyOf": [ { diff --git a/hdr_schemata/models/SchemaOrg/base/CreativeWork.py b/hdr_schemata/models/SchemaOrg/base/CreativeWork.py index 0adee08..89e721e 100644 --- a/hdr_schemata/models/SchemaOrg/base/CreativeWork.py +++ b/hdr_schemata/models/SchemaOrg/base/CreativeWork.py @@ -70,4 +70,10 @@ class CreativeWork(BaseModel): title='Jurisdiction', description="Indicates a legal jurisdiction, e.g. of some legislation, or where some government service is based." ) + + temporalCoverage: Optional[Text] = Field( + None, + title='temporalCoverage', + description="The typical expected age range, e.g. '7-9', '11-'." + ) diff --git a/hdr_schemata/models/SchemaOrg/default/schema.json b/hdr_schemata/models/SchemaOrg/default/schema.json index 8e5c0b5..ede7798 100644 --- a/hdr_schemata/models/SchemaOrg/default/schema.json +++ b/hdr_schemata/models/SchemaOrg/default/schema.json @@ -126,6 +126,19 @@ "default": null, "description": "Indicates a legal jurisdiction, e.g. of some legislation, or where some government service is based.", "title": "Jurisdiction" + }, + "temporalCoverage": { + "anyOf": [ + { + "$ref": "#/$defs/Text" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The typical expected age range, e.g. '7-9', '11-'.", + "title": "temporalCoverage" } }, "required": [ @@ -677,6 +690,25 @@ "description": "Indicates a legal jurisdiction, e.g. of some legislation, or where some government service is based.", "title": "Jurisdiction" }, + "temporalCoverage": { + "anyOf": [ + { + "$ref": "#/$defs/SingleDate" + }, + { + "$ref": "#/$defs/TimePeriod" + }, + { + "$ref": "#/$defs/OpenEndedTimePeriod" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The data in the dataset covers a specific time interval. Only include this property if the dataset has a temporal dimension. Schema.org uses the ISO 8601 standard to describe time intervals and time points. You can describe dates differently depending upon the dataset interval. Indicate open-ended intervals with two decimal points (..).", + "title": "Temporal Coverage" + }, "@id": { "allOf": [ { @@ -964,25 +996,6 @@ ], "title": "Spatial Coverage" }, - "temporalCoverage": { - "anyOf": [ - { - "$ref": "#/$defs/SingleDate" - }, - { - "$ref": "#/$defs/TimePeriod" - }, - { - "$ref": "#/$defs/OpenEndedTimePeriod" - }, - { - "type": "null" - } - ], - "default": null, - "description": "The data in the dataset covers a specific time interval. Only include this property if the dataset has a temporal dimension. Schema.org uses the ISO 8601 standard to describe time intervals and time points. You can describe dates differently depending upon the dataset interval. Indicate open-ended intervals with two decimal points (..).", - "title": "Temporal Coverage" - }, "variableMeasured": { "anyOf": [ {