Created
February 14, 2023 13:50
-
-
Save ljmotta/4e5de0aa0bdd68d6f8b434555ad4cb1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_469EA3E0-73B1-48E8-B5DD-ACE1F71420DE" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_CA0B6FD7-3DDB-4B4A-85FD-A0A981323089" name="Untitled-1" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_469EA3E0-73B1-48E8-B5DD-ACE1F71420DE"> | |
<dmn:extensionElements/> | |
<dmn:itemDefinition id="_AFA90073-4859-43EA-AA80-E85FB2134F48" name="Data" isCollection="false"> | |
<dmn:itemComponent id="_A05D1AE9-2AAC-4BE0-9C1C-E345D76EC491" name="Id" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_9090319F-9373-47DC-B83F-72C703EADCAA" name="Net Cash Flow" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_21048F08-2C66-4BC8-BF88-E11EEA5746D6" name="Applicants Cash Flow" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_51DCB75C-C3B1-45CD-9718-29ABFA3C4FA6" name="Applicant Owners" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_AA1812E9-1DBA-4807-897D-BCAE9A1842C6" name="Ratio Option" isCollection="false"> | |
<dmn:typeRef>string</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_2F13B2EC-D52F-428B-8873-8D528EBA48FB" name="Rental Revenue" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_4CE2E267-8BBE-4AB3-8503-B73320CB14D6" name="Property Expenses" isCollection="false"> | |
<dmn:typeRef>number</dmn:typeRef> | |
</dmn:itemComponent> | |
</dmn:itemDefinition> | |
<dmn:inputData id="_98E51024-D936-4337-92BF-02068982FED7" name="Data"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_02CCC9CF-A7E3-4567-9694-7535D0F76D33" name="Data" typeRef="Data"/> | |
</dmn:inputData> | |
<dmn:decision id="_DAD2D6D1-2C51-4D97-A884-746E26E57EE7" name="Decision-1"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_FF29D3E1-F4EF-437D-8A69-E2E07BA2A197" name="Decision-1" typeRef="Any"/> | |
<dmn:informationRequirement id="_E78CE048-E4D3-4585-8547-9213A2EC567A"> | |
<dmn:requiredInput href="#_98E51024-D936-4337-92BF-02068982FED7"/> | |
</dmn:informationRequirement> | |
<dmn:knowledgeRequirement id="_7C804D10-B677-40ED-9D9A-990221C94B87"> | |
<dmn:requiredKnowledge href="#_580B4671-89B6-4907-90DB-0DF4D5E07DE7"/> | |
</dmn:knowledgeRequirement> | |
<dmn:context id="_7B77AA01-C2D5-4E1D-82DB-2175D29AA044"> | |
<dmn:contextEntry> | |
<dmn:variable id="_88CF12C4-0817-4B31-9DB0-F623B0E51355" name="Result" typeRef="Any"/> | |
<dmn:literalExpression id="_8080AB01-37AD-4AE0-A17B-C527523E1D65"> | |
<dmn:text>for OtherProperty in Data return Calcs(OtherProperty)</dmn:text> | |
</dmn:literalExpression> | |
</dmn:contextEntry> | |
</dmn:context> | |
</dmn:decision> | |
<dmn:businessKnowledgeModel id="_580B4671-89B6-4907-90DB-0DF4D5E07DE7" name="Calcs"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_FF7A6710-8D62-48FA-8863-E5B37FFE5DD6" name="Calcs" typeRef="Any"/> | |
<dmn:encapsulatedLogic id="_EEFFAFAB-40A7-4761-B680-455443FA1CD8" kind="FEEL"> | |
<dmn:formalParameter id="_900598DC-75F5-46D9-A5DA-09DF90477B56" name="OtherProperty" typeRef="Any"/> | |
<dmn:decisionTable id="_61C061EB-E526-4B73-BA3F-A9258C5EB30D" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row"> | |
<dmn:input id="_FE2710DF-82E6-4469-9115-71457CC0D22F"> | |
<dmn:inputExpression id="_3EC867C1-731E-42AE-986D-5DFB750B0A84" typeRef="string"> | |
<dmn:text>OtherProperty.Ratio Option</dmn:text> | |
</dmn:inputExpression> | |
</dmn:input> | |
<dmn:output id="_86DAA728-653B-49B1-89BE-32D334C1374D" name="Id" typeRef="number"/> | |
<dmn:output id="_59B2B94F-F5B5-4F78-8E32-9BD476EA5020" name="Income" typeRef="number"/> | |
<dmn:output id="_442F83A6-F70C-4611-AF30-6FC295B9C9AC" name="Liability" typeRef="number"/> | |
<dmn:annotation name="annotation-1"/> | |
<dmn:rule id="_43CEEE64-DD86-44EF-9A2C-68778A9E94C7"> | |
<dmn:inputEntry id="_9F5A62BF-657E-4150-9E36-3429CF107AF9"> | |
<dmn:text>"test"</dmn:text> | |
</dmn:inputEntry> | |
<dmn:outputEntry id="_5D1C2346-BF1C-47B0-A97C-EDF590E088A7"> | |
<dmn:text>OtherProperty.Id</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_A4D5C8FA-2CE4-493C-8CBD-B33BF1F802A6"> | |
<dmn:text>OtherProperty.Net Cash Flow * OtherProperty.Applicants Cash Flow</dmn:text> | |
</dmn:outputEntry> | |
<dmn:outputEntry id="_6D60FFE2-B764-4277-AE50-0C896DEA6AFF"> | |
<dmn:text/> | |
</dmn:outputEntry> | |
<dmn:annotationEntry> | |
<dmn:text/> | |
</dmn:annotationEntry> | |
</dmn:rule> | |
</dmn:decisionTable> | |
</dmn:encapsulatedLogic> | |
</dmn:businessKnowledgeModel> | |
<dmndi:DMNDI> | |
<dmndi:DMNDiagram id="_A56B6FE5-DA6A-4621-938F-6A29DC3CDB84" name="DRG"> | |
<di:extension> | |
<kie:ComponentsWidthsExtension> | |
<kie:ComponentWidths dmnElementRef="_7B77AA01-C2D5-4E1D-82DB-2175D29AA044"> | |
<kie:width>50</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>813</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_8080AB01-37AD-4AE0-A17B-C527523E1D65"> | |
<kie:width>813</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_61C061EB-E526-4B73-BA3F-A9258C5EB30D"> | |
<kie:width>50</kie:width> | |
<kie:width>410</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>100</kie:width> | |
<kie:width>565</kie:width> | |
<kie:width>358</kie:width> | |
</kie:ComponentWidths> | |
<kie:ComponentWidths dmnElementRef="_EEFFAFAB-40A7-4761-B680-455443FA1CD8"> | |
<kie:width>50</kie:width> | |
<kie:width>1603</kie:width> | |
</kie:ComponentWidths> | |
</kie:ComponentsWidthsExtension> | |
</di:extension> | |
<dmndi:DMNShape id="dmnshape-drg-_98E51024-D936-4337-92BF-02068982FED7" dmnElementRef="_98E51024-D936-4337-92BF-02068982FED7" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="240" y="351" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_DAD2D6D1-2C51-4D97-A884-746E26E57EE7" dmnElementRef="_DAD2D6D1-2C51-4D97-A884-746E26E57EE7" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="241" y="129" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNShape id="dmnshape-drg-_580B4671-89B6-4907-90DB-0DF4D5E07DE7" dmnElementRef="_580B4671-89B6-4907-90DB-0DF4D5E07DE7" isCollapsed="false"> | |
<dmndi:DMNStyle> | |
<dmndi:FillColor red="255" green="255" blue="255"/> | |
<dmndi:StrokeColor red="0" green="0" blue="0"/> | |
<dmndi:FontColor red="0" green="0" blue="0"/> | |
</dmndi:DMNStyle> | |
<dc:Bounds x="500" y="129" width="100" height="50"/> | |
<dmndi:DMNLabel/> | |
</dmndi:DMNShape> | |
<dmndi:DMNEdge id="dmnedge-drg-_E78CE048-E4D3-4585-8547-9213A2EC567A" dmnElementRef="_E78CE048-E4D3-4585-8547-9213A2EC567A"> | |
<di:waypoint x="290" y="376"/> | |
<di:waypoint x="291" y="179"/> | |
</dmndi:DMNEdge> | |
<dmndi:DMNEdge id="dmnedge-drg-_7C804D10-B677-40ED-9D9A-990221C94B87-AUTO-TARGET" dmnElementRef="_7C804D10-B677-40ED-9D9A-990221C94B87"> | |
<di:waypoint x="550" y="154"/> | |
<di:waypoint x="341" y="154"/> | |
</dmndi:DMNEdge> | |
</dmndi:DMNDiagram> | |
</dmndi:DMNDI> | |
</dmn:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment