1*94260a7fSJaap de Haan<?xml version="1.0" encoding="UTF-8"?> 2*94260a7fSJaap de Haan<definitions 3*94260a7fSJaap de Haan xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" 4*94260a7fSJaap de Haan xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" 5*94260a7fSJaap de Haan xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" 6*94260a7fSJaap de Haan xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" 7*94260a7fSJaap de Haan namespace="http://camunda.org/schema/1.0/dmn" 8*94260a7fSJaap de Haan exporter="dmn-js (https://demo.bpmn.io/dmn)" 9*94260a7fSJaap de Haan exporterVersion="17.0.2" 10*94260a7fSJaap de Haan name="Add a DMN diagram"> 11*94260a7fSJaap de Haan <inputData id="dayType_id" name="Type of day"> 12*94260a7fSJaap de Haan <variable id="dayType_ii" name="Type of day" typeRef="string" /> 13*94260a7fSJaap de Haan </inputData> 14*94260a7fSJaap de Haan <inputData id="temperature_id" name="Weather in Celsius"> 15*94260a7fSJaap de Haan <variable id="temperature_ii" name="Weather in Celsius" typeRef="number" /> 16*94260a7fSJaap de Haan </inputData> 17*94260a7fSJaap de Haan <knowledgeSource id="host_ks" name="Host" /> 18*94260a7fSJaap de Haan <knowledgeSource id="guest_ks" name="Guest Type"> 19*94260a7fSJaap de Haan <authorityRequirement id="AuthorityRequirement_0vkhray"> 20*94260a7fSJaap de Haan <requiredDecision href="#guestCount" /> 21*94260a7fSJaap de Haan </authorityRequirement> 22*94260a7fSJaap de Haan </knowledgeSource> 23*94260a7fSJaap de Haan <businessKnowledgeModel id="elMenu" name="El menu" /> 24*94260a7fSJaap de Haan <decision id="dish-decision" name="Dish Decision"> 25*94260a7fSJaap de Haan <informationRequirement id="InformationRequirement_1d56kg6"> 26*94260a7fSJaap de Haan <requiredDecision href="#guestCount" /> 27*94260a7fSJaap de Haan </informationRequirement> 28*94260a7fSJaap de Haan <informationRequirement id="InformationRequirement_11onl5b"> 29*94260a7fSJaap de Haan <requiredDecision href="#season" /> 30*94260a7fSJaap de Haan </informationRequirement> 31*94260a7fSJaap de Haan <authorityRequirement id="AuthorityRequirement_142y75e"> 32*94260a7fSJaap de Haan <requiredAuthority href="#host_ks" /> 33*94260a7fSJaap de Haan </authorityRequirement> 34*94260a7fSJaap de Haan <decisionTable id="dishDecisionTable"> 35*94260a7fSJaap de Haan <input id="seasonInput" label="Season"> 36*94260a7fSJaap de Haan <inputExpression id="seasonInputExpression" typeRef="string"> 37*94260a7fSJaap de Haan <text>season</text> 38*94260a7fSJaap de Haan </inputExpression> 39*94260a7fSJaap de Haan </input> 40*94260a7fSJaap de Haan <input id="guestCountInput" label="How many guests"> 41*94260a7fSJaap de Haan <inputExpression id="guestCountInputExpression" typeRef="number"> 42*94260a7fSJaap de Haan <text>guestCount</text> 43*94260a7fSJaap de Haan </inputExpression> 44*94260a7fSJaap de Haan </input> 45*94260a7fSJaap de Haan <output id="output1" label="Dish" name="desiredDish" typeRef="string" /> 46*94260a7fSJaap de Haan <rule id="row-495762709-1"> 47*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1nxcsjr"> 48*94260a7fSJaap de Haan <text>"Winter"</text> 49*94260a7fSJaap de Haan </inputEntry> 50*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1r9yorj"> 51*94260a7fSJaap de Haan <text><= 8</text> 52*94260a7fSJaap de Haan </inputEntry> 53*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1mtwzqz"> 54*94260a7fSJaap de Haan <text>"Spareribs"</text> 55*94260a7fSJaap de Haan </outputEntry> 56*94260a7fSJaap de Haan </rule> 57*94260a7fSJaap de Haan <rule id="row-495762709-2"> 58*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1lxjbif"> 59*94260a7fSJaap de Haan <text>"Winter"</text> 60*94260a7fSJaap de Haan </inputEntry> 61*94260a7fSJaap de Haan <inputEntry id="UnaryTests_0nhiedb"> 62*94260a7fSJaap de Haan <text>> 8</text> 63*94260a7fSJaap de Haan </inputEntry> 64*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1h30r12"> 65*94260a7fSJaap de Haan <text>"Pasta"</text> 66*94260a7fSJaap de Haan </outputEntry> 67*94260a7fSJaap de Haan </rule> 68*94260a7fSJaap de Haan <rule id="row-495762709-3"> 69*94260a7fSJaap de Haan <inputEntry id="UnaryTests_0ifgmfm"> 70*94260a7fSJaap de Haan <text>"Summer"</text> 71*94260a7fSJaap de Haan </inputEntry> 72*94260a7fSJaap de Haan <inputEntry id="UnaryTests_12cib9m"> 73*94260a7fSJaap de Haan <text>> 10</text> 74*94260a7fSJaap de Haan </inputEntry> 75*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_0wgaegy"> 76*94260a7fSJaap de Haan <text>"Light salad"</text> 77*94260a7fSJaap de Haan </outputEntry> 78*94260a7fSJaap de Haan </rule> 79*94260a7fSJaap de Haan <rule id="row-495762709-7"> 80*94260a7fSJaap de Haan <inputEntry id="UnaryTests_0ozm9s7"> 81*94260a7fSJaap de Haan <text>"Summer"</text> 82*94260a7fSJaap de Haan </inputEntry> 83*94260a7fSJaap de Haan <inputEntry id="UnaryTests_0sesgov"> 84*94260a7fSJaap de Haan <text><= 10</text> 85*94260a7fSJaap de Haan </inputEntry> 86*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1dvc5x3"> 87*94260a7fSJaap de Haan <text>"Beans salad"</text> 88*94260a7fSJaap de Haan </outputEntry> 89*94260a7fSJaap de Haan </rule> 90*94260a7fSJaap de Haan <rule id="row-445981423-3"> 91*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1er0je1"> 92*94260a7fSJaap de Haan <text>"Spring"</text> 93*94260a7fSJaap de Haan </inputEntry> 94*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1uzqner"> 95*94260a7fSJaap de Haan <text>< 10</text> 96*94260a7fSJaap de Haan </inputEntry> 97*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1pxy4g1"> 98*94260a7fSJaap de Haan <text>"Stew"</text> 99*94260a7fSJaap de Haan </outputEntry> 100*94260a7fSJaap de Haan </rule> 101*94260a7fSJaap de Haan <rule id="row-445981423-4"> 102*94260a7fSJaap de Haan <inputEntry id="UnaryTests_06or48g"> 103*94260a7fSJaap de Haan <text>"Spring"</text> 104*94260a7fSJaap de Haan </inputEntry> 105*94260a7fSJaap de Haan <inputEntry id="UnaryTests_0wa71sy"> 106*94260a7fSJaap de Haan <text>>= 10</text> 107*94260a7fSJaap de Haan </inputEntry> 108*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_09ggol9"> 109*94260a7fSJaap de Haan <text>"Steak"</text> 110*94260a7fSJaap de Haan </outputEntry> 111*94260a7fSJaap de Haan </rule> 112*94260a7fSJaap de Haan </decisionTable> 113*94260a7fSJaap de Haan </decision> 114*94260a7fSJaap de Haan <decision id="season" name="Season decision"> 115*94260a7fSJaap de Haan <informationRequirement id="InformationRequirement_1sdwefx"> 116*94260a7fSJaap de Haan <requiredInput href="#temperature_id" /> 117*94260a7fSJaap de Haan </informationRequirement> 118*94260a7fSJaap de Haan <decisionTable id="seasonDecisionTable"> 119*94260a7fSJaap de Haan <input id="temperatureInput" label="Weather in Celsius"> 120*94260a7fSJaap de Haan <inputExpression id="temperatureInputExpression" typeRef="number"> 121*94260a7fSJaap de Haan <text>temperature</text> 122*94260a7fSJaap de Haan </inputExpression> 123*94260a7fSJaap de Haan </input> 124*94260a7fSJaap de Haan <output id="seasonOutput" label="season" name="season" typeRef="string" /> 125*94260a7fSJaap de Haan <rule id="row-495762709-5"> 126*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1fd0eqo"> 127*94260a7fSJaap de Haan <text>>30</text> 128*94260a7fSJaap de Haan </inputEntry> 129*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_0l98klb"> 130*94260a7fSJaap de Haan <text>"Summer"</text> 131*94260a7fSJaap de Haan </outputEntry> 132*94260a7fSJaap de Haan </rule> 133*94260a7fSJaap de Haan <rule id="row-495762709-6"> 134*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1nz6at2"> 135*94260a7fSJaap de Haan <text><10</text> 136*94260a7fSJaap de Haan </inputEntry> 137*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_08moy1k"> 138*94260a7fSJaap de Haan <text>"Winter"</text> 139*94260a7fSJaap de Haan </outputEntry> 140*94260a7fSJaap de Haan </rule> 141*94260a7fSJaap de Haan <rule id="row-445981423-2"> 142*94260a7fSJaap de Haan <inputEntry id="UnaryTests_1a0imxy"> 143*94260a7fSJaap de Haan <text>[10..30]</text> 144*94260a7fSJaap de Haan </inputEntry> 145*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1poftw4"> 146*94260a7fSJaap de Haan <text>"Spring"</text> 147*94260a7fSJaap de Haan </outputEntry> 148*94260a7fSJaap de Haan </rule> 149*94260a7fSJaap de Haan </decisionTable> 150*94260a7fSJaap de Haan </decision> 151*94260a7fSJaap de Haan <decision id="guestCount" name="Guest Count"> 152*94260a7fSJaap de Haan <informationRequirement id="InformationRequirement_0j60f3j"> 153*94260a7fSJaap de Haan <requiredInput href="#dayType_id" /> 154*94260a7fSJaap de Haan </informationRequirement> 155*94260a7fSJaap de Haan <knowledgeRequirement id="KnowledgeRequirement_0n56cqb"> 156*94260a7fSJaap de Haan <requiredKnowledge href="#elMenu" /> 157*94260a7fSJaap de Haan </knowledgeRequirement> 158*94260a7fSJaap de Haan <decisionTable id="guestCountDecisionTable"> 159*94260a7fSJaap de Haan <input id="typeOfDayInput" label="Type of day"> 160*94260a7fSJaap de Haan <inputExpression id="typeOfDayInputExpression" typeRef="string"> 161*94260a7fSJaap de Haan <text>dayType</text> 162*94260a7fSJaap de Haan </inputExpression> 163*94260a7fSJaap de Haan </input> 164*94260a7fSJaap de Haan <output id="guestCountOutput" label="Guest count" name="guestCount" typeRef="number" /> 165*94260a7fSJaap de Haan <rule id="row-495762709-8"> 166*94260a7fSJaap de Haan <inputEntry id="UnaryTests_0l72u8n"> 167*94260a7fSJaap de Haan <text>"Weekday"</text> 168*94260a7fSJaap de Haan </inputEntry> 169*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_0wuwqaz"> 170*94260a7fSJaap de Haan <text>4</text> 171*94260a7fSJaap de Haan </outputEntry> 172*94260a7fSJaap de Haan </rule> 173*94260a7fSJaap de Haan <rule id="row-495762709-9"> 174*94260a7fSJaap de Haan <inputEntry id="UnaryTests_03a73o9"> 175*94260a7fSJaap de Haan <text>"Holiday"</text> 176*94260a7fSJaap de Haan </inputEntry> 177*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1whn119"> 178*94260a7fSJaap de Haan <text>10</text> 179*94260a7fSJaap de Haan </outputEntry> 180*94260a7fSJaap de Haan </rule> 181*94260a7fSJaap de Haan <rule id="row-495762709-10"> 182*94260a7fSJaap de Haan <inputEntry id="UnaryTests_12tygwt"> 183*94260a7fSJaap de Haan <text>"Weekend"</text> 184*94260a7fSJaap de Haan </inputEntry> 185*94260a7fSJaap de Haan <outputEntry id="LiteralExpression_1b5k9t8"> 186*94260a7fSJaap de Haan <text>15</text> 187*94260a7fSJaap de Haan </outputEntry> 188*94260a7fSJaap de Haan </rule> 189*94260a7fSJaap de Haan </decisionTable> 190*94260a7fSJaap de Haan </decision> 191*94260a7fSJaap de Haan <textAnnotation id="TextAnnotation_1"> 192*94260a7fSJaap de Haan <text>Week day or week end</text> 193*94260a7fSJaap de Haan </textAnnotation> 194*94260a7fSJaap de Haan <association id="Association_18hoj4i"> 195*94260a7fSJaap de Haan <sourceRef href="#dayType_id" /> 196*94260a7fSJaap de Haan <targetRef href="#TextAnnotation_1" /> 197*94260a7fSJaap de Haan </association> 198*94260a7fSJaap de Haan <dmndi:DMNDI> 199*94260a7fSJaap de Haan <dmndi:DMNDiagram id="DMNDiagram_05sfxgt"> 200*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_1nkrqp5" dmnElementRef="dayType_id"> 201*94260a7fSJaap de Haan <dc:Bounds height="45" width="125" x="417" y="377" /> 202*94260a7fSJaap de Haan </dmndi:DMNShape> 203*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_0wgwr3t" dmnElementRef="temperature_id"> 204*94260a7fSJaap de Haan <dc:Bounds height="45" width="125" x="188" y="377" /> 205*94260a7fSJaap de Haan </dmndi:DMNShape> 206*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_17n98pm" dmnElementRef="host_ks"> 207*94260a7fSJaap de Haan <dc:Bounds height="63" width="100" x="646" y="48" /> 208*94260a7fSJaap de Haan </dmndi:DMNShape> 209*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_1i9incu" dmnElementRef="guest_ks"> 210*94260a7fSJaap de Haan <dc:Bounds height="63" width="100" x="660" y="198" /> 211*94260a7fSJaap de Haan </dmndi:DMNShape> 212*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_0tdfvdg" dmnElementRef="AuthorityRequirement_0vkhray"> 213*94260a7fSJaap de Haan <di:waypoint x="570" y="245" /> 214*94260a7fSJaap de Haan <di:waypoint x="660" y="235" /> 215*94260a7fSJaap de Haan </dmndi:DMNEdge> 216*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_1uo50vq" dmnElementRef="elMenu"> 217*94260a7fSJaap de Haan <dc:Bounds height="46" width="135" x="642" y="307" /> 218*94260a7fSJaap de Haan </dmndi:DMNShape> 219*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_0s7a8pk" dmnElementRef="dish-decision"> 220*94260a7fSJaap de Haan <dc:Bounds height="80" width="180" x="301" y="48" /> 221*94260a7fSJaap de Haan </dmndi:DMNShape> 222*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_1cvfntf" dmnElementRef="InformationRequirement_1d56kg6"> 223*94260a7fSJaap de Haan <di:waypoint x="480" y="210" /> 224*94260a7fSJaap de Haan <di:waypoint x="421" y="148" /> 225*94260a7fSJaap de Haan <di:waypoint x="421" y="128" /> 226*94260a7fSJaap de Haan </dmndi:DMNEdge> 227*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_0djoiii" dmnElementRef="InformationRequirement_11onl5b"> 228*94260a7fSJaap de Haan <di:waypoint x="251" y="210" /> 229*94260a7fSJaap de Haan <di:waypoint x="361" y="148" /> 230*94260a7fSJaap de Haan <di:waypoint x="361" y="128" /> 231*94260a7fSJaap de Haan </dmndi:DMNEdge> 232*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_0qqxexx" dmnElementRef="AuthorityRequirement_142y75e"> 233*94260a7fSJaap de Haan <di:waypoint x="646" y="81" /> 234*94260a7fSJaap de Haan <di:waypoint x="481" y="86" /> 235*94260a7fSJaap de Haan </dmndi:DMNEdge> 236*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_06z5z89" dmnElementRef="season"> 237*94260a7fSJaap de Haan <dc:Bounds height="80" width="180" x="161" y="210" /> 238*94260a7fSJaap de Haan </dmndi:DMNShape> 239*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_1383eyj" dmnElementRef="InformationRequirement_1sdwefx"> 240*94260a7fSJaap de Haan <di:waypoint x="251" y="377" /> 241*94260a7fSJaap de Haan <di:waypoint x="251" y="310" /> 242*94260a7fSJaap de Haan <di:waypoint x="251" y="290" /> 243*94260a7fSJaap de Haan </dmndi:DMNEdge> 244*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_0qbhe8q" dmnElementRef="guestCount"> 245*94260a7fSJaap de Haan <dc:Bounds height="80" width="180" x="390" y="210" /> 246*94260a7fSJaap de Haan </dmndi:DMNShape> 247*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_131oa1j" dmnElementRef="KnowledgeRequirement_0n56cqb"> 248*94260a7fSJaap de Haan <di:waypoint x="691" y="307" /> 249*94260a7fSJaap de Haan <di:waypoint x="570" y="262" /> 250*94260a7fSJaap de Haan </dmndi:DMNEdge> 251*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_1avtdb1" dmnElementRef="InformationRequirement_0j60f3j"> 252*94260a7fSJaap de Haan <di:waypoint x="480" y="377" /> 253*94260a7fSJaap de Haan <di:waypoint x="480" y="310" /> 254*94260a7fSJaap de Haan <di:waypoint x="480" y="290" /> 255*94260a7fSJaap de Haan </dmndi:DMNEdge> 256*94260a7fSJaap de Haan <dmndi:DMNShape id="DMNShape_0bblyhb" dmnElementRef="TextAnnotation_1"> 257*94260a7fSJaap de Haan <dc:Bounds height="45" width="125" x="328" y="477" /> 258*94260a7fSJaap de Haan </dmndi:DMNShape> 259*94260a7fSJaap de Haan <dmndi:DMNEdge id="DMNEdge_0aqnkob" dmnElementRef="Association_18hoj4i"> 260*94260a7fSJaap de Haan <di:waypoint x="480" y="422" /> 261*94260a7fSJaap de Haan <di:waypoint x="391" y="477" /> 262*94260a7fSJaap de Haan </dmndi:DMNEdge> 263*94260a7fSJaap de Haan </dmndi:DMNDiagram> 264*94260a7fSJaap de Haan </dmndi:DMNDI> 265*94260a7fSJaap de Haan</definitions> 266