4
4
"version" : " " ,
5
5
"reference" : " " ,
6
6
"mapping" : {
7
- "title" : " omschrijving" ,
8
- "summary" : " zaaktypeomschrijving" ,
9
- "description" : " zaaktypeomschrijving" ,
10
- "published" : " " ,
11
- "modified" : " {{ 'now'|date(H:i:sTm-d-Y') }}" ,
12
- "status" : " Concept" ,
13
- "catalog" : " " ,
14
- "publicationType" : " "
15
- },
16
- "unset" : [],
17
- "cast" : {
18
- "title" : " unsetIfValue==omschrijving" ,
19
- "summary" : " unsetIfValue==zaaktypeomschrijving" ,
20
- "description" : " unsetIfValue==zaaktypeomschrijving" ,
21
- "published" : " unsetIfValue==" ,
22
- "catalog" : " unsetIfValue==" ,
23
- "publicationType" : " unsetIfValue=="
7
+ "title" : " omschrijving" ,
8
+ "summary" : " zaaktypeomschrijving" ,
9
+ "description" : " zaaktypeomschrijving" ,
10
+ "category" : " {% if zaaktypecode|default %}{% set wooVerzoekenEnBesluiten = ['LP00000431', 'B1873', 'cherry'] %}{% set klachtoordelen = ['LP00000091', 'LP00001132', 'LP00000121', 'B0757', 'LP00000832', 'LP00001096'] %}{% if zaaktypecode in wooVerzoekenEnBesluiten %}{{ 'Woo-verzoeken en -besluiten' }}{% elseif zaaktypecode in klachtoordelen %}{{ 'Klachtoordelen' }}{% endif %}{% endif %}" ,
11
+ "published" : " startdatum" ,
12
+ "modified" : " {{ 'now'|date('H:i:sTm-d-Y') }}" ,
13
+ "attachments" : " [{% if files|default %}{% for file in files %} { {% if file['titel']|default %}\" title\" : \" {{ file['titel'] }}\" ,{% endif %}\" labels\" : [\" {{ 'Informatieverzoek' }}\" ],{% if file['formaat']|default %}\" extension\" : \" {{ file['formaat']|split('/')|last }}\" ,\" type\" : \" {{ file['formaat'] }}\" ,{% endif %}{% if file['inhoud']|default and file['formaat']|default %}\" accessUrl\" : \" data:{{ file['formaat'] }};base64,{{ file.inhoud }}\" {% endif %} }{{ loop.last ? '' : ',' }} {% endfor %}{% endif %}]" ,
14
+ "status" : " Concept"
15
+ },
16
+ "unset" : [
17
+ " "
18
+ ],
19
+ "cast" : {
20
+ "title" : " unsetIfValue==omschrijving" ,
21
+ "summary" : " unsetIfValue==zaaktypeomschrijving" ,
22
+ "description" : " unsetIfValue==zaaktypeomschrijving" ,
23
+ "category" : " unsetIfValue==" ,
24
+ "published" : " unsetIfValue==startdatum" ,
25
+ "attachments" : " jsonToArray"
24
26
},
25
27
"passThrough" : false
26
28
}
0 commit comments