dsntk-examples 0.3.0

ÐecisionToolkit | Examples
Documentation
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions namespace="https://dsntk.io"
             name="compliance-level-3-test-0001"
             id="_8e0912d6-54f3-4276-81a5-eebc712af710"
             xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/"
             xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
             xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
             xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/">
    <itemDefinition isCollection="true" name="tEmployees" id="tEmployees">
        <itemComponent name="id" id="_c22147cb-9481-404e-8f48-f8eee8d25565">
            <typeRef>number</typeRef>
        </itemComponent>
        <itemComponent name="dept" id="_0b26fc3e-dcb9-4106-ac30-f536247fb48c">
            <typeRef>number</typeRef>
        </itemComponent>
        <itemComponent name="name" id="_e5120ba7-544a-4f7d-8712-f1c659b82f61">
            <typeRef>string</typeRef>
        </itemComponent>
    </itemDefinition>
    <itemDefinition isCollection="true" name="tNameList" id="tNameList">
        <typeRef>string</typeRef>
    </itemDefinition>
    <decision name="Filter0001" id="_4a786da5-5cd2-4c3a-ba4d-dcb3051c1812">
        <variable typeRef="tNameList" name="filter01"/>
        <informationRequirement id="_1d1d61df-e3c2-4363-8182-b97e0d96ffb8">
            <requiredInput href="#_17c8d488-19be-481b-b341-85043176a25c"/>
        </informationRequirement>
        <literalExpression>
            <text>Employees[dept=20].name</text>
        </literalExpression>
    </decision>
    <inputData name="Employees" id="_17c8d488-19be-481b-b341-85043176a25c">
        <variable typeRef="tEmployees" name="Employees"/>
    </inputData>
    <dmndi:DMNDI>
        <dmndi:DMNDiagram id="_f52ca843-504b-4c3b-a6bc-4d377bffef7a_D1">
            <dmndi:Size height="650.0" width="650.0"/>
            <dmndi:DMNShape dmnElementRef="_4a786da5-5cd2-4c3a-ba4d-dcb3051c1812" id="_f52ca843-504b-4c3b-a6bc-4d377bffef7a_s1">
                <dc:Bounds height="61.0" width="154.0" x="150.0" y="150.0"/>
            </dmndi:DMNShape>
            <dmndi:DMNShape dmnElementRef="_17c8d488-19be-481b-b341-85043176a25c" id="_f52ca843-504b-4c3b-a6bc-4d377bffef7a_s2">
                <dc:Bounds height="60.0" width="153.0" x="151.0" y="331.0"/>
            </dmndi:DMNShape>
            <dmndi:DMNEdge dmnElementRef="_1d1d61df-e3c2-4363-8182-b97e0d96ffb8" id="_f52ca843-504b-4c3b-a6bc-4d377bffef7a_e1">
                <di:waypoint x="227.0" y="331.0"/>
                <di:waypoint x="227.0" y="211.0"/>
            </dmndi:DMNEdge>
        </dmndi:DMNDiagram>
    </dmndi:DMNDI>
</definitions>