|
10 | 10 | }, |
11 | 11 | "document_version": { |
12 | 12 | "description": "Version of this model", |
13 | | - "const": "4.0.0" |
| 13 | + "const": "5.0.0" |
14 | 14 | }, |
15 | 15 | "dataset": { |
16 | 16 | "type": "object", |
|
213 | 213 | "description": "The data set contains data up until date/time", |
214 | 214 | "type": "string", |
215 | 215 | "format": "date" |
| 216 | + }, |
| 217 | + "pseudonymization_time": { |
| 218 | + "title": "Dataset pseudo time", |
| 219 | + "description": "Time at which the dataset was pseudonymized. In ISO 8601 format.", |
| 220 | + "type": "string", |
| 221 | + "format": "date-time" |
216 | 222 | } |
217 | 223 | }, |
218 | 224 | "required": [ |
|
290 | 296 | }, |
291 | 297 | "is_personal_data": { |
292 | 298 | "title": "Is personal data", |
293 | | - "description": "A description of whether the variable instance is personal data and, if so, whether it is pseudonymised/encrypted or non-pseudonymised/encrypted (directly identifiable).", |
294 | | - "type": "string", |
295 | | - "enum": [ |
296 | | - "NOT_PERSONAL_DATA", |
297 | | - "PSEUDONYMISED_ENCRYPTED_PERSONAL_DATA", |
298 | | - "NON_PSEUDONYMISED_ENCRYPTED_PERSONAL_DATA" |
| 299 | + "description": "Whether or not the variable is personal data.", |
| 300 | + "type": "boolean" |
| 301 | + }, |
| 302 | + "pseudonymization": { |
| 303 | + "type": "object", |
| 304 | + "description": "A pseudonymized variable in the dataset.", |
| 305 | + "properties": { |
| 306 | + "stable_identifier_type": { |
| 307 | + "type": "string", |
| 308 | + "title": "Stable identifier type", |
| 309 | + "description": "Type of stable identifier the variable was mapped to prior to pseudonymization.", |
| 310 | + "$comment": "Only relevant when the variable is mapped to a stable identifier." |
| 311 | + }, |
| 312 | + "stable_identifier_version": { |
| 313 | + "type": "string", |
| 314 | + "title": "Stable identifier version", |
| 315 | + "description": "Version of stable identifier the variable was mapped to prior to pseudonymization.", |
| 316 | + "$comment": "Only relevant when the variable is mapped to a stable identifier." |
| 317 | + }, |
| 318 | + "encryption_algorithm": { |
| 319 | + "type": "string", |
| 320 | + "title": "Encryption algorithm", |
| 321 | + "description": "The encryption algorithm used to pseudonymize the variable." |
| 322 | + }, |
| 323 | + "encryption_key_reference": { |
| 324 | + "type": "string", |
| 325 | + "title": "Encryption key reference", |
| 326 | + "description": "Name of or reference to the encryption key used to pseudonymize the variable." |
| 327 | + }, |
| 328 | + "encryption_algorithm_parameters": { |
| 329 | + "type": "array", |
| 330 | + "items": { |
| 331 | + "type": "object" |
| 332 | + }, |
| 333 | + "title": "Encryption algorithm parameters", |
| 334 | + "description": "Parameters supplied to the encryption algorithm." |
| 335 | + } |
| 336 | + }, |
| 337 | + "required": [ |
| 338 | + "encryption_algorithm", |
| 339 | + "encryption_key_reference" |
299 | 340 | ] |
300 | 341 | }, |
301 | 342 | "data_source": { |
|
0 commit comments