Skip to content

Commit

Permalink
Define new versioning scheme for DMN
Browse files Browse the repository at this point in the history
  • Loading branch information
falko committed Jan 5, 2024
1 parent a634fb3 commit 669047c
Show file tree
Hide file tree
Showing 12 changed files with 140 additions and 53 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,40 +19,40 @@ jobs:
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "./examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "./examples/Chapter 11 Example 1 Originations/Financial.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "examples/Diagram Interchange/diagram-interchange-decision-service.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "examples/Diagram Interchange/diagram-interchange-dish-example.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
- uses: ChristophWurst/xmllint-action@v1.2
with:
xml-file: "examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn"
xml-schema-file: ./xsd/DMN15.xsd
xml-schema-file: ./xsd/DMN16.xsd
if: always()
15 changes: 13 additions & 2 deletions examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<semantic:definitions xmlns:semantic="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:include1="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" xmlns:drools="http://www.drools.org/kie/dmn/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rss="http://purl.org/rss/2.0/" xmlns:trisofeed="http://trisotech.com/feed" xmlns:trisodmn="http://www.trisotech.com/2016/triso/dmn" xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:triso="http://www.trisotech.com/2015/triso/modeling" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="https://www.omg.org/spec/DMN/20230324/FEEL/" xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase" xmlns="http://www.trisotech.com/definitions/_9d01a0c4-f529-4ad8-ad8e-ec5fb5d96ad4" id="_9d01a0c4-f529-4ad8-ad8e-ec5fb5d96ad4" name="Chapter 11 Example" namespace="http://www.trisotech.com/definitions/_9d01a0c4-f529-4ad8-ad8e-ec5fb5d96ad4" exporter="DMN Modeler" exporterVersion="6.2.2.1" triso:logoChoice="None">
<semantic:definitions version="1.6" xmlns:semantic="https://www.omg.org/spec/DMN/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:include1="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" xmlns:drools="http://www.drools.org/kie/dmn/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rss="http://purl.org/rss/2.0/" xmlns:trisofeed="http://trisotech.com/feed" xmlns:trisodmn="http://www.trisotech.com/2016/triso/dmn" xmlns:dmndi="https://www.omg.org/spec/DMN/DI/" xmlns:triso="http://www.trisotech.com/2015/triso/modeling" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="https://www.omg.org/spec/DMN/FEEL/1.6" xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase" xmlns="http://www.trisotech.com/definitions/_9d01a0c4-f529-4ad8-ad8e-ec5fb5d96ad4" id="_9d01a0c4-f529-4ad8-ad8e-ec5fb5d96ad4" name="Chapter 11 Example" namespace="http://www.trisotech.com/definitions/_9d01a0c4-f529-4ad8-ad8e-ec5fb5d96ad4" exporter="DMN Modeler" exporterVersion="6.2.2.1" triso:logoChoice="None"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">

<semantic:description/>
<semantic:extensionElements>
<triso:ProjectCharter>
Expand All @@ -7,7 +18,7 @@
<triso:projectStakeholders/>
</triso:ProjectCharter>
</semantic:extensionElements>
<semantic:import namespace="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" name="Financial" triso:fileId="eyJmIjp7InNrdSI6IjU1ZTFkZDA5LTdjYTUtNGUyMC04NzI1LWVlOTI5NzI2OTZkYiIsIm5hbWUiOiJGaW5hbmNpYWwifSwiciI6eyJhcGlrZXkiOiIyOTIwMDNmNjk4NDBlNzEyIn19" triso:fileName="Chapter 11 Example/Financial" importType="https://www.omg.org/spec/DMN/20230324/MODEL/" drools:modelName="Financial"/>
<semantic:import namespace="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" name="Financial" triso:fileId="eyJmIjp7InNrdSI6IjU1ZTFkZDA5LTdjYTUtNGUyMC04NzI1LWVlOTI5NzI2OTZkYiIsIm5hbWUiOiJGaW5hbmNpYWwifSwiciI6eyJhcGlrZXkiOiIyOTIwMDNmNjk4NDBlNzEyIn19" triso:fileName="Chapter 11 Example/Financial" importType="https://www.omg.org/spec/DMN/" drools:modelName="Financial"/>
<semantic:itemDefinition isCollection="false" name="tStrategy" label="tStrategy">
<semantic:typeRef>string</semantic:typeRef>
<semantic:allowedValues triso:constraintsType="enumeration">
Expand Down
12 changes: 11 additions & 1 deletion examples/Chapter 11 Example 1 Originations/Financial.dmn
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<semantic:definitions xmlns:semantic="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns:rss="http://purl.org/rss/2.0/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:trisofeed="http://trisotech.com/feed" xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:triso="http://www.trisotech.com/2015/triso/modeling" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:feel="https://www.omg.org/spec/DMN/20230324/FEEL/" xmlns:trisodmn="http://www.trisotech.com/2016/triso/dmn" xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase" xmlns:drools="http://www.drools.org/kie/dmn/1.1" xmlns="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" id="_5e8e877a-af87-434b-9c36-ed51c8d6b514" name="Financial" namespace="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" exporter="DMN Modeler" exporterVersion="6.2.2.1" triso:logoChoice="None">
<semantic:definitions version="1.6" xmlns:semantic="https://www.omg.org/spec/DMN/" xmlns:rss="http://purl.org/rss/2.0/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:trisofeed="http://trisotech.com/feed" xmlns:dmndi="https://www.omg.org/spec/DMN/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:triso="http://www.trisotech.com/2015/triso/modeling" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:feel="https://www.omg.org/spec/DMN/FEEL/1.6" xmlns:trisodmn="http://www.trisotech.com/2016/triso/dmn" xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase" xmlns:drools="http://www.drools.org/kie/dmn/1.1" xmlns="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" id="_5e8e877a-af87-434b-9c36-ed51c8d6b514" name="Financial" namespace="http://www.trisotech.com/definitions/_5e8e877a-af87-434b-9c36-ed51c8d6b514" exporter="DMN Modeler" exporterVersion="6.2.2.1" triso:logoChoice="None"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">
<semantic:decisionService id="_5e8e877a-af87-434b-9c36-ed51c8d6b514_DS" name="Whole Model Decision Service" triso:dynamicDecisionService="true">
<semantic:variable name="Whole Model Decision Service" id="_7510044d-9f94-4b5a-a172-bb5412031a86" typeRef="Any"/>
</semantic:decisionService>
Expand Down
14 changes: 12 additions & 2 deletions examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<semantic:definitions id="_5c8b9296-96cf-4898-bba5-3a2d21d34eed" name="Loan info" namespace="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed" exporter="DMN Modeler" exporterVersion="6.2.2.3" xmlns:semantic="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed">
<semantic:definitions version="1.6" id="_5c8b9296-96cf-4898-bba5-3a2d21d34eed" name="Loan info" namespace="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed" exporter="DMN Modeler" exporterVersion="6.2.2.3" xmlns:semantic="https://www.omg.org/spec/DMN/" xmlns="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">

Check failure on line 12 in examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn

View workflow job for this annotation

GitHub Actions / xmllint

Namespace prefix xsi for schemaLocation on definitions is not defined
<semantic:itemDefinition name="tBorrower" label="tBorrower">
<semantic:itemComponent id="_b7dcc14d-510d-4628-a510-ca774208e501" name="Full Name">
<semantic:typeRef>string</semantic:typeRef>
Expand Down Expand Up @@ -640,7 +650,7 @@
<semantic:inputData href="#_e0cfe605-3068-42a2-946f-c7db3774de1e"/>
<semantic:inputData href="#_d78ee6d5-96ed-43e6-89d2-123e0f388a67"/>
</semantic:decisionService>
<dmndi:DMNDI xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/">
<dmndi:DMNDI xmlns:dmndi="https://www.omg.org/spec/DMN/DI/">
<dmndi:DMNDiagram id="_0b101bf8-a9c5-4e7c-8763-c8fcb4263a32" name="Page 1">
<di:extension xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"/>
<dmndi:Size height="1054.996529420125" width="1803.949344176753"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<semantic:definitions id="_736fa164-03d8-429f-8318-4913a548c3a6" name="Recommended Loan Products" namespace="http://www.trisotech.com/definitions/_736fa164-03d8-429f-8318-4913a548c3a6" exporter="DMN Modeler" exporterVersion="6.2.3" xmlns:semantic="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:include1="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed" xmlns="http://www.trisotech.com/definitions/_736fa164-03d8-429f-8318-4913a548c3a6">
<semantic:import namespace="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed" name="Services" importType="https://www.omg.org/spec/DMN/20230324/MODEL/"/>
<semantic:definitions version="1.6" id="_736fa164-03d8-429f-8318-4913a548c3a6" name="Recommended Loan Products" namespace="http://www.trisotech.com/definitions/_736fa164-03d8-429f-8318-4913a548c3a6" exporter="DMN Modeler" exporterVersion="6.2.3" xmlns:semantic="https://www.omg.org/spec/DMN/" xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:include1="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed" xmlns="http://www.trisotech.com/definitions/_736fa164-03d8-429f-8318-4913a548c3a6"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">
<semantic:import namespace="http://www.trisotech.com/definitions/_5c8b9296-96cf-4898-bba5-3a2d21d34eed" name="Services" importType="https://www.omg.org/spec/DMN/"/>
<semantic:itemDefinition name="tBorrower" label="tBorrower">
<semantic:itemComponent id="_b7dcc14d-510d-4628-a510-ca774208e501" name="Full Name">
<semantic:typeRef>string</semantic:typeRef>
Expand Down Expand Up @@ -1171,7 +1181,7 @@ and To be paid off=true].Balance[item!=null])</semantic:text>
</semantic:context>
</semantic:encapsulatedLogic>
</semantic:businessKnowledgeModel>
<dmndi:DMNDI xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/">
<dmndi:DMNDI xmlns:dmndi="https://www.omg.org/spec/DMN/DI/">
<dmndi:DMNDiagram id="_0b101bf8-a9c5-4e7c-8763-c8fcb4263a32" name="Page 1">
<di:extension xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"/>
<dmndi:Size height="1050" width="1550.4755458831787"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions
<definitions version="1.6"
id="Definitions_DecisionService"
name="Decision Service"
namespace="http://www.omg.org/spec/DMN/20180521/diagram-interchange-decision-service/"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
xmlns="https://www.omg.org/spec/DMN/"
xmlns:dmndi="https://www.omg.org/spec/DMN/DI/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">
<decisionService id="DecisionService_1" name="Decision Service 1">
</decisionService>
<dmndi:DMNDI>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions
<definitions version="1.6"
id="Definitions_0v8cooh"
name="Decision with Listed Input data"
namespace="http://www.omg.org/spec/DMN/20180521/diagram-interchange-decision-with-listed-input-data/"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
xmlns="https://www.omg.org/spec/DMN/"
xmlns:dmndi="https://www.omg.org/spec/DMN/DI/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">
<decision id="Decision_1" name="Decision">
<informationRequirement>
<requiredInput href="#InputData_1" />
Expand Down
20 changes: 15 additions & 5 deletions examples/Diagram Interchange/diagram-interchange-dish-example.dmn
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="dish-decisions" name="Dish Decisions"
<definitions version="1.6" id="dish-decisions" name="Dish Decisions"
namespace="http://www.omg.org/spec/DMN/20180521/dish-example/"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
xmlns="https://www.omg.org/spec/DMN/"
xmlns:dmndi="https://www.omg.org/spec/DMN/DI/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">

<inputData name="Type of day" id="dayType_id">
<variable typeRef="string" name="Type of day" id="dayType_ii"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions
<definitions version="1.6"
id="definitions_0v8cooh"
name="Decision"
namespace="http://www.omg.org/spec/DMN/20180521/diagram-interchange-shape-with-label-text/"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
xmlns="https://www.omg.org/spec/DMN/"
xmlns:dmndi="https://www.omg.org/spec/DMN/DI/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://www.omg.org/spec/DMN/
https://www.omg.org/spec/DMN/20240322/DMN16.xsd
https://www.omg.org/spec/DMN/DI/
https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd
http://www.omg.org/spec/DMN/20180521/DI/
https://www.omg.org/spec/DMN/20180521/DI.xsd
http://www.omg.org/spec/DMN/20180521/DC/
https://www.omg.org/spec/DMN/20180521/DC.xsd
">
<decision id="Decision_1" name="Decision 1"/>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DRD1">
Expand Down
20 changes: 11 additions & 9 deletions xsd/DMN15.xsd → xsd/DMN16.xsd
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified"
xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
targetNamespace="https://www.omg.org/spec/DMN/20230324/MODEL/">
<xsd:schema id="DMN" version="1.6"
elementFormDefault="qualified"
xmlns="https://www.omg.org/spec/DMN/"
targetNamespace="https://www.omg.org/spec/DMN/"
xmlns:dmndi="https://www.omg.org/spec/DMN/DI/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:import namespace="https://www.omg.org/spec/DMN/20230324/DMNDI/"
schemaLocation="DMNDI15.xsd">
<xsd:import namespace="https://www.omg.org/spec/DMN/DI/"
schemaLocation="DMNDI16.xsd">
<xsd:annotation>
<xsd:documentation>
Include the DMN Diagram Interchange (DI) schema
Expand Down Expand Up @@ -54,8 +55,9 @@
<xsd:element ref="businessContextElement" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="dmndi:DMNDI" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="expressionLanguage" type="xsd:anyURI" use="optional" default="https://www.omg.org/spec/DMN/20230324/FEEL/"/>
<xsd:attribute name="typeLanguage" type="xsd:anyURI" use="optional" default="https://www.omg.org/spec/DMN/20230324/FEEL/"/>
<xsd:attribute name="version" type="xsd:decimal" use="required"/>
<xsd:attribute name="expressionLanguage" type="xsd:anyURI" use="optional" default="https://www.omg.org/spec/DMN/FEEL/1.6"/>
<xsd:attribute name="typeLanguage" type="xsd:anyURI" use="optional" default="https://www.omg.org/spec/DMN/FEEL/1.6"/>
<xsd:attribute name="namespace" type="xsd:anyURI" use="required"/>
<xsd:attribute name="exporter" type="xsd:string" use="optional"/>
<xsd:attribute name="exporterVersion" type="xsd:string" use="optional"/>
Expand Down
Loading

0 comments on commit 669047c

Please sign in to comment.