Constant dmntk_examples::DMN_3_0002[][src]

pub const DMN_3_0002: &str = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<definitions namespace=\"https://dmntk.io\"\n             name=\"compliance-level-3-test-0002\"\n             id=\"_536af77f-8f8b-4339-b00d-28116bb0c3f8\"\n             xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\"\n             xmlns:di=\"http://www.omg.org/spec/DMN/20180521/DI/\"\n             xmlns:dc=\"http://www.omg.org/spec/DMN/20180521/DC/\"\n             xmlns:dmndi=\"https://www.omg.org/spec/DMN/20191111/DMNDI/\">\n    <itemDefinition name=\"tBasic\" id=\"tBasic\">\n        <itemComponent name=\"startsWithX\" id=\"_5d7320fd-aa96-4319-a4da-593ec491d0b0\">\n            <typeRef>boolean</typeRef>\n        </itemComponent>\n        <itemComponent name=\"startsWithB\" id=\"_bc690f14-ecc7-402b-904d-ca2eeec91881\">\n            <typeRef>boolean</typeRef>\n        </itemComponent>\n        <itemComponent name=\"endsWithX\" id=\"_9a4db404-cd4b-4de3-8dc6-f06a7c538dae\">\n            <typeRef>boolean</typeRef>\n        </itemComponent>\n        <itemComponent name=\"endsWithB\" id=\"_1e0cc65d-a319-453e-b55b-e1eff815521c\">\n            <typeRef>boolean</typeRef>\n        </itemComponent>\n        <itemComponent name=\"containsX\" id=\"_558c199a-17d9-46f4-8661-ec76fc67374d\">\n            <typeRef>boolean</typeRef>\n        </itemComponent>\n        <itemComponent name=\"containsB\" id=\"_ca9df9fb-61f1-4f43-93ca-d9600b87285d\">\n            <typeRef>boolean</typeRef>\n        </itemComponent>\n        <itemComponent name=\"substringC1\" id=\"_82968175-bbd2-4541-8461-2898e9d9b86d\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n        <itemComponent name=\"stringlength\" id=\"_e87917e4-37ae-44a9-b156-d490292a036e\">\n            <typeRef>number</typeRef>\n        </itemComponent>\n        <itemComponent name=\"uppercase\" id=\"_cf4985ae-5244-4b32-9abb-bf9f012233b7\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n        <itemComponent name=\"lowercase\" id=\"_38e20849-e3ab-4eff-847e-f7a017e89778\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n        <itemComponent name=\"substringBeforeB\" id=\"_814080bc-e9cd-4a79-aff0-ce64d6fef8df\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n        <itemComponent name=\"substringAfterB\" id=\"_b11a7ed7-6bad-4c8a-8edb-c768f2604ed8\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n    </itemDefinition>\n    <itemDefinition name=\"tReplace\" id=\"tReplace\">\n        <itemComponent name=\"Aao\" id=\"_1d5254b9-0a5f-42d2-be18-338518f861cc\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n        <itemComponent name=\"AanplusStarstar\" id=\"_71470763-6dbe-43a4-b5e3-eca10bab1814\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n        <itemComponent name=\"encloseVowels\" id=\"_afe9608a-b74a-4a66-80f1-6de501eb8d9b\">\n            <typeRef>string</typeRef>\n        </itemComponent>\n    </itemDefinition>\n    <inputData name=\"A\" id=\"_0923ed0c-3674-4476-b84c-f9ad5e5e8048\">\n        <variable typeRef=\"string\" name=\"A\"/>\n    </inputData>\n    <inputData name=\"B\" id=\"_1df2ad51-3334-4098-b55f-df885fb0e412\">\n        <variable typeRef=\"string\" name=\"B\"/>\n    </inputData>\n    <inputData name=\"NumC\" id=\"_6a75944d-7013-4fc3-8770-ab8eaa0e0560\">\n        <variable typeRef=\"number\" name=\"NumC\"/>\n    </inputData>\n    <decision name=\"Basic\" id=\"_de5529b1-ed4c-4b39-9e36-e0e056aec20c\">\n        <variable typeRef=\"tBasic\" name=\"Basic\"/>\n        <informationRequirement id=\"_17e8658a-1553-481b-872a-ea3ff99a3f30\">\n            <requiredInput href=\"#_0923ed0c-3674-4476-b84c-f9ad5e5e8048\"/>\n        </informationRequirement>\n        <informationRequirement id=\"_51006fa1-eb5e-4054-9de6-3e2c65300e35\">\n            <requiredInput href=\"#_1df2ad51-3334-4098-b55f-df885fb0e412\"/>\n        </informationRequirement>\n        <informationRequirement id=\"_754245ae-5901-4dc0-965c-81f00af82970\">\n            <requiredInput href=\"#_6a75944d-7013-4fc3-8770-ab8eaa0e0560\"/>\n        </informationRequirement>\n        <context>\n            <contextEntry>\n                <variable typeRef=\"boolean\" name=\"startsWithX\"/>\n                <literalExpression>\n                    <text>starts with(A,\"x\")</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"boolean\" name=\"startsWithB\"/>\n                <literalExpression>\n                    <text>starts with(A,B)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"boolean\" name=\"endsWithX\"/>\n                <literalExpression>\n                    <text>ends with(A,\"x\")</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"boolean\" name=\"endsWithB\"/>\n                <literalExpression>\n                    <text>ends with(A,B)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"boolean\" name=\"containsX\"/>\n                <literalExpression>\n                    <text>contains(A,\"x\")</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"boolean\" name=\"containsB\"/>\n                <literalExpression>\n                    <text>contains(A,B)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"substringC1\"/>\n                <literalExpression>\n                    <text>substring(A,NumC,1)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"number\" name=\"stringlength\"/>\n                <literalExpression>\n                    <text>string length(A)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"uppercase\"/>\n                <literalExpression>\n                    <text>upper case(A)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"lowercase\"/>\n                <literalExpression>\n                    <text>lower case(B)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"substringBeforeB\"/>\n                <literalExpression>\n                    <text>substring before(A,B)</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"substringAfterB\"/>\n                <literalExpression>\n                    <text>substring after(A,B)</text>\n                </literalExpression>\n            </contextEntry>\n        </context>\n    </decision>\n    <decision name=\"Matches\" id=\"_93059496-257a-482b-b966-fcafe28cc84b\">\n        <variable typeRef=\"boolean\" name=\"Matches\"/>\n        <informationRequirement id=\"cc95fad2-0f11-4967-b06f-b0bfade06761\">\n            <requiredInput href=\"#_0923ed0c-3674-4476-b84c-f9ad5e5e8048\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>matches(A,\"[a-z]{3}\")</text>\n        </literalExpression>\n    </decision>\n    <decision name=\"Replace\" id=\"_cc368e53-961d-4399-ad91-df00446b49d8\">\n        <variable typeRef=\"tReplace\" name=\"Replace\"/>\n        <informationRequirement id=\"c43c1999-2a2f-419a-8816-a16d42932298\">\n            <requiredInput href=\"#_0923ed0c-3674-4476-b84c-f9ad5e5e8048\"/>\n        </informationRequirement>\n        <context>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"Aao\"/>\n                <literalExpression>\n                    <text>replace(A,\"a\",\"o\")</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"AanplusStarstar\"/>\n                <literalExpression>\n                    <text>replace(A,\"(an)+\", \"**\")</text>\n                </literalExpression>\n            </contextEntry>\n            <contextEntry>\n                <variable typeRef=\"string\" name=\"encloseVowels\"/>\n                <literalExpression>\n                    <text>replace(A,\"[aeiouy]\",\"[$0]\")</text>\n                </literalExpression>\n            </contextEntry>\n        </context>\n    </decision>\n    <decision name=\"Constructor\" id=\"_255687db-652a-44c5-b4ca-9b3de659fd31\">\n        <variable typeRef=\"string\" name=\"Constructor\"/>\n        <informationRequirement id=\"_8cbea39c-fc2b-40b1-90f3-c602c710d06a\">\n            <requiredInput href=\"#_6a75944d-7013-4fc3-8770-ab8eaa0e0560\"/>\n        </informationRequirement>\n        <literalExpression>\n            <text>string(NumC)</text>\n        </literalExpression>\n    </decision>\n    <dmndi:DMNDI>\n        <dmndi:DMNDiagram id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_D1\">\n            <dmndi:Size height=\"650.0\" width=\"1096.0\"/>\n            <dmndi:DMNShape dmnElementRef=\"_0923ed0c-3674-4476-b84c-f9ad5e5e8048\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s1\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"365.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_1df2ad51-3334-4098-b55f-df885fb0e412\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s2\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"151.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_6a75944d-7013-4fc3-8770-ab8eaa0e0560\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s3\">\n                <dc:Bounds height=\"60.0\" width=\"153.0\" x=\"578.0\" y=\"331.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_de5529b1-ed4c-4b39-9e36-e0e056aec20c\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s4\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"150.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_93059496-257a-482b-b966-fcafe28cc84b\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s5\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"364.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_cc368e53-961d-4399-ad91-df00446b49d8\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s6\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"578.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNShape dmnElementRef=\"_255687db-652a-44c5-b4ca-9b3de659fd31\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_s7\">\n                <dc:Bounds height=\"61.0\" width=\"154.0\" x=\"792.0\" y=\"150.0\"/>\n            </dmndi:DMNShape>\n            <dmndi:DMNEdge dmnElementRef=\"_17e8658a-1553-481b-872a-ea3ff99a3f30\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_e1\">\n                <di:waypoint x=\"441.0\" y=\"331.0\"/>\n                <di:waypoint x=\"227.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_51006fa1-eb5e-4054-9de6-3e2c65300e35\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_e2\">\n                <di:waypoint x=\"227.0\" y=\"331.0\"/>\n                <di:waypoint x=\"227.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_754245ae-5901-4dc0-965c-81f00af82970\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_e3\">\n                <di:waypoint x=\"654.0\" y=\"331.0\"/>\n                <di:waypoint x=\"227.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"cc95fad2-0f11-4967-b06f-b0bfade06761\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_e4\">\n                <di:waypoint x=\"441.0\" y=\"331.0\"/>\n                <di:waypoint x=\"441.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"c43c1999-2a2f-419a-8816-a16d42932298\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_e5\">\n                <di:waypoint x=\"441.0\" y=\"331.0\"/>\n                <di:waypoint x=\"655.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n            <dmndi:DMNEdge dmnElementRef=\"_8cbea39c-fc2b-40b1-90f3-c602c710d06a\" id=\"_c2dc9bd5-010e-4351-b375-7db74d8ba69d_e6\">\n                <di:waypoint x=\"654.0\" y=\"331.0\"/>\n                <di:waypoint x=\"869.0\" y=\"211.0\"/>\n            </dmndi:DMNEdge>\n        </dmndi:DMNDiagram>\n    </dmndi:DMNDI>\n</definitions>";