aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/resources/xsd/MsoServiceRequestTypesV1.xsd
blob: dcf52e30e500cc67b7b304fa4db6eea754953162 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
		============LICENSE_START=======================================================
		ONAP - SO
		================================================================================
		Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
		================================================================================
		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.
		============LICENSE_END=========================================================
	-->
<!--
		================================================================
		Description: This is the schema for MSO Request data

		================================================================
		Change Log: Version Author Comments 
		=========== ======= ====== ========
		0.10 ss835w 2014-12-22. First draft
		0.20 dr695h 2014-01-09. Second draft

		================================  ================================
	-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ecomp.att.com/mso/request/types/v1" targetNamespace="http://ecomp.att.com/mso/request/types/v1" elementFormDefault="qualified">
	<complexType name="response-type">
		<sequence>
			<element name="request-id" type="string" minOccurs="1" maxOccurs="1"/>
			<element name="request-action" type="tns:request-action-type" minOccurs="1" maxOccurs="1"/>
			<element name="source" type="string" minOccurs="1" maxOccurs="1"/>
			<element name="request-id-in-progress" type="string" minOccurs="0" maxOccurs="1"/>
			<element name="error-code" type="int" minOccurs="0" maxOccurs="1"/>
			<element name="error-message" type="string" minOccurs="0" maxOccurs="1"/>
			<element name="ack-final-indicator" type="tns:y-or-n-type" minOccurs="1" maxOccurs="1"/>
		</sequence>
	</complexType>
	<annotation>
		<documentation xml:lang="en">order-number is required if service-type equals SDN-ETHERNET-INTERNET. order-version is required if service-type equals 
  		SDN-ETHERNET-INTERNET, source=OMX,  and request-action=Layer3ServiceActivateRequest or ChangeLayer3ServiceProvRequest</documentation>
	</annotation>
	<element name="request-information">
		<complexType>
			<sequence>
				<element name="request-id" type="string" minOccurs="1" maxOccurs="1"/>
				<element name="request-action" type="tns:request-action-type" minOccurs="1" maxOccurs="1"/>
				<element name="request-sub-action" type="tns:request-sub-action-type" minOccurs="0" maxOccurs="1"/>
				<element name="source" type="string" minOccurs="1" maxOccurs="1"/>
				<element name="notification-url" type="string" minOccurs="0" maxOccurs="1"/>
				<element name="order-number" type="string" minOccurs="0" maxOccurs="1"/>
				<element name="order-version" type="string" minOccurs="0" maxOccurs="1"/>
			</sequence>
		</complexType>
	</element>
	<annotation>
		<documentation xml:lang="en">subscriber-name required if request-action=Layer3ServiceActivateRequest</documentation>
	</annotation>
	<element name="service-information">
		<complexType>
			<sequence>
				<element name="service-type" type="tns:service-type" minOccurs="1" maxOccurs="1"/>
				<element name="service-instance-id" type="string" minOccurs="1" maxOccurs="1"/>
				<element name="subscriber-name" type="string" minOccurs="0" maxOccurs="1"/>
			</sequence>
		</complexType>
	</element>
	<element name="feature-information">
		<complexType>
			<sequence>
				<element name="feature-type" type="tns:feature-type"/>
				<element name="feature-instance-id" type="string"/>
				<element name="feature-yang-model" type="string"/>
				<element name="feature-yang-model-version" type="string"/>
			</sequence>
		</complexType>
	</element>
	<simpleType name="request-action-type">
		<restriction base="string">
			<enumeration value="Layer3ServiceActivateRequest"/>
			<enumeration value="Layer3ServiceTestAndTurnupRequest"/>
			<enumeration value="ChangeLayer3ServiceActivateRequest"/>
			<enumeration value="ChangeLayer3ServiceProvRequest"/>
			<enumeration value="DisconnectLayer3ServiceRequest"/>
			<enumeration value="GetLayer3ServiceDetailsRequest"/>
			<enumeration value="ChangeFeatureActivateRequest"/>
		</restriction>
	</simpleType>
	<simpleType name="request-sub-action-type">
		<restriction base="string">
			<enumeration value="CANCEL"/>
			<enumeration value="SUPP"/>
		</restriction>
	</simpleType>
	<simpleType name="service-type">
		<restriction base="string">
			<enumeration value="SDN-ETHERNET-INTERNET"/>
		</restriction>
	</simpleType>
	<simpleType name="y-or-n-type">
		<restriction base="string">
			<enumeration value="Y"/>
			<enumeration value="N"/>
		</restriction>
	</simpleType>
	<simpleType name="feature-type">
		<restriction base="string">
			<enumeration value="FIREWALL-LITE"/>
		</restriction>
	</simpleType>
</schema>