Skip to content

Commit

Permalink
fix: missing concepts & processing context
Browse files Browse the repository at this point in the history
v0.4 did not include concepts marked 'modified' due to an error in the
criteria for what is considered an 'accepted' concept. Fixed this in the
code for `002` rdf generation. The HTML documentation was missing the
inclusion of processing_context module, which has been fixed in the
`003` html generation code. See changelog for more info.
  • Loading branch information
coolharsh55 committed Feb 22, 2022
1 parent b4085e4 commit 96c30f7
Show file tree
Hide file tree
Showing 152 changed files with 66,432 additions and 56,631 deletions.
2 changes: 1 addition & 1 deletion documentation-generator/002_parse_csv_to_rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'jsonld': 'json-ld'
}

VOCAB_TERM_ACCEPT = ('accepted', 'changed')
VOCAB_TERM_ACCEPT = ('accepted', 'changed', 'modified')
VOCAB_TERM_REJECT = ('deprecated', 'removed')

import csv
Expand Down
2 changes: 1 addition & 1 deletion documentation-generator/002_parse_csv_to_rdf_owl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'jsonld': 'json-ld'
}

VOCAB_TERM_ACCEPT = ('accepted', 'changed')
VOCAB_TERM_ACCEPT = ('accepted', 'changed', 'modified')
VOCAB_TERM_REJECT = ('deprecated', 'removed')

import csv
Expand Down
2 changes: 1 addition & 1 deletion documentation-generator/002_parse_csv_to_rdf_skos.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'jsonld': 'json-ld'
}

VOCAB_TERM_ACCEPT = ('accepted', 'changed')
VOCAB_TERM_ACCEPT = ('accepted', 'changed', 'modified')
VOCAB_TERM_REJECT = ('deprecated', 'removed')

import csv
Expand Down
1 change: 1 addition & 0 deletions documentation-generator/003_generate_respec_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def saved_label(item):
load_data('technical_organisational_measures', f'{IMPORT_DPV_MODULES_PATH}/technical_organisational_measures.ttl')
load_data('entities', f'{IMPORT_DPV_MODULES_PATH}/entities.ttl')
load_data('context', f'{IMPORT_DPV_MODULES_PATH}/context.ttl')
load_data('processing_context', f'{IMPORT_DPV_MODULES_PATH}/processing_context.ttl')
load_data('jurisdictions', f'{IMPORT_DPV_MODULES_PATH}/jurisdictions.ttl')
load_data('legal_basis', f'{IMPORT_DPV_MODULES_PATH}/legal_basis.ttl')
load_data('consent', f'{IMPORT_DPV_MODULES_PATH}/consent.ttl')
Expand Down
1 change: 1 addition & 0 deletions documentation-generator/003_generate_respec_html_owl.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def saved_label(item):
load_data('technical_organisational_measures', f'{IMPORT_DPV_MODULES_PATH}/technical_organisational_measures.ttl')
load_data('entities', f'{IMPORT_DPV_MODULES_PATH}/entities.ttl')
load_data('context', f'{IMPORT_DPV_MODULES_PATH}/context.ttl')
load_data('processing_context', f'{IMPORT_DPV_MODULES_PATH}/processing_context.ttl')
load_data('jurisdictions', f'{IMPORT_DPV_MODULES_PATH}/jurisdictions.ttl')
load_data('legal_basis', f'{IMPORT_DPV_MODULES_PATH}/legal_basis.ttl')
load_data('consent', f'{IMPORT_DPV_MODULES_PATH}/consent.ttl')
Expand Down
1 change: 1 addition & 0 deletions documentation-generator/003_generate_respec_html_skos.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def saved_label(item):
load_data('technical_organisational_measures', f'{IMPORT_DPV_MODULES_PATH}/technical_organisational_measures.ttl')
load_data('entities', f'{IMPORT_DPV_MODULES_PATH}/entities.ttl')
load_data('context', f'{IMPORT_DPV_MODULES_PATH}/context.ttl')
load_data('processing_context', f'{IMPORT_DPV_MODULES_PATH}/processing_context.ttl')
load_data('jurisdictions', f'{IMPORT_DPV_MODULES_PATH}/jurisdictions.ttl')
load_data('legal_basis', f'{IMPORT_DPV_MODULES_PATH}/legal_basis.ttl')
load_data('consent', f'{IMPORT_DPV_MODULES_PATH}/consent.ttl')
Expand Down
75 changes: 45 additions & 30 deletions documentation-generator/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@
SW = Namespace('http://www.w3.org/2003/06/sw-vocab-status/ns#')

GITHUB_REPO_RAW = 'https://raw.githubusercontent.com/w3c/dpv/master/'
GITHUB_DPV_RAW = f'{GITHUB_REPO_RAW}dpv/rdf/'
GITHUB_GDPR_RAW = f'{GITHUB_REPO_RAW}dpv-gdpr/rdf/'
GITHUB_DPV_RAW = f'{GITHUB_REPO_RAW}dpv/modules/'
GITHUB_GDPR_RAW = f'{GITHUB_REPO_RAW}dpv-gdpr/modules/'
GITHUB_PD_RAW = f'{GITHUB_REPO_RAW}dpv-pd/'

LOCAL_DPV = '../dpv/modules/'
LOCAL_GDPR = '../dpv-gdpr/modules/'
LOCAL_PD = '../dpv-pd/'

DPV_MODULES = (
'base',
'personal_data_categories',
'personal_data',
'purposes',
'processing',
'technical_organisational_measures',
'context',
'processing_context',
'entities',
'jurisdictions',
'legal_basis',
'consent',
)
Expand Down Expand Up @@ -47,18 +52,18 @@ def download_file_to_rdf_graph(url):
return graph


def compare_iterations(old, new):
def compare_iterations(graph_old, graph_new):
'''compare old and new iterations of a graph
returns added, removed, changed sets of concepts'''
old = set(s for s in graph_old.subjects(None, None))
new = set(s for s in graph_new.subjects(None, None))
# added: things in new set that are not in old set
added = new - old
added = tuple(
x.split('#')[1] for x in added.subjects(RDF.type, RDFS.Class))
print(f'added: {len(added)}')
# removed: things in old set that are not in new set
removed = old - new
removed = tuple(
x.split('#')[1] for x in removed.subjects(RDF.type, RDFS.Class))
changed = tuple(x.split('#')[1] for x in new.subjects(
SW.term_status, Literal('changed', lang='en')))
return added, removed, changed
print(f'removed: {len(removed)}')
return added, removed


# DPV
Expand All @@ -68,42 +73,52 @@ def compare_iterations(old, new):
old = download_file_to_rdf_graph(f'{GITHUB_DPV_RAW}{module}.ttl')
new = Graph()
new.load(f'{LOCAL_DPV}{module}.ttl', format='turtle')
removed, added, changed = compare_iterations(old, new)
print(f'added: {len(added)} ; removed: {len(removed)} ; changed: {len(changed)}')
added, removed = compare_iterations(old, new)
print(f'added: {len(added)} ; removed: {len(removed)}')
if removed:
print('\nTerms Removed')
print('Concepts Removed')
for term in removed:
print(term)
if added:
print('\nTerms Added')
print('\nConcepts Added')
for term in added:
print(term)
if changed:
print('\nTerms Changed')
for term in changed:
print(term)
print('\n')
print('---')


# DPV-GDPR
print('\n\n--- DPV-GDPR --- ')
print('\n--- DPV-GDPR --- ')
for module in DPV_GDPR_MODULES:
print(f'MODULE: {module}')
old = download_file_to_rdf_graph(f'{GITHUB_GDPR_RAW}{module}.ttl')
new = Graph()
new.load(f'{LOCAL_GDPR}{module}.ttl', format='turtle')
removed, added, changed = compare_iterations(old, new)
print(f'added: {len(added)} ; removed: {len(removed)} ; changed: {len(changed)}')
added, removed = compare_iterations(old, new)
print(f'added: {len(added)} ; removed: {len(removed)}')
if removed:
print('\nTerms Removed')
print('Concepts Removed')
for term in removed:
print(term)
if added:
print('\nTerms Added')
print('\nConcepts Added')
for term in added:
print(term)
if changed:
print('\nTerms Changed')
for term in changed:
print(term)
print('\n')
print('---')


# DPV-PD
print('\n--- DPV-PD ---')
old = download_file_to_rdf_graph(f'{GITHUB_PD_RAW}dpv-pd.ttl')
new = Graph()
new.load(f'{LOCAL_PD}dpv-pd.ttl', format='turtle')
added, removed = compare_iterations(old, new)
print(f'added: {len(added)} ; removed: {len(removed)}')
if removed:
print('\nConcepts Removed')
for term in removed:
print(term)
if added:
print('Concepts Added')
for term in added:
print(term)
print('---')
2 changes: 1 addition & 1 deletion documentation-generator/jinja2_resources/links_label.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_1/oj": "GDPR Art.4-1g", "https://www.specialprivacy.eu/": "SPECIAL Project", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_9/oj": "GDPR Art.4-9g", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_7/oj": "GDPR Art.4-7g", "https://www.w3.org/community/dpvcg/": "DPVCG", "https://www.privacycommission.be/nl/model-voor-een-register-van-de-verwerkingsactiviteiten": "Belgian DPA ROPA Template", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_2/oj": "GDPR Art.4-2", "https://www.specialprivacy.eu/vocabs/processing": "SPECIAL Project", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_5/oj": "GDPR Art.4-5", "https://www.iso.org/iso-31000-risk-management.html": "ISO 31000", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_8/oj": "GDPR Art.4-8", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_10/oj": "GDPR Art.4-10", "https://edpb.europa.eu/our-work-tools/our-documents/recommendations/recommendations-012020-measures-supplement-transfer_en": "EDPB Recommendations 01/2020 on Data Transfers", "https://eur-lex.europa.eu/eli/reg/2016/679/art_27/oj": "GDPR Art.27", "http://purl.org/adms": "ADMS controlled vocabulary", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_a/oj": "GDPR Art.6-1a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_b/oj": "GDPR Art.6-1b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_c/oj": "GDPR Art.6-1c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_d/oj": "GDPR Art.6-1d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_e/oj": "GDPR Art.6-1e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_f/oj": "GDPR Art.6-1f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_a/oj": "GDPR Art.9-2a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_b/oj": "GDPR Art.9-2b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_c/oj": "GDPR Art.9-2c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_d/oj": "GDPR Art.9-2d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_e/oj": "GDPR Art.9-2e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_f/oj": "GDPR Art.9-2f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_g/oj": "GDPR Art.9-2g", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_h/oj": "GDPR Art.9-2h", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_i/oj": "GDPR Art.9-2i", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_j/oj": "GDPR Art.9-2j", "https://eur-lex.europa.eu/eli/reg/2016/679/art_45/par_3/oj": "GDPR Art.45-3", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_a/oj": "GDPR Art.46-2a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_b/oj": "GDPR Art.46-2b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_c/oj": "GDPR Art.46-2c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_d/oj": "GDPR Art.46-2d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_e/oj": "GDPR Art.46-2e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_f/oj": "GDPR Art.46-2f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_3/pnt_a/oj": "GDPR Art.46-3a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_3/pnt_b/oj": "GDPR Art.46-3b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_a/oj": "GDPR Art.49-1a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_b/oj": "GDPR Art.49-1b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_c/oj": "GDPR Art.49-1c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_d/oj": "GDPR Art.49-1d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_e/oj": "GDPR Art.49-1e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_f/oj": "GDPR Art.49-1f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_g/oj": "GDPR Art.49-1g", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_2/oj": "GDPR Art.49-2", "https://eur-lex.europa.eu/eli/reg/2016/679/art_13/oj": "GDPR Art.13", "https://eur-lex.europa.eu/eli/reg/2016/679/art_14/oj": "GDPR Art.14", "https://eur-lex.europa.eu/eli/reg/2016/679/art_15/oj": "GDPR Art.15", "https://eur-lex.europa.eu/eli/reg/2016/679/art_16/oj": "GDPR Art.16", "https://eur-lex.europa.eu/eli/reg/2016/679/art_17/oj": "GDPR Art.17", "https://eur-lex.europa.eu/eli/reg/2016/679/art_18/oj": "GDPR Art.18", "https://eur-lex.europa.eu/eli/reg/2016/679/art_19/oj": "GDPR Art.19", "https://eur-lex.europa.eu/eli/reg/2016/679/art_20/oj": "GDPR Art.20", "https://eur-lex.europa.eu/eli/reg/2016/679/art_21/oj": "GDPR Art.21", "https://eur-lex.europa.eu/eli/reg/2016/679/art_22/oj": "GDPR Art.22", "https://eur-lex.europa.eu/eli/reg/2016/679/art_7/par_3/oj": "GDPR Art.7-3", "https://eur-lex.europa.eu/eli/reg/2016/679/art_77/oj": "GDPR Art.77", "https://edpb.europa.eu/system/files/2021-06/edpb_recommendations_202001vo.2.0_supplementarymeasurestransferstools_en.pdf": "EDPB Recommendations 01/2020 on Supplementary Measures and Transfer Tools", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_20/oj": "GDPR Art.4-20", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/pnt_c/oj": "GDPR Art.46", "https://edpb.europa.eu/sites/default/files/consultation/edpb_recommendations_202001_supplementarymeasurestransferstools_en.pdf": "EDPB Recommendations 01/2020 on Supplementary Measures and Transfer Tools", "https://eur-lex.europa.eu/eli/dec_impl/2021/914/oj": "Implementing Decision on SCC for Data Transfers", "https://enterprivacy.com/wp-content/uploads/2018/09/Categories-of-Personal-Information.pdf": "EnterPrivacy Categories of Personal Information"}
{"https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_1/oj": "GDPR Art.4-1g", "https://www.specialprivacy.eu/": "SPECIAL Project", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_9/oj": "GDPR Art.4-9g", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_7/oj": "GDPR Art.4-7g", "https://www.w3.org/community/dpvcg/": "DPVCG", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_1/oj": "GDPR Art.9-1", "https://www.privacycommission.be/nl/model-voor-een-register-van-de-verwerkingsactiviteiten": "Belgian DPA ROPA Template", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_2/oj": "GDPR Art.4-2", "https://www.specialprivacy.eu/vocabs/processing": "SPECIAL Project", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_5/oj": "GDPR Art.4-5", "https://www.iso.org/iso-31000-risk-management.html": "ISO 31000", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_8/oj": "GDPR Art.4-8", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_10/oj": "GDPR Art.4-10", "https://eur-lex.europa.eu/eli/reg/2016/679/art_37/oj": "GDPR Art.37", "https://edpb.europa.eu/our-work-tools/our-documents/recommendations/recommendations-012020-measures-supplement-transfer_en": "EDPB Recommendations 01/2020 on Data Transfers", "https://eur-lex.europa.eu/eli/reg/2016/679/art_27/oj": "GDPR Art.27", "http://purl.org/adms": "ADMS controlled vocabulary", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_a/oj": "GDPR Art.6-1a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_b/oj": "GDPR Art.6-1b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_c/oj": "GDPR Art.6-1c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_d/oj": "GDPR Art.6-1d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_e/oj": "GDPR Art.6-1e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_6/par_1/pnt_f/oj": "GDPR Art.6-1f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_a/oj": "GDPR Art.9-2a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_b/oj": "GDPR Art.9-2b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_c/oj": "GDPR Art.9-2c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_d/oj": "GDPR Art.9-2d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_e/oj": "GDPR Art.9-2e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_f/oj": "GDPR Art.9-2f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_g/oj": "GDPR Art.9-2g", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_h/oj": "GDPR Art.9-2h", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_i/oj": "GDPR Art.9-2i", "https://eur-lex.europa.eu/eli/reg/2016/679/art_9/par_2/pnt_j/oj": "GDPR Art.9-2j", "https://eur-lex.europa.eu/eli/reg/2016/679/art_45/par_3/oj": "GDPR Art.45-3", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_a/oj": "GDPR Art.46-2a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_b/oj": "GDPR Art.46-2b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_c/oj": "GDPR Art.46-2c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_d/oj": "GDPR Art.46-2d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_e/oj": "GDPR Art.46-2e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_2/pnt_f/oj": "GDPR Art.46-2f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_3/pnt_a/oj": "GDPR Art.46-3a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/par_3/pnt_b/oj": "GDPR Art.46-3b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_a/oj": "GDPR Art.49-1a", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_b/oj": "GDPR Art.49-1b", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_c/oj": "GDPR Art.49-1c", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_d/oj": "GDPR Art.49-1d", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_e/oj": "GDPR Art.49-1e", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_f/oj": "GDPR Art.49-1f", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_1/pnt_g/oj": "GDPR Art.49-1g", "https://eur-lex.europa.eu/eli/reg/2016/679/art_49/par_2/oj": "GDPR Art.49-2", "https://eur-lex.europa.eu/eli/reg/2016/679/art_13/oj": "GDPR Art.13", "https://eur-lex.europa.eu/eli/reg/2016/679/art_14/oj": "GDPR Art.14", "https://eur-lex.europa.eu/eli/reg/2016/679/art_15/oj": "GDPR Art.15", "https://eur-lex.europa.eu/eli/reg/2016/679/art_16/oj": "GDPR Art.16", "https://eur-lex.europa.eu/eli/reg/2016/679/art_17/oj": "GDPR Art.17", "https://eur-lex.europa.eu/eli/reg/2016/679/art_18/oj": "GDPR Art.18", "https://eur-lex.europa.eu/eli/reg/2016/679/art_19/oj": "GDPR Art.19", "https://eur-lex.europa.eu/eli/reg/2016/679/art_20/oj": "GDPR Art.20", "https://eur-lex.europa.eu/eli/reg/2016/679/art_21/oj": "GDPR Art.21", "https://eur-lex.europa.eu/eli/reg/2016/679/art_22/oj": "GDPR Art.22", "https://eur-lex.europa.eu/eli/reg/2016/679/art_7/par_3/oj": "GDPR Art.7-3", "https://eur-lex.europa.eu/eli/reg/2016/679/art_77/oj": "GDPR Art.77", "https://edpb.europa.eu/system/files/2021-06/edpb_recommendations_202001vo.2.0_supplementarymeasurestransferstools_en.pdf": "EDPB Recommendations 01/2020 on Supplementary Measures and Transfer Tools", "https://eur-lex.europa.eu/eli/reg/2016/679/art_4/par_20/oj": "GDPR Art.4-20", "https://eur-lex.europa.eu/eli/reg/2016/679/art_46/pnt_c/oj": "GDPR Art.46", "https://edpb.europa.eu/sites/default/files/consultation/edpb_recommendations_202001_supplementarymeasurestransferstools_en.pdf": "EDPB Recommendations 01/2020 on Supplementary Measures and Transfer Tools", "https://eur-lex.europa.eu/eli/dec_impl/2021/914/oj": "Implementing Decision on SCC for Data Transfers", "https://enterprivacy.com/wp-content/uploads/2018/09/Categories-of-Personal-Information.pdf": "EnterPrivacy Categories of Personal Information"}
14 changes: 14 additions & 0 deletions documentation-generator/jinja2_resources/template_dpv.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,20 @@
{% endif %}
</section>

<section id="vocab-processing-context">
<h2>Context of Processing</h2>
{% if processing_context_classes %}
<section id="processing-context-classes">
{{ table_classes(processing_context_classes) }}
</section>
{% endif %}
{% if processing_context_properties %}
<section id="processing-context-properties">
{{ table_properties(processing_context_properties) }}
</section>
{% endif %}
</section>

<section id="vocab-jurisdictions">
<h2>Location &amp; Jurisdictions</h2>
{% if jurisdictions_classes %}
Expand Down
14 changes: 14 additions & 0 deletions documentation-generator/jinja2_resources/template_dpv_owl.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,20 @@
{% endif %}
</section>

<section id="vocab-processing-context">
<h2>Context of Processing</h2>
{% if processing_context_classes %}
<section id="processing-context-classes">
{{ table_classes(processing_context_classes) }}
</section>
{% endif %}
{% if processing_context_properties %}
<section id="processing-context-properties">
{{ table_properties(processing_context_properties) }}
</section>
{% endif %}
</section>

<section id="vocab-jurisdictions">
<h2>Location &amp; Jurisdictions</h2>
{% if jurisdictions_classes %}
Expand Down
14 changes: 14 additions & 0 deletions documentation-generator/jinja2_resources/template_dpv_skos.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,20 @@ ex:PurposeXYZ rdfs:subClassOf dpvs:RequestedServiceProvision
{% endif %}
</section>

<section id="vocab-processing-context">
<h2>Context of Processing</h2>
{% if processing_context_classes %}
<section id="processing-context-classes">
{{ table_classes(processing_context_classes) }}
</section>
{% endif %}
{% if processing_context_properties %}
<section id="processing-context-properties">
{{ table_properties(processing_context_properties) }}
</section>
{% endif %}
</section>

<section id="vocab-jurisdictions">
<h2>Location &amp; Jurisdictions</h2>
{% if jurisdictions_classes %}
Expand Down
Loading

0 comments on commit 96c30f7

Please sign in to comment.