blob: a71e2ea1215704330a3a019f71a50009bfef0a87 (
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
<!-- Used by AAF (ATT inc 2013) -->
<xs:schema xmlns:aaf="urn:aaf:v1_0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:aaf:v1_0" elementFormDefault="qualified">
<xs:element name="error">
<xs:complexType>
<xs:sequence>
<xs:element name="response_data" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="bool">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="permkey">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="type" type="xs:string"/>
<xs:element name="action" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="permkeys">
<xs:complexType>
<xs:sequence>
<xs:element name="keys" type="aaf:permkey" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="user">
<xs:sequence>
<xs:element name="userName" type="xs:string"/>
<xs:element name="roleName" type="xs:string"/>
<xs:element name="userType" type="xs:string"/>
<xs:element name="createUser" type="xs:string"/>
<xs:element name="createTimestamp" type="xs:string"/>
<xs:element name="modifyUser" type="xs:string"/>
<xs:element name="modifyTimestamp" type="xs:string"/>
<xs:element ref="aaf:roles" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="role">
<xs:sequence>
<xs:element name="userName" type="xs:string"/>
<xs:element name="roleName" type="xs:string"/>
<xs:element name="userType" type="xs:string"/>
<xs:element name="createUser" type="xs:string"/>
<xs:element name="createTimestamp" type="xs:string"/>
<xs:element name="modifyUser" type="xs:string"/>
<xs:element name="modifyTimestamp" type="xs:string"/>
<xs:element ref="aaf:permissions" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="roles">
<xs:complexType>
<xs:sequence>
<xs:element name="roles" type="aaf:role" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="permission">
<xs:complexContent>
<xs:extension base="aaf:permkey">
<xs:sequence>
<xs:element name="grantedRole" type="xs:string"/>
<xs:element name="createUser" type="xs:string"/>
<xs:element name="createTimestamp" type="xs:string"/>
<xs:element name="modifyUser" type="xs:string"/>
<xs:element name="modifyTimestamp" type="xs:string"/>
<xs:element name="grantingRole" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="permissions">
<xs:complexType>
<xs:sequence>
<xs:element name="permissions" type="aaf:permission" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="delg">
<xs:sequence>
<xs:element name="user" type="xs:string"/>
<xs:element name="delegate" type="xs:string"/>
<xs:element name="start" type="xs:date"/>
<xs:element name="end" type="xs:date"/>
</xs:sequence>
</xs:complexType>
<xs:element name="delgs">
<xs:complexType>
<xs:sequence>
<xs:element name="delgs" type="aaf:delg" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cred">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:string"/>
<xs:choice >
<xs:element name="password" type="xs:string" />
<xs:element name="cert" type = "xs:hexBinary" />
</xs:choice>
<xs:element name="start" type="xs:date" />
<xs:element name="end" type="xs:date" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
Approvals
-->
<xs:complexType name="approval">
<xs:sequence>
<xs:element name="user" type="xs:string"/>
<xs:element name="role" type="xs:string"/>
<xs:element name="status">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="approve"/>
<xs:enumeration value="reject"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="approvals">
<xs:complexType>
<xs:sequence>
<xs:element name="approvals" type="aaf:approval" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--
Users
-->
<xs:element name="users">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
|