Skip to content

Instantly share code, notes, and snippets.

@tiagobento
tiagobento / sample.dmn
Created September 17, 2021 18:15
sample.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92" name="loan_pre_qualification" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB">
<dmn:extensionElements/>
<dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9" name="Requested_Product" isCollection="false">
<dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type" isCollection="false">
<dmn:typeRef>Product_Type</dmn:typeRef>
</dmn:itemComponent>
<dmn:itemComponent id="_ab1647c
@tiagobento
tiagobento / new-file.dmn
Created September 17, 2021 17:47
new-file.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_ED50E24C-3DC8-4938-968E-706451DDA5D8" 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="_E3FA8D11-7378-449C-B579-3CE4C2E6C9A8" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_ED50E24C-3DC8-4938-968E-706451DDA5D8">
<dmn:extensionElements/>
<dmn:inputData id="_29510738-03FC-48B3-9778-D38E167D2194" name="InputData-1">
<dmn:extensionElements/>
<dmn:variable id="_AB472DEE-7F5E-4918-9FF7-6799909D97D0" name="InputData-1"/>
</dmn:inputData>
<dmn:knowledgeSource id="_C2BE9CDE-E0A2-45E4-9C05-471AEC88074A" name="KnowledgeSource-1" locationURI="">
<dmn:extensionElements/>
<dmn:type/>
</dmn:knowledgeSource>
@tiagobento
tiagobento / asdf.pmml
Last active September 17, 2021 17:20
new-file.pmml
<PMML xmlns="http://www.dmg.org/PMML-4_4" version="4.4">
<Header/>
<DataDictionary/>
<Scorecard modelName="Untitled model" functionName="regression">
<MiningSchema/>
<Output/>
<Characteristics/>
</Scorecard>
</PMML>
@tiagobento
tiagobento / sample.dmn
Created September 17, 2021 17:18
sample.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92" name="loan_pre_qualification" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB">
<dmn:extensionElements/>
<dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9" name="Requested_Product" isCollection="false">
<dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type" isCollection="false">
<dmn:typeRef>Product_Type</dmn:typeRef>
</dmn:itemComponent>
<dmn:itemComponent id="_ab1647c
@tiagobento
tiagobento / new-file.dmn
Created September 17, 2021 17:08
new-file.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_3B3F4B80-A7EA-4413-BE7E-E7B24E49EACA" 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="_4E4149D9-26B5-463C-9CEA-917694C7FF7A" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_3B3F4B80-A7EA-4413-BE7E-E7B24E49EACA">
<dmn:extensionElements/>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="_64DDE260-4668-4483-A941-05E872445B0C" name="DRG">
<di:extension>
<kie:ComponentsWidthsExtension/>
</di:extension>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
@tiagobento
tiagobento / sample.dmn
Created September 17, 2021 16:35
sample.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92" name="loan_pre_qualification" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB">
<dmn:extensionElements/>
<dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9" name="Requested_Product" isCollection="false">
<dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type" isCollection="false">
<dmn:typeRef>Product_Type</dmn:typeRef>
</dmn:itemComponent>
<dmn:itemComponent id="_ab1647c
@tiagobento
tiagobento / new-file.dmn
Created September 17, 2021 16:32
new-file.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_9024728C-3C5D-415A-9A3C-ACF6CF2A5CD1" 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="_F6B6B6CA-54C0-40CD-87B0-708587AACA6B" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_9024728C-3C5D-415A-9A3C-ACF6CF2A5CD1">
<dmn:extensionElements/>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="_B55B2C02-074D-4C2C-8076-E8DF00E47B70" name="DRG">
<di:extension>
<kie:ComponentsWidthsExtension/>
</di:extension>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
@tiagobento
tiagobento / sample.pmml
Created September 17, 2021 13:33
sample.pmml
<PMML xmlns="http://www.dmg.org/PMML-4_4" version="4.4">
<Header copyright="www.dmg.org" description="Sample scorecard">
<Timestamp>2010-11-10T08:17:10.8</Timestamp>
</Header>
<DataDictionary numberOfFields="4">
<DataField name="department" optype="categorical" dataType="string"/>
<DataField name="age" optype="continuous" dataType="integer"/>
<DataField name="income" optype="continuous" dataType="double"/>
<DataField name="overallScore" optype="continuous" dataType="double"/>
</DataDictionary>
@tiagobento
tiagobento / new-file.bpmn
Last active September 16, 2021 23:18
new-file.bpmn
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:drools="http://www.jboss.org/drools" xmlns:xsi="xsi" id="_Q8MGcPlyEDmSQZZIRIXCsg" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
<bpmn2:process id="new_file" drools:packageName="com.example" drools:version="1.0" drools:adHoc="false" name="new-file" isExecutable="true" processType="Public">
<bpmn2:endEvent id="_2E44F6E4-17ED-485C-B2DF-CA3AEF3BFE3E">
<bpmn2:terminateEventDefinition/>
</bpmn2:endEvent>
<bpmn2:startEvent id="_7499D078-EBD7-49EC-AB26-9FD17614DC73"/>
@tiagobento
tiagobento / new-file.dmn
Last active September 16, 2021 15:53
new-file.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_197CC493-EF14-4417-B2E3-4C171C401ABE" 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="_27F22EE5-11D1-4C66-9323-93B4FC6B7D91" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_197CC493-EF14-4417-B2E3-4C171C401ABE">
<dmn:extensionElements/>
<dmn:inputData id="_FBA7F675-BE8E-4D0E-A805-0DFE12FC7B0F" name="InputData-1">
<dmn:extensionElements/>
<dmn:variable id="_AE960D35-ADA5-4C38-AE5E-A0F8A27FE6EF" name="InputData-1"/>
</dmn:inputData>
<dmn:decision id="_8141F51C-AF53-4CF8-9DB6-A6B3E6621FD8" name="Decision-1">
<dmn:extensionElements/>
<dmn:variable id="_6D6AE918-255B-43DF-9954-1792E60C8415" name="Decision-1"/