-
Notifications
You must be signed in to change notification settings - Fork 188
/
extension.xsd
183 lines (168 loc) · 7.28 KB
/
extension.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
~ Copyright (c) 2010-2013 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://example.com/p"
xmlns:tns="http://example.com/p"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3">
<xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
schemaLocation="http://midpoint.evolveum.com/xml/ns/public/common/common-3">
<xsd:annotation>
<xsd:documentation>
Common objects.
</xsd:documentation>
</xsd:annotation>
</xsd:import>
<xsd:import namespace="http://prism.evolveum.com/xml/ns/public/types-3"
schemaLocation="http://prism.evolveum.com/xml/ns/public/types-3">
<xsd:annotation>
<xsd:documentation>
Prism data types.
</xsd:documentation>
</xsd:annotation>
</xsd:import>
<xsd:element name="shipName" type="xsd:string"/>
<xsd:element name="dead" type="xsd:string"/>
<xsd:element name="skipAutogeneration" type="xsd:boolean">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
<a:displayName>Do not generate</a:displayName>
<a:displayOrder>10</a:displayOrder>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<!-- account shadow extension -->
<xsd:complexType name="AccountShadowExtensionType">
<xsd:annotation>
<xsd:appinfo>
<a:extension ref="c:ShadowType"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="stringType" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<!-- generic object extension -->
<xsd:complexType name="GenericObjectExtensionType">
<xsd:annotation>
<xsd:appinfo>
<a:extension ref="c:GenericObjectType"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="stringType" type="xsd:string"/>
<xsd:element name="floatType" type="xsd:float"/>
<xsd:element name="doubleType" type="xsd:double"/>
<xsd:element name="intType" type="xsd:int"/>
<xsd:element name="shortType" type="xsd:short"/>
<xsd:element name="longType" type="xsd:long"/>
<xsd:element name="dateType" type="xsd:dateTime"/>
<xsd:element name="decimalType" type="xsd:decimal"/>
<xsd:element name="locations" type="tns:LocationsType"/>
<xsd:element name="referenceType" type="c:ObjectReferenceType"/>
<xsd:element name="polyType" type="t:PolyStringType"/>
<xsd:element name="enumType" type="c:BeforeAfterType"/>
<xsd:element name="skipAutogeneration" type="xsd:boolean" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
<a:displayName>Do not generate</a:displayName>
<a:displayOrder>10</a:displayOrder>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="multivalued" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LocationsType">
<xsd:sequence>
<xsd:element name="location" type="tns:LocationType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LocationType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="key" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- user extension -->
<xsd:complexType name="UserExtensionType">
<xsd:annotation>
<xsd:appinfo>
<a:extension ref="c:UserType"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="weapon" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
<a:displayName>Weapon</a:displayName>
<a:displayOrder>120</a:displayOrder>
<a:help>The tool of mass slaughter</a:help>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="shipName" type="xsd:string" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
<a:displayName>Ship Name</a:displayName>
<a:displayOrder>100</a:displayOrder>
<a:help>Name of yar scurvy vessel</a:help>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="loot" type="xsd:int" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>false</a:indexed>
<a:displayName>Loot</a:displayName>
<a:displayOrder>150</a:displayOrder>
<a:help>KEY_LOOT</a:help>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="funeralDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:displayName>Funeral</a:displayName>
<a:displayOrder>160</a:displayOrder>
<a:help>Dead men tell no tales</a:help>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="overrideActivation" type="c:ActivationStatusType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:indexed>true</a:indexed>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>