Skip to content

Commit

Permalink
Removed zaakinformatieobject mapping for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrands02 committed Sep 26, 2024
1 parent d12a1ec commit 4911560
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Installation/Mapping/vrijbrp.dossierToZaak.mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
"zaaktype": "zaaktypeUrl",
"registratiedatum": "entryDateTime",
"startdatum": "startDate",
"statussen": "[{% if status|default %}{% if dossierId|default and statustypeUrl|default %}{% set status = status|merge({'dossierId': dossierId, 'statustypeUrl': statustypeUrl}) %}{% endif %}{{ map('https://commongateway.nl/mapping/vrijbrp.statusToZGWStatus.mapping.json', status)|json_encode }}]",
"zaakinformatieobjecten": "[{% if documents|default %}{% set index = 0 %}{% for document in documents %}{% if index > 0 %}, {% endif %}{% if bronorganisatie|default %}{% set document = document|merge({'bronorganisatie': bronorganisatie}) %}{% endif %}{% if informatieobjecttypeUrl|default %}{% set document = document|merge({'informatieobjecttypeUrl': informatieobjecttypeUrl}) %}{% endif %}{{ map('https://commongateway.nl/mapping/vrijbrp.documentToZaakInformatieObject.mapping.json', document)|json_encode }}{% index = index + 1 %}{% endfor %}{% endif %}]"
},
"statussen": "[{% if status|default %}{% if dossierId|default and statustypeUrl|default %}{% set status = status|merge({'dossierId': dossierId, 'statustypeUrl': statustypeUrl}) %}{% endif %}{{ map('https://commongateway.nl/mapping/vrijbrp.statusToZGWStatus.mapping.json', status)|json_encode }}]"
},
"cast": {
"_sourceId": "unsetIfValue==dossierId",
"identificatie": "unsetIfValue==dossierId",
Expand All @@ -23,7 +22,6 @@
"zaaktype": "unsetIfValue==zaaktypeUrl",
"registratiedatum": "unsetIfValue==entryDateTime",
"startdatum": "unsetIfValue==startDate",
"statussen": "jsonToArray",
"zaakinformatieobjecten": "jsonToArray"
"statussen": "jsonToArray"
}
}

0 comments on commit 4911560

Please sign in to comment.