dsntk-examples 0.3.0

ÐecisionToolkit | Examples
Documentation
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<definitions namespace="https://dsntk.io/3_0086/imported/"
             name="Imported Model"
             id="_54684bde-798a-4325-b8d1-3d9a877cb4e8"
             xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/"
             xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
             xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/">

    <itemDefinition name="tPerson" label="tPerson">
        <itemComponent name="name" id="_9bb0759c-b3c1-482f-87f5-c047dc65cef0">
            <typeRef>string</typeRef>
        </itemComponent>
        <itemComponent name="age" id="_929acc15-101c-4e49-9b11-494fff411e50">
            <typeRef>number</typeRef>
        </itemComponent>
    </itemDefinition>

    <businessKnowledgeModel name="Say Hello" id="_32543811-b499-4608-b784-6c6f294b1c58">
        <variable name="Say Hello" id="_a8eb10e1-30e6-40d8-a564-a868f4e0af34"/>
        <encapsulatedLogic id="_acbb96c9-34a3-4628-8179-dfc5f583e695">
            <formalParameter name="Person" typeRef="tPerson" id="_4a626f74-2ecc-4759-b76a-04baec6b795d"/>
            <literalExpression typeRef="string" id="_c173a894-3719-4d2f-a365-25850e217310">
                <text>"Hello " + Person.name + "!"</text>
            </literalExpression>
        </encapsulatedLogic>
    </businessKnowledgeModel>

    <dmndi:DMNDI>
        <dmndi:DMNDiagram id="_f27bb64b-6fc7-4e1f-9848-11ba35e0df36_D2" name="Page 1">
            <dmndi:Size height="1050" width="1485"/>
            <dmndi:DMNShape id="_f27bb64b-6fc7-4e1f-9848-11ba35e0df36_s1" dmnElementRef="_32543811-b499-4608-b784-6c6f294b1c58">
                <dc:Bounds x="106" y="106" width="154" height="61"/>
                <dmndi:DMNLabel sharedStyle="LS_f27bb64b-6fc7-4e1f-9848-11ba35e0df36_0"/>
            </dmndi:DMNShape>
        </dmndi:DMNDiagram>
        <dmndi:DMNStyle id="LS_f27bb64b-6fc7-4e1f-9848-11ba35e0df36_0" fontFamily="arial,helvetica,sans-serif" fontSize="11" fontBold="false" fontItalic="false" fontUnderline="false" fontStrikeThrough="false"/>
    </dmndi:DMNDI>
</definitions>