-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
166 changed files
with
1,097 additions
and
396 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" | ||
xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" | ||
xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" | ||
targetNamespace="https://www.omg.org/spec/DMN/20230324/DMNDI/" | ||
elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
|
||
<xsd:import namespace="http://www.omg.org/spec/DMN/20180521/DC/" | ||
schemaLocation="DC.xsd"/> | ||
<xsd:import namespace="http://www.omg.org/spec/DMN/20180521/DI/" | ||
schemaLocation="DI.xsd"/> | ||
|
||
<xsd:element name="DMNDI" type="dmndi:DMNDI"/> | ||
<xsd:element name="DMNDiagram" type="dmndi:DMNDiagram"/> | ||
<xsd:element name="DMNDiagramElement" type="di:DiagramElement"> | ||
<xsd:annotation> | ||
<xsd:documentation>This element should never be instantiated directly, but rather concrete implementation should. It is placed there only to be referred in the sequence</xsd:documentation> | ||
</xsd:annotation> | ||
</xsd:element> | ||
<xsd:element name="DMNShape" type="dmndi:DMNShape" substitutionGroup="dmndi:DMNDiagramElement"/> | ||
<xsd:element name="DMNEdge" type="dmndi:DMNEdge" substitutionGroup="dmndi:DMNDiagramElement"/> | ||
<xsd:element name="DMNStyle" type="dmndi:DMNStyle" substitutionGroup="di:Style"/> | ||
<xsd:element name="DMNLabel" type="dmndi:DMNLabel"/> | ||
<xsd:element name="DMNDecisionServiceDividerLine" type="dmndi:DMNDecisionServiceDividerLine"/> | ||
|
||
<xsd:complexType name="DMNDI"> | ||
<xsd:sequence> | ||
<xsd:element ref="dmndi:DMNDiagram" minOccurs="0" maxOccurs="unbounded"/> | ||
<xsd:element ref="dmndi:DMNStyle" minOccurs="0" maxOccurs="unbounded"/> | ||
</xsd:sequence> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="DMNDiagram"> | ||
<xsd:complexContent> | ||
<xsd:extension base="di:Diagram"> | ||
<xsd:sequence> | ||
<xsd:element name="Size" type="dc:Dimension" minOccurs="0" maxOccurs="1"/> | ||
<xsd:element ref="dmndi:DMNDiagramElement" minOccurs="0" maxOccurs="unbounded"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="useAlternativeInputDataShape" type="xsd:boolean" use="optional" default="false"/> | ||
</xsd:extension> | ||
</xsd:complexContent> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="DMNShape"> | ||
<xsd:complexContent> | ||
<xsd:extension base="di:Shape"> | ||
<xsd:sequence> | ||
<xsd:element ref="dmndi:DMNLabel" minOccurs="0" maxOccurs="1"/> | ||
<xsd:element ref="dmndi:DMNDecisionServiceDividerLine" minOccurs="0" maxOccurs="1"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="dmnElementRef" type="xsd:QName" use="required"/> | ||
<xsd:attribute name="isListedInputData" type="xsd:boolean" use="optional"/> | ||
<xsd:attribute name="isCollapsed" type="xsd:boolean" use="optional" default="false"/> | ||
</xsd:extension> | ||
</xsd:complexContent> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="DMNDecisionServiceDividerLine"> | ||
<xsd:complexContent> | ||
<xsd:extension base="di:Edge"/> | ||
</xsd:complexContent> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="DMNEdge"> | ||
<xsd:complexContent> | ||
<xsd:extension base="di:Edge"> | ||
<xsd:sequence> | ||
<xsd:element ref="dmndi:DMNLabel" minOccurs="0" maxOccurs="1"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="dmnElementRef" type="xsd:QName" use="required"/> | ||
<xsd:attribute name="sourceElement" type="xsd:QName" use="optional"/> | ||
<xsd:attribute name="targetElement" type="xsd:QName" use="optional"/> | ||
</xsd:extension> | ||
</xsd:complexContent> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="DMNLabel"> | ||
<xsd:complexContent> | ||
<xsd:extension base="di:Shape"> | ||
<xsd:sequence> | ||
<xsd:element name="Text" type="xsd:string" minOccurs="0" maxOccurs="1" /> | ||
</xsd:sequence> | ||
</xsd:extension> | ||
</xsd:complexContent> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="DMNStyle"> | ||
<xsd:complexContent> | ||
<xsd:extension base="di:Style"> | ||
<xsd:sequence> | ||
<xsd:element name="FillColor" type="dc:Color" minOccurs="0" maxOccurs="1"/> | ||
<xsd:element name="StrokeColor" type="dc:Color" minOccurs="0" maxOccurs="1"/> | ||
<xsd:element name="FontColor" type="dc:Color" minOccurs="0" maxOccurs="1"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="fontFamily" type="xsd:string"/> | ||
<xsd:attribute name="fontSize" type="xsd:double"/> | ||
<xsd:attribute name="fontItalic" type="xsd:boolean"/> | ||
<xsd:attribute name="fontBold" type="xsd:boolean"/> | ||
<xsd:attribute name="fontUnderline" type="xsd:boolean"/> | ||
<xsd:attribute name="fontStrikeThrough" type="xsd:boolean"/> | ||
<xsd:attribute name="labelHorizontalAlignement" type="dc:AlignmentKind"/> | ||
<xsd:attribute name="labelVerticalAlignment" type="dc:AlignmentKind"/> | ||
</xsd:extension> | ||
</xsd:complexContent> | ||
</xsd:complexType> | ||
|
||
</xsd:schema> |
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0001-input-data-string/0001-input-data-string.dmn
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
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0002-input-data-number/0002-input-data-number.dmn
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
2 changes: 1 addition & 1 deletion
2
...e-level-2/0003-input-data-string-allowed-values/0003-input-data-string-allowed-values.dmn
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
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0004-simpletable-U/0004-simpletable-U.dmn
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
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0005-simpletable-A/0005-simpletable-A.dmn
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
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0006-simpletable-P1/0006-simpletable-P1.dmn
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
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0007-simpletable-P2/0007-simpletable-P2.dmn
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
2 changes: 1 addition & 1 deletion
2
TestCases/compliance-level-2/0008-LX-arithmetic/0008-LX-arithmetic.dmn
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
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
Oops, something went wrong.