1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Role v1.3.2                                                         -->
5<!--#                                                                                      -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8<!--# Copyright 2014-2024 DMTF.                                                            -->
9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################       -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16  </edmx:Reference>
17  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24    <edmx:Include Namespace="Resource.v1_0_0"/>
25  </edmx:Reference>
26  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Privileges_v1.xml">
27    <edmx:Include Namespace="Privileges"/>
28  </edmx:Reference>
29
30  <edmx:DataServices>
31
32    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role">
33      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34      <Annotation Term="Redfish.Language" String="en"/>
35
36      <EntityType Name="Role" BaseType="Resource.v1_0_0.Resource" Abstract="true">
37        <Annotation Term="OData.Description" String="The `Role` schema contains a Redfish role to use in conjunction with a manager account."/>
38        <Annotation Term="OData.LongDescription" String="This resource shall represent the Redfish role for the user account."/>
39        <Annotation Term="Capabilities.InsertRestrictions">
40          <Record>
41            <PropertyValue Property="Insertable" Bool="false"/>
42          </Record>
43        </Annotation>
44        <Annotation Term="Capabilities.UpdateRestrictions">
45          <Record>
46            <PropertyValue Property="Updatable" Bool="true"/>
47            <Annotation Term="OData.Description" String="Various privileges can be updated for roles."/>
48          </Record>
49        </Annotation>
50        <Annotation Term="Capabilities.DeleteRestrictions">
51          <Record>
52            <PropertyValue Property="Deletable" Bool="true"/>
53          </Record>
54        </Annotation>
55        <Annotation Term="Redfish.Uris">
56          <Collection>
57            <String>/redfish/v1/AccountService/Roles/{RoleId}</String>
58            <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/Roles/{RoleId}</String>
59          </Collection>
60        </Annotation>
61      </EntityType>
62    </Schema>
63
64    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_0">
65      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
66      <Annotation Term="Redfish.Release" String="1.0"/>
67
68      <EntityType Name="Role" BaseType="Role.Role">
69        <Property Name="IsPredefined" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
70          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
71          <Annotation Term="OData.Description" String="An indication of whether the role is predefined by Redfish or an OEM rather than a client-defined role."/>
72          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the role is predefined by Redfish or an OEM as contrasted with a client-defined role."/>
73        </Property>
74        <Property Name="AssignedPrivileges" Type="Collection(Privileges.PrivilegeType)" Nullable="false">
75          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
76          <Annotation Term="OData.Description" String="The Redfish privileges for this role."/>
77          <Annotation Term="OData.LongDescription" String="This property shall contain the Redfish privileges for this role.  For predefined roles, this property shall be read-only.  For custom roles, some implementations may prevent writing to this property."/>
78        </Property>
79        <Property Name="OemPrivileges" Type="Collection(Edm.String)" Nullable="false">
80          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
81          <Annotation Term="OData.Description" String="The OEM privileges for this role."/>
82          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM privileges for this role.  For predefined roles, this property shall be read-only.  For custom roles, some implementations may prevent writing to this property."/>
83        </Property>
84      </EntityType>
85    </Schema>
86
87    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_2">
88      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
89      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
90      <EntityType Name="Role" BaseType="Role.v1_0_0.Role"/>
91    </Schema>
92
93    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_3">
94      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
95      <Annotation Term="OData.Description" String="This version was created to change references to `PrivilegeType` to use the unversioned definition."/>
96      <EntityType Name="Role" BaseType="Role.v1_0_2.Role"/>
97    </Schema>
98
99    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_4">
100      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
101      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
102      <EntityType Name="Role" BaseType="Role.v1_0_3.Role"/>
103    </Schema>
104
105    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_5">
106      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
107      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
108      <EntityType Name="Role" BaseType="Role.v1_0_4.Role"/>
109    </Schema>
110
111    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_6">
112      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
113      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
114      <EntityType Name="Role" BaseType="Role.v1_0_5.Role"/>
115    </Schema>
116
117    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_7">
118      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
119      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
120      <EntityType Name="Role" BaseType="Role.v1_0_6.Role"/>
121    </Schema>
122
123    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_8">
124      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
125      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/>
126      <EntityType Name="Role" BaseType="Role.v1_0_7.Role"/>
127    </Schema>
128
129    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_9">
130      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
131      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
132      <EntityType Name="Role" BaseType="Role.v1_0_8.Role"/>
133    </Schema>
134
135    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_0">
136      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
137      <Annotation Term="Redfish.Release" String="2017.1"/>
138
139      <EntityType Name="Role" BaseType="Role.v1_0_2.Role">
140        <Property Name="Actions" Type="Role.v1_1_0.Actions" Nullable="false">
141          <Annotation Term="OData.Description" String="The available actions for this resource."/>
142          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
143        </Property>
144      </EntityType>
145
146      <ComplexType Name="Actions">
147        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
148        <Annotation Term="OData.Description" String="The available actions for this resource."/>
149        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
150        <Property Name="Oem" Type="Role.v1_1_0.OemActions" Nullable="false">
151          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
152          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
153        </Property>
154      </ComplexType>
155
156      <ComplexType Name="OemActions">
157        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
158        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
159        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
160      </ComplexType>
161    </Schema>
162
163    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_1">
164      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
165      <Annotation Term="OData.Description" String="This version was created to change references to `PrivilegeType` to use the unversioned definition."/>
166      <EntityType Name="Role" BaseType="Role.v1_1_0.Role"/>
167    </Schema>
168
169    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_2">
170      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
171      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
172      <EntityType Name="Role" BaseType="Role.v1_1_1.Role"/>
173    </Schema>
174
175    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_3">
176      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
177      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
178      <EntityType Name="Role" BaseType="Role.v1_1_2.Role"/>
179    </Schema>
180
181    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_4">
182      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
183      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
184      <EntityType Name="Role" BaseType="Role.v1_1_3.Role"/>
185    </Schema>
186
187    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_5">
188      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
189      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
190      <EntityType Name="Role" BaseType="Role.v1_1_4.Role"/>
191    </Schema>
192
193    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_6">
194      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
195      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/>
196      <EntityType Name="Role" BaseType="Role.v1_1_5.Role"/>
197    </Schema>
198
199    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_7">
200      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
201      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
202      <EntityType Name="Role" BaseType="Role.v1_1_6.Role"/>
203    </Schema>
204
205    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_0">
206      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
207      <Annotation Term="Redfish.Release" String="2017.2"/>
208
209      <EntityType Name="Role" BaseType="Role.v1_1_0.Role">
210        <Property Name="RoleId" Type="Edm.String" Nullable="false">
211          <Annotation Term="Redfish.RequiredOnCreate"/>
212          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
213          <Annotation Term="OData.Description" String="The name of the role."/>
214          <Annotation Term="OData.LongDescription" String="This property shall contain the string name of the role.  This property shall contain the same value as the `Id` property."/>
215        </Property>
216      </EntityType>
217    </Schema>
218
219    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_1">
220      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
221      <Annotation Term="OData.Description" String="This version was created to change references to `PrivilegeType` to use the unversioned definition."/>
222      <EntityType Name="Role" BaseType="Role.v1_2_0.Role"/>
223    </Schema>
224
225    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_2">
226      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
227      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
228      <EntityType Name="Role" BaseType="Role.v1_2_1.Role"/>
229    </Schema>
230
231    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_3">
232      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
233      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
234      <EntityType Name="Role" BaseType="Role.v1_2_2.Role"/>
235    </Schema>
236
237    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_4">
238      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
239      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
240      <EntityType Name="Role" BaseType="Role.v1_2_3.Role"/>
241    </Schema>
242
243    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_5">
244      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
245      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
246      <EntityType Name="Role" BaseType="Role.v1_2_4.Role"/>
247    </Schema>
248
249    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_6">
250      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
251      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/>
252      <EntityType Name="Role" BaseType="Role.v1_2_5.Role"/>
253    </Schema>
254
255    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_7">
256      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
257      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
258      <EntityType Name="Role" BaseType="Role.v1_2_6.Role"/>
259    </Schema>
260
261    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_3_0">
262      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
263      <Annotation Term="Redfish.Release" String="2020.4"/>
264
265      <EntityType Name="Role" BaseType="Role.v1_2_5.Role">
266        <Property Name="Restricted" Type="Edm.Boolean" Nullable="false">
267          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
268          <Annotation Term="OData.Description" String="An indication of whether use of the role is restricted."/>
269          <Annotation Term="OData.LongDescription" String="This property shall indicate whether use of the role is restricted by a service as defined by the 'Restricted roles and restricted privileges' clause of the Redfish Specification.  If this property is not present, the value shall be assumed to be `false`."/>
270        </Property>
271        <Property Name="AlternateRoleId" Type="Edm.String" Nullable="false">
272          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
273          <Annotation Term="OData.Description" String="An equivalent role to use when this role is restricted."/>
274          <Annotation Term="OData.LongDescription" String="This property shall contain a non-restricted `RoleId` intended to be used in its place when the `Restricted` property contains the value `true`."/>
275        </Property>
276      </EntityType>
277    </Schema>
278
279    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_3_1">
280      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
281      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/>
282      <EntityType Name="Role" BaseType="Role.v1_3_0.Role"/>
283    </Schema>
284
285    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_3_2">
286      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
287      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
288      <EntityType Name="Role" BaseType="Role.v1_3_1.Role"/>
289    </Schema>
290
291  </edmx:DataServices>
292</edmx:Edmx>
293