1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
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 *******************************************************************************/
12 // File: uri_etsi_org_ngn_params_xml_simservs_sci_e.ttcn
17 // Updated: Mon Dec 14 16:19:47 2009
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
22 // Generated from file(s):
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/sci" */
28 ////////////////////////////////////////////////////////////////////////////////
31 module uri_etsi_org_ngn_params_xml_simservs_sci_e {
37 /* XML Schema Definition for the AOC information */
40 /* Definition of simple types */
43 /* The boolean datatype value "true" maps to bit value "1" and the value "false" to bit value "0" */
44 type XSD.Boolean BitType
46 variant "name as uncapitalized";
50 type XSD.HexBinary EightBitType length(1);
53 type XSD.HexBinary SixteenBitType length(2);
56 /* Following structure of the networkIdentification value may be used: */
59 /* {itu-t (0) administration (2) <national regulation authority> (x) network (y) node identification (z)} */
62 /* The value for x is the value of the national regulation authority, the value for y is under the control */
65 /* of the national regulation authority concerned, the value for z is under the control of the network concerned. */
68 type XSD.String NetworkIdentificationType (pattern "02[0-9A-F]+");
71 /* The currency shall be coded according to ISO 4217 */
72 type XSD.String CurrencyType length(3);
75 type XSD.Integer CurrencyFactorType (0 .. 999999);
78 type XSD.Integer CurrencyScaleType (-7 .. 3);
81 type XSD.Integer TariffDurationType (0 .. 36000);
84 /* Definition of complex types */
87 type record TariffSwitchPulseType
89 TariffPulseFormatType nextTariffPulse,
90 EightBitType tariffSwitchOverTime
94 /* the choice type shall be replaced with sequence according to ASN.1 in ES 201 296 V1.3.1 */
95 type record CommunicationChargePulseType
97 EightBitType pulseUnits,
98 SixteenBitType chargeUnitTimeInterval,
99 TariffDurationType tariffDuration
103 type record TariffPulseFormatType
105 record length(1 .. 4) of CommunicationChargePulseType communicationChargeSequencePulse_list,
106 BitType tariffControlIndicators,
107 EightBitType callAttemptChargePulse,
108 EightBitType callSetupChargePulse
111 variant (communicationChargeSequencePulse_list) "untagged";
112 variant (communicationChargeSequencePulse_list[-]) "name as 'communicationChargeSequencePulse'";
116 type record CommunicationChargeCurrencyType
118 CurrencyFactorScaleType currencyFactorScale,
119 TariffDurationType tariffDuration,
120 BitType subTariffControl
124 type record TariffSwitchCurrencyType
126 TariffCurrencyFormatType nextTariffCurrency,
127 EightBitType tariffSwitchOverTime
131 type record TariffCurrencyFormatType
133 record length(1 .. 4) of CommunicationChargeCurrencyType communicationChargeSequenceCurrency_list,
134 BitType tariffControlIndicators,
135 CurrencyFactorScaleType callAttemptChargeCurrency,
136 CurrencyFactorScaleType callSetupChargeCurrency
139 variant (communicationChargeSequenceCurrency_list) "untagged";
140 variant (communicationChargeSequenceCurrency_list[-]) "name as 'communicationChargeSequenceCurrency'";
144 type record CurrencyFactorScaleType
146 CurrencyFactorType currencyFactor,
147 CurrencyScaleType currencyScale
151 type record TariffPulseType
153 TariffPulseFormatType currentTariffPulse,
154 TariffSwitchPulseType tariffSwitchPulse
158 type record TariffCurrencyType
160 TariffCurrencyFormatType currentTariffCurrency,
161 TariffSwitchCurrencyType tariffSwitchCurrency
165 /* the choice type shall be replaced with sequence according to ASN.1 in ES 201 296 V1.3.1 */
166 type record ChargingControlIndicatorsType
168 BitType immediateChangeOfActuallyAppliedTariff,
169 BitType delayUntilStart
173 type record ChargingReferenceIdentificationType
175 NetworkIdentificationType networkIdentification,
176 XSD.NonNegativeInteger referenceID
180 type record ChargingTariffInformationType
182 ChargingControlIndicatorsType chargingControlIndicators,
185 TariffCurrencyType tariffCurrency,
186 TariffPulseType tariffPulse
189 ChargingReferenceIdentificationType originationIdentification,
190 ChargingReferenceIdentificationType destinationIdentification optional,
191 CurrencyType currency
194 variant (chargingTariff.choice) "untagged";
198 type record AddOnChargingInformationType
200 ChargingControlIndicatorsType chargingControlIndicators,
203 CurrencyFactorScaleType addOnChargeCurrency,
204 EightBitType addOnChargePulse
207 ChargingReferenceIdentificationType originationIdentification,
208 ChargingReferenceIdentificationType destinationIdentification optional,
209 CurrencyType currency
212 variant (addOnCharge.choice) "untagged";
216 /* Definition of document structure */
219 type record MessageType
222 ChargingTariffInformationType crgt,
223 AddOnChargingInformationType aocrg
227 variant "name as uncapitalized";
229 variant (choice) "untagged";
236 variant "namespace as 'http://uri.etsi.org/ngn/params/xml/simservs/sci' prefix 'sci'";
237 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
238 variant "elementFormQualified";