|
1 | 1 | # generated by datamodel-codegen: |
2 | 2 | # filename: metadata-container-json-schema.json |
3 | | -# timestamp: 2025-09-03T10:05:55+00:00 |
| 3 | +# timestamp: 2025-12-03T08:30:17+00:00 |
4 | 4 |
|
5 | 5 | from __future__ import annotations |
6 | 6 |
|
@@ -53,7 +53,7 @@ class UseRestrictionItem(DatadocBaseModel): |
53 | 53 |
|
54 | 54 | class CustomTypeForDatasetMetadatum(DatadocBaseModel): |
55 | 55 | key: Optional[str] = Field(None, description="Custom type KEY", title="Key") |
56 | | - value: Optional[Union[str, list, dict[str, Any]]] = Field( |
| 56 | + value: Optional[Union[str, list[Any], dict[str, Any]]] = Field( |
57 | 57 | None, |
58 | 58 | description="Custom type VALUE (of type string, array or object).", |
59 | 59 | title="Value", |
@@ -88,7 +88,7 @@ class Pseudonymization(DatadocBaseModel): |
88 | 88 | description="Type of stable identifier the variable was mapped to prior to pseudonymization.", |
89 | 89 | title="Stable identifier type", |
90 | 90 | ) |
91 | | - stable_identifier_version: Optional[str] = Field( |
| 91 | + stable_identifier_version: Optional[date] = Field( |
92 | 92 | None, |
93 | 93 | description="Version of stable identifier the variable was mapped to prior to pseudonymization.", |
94 | 94 | title="Stable identifier version", |
@@ -125,7 +125,7 @@ class SentinelValues(DatadocBaseModel): |
125 | 125 |
|
126 | 126 | class CustomTypeForVariableMetadatum(DatadocBaseModel): |
127 | 127 | key: Optional[str] = Field(None, description="Custom type KEY", title="Key") |
128 | | - value: Optional[Union[str, list, dict[str, Any]]] = Field( |
| 128 | + value: Optional[Union[str, list[Any], dict[str, Any]]] = Field( |
129 | 129 | None, |
130 | 130 | description="Custom type VALUE (of type string, array or object).", |
131 | 131 | title="Value", |
|
0 commit comments