Constant dmntk_examples::DMN_3_0032

source ·
pub const DMN_3_0032: &str = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions namespace=\"http://www.trisotech.com/definitions/_54863c52-2fa7-4a3d-b383-d4eb2eb88771\"\n             name=\"conditionals\"\n             id=\"_c099073b-8eb1-4945-b238-7837d79bb597\"\n             xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\"\n             xmlns:di=\"http://www.omg.org/spec/DMN/20180521/DI/\"\n             xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\"\n             xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\"\n             xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <decision name=\"simpleIf\" id=\"d_cond1\">\n        <variable typeRef=\"number\" name=\"simpleIf\"/>\n        <informationRequirement id=\"_59dee493-9dfe-46a4-b44b-e7af6905c1ff\">\n            <requiredInput href=\"#i_bool\"/>\n        </informationRequirement>\n        <informationRequirement id=\"_8ea6c946-0a79-4989-a171-aa6c89762a3e\">\n            <requiredInput href=\"#i_num\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>if bool then num+10 else num-10</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"conditionWithFunctions\" id=\"d_cond2\">\n        <variable typeRef=\"string\" name=\"conditionWithFunctions\"/>\n        <informationRequirement id=\"_3b142b29-efca-43ad-b352-70309001ac8c\">\n            <requiredInput href=\"#i_date\"/>\n        </informationRequirement>\n        <informationRequirement id=\"_1202ac71-5c68-4d7c-a1cc-de15d1da9c10\">\n            <requiredInput href=\"#i_string\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>if aDate &gt; date(\"2017-01-01\") then substring before(aString, \" \") else substring after(aString, \" \")</text>\n        </literalExpression>\n    </decision>\n    <inputData name=\"bool\" id=\"i_bool\">\n        <variable typeRef=\"boolean\" name=\"bool\"/>\n    </inputData>\n    <inputData name=\"num\" id=\"i_num\">\n        <variable typeRef=\"number\" name=\"num\"/>\n    </inputData>\n    <inputData name=\"aDate\" id=\"i_date\">\n        <variable typeRef=\"date\" name=\"aDate\"/>\n    </inputData>\n    <inputData name=\"aString\" id=\"i_string\">\n        <variable typeRef=\"string\" name=\"aString\"/>\n    </inputData>\n    <dmndi:DMNDI>\n        <dmndi:DMNDiagram id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_D1\">\n            <dmndi:Size height=\"650.0\" width=\"1092.0\"/>\n            <dmndi:DMNShape dmnElementRef=\"d_cond1\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_s1\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"256.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"d_cond2\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_s2\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"681.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"i_bool\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_s3\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"150.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"i_num\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_s4\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"363.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"i_date\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_s5\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"576.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"i_string\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_s6\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"789.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNEdge dmnElementRef=\"_59dee493-9dfe-46a4-b44b-e7af6905c1ff\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_e1\">\n                <di:waypoint x=\"226.0\" y=\"331.0\"/>\n                <di:waypoint x=\"333.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_8ea6c946-0a79-4989-a171-aa6c89762a3e\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_e2\">\n                <di:waypoint x=\"439.0\" y=\"331.0\"/>\n                <di:waypoint x=\"333.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_3b142b29-efca-43ad-b352-70309001ac8c\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_e3\">\n                <di:waypoint x=\"652.0\" y=\"331.0\"/>\n                <di:waypoint x=\"758.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_1202ac71-5c68-4d7c-a1cc-de15d1da9c10\" id=\"_54863c52-2fa7-4a3d-b383-d4eb2eb88771_e4\">\n                <di:waypoint x=\"865.0\" y=\"331.0\"/>\n                <di:waypoint x=\"758.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n        </dmndi:DMNDiagram>\n    </dmndi:DMNDI>\n</definitions>\n\n";