-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmfrest.xsd
81 lines (72 loc) · 2.93 KB
/
mfrest.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
<?xml version="1.0" encoding="UTF-8" ?>
<!-- (C) 2022—2025 Rocket Software, Inc. or its affiliates. All Rights Reserved. -->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xml.microfocus.com/schema/rest/v1.0/mfrest.xsd"
xmlns:tns="http://xml.microfocus.com/schema/rest/v1.0/mfrest.xsd">
<redefine schemaLocation="http://xml.microfocus.com/schema/service/v2.0/mfservice.xsd">
<complexType name="serviceType">
<complexContent>
<extension base="tns:serviceType">
</extension>
</complexContent>
</complexType>
<complexType name="operationType">
<complexContent>
<extension base="tns:operationType">
<sequence>
<element name="fault" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="parameters">
<complexType>
<sequence>
<element name="parameter" type="tns:parameterType" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
</sequence>
<attribute name="name" type="string"/>
</complexType>
</element>
</sequence>
<attribute name="httpMethod" type="string" default="POST"/>
<attribute name="path" type="string"/>
</extension>
</complexContent>
</complexType>
<complexType name="fieldType">
<complexContent>
<extension base="tns:fieldType">
<attribute name="dataType" type="tns:dataTypeEnum"/>
</extension>
</complexContent>
</complexType>
<complexType name="parameterType">
<complexContent>
<extension base="tns:parameterType">
<attribute name="in" type="tns:inEnum"/>
<attribute name="mediaType" type="string"/>
</extension>
</complexContent>
</complexType>
</redefine>
<simpleType name="dataTypeEnum">
<restriction base="string">
<enumeration value="string" />
<enumeration value="number" />
<enumeration value="integer" />
<enumeration value="link" />
<enumeration value="boolean" />
</restriction>
</simpleType>
<simpleType name="inEnum">
<restriction base="string">
<enumeration value="body" />
<enumeration value="query" />
<enumeration value="path" />
<enumeration value="header" />
<enumeration value="cookie" />
</restriction>
</simpleType>
</schema>