1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" targetNamespace="http://www.omg.org/spec/BPMN/20100524/DI" elementFormDefault="qualified" attributeFormDefault="unqualified">
4 <xsd:import namespace="http://www.omg.org/spec/DD/20100524/DC" schemaLocation="DC.xsd" />
5 <xsd:import namespace="http://www.omg.org/spec/DD/20100524/DI" schemaLocation="DI.xsd" />
7 <xsd:element name="BPMNDiagram" type="bpmndi:BPMNDiagram" />
8 <xsd:element name="BPMNPlane" type="bpmndi:BPMNPlane" />
9 <xsd:element name="BPMNLabelStyle" type="bpmndi:BPMNLabelStyle" />
10 <xsd:element name="BPMNShape" type="bpmndi:BPMNShape" substitutionGroup="di:DiagramElement" />
11 <xsd:element name="BPMNLabel" type="bpmndi:BPMNLabel" />
12 <xsd:element name="BPMNEdge" type="bpmndi:BPMNEdge" substitutionGroup="di:DiagramElement" />
14 <xsd:complexType name="BPMNDiagram">
16 <xsd:extension base="di:Diagram">
18 <xsd:element ref="bpmndi:BPMNPlane" />
19 <xsd:element ref="bpmndi:BPMNLabelStyle" maxOccurs="unbounded" minOccurs="0" />
25 <xsd:complexType name="BPMNPlane">
27 <xsd:extension base="di:Plane">
28 <xsd:attribute name="bpmnElement" type="xsd:QName" />
33 <xsd:complexType name="BPMNEdge">
35 <xsd:extension base="di:LabeledEdge">
37 <xsd:element ref="bpmndi:BPMNLabel" minOccurs="0" />
39 <xsd:attribute name="bpmnElement" type="xsd:QName" />
40 <xsd:attribute name="sourceElement" type="xsd:QName" />
41 <xsd:attribute name="targetElement" type="xsd:QName" />
42 <xsd:attribute name="messageVisibleKind" type="bpmndi:MessageVisibleKind" />
47 <xsd:complexType name="BPMNShape">
49 <xsd:extension base="di:LabeledShape">
51 <xsd:element ref="bpmndi:BPMNLabel" minOccurs="0" />
53 <xsd:attribute name="bpmnElement" type="xsd:QName" />
54 <xsd:attribute name="isHorizontal" type="xsd:boolean" />
55 <xsd:attribute name="isExpanded" type="xsd:boolean" />
56 <xsd:attribute name="isMarkerVisible" type="xsd:boolean" />
57 <xsd:attribute name="isMessageVisible" type="xsd:boolean" />
58 <xsd:attribute name="participantBandKind" type="bpmndi:ParticipantBandKind" />
59 <xsd:attribute name="choreographyActivityShape" type="xsd:QName"/>
64 <xsd:complexType name="BPMNLabel">
66 <xsd:extension base="di:Label">
67 <xsd:attribute name="labelStyle" type="xsd:QName" />
72 <xsd:complexType name="BPMNLabelStyle">
74 <xsd:extension base="di:Style">
76 <xsd:element ref="dc:Font" />
82 <xsd:simpleType name="ParticipantBandKind">
83 <xsd:restriction base="xsd:string">
84 <xsd:enumeration value="top_initiating" />
85 <xsd:enumeration value="middle_initiating" />
86 <xsd:enumeration value="bottom_initiating" />
87 <xsd:enumeration value="top_non_initiating" />
88 <xsd:enumeration value="middle_non_initiating" />
89 <xsd:enumeration value="bottom_non_initiating" />
93 <xsd:simpleType name="MessageVisibleKind">
94 <xsd:restriction base="xsd:string">
95 <xsd:enumeration value="initiating" />
96 <xsd:enumeration value="non_initiating" />