blob: 540742f6148ae583bbb9cf19187e989130a4988f [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills844b4152020-06-22 12:44:09 -05004<!--# Redfish Schema: Role v1.2.5 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2014-2020 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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
35 <EntityType Name="Role" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Gunnar Mills844b4152020-06-22 12:44:09 -050036 <Annotation Term="OData.Description" String="The Role schema contains a Redfish role to use in conjunction with a manager account."/>
37 <Annotation Term="OData.LongDescription" String="This resource represents the Redfish role for the user account."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070038 <Annotation Term="Capabilities.InsertRestrictions">
39 <Record>
40 <PropertyValue Property="Insertable" Bool="false"/>
41 </Record>
42 </Annotation>
43 <Annotation Term="Capabilities.UpdateRestrictions">
44 <Record>
45 <PropertyValue Property="Updatable" Bool="true"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050046 <Annotation Term="OData.Description" String="Various privileges can be updated for roles."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070047 </Record>
48 </Annotation>
49 <Annotation Term="Capabilities.DeleteRestrictions">
50 <Record>
51 <PropertyValue Property="Deletable" Bool="false"/>
52 </Record>
53 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080054 <Annotation Term="Redfish.Uris">
55 <Collection>
56 <String>/redfish/v1/AccountService/Roles/{RoleId}</String>
57 <String>/redfish/v1/Managers/{ManagerId}/RemoteAccountService/Roles/{RoleId}</String>
58 </Collection>
59 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070060 </EntityType>
Jason M. Billsea4aa752018-06-05 13:29:11 -070061 </Schema>
62
63 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_0">
64 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060065 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070066
67 <EntityType Name="Role" BaseType="Role.Role">
Jason M. Billsea4aa752018-06-05 13:29:11 -070068 <Property Name="IsPredefined" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050070 <Annotation Term="OData.Description" String="An indication of whether the role is a Redfish-predefined role rather than a custom Redfish role."/>
71 <Annotation Term="OData.LongDescription" String="This property shall indicate whether the role is a Redfish-predefined role rather than a custom Redfish role."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070072 </Property>
73 <Property Name="AssignedPrivileges" Type="Collection(Privileges.PrivilegeType)" Nullable="false">
74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050075 <Annotation Term="OData.Description" String="The Redfish privileges for this role."/>
76 <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 might prevent writing to this property."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070077 </Property>
78 <Property Name="OemPrivileges" Type="Collection(Edm.String)" Nullable="false">
79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050080 <Annotation Term="OData.Description" String="The OEM privileges for this role."/>
81 <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 might prevent writing to this property."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070082 </Property>
83 </EntityType>
84
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"/>
Ed Tanouscb103132019-10-08 11:34:22 -070089 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070090 <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
Ed Tanous530520e2019-01-02 13:41:37 -080099 <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
Ed Tanouscb103132019-10-08 11:34:22 -0700105 <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
Gunnar Mills844b4152020-06-22 12:44:09 -0500117 <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
Jason M. Billsea4aa752018-06-05 13:29:11 -0700123 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_0">
124 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600125 <Annotation Term="Redfish.Release" String="2017.1"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500126
Jason M. Billsea4aa752018-06-05 13:29:11 -0700127 <EntityType Name="Role" BaseType="Role.v1_0_2.Role">
128 <Property Name="Actions" Type="Role.v1_1_0.Actions" Nullable="false">
Gunnar Mills844b4152020-06-22 12:44:09 -0500129 <Annotation Term="OData.Description" String="The available actions for this resource."/>
130 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700131 </Property>
132 </EntityType>
133
134 <ComplexType Name="Actions">
135 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500136 <Annotation Term="OData.Description" String="The available actions for this resource."/>
137 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800138 <Property Name="Oem" Type="Role.v1_1_0.OemActions" Nullable="false">
Gunnar Mills844b4152020-06-22 12:44:09 -0500139 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
140 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800141 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700142 </ComplexType>
143
144 <ComplexType Name="OemActions">
145 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500146 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
147 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700148 </ComplexType>
149 </Schema>
150
151 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_1">
152 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
153 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/>
154 <EntityType Name="Role" BaseType="Role.v1_1_0.Role"/>
155 </Schema>
156
Ed Tanous530520e2019-01-02 13:41:37 -0800157 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_2">
158 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
159 <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."/>
160 <EntityType Name="Role" BaseType="Role.v1_1_1.Role"/>
161 </Schema>
162
Ed Tanouscb103132019-10-08 11:34:22 -0700163 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_3">
164 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
165 <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."/>
166 <EntityType Name="Role" BaseType="Role.v1_1_2.Role"/>
167 </Schema>
168
169 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_4">
170 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
171 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
172 <EntityType Name="Role" BaseType="Role.v1_1_3.Role"/>
173 </Schema>
174
Gunnar Mills844b4152020-06-22 12:44:09 -0500175 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_5">
176 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
177 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
178 <EntityType Name="Role" BaseType="Role.v1_1_4.Role"/>
179 </Schema>
180
Jason M. Billsea4aa752018-06-05 13:29:11 -0700181 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_0">
182 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600183 <Annotation Term="Redfish.Release" String="2017.2"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500184
Jason M. Billsea4aa752018-06-05 13:29:11 -0700185 <EntityType Name="Role" BaseType="Role.v1_1_0.Role">
186 <Property Name="RoleId" Type="Edm.String" Nullable="false">
187 <Annotation Term="Redfish.RequiredOnCreate"/>
188 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Mills844b4152020-06-22 12:44:09 -0500189 <Annotation Term="OData.Description" String="The name of the role."/>
190 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700191 </Property>
192 </EntityType>
193 </Schema>
194
195 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_1">
196 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
197 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/>
198 <EntityType Name="Role" BaseType="Role.v1_2_0.Role"/>
199 </Schema>
200
Ed Tanous530520e2019-01-02 13:41:37 -0800201 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_2">
202 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
203 <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."/>
204 <EntityType Name="Role" BaseType="Role.v1_2_1.Role"/>
205 </Schema>
206
Ed Tanouscb103132019-10-08 11:34:22 -0700207 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_3">
208 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
209 <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."/>
210 <EntityType Name="Role" BaseType="Role.v1_2_2.Role"/>
211 </Schema>
212
213 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_4">
214 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
215 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
216 <EntityType Name="Role" BaseType="Role.v1_2_3.Role"/>
217 </Schema>
218
Gunnar Mills844b4152020-06-22 12:44:09 -0500219 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_5">
220 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
221 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
222 <EntityType Name="Role" BaseType="Role.v1_2_4.Role"/>
223 </Schema>
224
Jason M. Billsea4aa752018-06-05 13:29:11 -0700225 </edmx:DataServices>
226</edmx:Edmx>