<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="BW%9v~G}+|6BPI-mC^U~">X_completed</variable>
<variable id="8SK,{_!3h?;v%0+=ZeUU">X_createdDateTime</variable>
<variable id="rO9asU5s{Y2G@3IkL@g~">X_value</variable>
<variable id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</variable>
<variable id="MpCcK~ur_i5(;GNB}F?^">jsonitems</variable>
<variable id="7huB30*E_mbam=Bi-D2z">select</variable>
<variable id="W@MiB696qRDvf-aB*Cb1">i</variable>
<variable id="dU=%0t3gDY!SaSObPx}I">ADD_select</variable>
</variables>
<block type="procedures_defcustomreturn" id="mxG_{B!Y/t/PJQkf4_^S" x="238" y="-663">
<mutation statements="false">
<arg name="X_completed" varid="BW%9v~G}+|6BPI-mC^U~"></arg>
<arg name="X_createdDateTime" varid="8SK,{_!3h?;v%0+=ZeUU"></arg>
<arg name="X_value" varid="rO9asU5s{Y2G@3IkL@g~"></arg>
</mutation>
<field name="NAME">JSON_ELEMENT</field>
<field name="SCRIPT">dmFyIHggPXt9Ow0KLy9jb25zb2xlLmxvZyhYX2NvbXBsZXRlZCArICcgJytYX2NyZWF0ZWREYXRlVGltZSArJyAnKyBYX3ZhbHVlKTsNCg0KaWYgKFhfY29tcGxldGVkID09IGZhbHNlKSB7DQogICAgeC5jb21wbGV0ZWQgPSAiT2ZmZW4iOyAvL1N0cmluZyhYX2NvbXBsZXRlZCk7ICAgIA0KfQ0KZWxzZSB7DQogICAgeC5jb21wbGV0ZWQgPSAiRXJsZWRpZ3QiOw0KfQ0KDQp4LmNyZWF0ZWREYXRlVGltZT0gWF9jcmVhdGVkRGF0ZVRpbWU7DQp4LnZhbHVlID0gWF92YWx1ZTsNCngucHVzaDsNCnJldHVybiB4Ow==</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="create" id="G]R]no),5~HQ]rMcDMT(" x="237" y="-612">
<field name="NAME">0_userdata.0.alexa.todo_json_jarvis</field>
<next>
<block type="create" id="=)6?8)IqYQnQuesdU7UA">
<field name="NAME">0_userdata.0.alexa.todo_select</field>
<value name="COMMON">
<block type="text_join" id="t%HpOTmWwv0}]!N=QK~2">
<mutation items="4"></mutation>
<value name="ADD0">
<block type="text" id="CQZ?#lk_wSG1Juk.E}!*">
<field name="TEXT">{"read": true,"write": true, </field>
</block>
</value>
<value name="ADD1">
<block type="text" id="@SE1f2TGhb)XwfKW1jAM">
<field name="TEXT">"type": "string","name": "Auswahl", </field>
</block>
</value>
<value name="ADD2">
<block type="text" id="/#-h~q~zfI|N_oXBwK,`">
<field name="TEXT"></field>
</block>
</value>
<value name="ADD3">
<block type="text" id="?:x8KxIyksC4;q*pMkSl">
<field name="TEXT">"states": {"all":"Alle","false":"Offene","true":"Erledigte"}}</field>
</block>
</value>
</block>
</value>
<next>
<block type="on_ext" id="ZM4rstIXoN#mZ-2b2%iG">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="!^G4~u8j[W6crS2yG6P`">
<field name="oid">alexa2.0.Lists.TO_DO.json</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="*8x-8sM$V;V1!qlyv#1s">
<mutation name="JSON_FÜR_JARVIS"></mutation>
</block>
</statement>
<next>
<block type="on_ext" id="u:c:K(a.v=[lf5Y;.^gp">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="EykUyR?a8C63eqTR@5%*">
<field name="oid">0_userdata.0.alexa.todo_select</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="LAP^y%R6t^IgBuhC$p#l">
<mutation name="JSON_FÜR_JARVIS"></mutation>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="procedures_defnoreturn" id="}z{CqW-9zw2xWC*XwEPb" x="237" y="62">
<field name="NAME">JSON_FÜR_JARVIS</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="variables_set" id="]g$swJ*{2zi#DDIxG_*9">
<field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field>
<value name="VALUE">
<block type="lists_create_with" id="s=b/i.]d.{lIVezRf3G]">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="variables_set" id="B`W:^0^1rmhAz{G;3(=}">
<field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field>
<value name="VALUE">
<block type="convert_json2object" id="|Na{Lsyc[M~de-(U@Lo*">
<value name="VALUE">
<block type="get_value" id="^Qf/]g}*V1]-.;T/%AIY">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.Lists.TO_DO.json</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="+{vBa^+a7]q#9p]?hMH7">
<field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field>
<value name="VALUE">
<block type="get_value" id="$tt:77/o}Y:xtjuJ6vZR">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.alexa.todo_select</field>
</block>
</value>
<next>
<block type="debug" id=")#p1xctd[CKaOi}fUfW)" disabled="true">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="t-2b_e#0STem%wB/vwMS">
<field name="TEXT">test</field>
</shadow>
<block type="lists_length" id=",i3lq_xaI{+yv~D@jys]">
<value name="VALUE">
<block type="variables_get" id="q%U/3q~`p=5uyPE-eaAk">
<field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_forEach" id="Jr]rCwGV4+ZJW|.JDFoh">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
<value name="LIST">
<block type="variables_get" id=",~mWGy{FpQD5@ncHG9uq">
<field name="VAR" id="MpCcK~ur_i5(;GNB}F?^">jsonitems</field>
</block>
</value>
<statement name="DO">
<block type="debug" id="|}P0#g}U6HB({/,$])lw" disabled="true">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="+?}@}ZxJAsZN5TtPs{av">
<field name="TEXT">test</field>
</shadow>
<block type="convert_jsonata" id="*8%E3s_lo)vJX{xu(5MF">
<value name="EXPRESSION">
<shadow type="text" id="(m+8t{gx1Kk@3Hzq8,jB">
<field name="TEXT">completed</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id="IDyoQxR)dt9M*[n3ShUo">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="MMmJ=$3Av~;=8?:CLJ/?">
<field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field>
<value name="VALUE">
<block type="logic_boolean" id="=hyUVhSs!A%-9jI+{DUM">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="controls_if" id="Kwi^{w?v/g=KmUzfK3o$">
<mutation elseif="2"></mutation>
<value name="IF0">
<block type="logic_compare" id="paFV3UpfROlwbseECIW8">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="ms1-N4Hh4HwO3[vO,8qJ">
<field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field>
</block>
</value>
<value name="B">
<block type="text" id="dl=n:TaVE;zn,lo_dDU:">
<field name="TEXT">all</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="`#`6u*=P1Op#.AV?i?cD">
<field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field>
<value name="VALUE">
<block type="logic_boolean" id="H_pQE1d|D~fo2]E3yfdx">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="6iE*0Atm^B]yoUHj~e90">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="fH~RkEanrpluVyhdQVd^">
<field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field>
</block>
</value>
<value name="B">
<block type="text" id="LYe@tI5;CI@eX?#Fb`tx">
<field name="TEXT">false</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="controls_if" id="Skx)dhe*t;i%zFH9#HDe">
<value name="IF0">
<block type="logic_compare" id="N0mP%Y@nJII)FUkV(|ot">
<field name="OP">EQ</field>
<value name="A">
<block type="convert_tostring" id="%lxfjvw/;}838}H#v-wA">
<value name="VALUE">
<block type="convert_jsonata" id="2=/{cS9wTG-j`^Z%!580">
<value name="EXPRESSION">
<shadow type="text" id="}@K=JL!N,dddRT/*N0DF">
<field name="TEXT">completed</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id="`DcTGvtRHbcsq2i=ytZS">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="text" id="~L(vpPkIy;VPicYNW]yS">
<field name="TEXT">false</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="WMsqF_mnxx|zP$?YUArJ">
<field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field>
<value name="VALUE">
<block type="logic_boolean" id="#I[kEn`t=3Ft4CTu!WNV">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<value name="IF2">
<block type="logic_compare" id="U=F7PQoX8|APZ]Sz17K2">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="o2Vh2IGtY-3]c8QQa!@B">
<field name="VAR" id="7huB30*E_mbam=Bi-D2z">select</field>
</block>
</value>
<value name="B">
<block type="text" id="e@cS%G1a[N-`qPV.A7EE">
<field name="TEXT">true</field>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="controls_if" id=",,7q^;^ykjHZUFLC1s%{">
<value name="IF0">
<block type="logic_compare" id="zqC,-gE?urRyxEfdZAfu">
<field name="OP">EQ</field>
<value name="A">
<block type="convert_tostring" id="LeRW,6c8xyUh;*wIL)MQ">
<value name="VALUE">
<block type="convert_jsonata" id="Q-MMm$fHe4io_vHjSY_.">
<value name="EXPRESSION">
<shadow type="text" id="jJ+~bp;!d$*`m%Ctj6D$">
<field name="TEXT">completed</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id=";)I@*nH{bp=_]=}znxgN">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="text" id="zMJ,hoF}E)tES9{q$Z(h">
<field name="TEXT">true</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="8(T:~McP8TfZbWDftG*k">
<field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field>
<value name="VALUE">
<block type="logic_boolean" id="2ND5y7W@V^HEzfL~^uzk">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="controls_if" id="49^HV302$#}aPx~PH5Tg">
<value name="IF0">
<block type="variables_get" id="IX|.A-#iMIj(T^]4DSEO">
<field name="VAR" id="dU=%0t3gDY!SaSObPx}I">ADD_select</field>
</block>
</value>
<statement name="DO0">
<block type="lists_setIndex" id="@:3ZNJZ:55#tL}E7vu^T">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">LAST</field>
<value name="LIST">
<block type="variables_get" id="af%%PgQ7fWx!_GIzW-u;">
<field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field>
</block>
</value>
<value name="TO">
<block type="procedures_callcustomreturn" id="DK/42*f_58--ovA;lXv)">
<mutation name="JSON_ELEMENT">
<arg name="X_completed"></arg>
<arg name="X_createdDateTime"></arg>
<arg name="X_value"></arg>
</mutation>
<value name="ARG0">
<block type="convert_jsonata" id="p~t%WLYkQmU]]h8l+Cs7">
<value name="EXPRESSION">
<shadow type="text" id=";b2/pyI3v@1,eX5G?8PQ">
<field name="TEXT">completed</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id="!PMW.%,?n$]kNTW~!p8J">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
</block>
</value>
</block>
</value>
<value name="ARG1">
<block type="convert_from_date" id="zZ%~t]{DcMF2oM,p{Hup">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
<value name="VALUE">
<block type="convert_jsonata" id="C$2e~IAW]hx`*V~X[)D#">
<value name="EXPRESSION">
<shadow type="text" id="[e:fFe+C8.d5_Q-Jzmwe">
<field name="TEXT">createdDateTime</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id="`-z1(J9v}MJR?I=(_K[v">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ARG2">
<block type="convert_jsonata" id="OnDoF_MTz~7s^|kTVg$B">
<value name="EXPRESSION">
<shadow type="text" id="Be.Qa)$#T7.Qy[SAl+fw">
<field name="TEXT">value</field>
</shadow>
</value>
<value name="TARGET">
<block type="variables_get" id="ZdrDTX/aEU]9Q!=Cey5,">
<field name="VAR" id="W@MiB696qRDvf-aB*Cb1">i</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="control" id="{W3|J:c#[2b{b:Xu]A{n">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.alexa.todo_json_jarvis</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_object2json" id="168#s}4?dNMkYXfgV!R:">
<field name="PRETTIFY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="pMM{?xO2~8WGxNgT$-UI">
<field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field>
</block>
</value>
</block>
</value>
<next>
<block type="debug" id="N/EOUd~/!~AJc29vuAh7" disabled="true">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="~j3T*-ZtFWuLI/`wpea=">
<field name="TEXT">test</field>
</shadow>
<block type="convert_object2json" id="vJ}n)j)ESFbL)v`qcOFU">
<field name="PRETTIFY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="0lspr~*WijzCwXkZYN_!">
<field name="VAR" id="-gF.AQ8**.mG;]}U}aCI">NEW_JSON</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>