Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / schemas_ericsson_com_ma_HSS_e.ttcn
CommitLineData
970ed795
EL
1/*******************************************************************************
2* Copyright Ericsson Telecom AB
3*
4* XSD to TTCN-3 Translator
5*
6* All rights reserved. This program and the accompanying materials
7* are made available under the terms of the Eclipse Public License v1.0
8* which accompanies this distribution, and is available at
9* http://www.eclipse.org/legal/epl-v10.html
10*******************************************************************************/
11//
12// File: schemas_ericsson_com_ma_HSS_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated:
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21//
22// Generated from file(s):
23//
24// - avg.xsd
25// /* xml version = "1.0" */
26// /* targetnamespace = "http://schemas.ericsson.com/ma/HSS/" */
27//
28// - eps.xsd
29// /* xml version = "1.0" */
30// /* targetnamespace = "http://schemas.ericsson.com/ma/HSS/" */
31//
32// - hssla_types.xsd
33// /* xml version = "1.0" encoding = "UTF-8" */
34// /* targetnamespace = "http://schemas.ericsson.com/ma/HSS/" */
35//
36////////////////////////////////////////////////////////////////////////////////
37
38
39module schemas_ericsson_com_ma_HSS_e {
40
41
42import from XSD all;
43
44
45import from schemas_ericsson_com_cai3g1_2_e all;
46
47
48/* CreateAVGMultiSC
49 MOId: imsi or impi
50 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
51
52
53type record CreateAVGMultiSC
54{
55 ImpiType impi optional,
56 ImsiType imsi optional,
57 union {
58 ImsiType imsi,
59 ImpiType impi
60 } choice,
61 AvgEncryptedKType avgEncryptedK,
62 AvgA4KeyIndType avgA4KeyInd,
63 AvgFSetIndType avgFSetInd,
64 AvgAmfType avgAmf optional
65}
66with {
3f84031e 67 variant "element";
68 variant (impi) "attribute";
69 variant (imsi) "attribute";
70 variant (choice) "untagged";
970ed795
EL
71};
72
73
74/* DeleteAVGMultiSC
75 MOId: imsi or impi
76 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
77
78
79/* SetAVGMultiSC
80 MOId: imsi
81 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
82
83
84type record SetAVGMultiSC
85{
86 ImpiType impi optional,
87 ImsiType imsi optional,
88 AvgEncryptedKType avgEncryptedK optional,
89 AvgA4KeyIndType avgA4KeyInd optional,
90 AvgAmfType avgAmf optional
91}
92with {
3f84031e 93 variant "element";
94 variant (impi) "attribute";
95 variant (imsi) "attribute";
970ed795
EL
96};
97
98
99/* GetAVGMultiSC
100 MOId: imsi or impi
101 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
102
103
104/* GetResponseAVGMultiSC */
105
106
107type record GetResponseAVGMultiSC
108{
109 union {
110 ImsiType imsi,
111 ImpiType impi
112 } choice,
113 AvgEncryptedKType avgEncryptedK,
114 AvgA4KeyIndType avgA4KeyInd,
115 AvgFSetIndType avgFSetInd,
116 AvgAmfType avgAmf
117}
118with {
3f84031e 119 variant "element";
120 variant (choice) "untagged";
970ed795
EL
121};
122
123
124/* CreateEPSMultiSC
125 MOId: imsi
126 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
127
128
129type record CreateEPSMultiSC
130{
131 ImsiType imsi,
132 ImsiType imsi_1,
133 MsisdnType msisdn optional,
134 AssociationIdType associationId optional,
135 EpsProfileIdType epsProfileId,
136 EpsOdbType epsOdb optional,
137 EpsRoamingAllowedType epsRoamingAllowed optional
138}
139with {
3f84031e 140 variant "element";
141 variant (imsi) "attribute";
142 variant (imsi_1) "name as 'imsi'";
970ed795
EL
143};
144
145
146/* DeleteEPSMultiSC
147 MOId: imsi
148 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
149
150
151/* SetEPSMultiSC
152 MOId: imsi
153 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
154
155
156type record SetEPSMultiSC
157{
158 ImsiType imsi,
159 MsisdnType msisdn optional,
160 EpsProfileIdType epsProfileId optional,
161 EpsOdbType epsOdb optional,
162 EpsRoamingAllowedType epsRoamingAllowed optional,
163 EpsLocationStateType epsLocationState optional
164}
165with {
3f84031e 166 variant "element";
167 variant (imsi) "attribute";
970ed795
EL
168};
169
170
171/* GetEPSMultiSC
172 MOId: imsi
173 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
174
175
176/* GetResponseEPSMultiSC
177 MOId: imsi
178 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
179
180
181type record GetResponseEPSMultiSC
182{
183 ImsiType imsi,
184 MsisdnType msisdn optional,
185 AssociationIdType associationId optional,
186 EpsProfileIdType epsProfileId,
187 EpsOdbType epsOdb,
188 EpsRoamingAllowedType epsRoamingAllowed,
189 MmeAddressType mmeAddress optional,
190 EpsLocationStateType epsLocationState
191}
192with {
3f84031e 193 variant "element";
970ed795
EL
194};
195
196
197/* Common types */
198
199
200type XSD.String MsisdnType (pattern "[0-9]*") length(5 .. 15)
201with {
3f84031e 202 variant "name as uncapitalized";
970ed795
EL
203};
204
205
206type XSD.String ImsiType (pattern "[0-9]*") length(6 .. 15)
207with {
3f84031e 208 variant "name as uncapitalized";
970ed795
EL
209};
210
211
212type XSD.String ImpiType length(5 .. 256)
213with {
3f84031e 214 variant "name as uncapitalized";
970ed795
EL
215};
216
217
218type XSD.String AssociationIdType
219with {
3f84031e 220 variant "name as uncapitalized";
970ed795
EL
221};
222
223
224/* EPS types */
225
226
227type XSD.String EpsProfileIdType
228with {
3f84031e 229 variant "name as uncapitalized";
970ed795
EL
230};
231
232
233type enumerated EpsOdbType
234{
235 nONE,
236 oDB_ALL,
237 oDB_HPLMN_APN,
238 oDB_VPLMN_APN
239}
240with {
3f84031e 241 variant "text 'nONE' as capitalized";
242 variant "text 'oDB_ALL' as 'ODB-ALL'";
243 variant "text 'oDB_HPLMN_APN' as 'ODB-HPLMN-APN'";
244 variant "text 'oDB_VPLMN_APN' as 'ODB-VPLMN-APN'";
245 variant "name as uncapitalized";
970ed795
EL
246};
247
248
249type XSD.Boolean EpsRoamingAllowedType
250with {
3f84031e 251 variant "name as uncapitalized";
970ed795
EL
252};
253
254
255type enumerated EpsLocationStateType
256{
257 lOCATED,
258 pURGED,
259 uNKNOWN
260}
261with {
3f84031e 262 variant "text 'lOCATED' as capitalized";
263 variant "text 'pURGED' as capitalized";
264 variant "text 'uNKNOWN' as capitalized";
265 variant "name as uncapitalized";
970ed795
EL
266};
267
268
269type XSD.String MmeAddressType
270with {
3f84031e 271 variant "name as uncapitalized";
970ed795
EL
272};
273
274
275/* AVG types */
276
277
278type XSD.String AvgEncryptedKType (pattern "[0-9A-F]#32")
279with {
3f84031e 280 variant "name as uncapitalized";
970ed795
EL
281};
282
283
284type XSD.Integer AvgA4KeyIndType (1 .. 512)
285with {
3f84031e 286 variant "name as uncapitalized";
970ed795
EL
287};
288
289
290type XSD.Integer AvgFSetIndType (0 .. 15)
291with {
3f84031e 292 variant "name as uncapitalized";
970ed795
EL
293};
294
295
296type XSD.String AvgAmfType (pattern "[0-9A-F]#4")
297with {
3f84031e 298 variant "name as uncapitalized";
970ed795
EL
299};
300
301
302}
303with {
3f84031e 304 encode "XML";
305 variant "namespace as 'http://schemas.ericsson.com/ma/HSS/'";
306 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
307 variant "elementFormQualified";
970ed795 308}
This page took 0.037162 seconds and 5 git commands to generate.