Skip to content

Commit 676b3e7

Browse files
Bump document version (#70)
* Bump document version * [GENERATE] Pydantic models from JSON Schema --------- Co-authored-by: dapla-bot[bot] <143391972+dapla-bot[bot]@users.noreply.github.com>
1 parent c367ca7 commit 676b3e7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

generated/python/datadoc_model/datadoc_model/all_optional/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: metadata-container-json-schema.json
3-
# timestamp: 2025-09-02T11:54:53+00:00
3+
# timestamp: 2025-09-03T08:11:07+00:00
44

55
from __future__ import annotations
66

@@ -380,8 +380,8 @@ class DatadocMetadata(DatadocBaseModel):
380380
percentage_complete: Optional[int] = Field(
381381
None, description="Percentage of obligatory metadata fields populated."
382382
)
383-
document_version: Literal["5.0.1"] = Field(
384-
"5.0.1", description="Version of this model"
383+
document_version: Literal["6.0.0"] = Field(
384+
"6.0.0", description="Version of this model"
385385
)
386386
dataset: Optional[Dataset] = None
387387
variables: Optional[list[Variable]] = None

generated/python/datadoc_model/datadoc_model/required/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: metadata-container-json-schema.json
3-
# timestamp: 2025-09-02T11:54:55+00:00
3+
# timestamp: 2025-09-03T08:11:09+00:00
44

55
from __future__ import annotations
66

@@ -372,8 +372,8 @@ class DatadocMetadata(DatadocBaseModel):
372372
percentage_complete: Optional[int] = Field(
373373
None, description="Percentage of obligatory metadata fields populated."
374374
)
375-
document_version: Literal["5.0.1"] = Field(
376-
"5.0.1", description="Version of this model"
375+
document_version: Literal["6.0.0"] = Field(
376+
"6.0.0", description="Version of this model"
377377
)
378378
dataset: Dataset
379379
variables: list[Variable]

src/datadoc/datadoc-json-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"document_version": {
1212
"description": "Version of this model",
13-
"const": "5.0.1"
13+
"const": "6.0.0"
1414
},
1515
"dataset": {
1616
"type": "object",

0 commit comments

Comments
 (0)