diff --git a/generated/python/datadoc_model/datadoc_model/all_optional/model.py b/generated/python/datadoc_model/datadoc_model/all_optional/model.py index 229b013..b164a39 100644 --- a/generated/python/datadoc_model/datadoc_model/all_optional/model.py +++ b/generated/python/datadoc_model/datadoc_model/all_optional/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: metadata-container-json-schema.json -# timestamp: 2025-12-03T08:52:42+00:00 +# timestamp: 2025-12-03T12:35:19+00:00 from __future__ import annotations @@ -88,7 +88,7 @@ class Pseudonymization(DatadocBaseModel): description="Type of stable identifier the variable was mapped to prior to pseudonymization.", title="Stable identifier type", ) - stable_identifier_version: Optional[date] = Field( + stable_identifier_version: Optional[str] = Field( None, description="Version of stable identifier the variable was mapped to prior to pseudonymization.", title="Stable identifier version", @@ -388,8 +388,8 @@ class DatadocMetadata(DatadocBaseModel): percentage_complete: Optional[int] = Field( None, description="Percentage of obligatory metadata fields populated." ) - document_version: Literal["6.1.1"] = Field( - "6.1.1", description="Version of this model" + document_version: Literal["6.1.2"] = Field( + "6.1.2", description="Version of this model" ) dataset: Optional[Dataset] = None variables: Optional[list[Variable]] = None diff --git a/generated/python/datadoc_model/datadoc_model/required/model.py b/generated/python/datadoc_model/datadoc_model/required/model.py index 26a8b6e..4e7b7da 100644 --- a/generated/python/datadoc_model/datadoc_model/required/model.py +++ b/generated/python/datadoc_model/datadoc_model/required/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: metadata-container-json-schema.json -# timestamp: 2025-12-03T08:52:44+00:00 +# timestamp: 2025-12-03T12:35:21+00:00 from __future__ import annotations @@ -88,7 +88,7 @@ class Pseudonymization(DatadocBaseModel): description="Type of stable identifier the variable was mapped to prior to pseudonymization.", title="Stable identifier type", ) - stable_identifier_version: Optional[date] = Field( + stable_identifier_version: Optional[str] = Field( None, description="Version of stable identifier the variable was mapped to prior to pseudonymization.", title="Stable identifier version", @@ -380,8 +380,8 @@ class DatadocMetadata(DatadocBaseModel): percentage_complete: Optional[int] = Field( None, description="Percentage of obligatory metadata fields populated." ) - document_version: Literal["6.1.1"] = Field( - "6.1.1", description="Version of this model" + document_version: Literal["6.1.2"] = Field( + "6.1.2", description="Version of this model" ) dataset: Dataset variables: list[Variable] diff --git a/generated/python/datadoc_model/pyproject.toml b/generated/python/datadoc_model/pyproject.toml index 562d7e0..307117d 100644 --- a/generated/python/datadoc_model/pyproject.toml +++ b/generated/python/datadoc_model/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ssb-datadoc-model" -version = "8.0.2" +version = "8.0.3" description = "Data Model for use in Statistics Norway's Metadata system" authors = [{ name = "Statistics Norway", email = "metadata@ssb.no" }] license = "MIT" diff --git a/src/datadoc/datadoc-json-schema.json b/src/datadoc/datadoc-json-schema.json index 2c96045..3b46eab 100644 --- a/src/datadoc/datadoc-json-schema.json +++ b/src/datadoc/datadoc-json-schema.json @@ -10,7 +10,7 @@ }, "document_version": { "description": "Version of this model", - "const": "6.1.1" + "const": "6.1.2" }, "dataset": { "type": "object", @@ -292,8 +292,7 @@ "type": "string", "title": "Stable identifier version", "description": "Version of stable identifier the variable was mapped to prior to pseudonymization.", - "$comment": "Only relevant when the variable is mapped to a stable identifier.", - "format": "date" + "$comment": "Only relevant when the variable is mapped to a stable identifier." }, "encryption_algorithm": { "type": "string",