-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdarpal.json
More file actions
454 lines (454 loc) · 15.7 KB
/
Copy pathdarpal.json
File metadata and controls
454 lines (454 loc) · 15.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/DaSKITA/darpal",
"type": "object",
"title": "Root schema of Data Access Request Process Automation Language",
"description": "This schema defines the Data Access Request Process Automation Language",
"required": [
"meta",
"_id",
"createdAt",
"requestInterface"
],
"examples": [
{
"meta": {
"name": "Service Provider",
"version": 1,
"_hash": "stringstringstringstringstringstringstringstringstringstringstri"
},
"requestInterface": [
{
"manual": {
"available": true,
"address": "Straße des 17. Juni, 10587 Berlin",
"email": "rta@mycompany.com",
"phone": "+8198417789",
"authentication": "string"
},
"webinterface": {
"available": true,
"startUrl": "https://mycompany.com/rta",
"authentication": "ID",
"workflowContainer": {
"automationEngine": "automa",
"workflow": [
{}
],
"version": 0,
"verified": true
}
},
"api": {
"available": true,
"endpoint": "https://mycompany.com/rta/api",
"authentication": {
"authDescription": "token",
"authProcessStage": "requestParameter"
},
"apiParameters": [
{
"key": "legalBasis",
"value": "gdpr-15-3"
}
]
}
}
],
"requestParameter": {
"timeRange": {
"allTime": true,
"customRange": {
"available": true,
"range": [
"last-year"
]
}
},
"mediaQuality": [
"high"
],
"dataFormat": [
"HTML"
],
"categories": [
"string"
]
},
"createdAt": "2023-02-15T18:32:00.591Z",
"updatedAt": "2023-02-15T18:32:00.591Z",
"_id": "string"
}
],
"additionalProperties": true,
"properties": {
"_id": {
"type": "string",
"title": "_id",
"description": "The ID follows the database-specific implementation and does not have to be set in advance; but should offer as much entropy as possible for globally unique identifiers.",
"examples": [
"f1424f86-ca0f-4f0c-9438-43cc00509931"
]
},
"createdAt": {
"type": "string",
"title": "Created",
"description": "Creation date of the document as an ISO-8601 time code. Set automatically",
"pattern": "^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$",
"examples": [
"2020-04-03T15:53:05.929588"
]
},
"updatedAt": {
"type": "string",
"title": "Modified",
"description": "Last modified date of the document as an ISO-8601 time code. Set automatically",
"pattern": "^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$",
"examples": [
"2022-12-08T15: 53: 05.929588"
]
},
"meta": {
"$id": "#/properties/meta",
"type": "object",
"title": "Meta",
"description": "Meta information for the identification and verification of the document.",
"examples": [
{
"name": "Google",
"version": 1,
"status": "active",
"_hash": "d732a793562a3e5dc57645a8"
}
],
"required": [
"name",
"version",
"_hash"
],
"additionalProperties": true,
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Name of the data controller.",
"examples": [
"Green Company"
]
},
"version": {
"type": "integer",
"title": "Version",
"description": "This number serves to version documents of a controller specific process.",
"default": 1,
"minimum": 1,
"examples": [
1
]
},
"_hash": {
"type": "string",
"title": "_hash",
"description": "The hash is based on one SHA256 calculation of the document.",
"minLength": 64,
"maxLength": 64,
"examples": [
"be81d309088dde861ab5fc4d62d4bbfe0aeef3e3baf2f5362c1086f451f0a1e7"
]
}
}
},
"requestInterface": {
"type": "array",
"additionalItems": true,
"items": {
"type": "object",
"properties": {
"manual": {
"type": "object",
"description": "Describes the manual request process",
"properties": {
"available": {
"type": "boolean",
"title":"Available",
"description": "Is a manual request process available?",
"examples": [
true
]
},
"address": {
"type": "string",
"title": "Address",
"description": "Address for the postal DSAR, typically the address of a Data Protection Officer.",
"examples": [
"Straße des 17. Juni, 10587 Berlin"
]
},
"email": {
"type": "string",
"title": "Email",
"description": "Email address for an electronic submission of a manual access request",
"format": "email",
"examples": [
"rta@mycompany.com"
]
},
"phone": {
"type":"string",
"pattern": "^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\\s\\./0-9]*$",
"description": "Phone number to make the request to",
"examples": [
"+49 151 1234 5678"
]
},
"authentication": {
"type": "string",
"description": "Type of identification evidence that should be stated in the email to achieve faster processing of request",
"examples": [
"ID",
"Account name",
"Full name and birthdate",
"None"
]
}
},
"required": [
"available"
]
},
"webinterface": {
"type": "object",
"description": "Describes the semi-automatic request process using a webinterface",
"properties": {
"available": {
"type": "boolean",
"title":"Available",
"description": "Is a web-based request process available?",
"examples": [
true
]
},
"startUrl": {
"type": "string",
"title": "Url",
"description": "URL to startelement of request process",
"format": "uri-reference",
"examples": [
"https://takeout.google.com/"
]
},
"authentication": {
"type": "string",
"description": "Kind of authentication actions required during or before the request process is started",
"pattern": "^(password|cookie|email|2FA|ID)$",
"examples": [
"password",
"cookie",
"email",
"2FA",
"ID"
]
},
"workflowContainer": {
"type": "object",
"description": "The workflow for the data request process encoded in an automation engine specific format",
"properties": {
"automationEngine": {
"type": "string",
"description": "Automation engine that is used to describe the specific workflow",
"examples": [
"automa"
]
},
"workflow": {
"type": "array",
"description": "Automation engine specific workflow to execute the access request with a specific set of request parameters",
"items": {
"type": "object",
"description": "Automation engine specific workflow in the specific format. If required, it is wrapped in this object",
"examples": [
{
"extVersion": "1.18.1",
"name": "Google DSAR",
"icon": "riGlobalLine",
"table": [],
"version": "1.18.1",
"drawflow": {
"edges":["..."],
"nodes":["..."],
"position":["..."]
},
"settings": {
"blockDelay": 0,
"debugMode": false,
"defaultColumnName": "column",
"executedBlockOnWeb": false,
"inputAutocomplete": true,
"insertDefaultColumn": false,
"notification": true,
"onError": "stop-workflow",
"publicId": "",
"restartTimes": 3,
"reuseLastState": false,
"saveLog": true
},
"globalData": "[{ \"key\": \"value\" }]",
"description": "",
"includedWorkflows": {}
}
]
}
},
"version": {
"type": "integer"
},
"verified": {
"type": "boolean",
"default": "true"
}
},
"required": [
"automationEngine",
"workflow"
]
}
},
"required": [
"available"
]
},
"api": {
"type": "object",
"description": "Describes the fully automated request process using an API",
"properties": {
"available": {
"type": "boolean",
"title":"Available",
"description": "Is an API-based request process available?",
"examples": [
true
]
},
"endpoint": {
"type": "string",
"format": "uri-reference",
"description": "URL of the API-endpoint"
},
"authentication": {
"type": "object",
"properties": {
"authDescription": {
"type": "string",
"description": "Kind of authentication actions required during or before the request process is started",
"pattern": "^(password|token|2FA)$",
"examples": [
"password",
"2FA",
"token"
]
},
"authProcessStage": {
"type": "string",
"description": "Process stage, where the authentication is required",
"pattern": "^(preprocessing|requestParameter)$",
"examples": [
"preprocessing",
"requestParameter"
]
}
},
"required": [
"authDescription",
"authProcessStage"
]
},
"apiParameters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
},
"required": [
"available"
]
}
}
}
},
"requestParameter": {
"type": "object",
"description": "The parameters describe options to refine the general access request",
"properties": {
"timeRange": {
"type": "object",
"description": "The time range that shall be included in the DSAR",
"properties": {
"allTime": {
"type": "boolean"
},
"customRange": {
"type": "object",
"description": "Describes options for a specific time range that shall be included in the DSAR",
"properties": {
"available": {
"description": "Describes if a custom time range is available",
"type": "boolean"
},
"range": {
"type": "array",
"description": "There might be multiple available time ranges.",
"items": {
"description": "The (time) range specifies the given options the DSAR should include. It follows the ISO 8601 for time spans.",
"pattern": "^(\\d{4}(-\\d{2}(-\\d{2})?(?!:))?(T\\d{2}(:\\d{2}(:\\d{2})?(\\.\\d+)?)?)?(Z|([+,-]\\d{2}(:\\d{2})?))?)?P(([0-9]+([.,][0-9]*)?Y)?([0-9]+([.,][0-9]*)?M)?([0-9]+([.,][0-9]*)?D)?T?([0-9]+([.,][0-9]*)?H)?([0-9]+([.,][0-9]*)?M)?([0-9]+([.,][0-9]*)?S)?)|\\d{4}-?(0[1-9]|11|12)-?(?:[0-2]\\d|30|31)T((?:[0-1][0-9]|[2][0-3]):?(?:[0-5][0-9]):?(?:[0-5][0-9]|60)|2400|24:00)$"
}
}
},
"required": [
"available"
]
}
},
"required": [
"allTime"
]
},
"mediaQuality": {
"type": "array",
"items": {
"type": "string",
"description": "The quality of media files (image, video) included in the DSAR",
"pattern": "^(small|medium|high)$"
}
},
"dataFormat": {
"type": "array",
"items": {
"type": "string",
"description": "File format of the retrieved data",
"pattern": "^(JSON|CSV|PDF|HTML|Text)$"
}
},
"categories":{
"type": "array",
"items": {
"type": "string",
"description": "Categories of personal data that shall be included in the retrieved data"
}
}
},
"required": [
"timeRange",
"dataFormat"
]
}
}
}