You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Dataset version information in the form of descriptive text",
203
206
title="Version description",
204
207
)
205
-
unit_type: UnitType=Field(
206
-
...,
208
+
unit_type: Optional[UnitType]=Field(
209
+
None,
207
210
description="Unit Type for data file, table or data set. See Definitions of Unit Types https://www.ssb.no/en/metadata/definisjoner-av-statistiske-enheter",
208
211
title="Unit type",
209
212
)
@@ -212,8 +215,8 @@ class Dataset(BaseModel):
212
215
description="Temporality type. Either for the instance variable or the data set",
description="Primary area of statistics in which the data set is included",
218
221
title="Subject field",
219
222
)
@@ -227,34 +230,34 @@ class Dataset(BaseModel):
227
230
description="Description of the data set's spatial coverage",
228
231
title="Spatial coverage description",
229
232
)
230
-
id: UUID=Field(
231
-
..., description="Unique identifier for the data set", title="Identifier"
233
+
id: Optional[UUID]=Field(
234
+
None, description="Unique identifier for the data set", title="Identifier"
232
235
)
233
-
owner: LanguageStringType=Field(
234
-
...,
236
+
owner: Optional[LanguageStringType]=Field(
237
+
None,
235
238
description="Owner of the data set (responsible division in Statistics Norway). See also Classification of organisational units https://www.ssb.no/en/klass/klassifikasjoner/83",
236
239
title="Owner",
237
240
)
238
-
file_path: str=Field(
239
-
...,
241
+
file_path: Optional[str]=Field(
242
+
None,
240
243
description="The file path contains the data set's name and the path to where it is stored",
description="Role of the instance variable in the data set",
288
293
title="Variable role",
289
294
)
@@ -292,8 +297,8 @@ class Variable(BaseModel):
292
297
description="A link (URI) to the variable's definition in Vardok/VarDef",
293
298
title="Definition URI",
294
299
)
295
-
direct_person_identifying: bool=Field(
296
-
...,
300
+
direct_person_identifying: Optional[bool]=Field(
301
+
None,
297
302
description="Direct Person identifying Information (DPI). Some of the values \u200b\u200bin an instance variable kan be DPI, others not. In this case, DPI is set equal to true. For example, the variable exporter where some of the values \u200b\u200bcan be organization number, others social security numbers (sole proprietorships).",
298
303
title="Direct Person identifying Information (DPI)",
299
304
)
@@ -340,17 +345,17 @@ class Variable(BaseModel):
340
345
description="Invalid value(s) description used in addition (or as an alternative) to standard sentinel values.",
341
346
title="Invalid value(s) description",
342
347
)
343
-
id: UUID=Field(
344
-
...,
348
+
id: Optional[UUID]=Field(
349
+
None,
345
350
description="Unique SSB identifier for the instance variable in the data set",
description="The instance variable in the data set contains data from and including this date. This can be useful information for data sets that contain many instance variables in addition to data for many periods/years. In many cases, it will then be the case that some variables only contain data for the most recent periods/years, e.g. if the entire data set contains data from 1970 to 2020, while some instance variables only contain data from 1998 onwards.",
description="The instance variable in the data set contains data up to and including this date. This can be useful information for data sets that contain many instance variables in addition to data for many periods/years. In many cases, it will then be the case that some of the instance variables in the data set are terminated (no longer updated) after a given point in time.",
356
361
title="Contains data up until",
@@ -364,11 +369,11 @@ class DatadocJsonSchema(BaseModel):
0 commit comments