aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-sdnc-adapter/src/main/resources/SDNCAdapterSchema.xsd
blob: ea45521dd7c37998b876184c0a3b46ca0536bf8c (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
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://org.onap/workflow/sdnc/adapter/schema/v1" 
xmlns="http://www.w3.org/2001/XMLSchema" 
	xmlns:tns="http://org.onap/workflow/sdnc/adapter/schema/v1" 
	xmlns:sdncadaptersc="http://org.onap/workflow/sdnc/adapter/schema/v1"	
	elementFormDefault="qualified">


	<!-- ========================= -->
	<!-- Complex Types             -->
	<!-- ========================= -->
	
	
	<!-- ========================= -->
	<!-- Elements             -->
	<!-- ========================= -->
	
	<element  name="RequestHeader">
		<complexType>
			<sequence>
				<element name="RequestId" type="string" minOccurs="1" maxOccurs="1"/>	
				<element name="SvcInstanceId" type="string" minOccurs="0" maxOccurs="1"/>	
				<element name="SvcAction" type="string" minOccurs="1" maxOccurs="1"/>	
				<element name="SvcOperation" type="string" minOccurs="1" maxOccurs="1"/>	
				<element name="CallbackUrl" type="string" minOccurs="1" maxOccurs="1"/>	
				<element name="MsoAction" type="string" minOccurs="0" maxOccurs="1"/>			
			</sequence>
		</complexType>
	</element>	
	
	<element  name="CallbackHeader">
		<complexType>
			<sequence>
				<element name="RequestId" type="string" minOccurs="1" maxOccurs="1"/>	
				<element name="ResponseCode" type="string" minOccurs="1" maxOccurs="1"/>	
				<element name="ResponseMessage" type="string" minOccurs="1" maxOccurs="1"/>	
			</sequence>
		</complexType>
	</element>	
	
	<!-- ========================= -->
	<!-- Requests/Responses        -->
	<!-- ========================= -->
	
	<element name="SDNCAdapterRequest">
		<complexType>
			<sequence>
				<element ref="tns:RequestHeader" minOccurs="1" maxOccurs="1" />
				<element name="RequestData" type="anyType" minOccurs="1" maxOccurs="1" />				
			</sequence>
		</complexType>
	</element>
	
	<!-- Empty Ack -->
	<element name="SDNCAdapterResponse">	
		<complexType>
			
		</complexType>
	</element>
	
	<!--Used to post Async Status back to workflow, Status Message would be used for any fallouts from SDNC -->
	<element name="SDNCAdapterCallbackRequest">
		<complexType>
			<sequence>
				<element ref="tns:CallbackHeader" minOccurs="1" maxOccurs="1" />
				<element name="RequestData" type="anyType" minOccurs="0" maxOccurs="1" />								
			</sequence>
		</complexType>
	</element>	
	
	
</schema>