forked from HL7/JIRA-Spec-Artifacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkgroupList.xsd
77 lines (77 loc) · 3.45 KB
/
workgroupList.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<!--
When this schema is changed, the following code must be updated to align:
- Scriptrunner REST Endpoints: uploadBallotSpreadsheet
- BALDEF Workflow (1 class)
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="workgroups">
<xs:annotation>
<xs:documentation>Collector for all HL7 workgroups (and other groups) that can be responsible for issue resolution against Jira Specification Feedback items</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="workgroup" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A single work group that can have responsibility for a Jira Specification Feedback item</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="key" use="required">
<xs:annotation>
<xs:documentation>The key stored in the JIRA project. This should not change or be removed even if a work group is renamed or dissolved</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="[a-z][a-z0-9\-]+"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="webcode" use="optional">
<xs:annotation>
<xs:documentation>The code used for the work group on the HL7 website.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="(Vocab)|([a-z][a-z0-9\-]+)"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" use="required">
<xs:annotation>
<xs:documentation>The display name for the work group. This can be update if the work group changes its name.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z][^\s]+([\s][^\s]+)*"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="deprecated" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>This is set to true for groups that can no longer be assigned responsibility for tracker items, but which may have had responsibility for historical items</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="listserv" use="optional">
<xs:annotation>
<xs:documentation>The email address used for the work group on the HL7 website.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[^@]+@[^\.]+\..+"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:unique name="key-unique">
<xs:selector xpath="workgroup"/>
<xs:field xpath="@key"/>
</xs:unique>
<xs:unique name="name-unique">
<xs:selector xpath="workgroup"/>
<xs:field xpath="@name"/>
</xs:unique>
</xs:element>
</xs:schema>