Skip to content

Commit

Permalink
Unsets added
Browse files Browse the repository at this point in the history
So we dont see not founded value keys
  • Loading branch information
bbrands02 committed Dec 19, 2024
1 parent fa8be6b commit 00cf385
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 14 deletions.
18 changes: 16 additions & 2 deletions configurations/xxllnc-zgw/mappings/xxllnc-v1-case-to-zgw-zaak.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,21 @@
"opschorting.reden": "unsetIfValue==",
"opschorting": "unsetIfValue==",
"zaakinformatieobjecten": "jsonToArray",
"zaaktype": "jsonToArray"
"zaaktype": "jsonToArray",
"identificatie": "unsetIfValue==reference",
"omschrijving": "unsetIfValue==instance.subject",
"toelichting": "unsetIfValue==instance.subject_external",
"registratiedatum": "iunsetIfValue==instance.date_of_registration",
"startdatum": "unsetIfValue==instance.date_of_registration",
"einddatum": "unsetIfValue==instance.date_of_completion",
"einddatumGepland": "unsetIfValue==instance.date_target",
"publicatiedatum": "unsetIfValue==instance.date_target",
"communicatiekanaal": "unsetIfValue==instance.channel_of_contact",
"vertrouwelijkheidaanduidng": "unsetIfValue==instance.confidentiality.mapped",
"kenmerken.0.kenmerk": "unsetIfValue==reference",
"resultaattoelichting": "unsetIfValue==",
"bronorganisatie": "unsetIfValue==bronorganisatie",
"verantwoordelijkeOrganisatie": "unsetIfValue==bronorganisatie"
},
"passTrough": false
"passThrough": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"indicatieInternOfExtern": "extern",
"doorlooptijd": "{% if instance.properties.lead_time_legal.weken|default %}P{{ instance.properties.lead_time_legal.weken }}W{% elseif instance.properties.lead_time_legal.kalenderdagen|default %}P{{ instance.properties.lead_time_legal.kalenderdagen }}D{% else %}{{ \"\" }}{% endif %}",
"servicenorm": "{% if instance.properties.lead_time_service.weken|default %}P{{ instance.properties.lead_time_service.weken }}W{% elseif instance.properties.lead_time_service.kalenderdagen|default %}P{{ instance.properties.lead_time_service.kalenderdagen }}D{% else %}{{ \"\" }}{% endif %}",
"vertrouwelijkheidaanduiding": "{{ instance.properties.designation_of_confidentiality|lower }}",
"vertrouwelijkheidaanduiding": "{% if instance.properties.designation_of_confidentiality|default %}{{ instance.properties.designation_of_confidentiality|lower }}{% endif %}",
"verlengingMogelijk": "instance.properties.extension",
"publicatieIndicatie": "instance.properties.publication",
"omschrijving": "instance.title",
Expand All @@ -21,7 +21,22 @@
},
"unset": [],
"cast": {
"identificatie": "unsetIfValue==instance.legacy.zaaktype_id"
"identificatie": "unsetIfValue==instance.legacy.zaaktype_id",
"catalogus": "unsetIfValue==_catalogus",
"onderwerp": "unsetIfValue==instance.title",
"indicatieInternOfExtern": "unsetIfValue==extern",
"doorlooptijd": "unsetIfValue==",
"servicenorm": "unsetIfValue==",
"verlengingMogelijk": "unsetIfValue==instance.properties.extension",
"publicatieIndicatie": "unsetIfValue==instance.properties.publication",
"omschrijving": "unsetIfValue==instance.title",
"opschortingEnAanhoudingMogelijk": "unsetIfValue==instance.properties.suspension",
"bronzaaktype.url": "unsetIfValue==url",
"bronzaaktype.identificatie": "unsetIfValue==reference",
"bronzaaktype.omschrijving": "unsetIfValue==instance.title",
"bronzaaktype.naam": "unsetIfValue==preview",
"referentieproces.naam": "unsetIfValue==preview",
"verantwoordelijke": "unsetIfValue==instance.properties.supervisor"
},
"passTrough": false
"passThrough": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,20 @@
"cast": {
"informatieobject.versie": "integer",
"informatieobject.bestandsomvang": "integer",
"informatieobject.inhoud": "jsonToArray"
"informatieobject.inhoud": "jsonToArray",
"titel": "unsetIfValue==instance.name",
"registratiedatum": "unsetIfValue==instance.file.instance.date_created",
"informatieobject.identificatie": "unsetIfValue==instance.number",
"informatieobject.creatiedatum": "unsetIfValue==instance.file.instance.date_created",
"informatieobject.titel": "unsetIfValue==instance.name",
"informatieobject.vertrouwelijksheidaanduiding": "unsetIfValue==",
"informatieobject.formaat": "unsetIfValue==instance.file.instance.mimetype",
"informatieobject.beginRegistratie": "unsetIfValue==instance.file.instance.date_modified",
"informatieobject.bestandsnaam": "unsetIfValue==instance.filename",
"informatieobject.verschijningsvorm": "unsetIfValue==",
"informatieobject.integriteit.algoritme": "unsetIfValue==",
"informatieobject.integriteit.waarde": "unsetIfValue==",
"informatieobject.integriteit.datum": "unsetIfValue==instance.file.instance.date_created"
},
"passTrough": false
"passThrough": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"unset": [],
"cast": {
"indicatieLaatstGezetteStatus": "bool",
"statustype": "unsetIfValue=="
"statustype": "unsetIfValue==",
"datumStatusGezet": "unsetIfValue==milestone.instance.date_modified",
"statustoelichting": "unsetIfValue==milestone.instance.phase_label"
},
"passTrough": false
"passThrough": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
},
"unset": [],
"cast": {
"toelichting": "unsetIfValue==",
"resultaattype": "unsetIfValue=="
},
"passTrough": false
"passThrough": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,31 @@
"unset": [],
"cast": {
"roltype": "unsetIfValue==",
"betrokkeneIdentificatie": "unsetIfValue=="
"betrokkeneIdentificatie": "unsetIfValue==",
"omschrijving": "unsetIfValue==",
"omschrijvingGeneriek": "unsetIfValue==",
"roltoelichting": "unsetIfValue==",
"registratiedatum": "unsetIfValue==",
"contactpersoonRol.emailadres": "unsetIfValue==",
"contactpersoonRol.functie": "unsetIfValue==",
"contactpersoonRol.telefoonnummer": "unsetIfValue==",
"contactpersoonRol.naam": "unsetIfValue==",
"betrokkeneIdentificatie._sourceId": "unsetIfValue==",
"betrokkeneIdentificatie.inpBsn": "unsetIfValue==",
"betrokkeneIdentificatie.inpA_nummer": "unsetIfValue==",
"betrokkeneIdentificatie.geslachtsnaam": "unsetIfValue==",
"betrokkeneIdentificatie.voorvoegselGeslachtsnaam": "unsetIfValue==",
"betrokkeneIdentificatie.voorletters": "unsetIfValue==",
"betrokkeneIdentificatie.voornamen": "unsetIfValue==",
"betrokkeneIdentificatie.geslachtsaanduiding": "unsetIfValue==",
"betrokkeneIdentificatie.geboortedatum": "unsetIfValue==",
"betrokkeneIdentificatie.achternaam": "unsetIfValue==",
"betrokkeneIdentificatie.verblijfsadres.wplWoonplaatsNaam": "unsetIfValue==",
"betrokkeneIdentificatie.verblijfsadres.aoaPostcode": "unsetIfValue==",
"betrokkeneIdentificatie.verblijfsadres.aoaHuisnummer": "unsetIfValue==",
"betrokkeneIdentificatie.verblijfsadres.aoaHuisletter": "unsetIfValue==",
"betrokkeneIdentificatie.verblijfsadres.aoaHuisnummertoevoeging": "unsetIfValue==",
"betrokkeneIdentificatie.verblijfsadres": "unsetIfValue=="
},
"passTrough": false
"passThrough": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"eigenschap": "{% for eigenschap in eigenschappen %}{% if eigenschap.naam == name %}{{ eigenschap['_self']['id'] }}{% endif %}{% endfor %}"
},
"unset": [],
"cast": [],
"passTrough": false
"cast": {
"naam": "unsetIfValue==",
"waarde": "unsetIfValue==",
"eigenschap": "unsetIfValue=="
},
"passThrough": false
}

0 comments on commit 00cf385

Please sign in to comment.