@@ -5,36 +5,39 @@ const schema = {
55 '\\w' : {
66 type : 'object' ,
77 additionalProperties : false ,
8- required : [ 'commitment ' ] ,
8+ required : [ 'topic' , 'obligee '] ,
99 properties : {
10- 'also known as' : {
10+ topic : {
11+ type : 'string' ,
12+ title : 'The topic of the commitment' ,
13+ examples : [ 'end user’s service usage' , 'end user’s personal data' , 'public behaviour' ] ,
14+ } ,
15+ obligee : {
16+ type : 'string' ,
17+ title : 'The targeted audience' ,
18+ examples : [ 'end user' , 'developer' , 'data controllers (in the sense of GDPR)' ] ,
19+ } ,
20+ aliases : {
1121 type : 'array' ,
1222 items : {
13- type : 'string'
23+ type : 'string' ,
1424 } ,
15- minItems : 1
25+ minItems : 1 ,
1626 } ,
17- commitment : {
18- type : 'object' ,
19- additionalProperties : false ,
20- required : [ 'writer' , 'audience' , 'object' ] ,
21- properties : {
22- writer : {
23- type : 'string' ,
24- title : 'The writer of the document' ,
25- examples : [ 'service provider' , 'intermediation service provider' ] ,
26- } ,
27- audience : {
28- type : 'string' ,
29- title : 'The targeted audience' ,
30- examples : [ 'end user' , 'developer' , 'data controllers (in the sense of GDPR)' ] ,
31- } ,
32- object : {
33- type : 'string' ,
34- title : 'The object of the commitment' ,
35- examples : [ 'end user’s service usage' , 'end user’s personal data' , 'public behaviour' ] ,
36- } ,
27+ industries : {
28+ type : 'array' ,
29+ items : {
30+ type : 'string' ,
31+ } ,
32+ minItems : 1 ,
33+ } ,
34+ jurisdictions : {
35+ type : 'array' ,
36+ items : {
37+ type : 'string' ,
38+ pattern : '^[A-Z]{2}$' , // ISO 3166-2 region codes
3739 } ,
40+ minItems : 1 ,
3841 } ,
3942 references : {
4043 type : 'object' ,
0 commit comments