blob: d776629eac7d4a90a275459e9ce1c72dd6e179f2 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: Role v1.2.4 -->
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">
Ed Tanouscb103132019-10-08 11:34:22 -070036 <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"/>
Ed Tanouscb103132019-10-08 11:34:22 -070046 <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>
61
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"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060066 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070067
68 <EntityType Name="Role" BaseType="Role.Role">
Jason M. Billsea4aa752018-06-05 13:29:11 -070069 <Property Name="IsPredefined" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
70 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070071 <Annotation Term="OData.Description" String="An indication of whether the Role is a Redfish-predefined Role rather than a custom Redfish Role."/>
72 <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 -070073 </Property>
74 <Property Name="AssignedPrivileges" Type="Collection(Privileges.PrivilegeType)" Nullable="false">
75 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Ed Tanouscb103132019-10-08 11:34:22 -070076 <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 not allow writing to this property."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 </Property>
79 <Property Name="OemPrivileges" Type="Collection(Edm.String)" Nullable="false">
80 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Ed Tanouscb103132019-10-08 11:34:22 -070081 <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 not allow writing to this property."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070083 </Property>
84 </EntityType>
85
86 </Schema>
87
88 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_2">
89 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -070090 <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 -070091 <EntityType Name="Role" BaseType="Role.v1_0_0.Role"/>
92 </Schema>
93
94 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_3">
95 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
96 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/>
97 <EntityType Name="Role" BaseType="Role.v1_0_2.Role"/>
98 </Schema>
99
Ed Tanous530520e2019-01-02 13:41:37 -0800100 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_4">
101 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
102 <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."/>
103 <EntityType Name="Role" BaseType="Role.v1_0_3.Role"/>
104 </Schema>
105
Ed Tanouscb103132019-10-08 11:34:22 -0700106 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_5">
107 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
108 <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."/>
109 <EntityType Name="Role" BaseType="Role.v1_0_4.Role"/>
110 </Schema>
111
112 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_6">
113 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
114 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
115 <EntityType Name="Role" BaseType="Role.v1_0_5.Role"/>
116 </Schema>
117
Jason M. Billsea4aa752018-06-05 13:29:11 -0700118 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_0">
119 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600120 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700121 <EntityType Name="Role" BaseType="Role.v1_0_2.Role">
122 <Property Name="Actions" Type="Role.v1_1_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700123 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
124 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700125 </Property>
126 </EntityType>
127
128 <ComplexType Name="Actions">
129 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700130 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
131 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800132 <Property Name="Oem" Type="Role.v1_1_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700133 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
134 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800135 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700136 </ComplexType>
137
138 <ComplexType Name="OemActions">
139 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700140 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
141 <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 -0700142 </ComplexType>
143 </Schema>
144
145 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_1">
146 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
147 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/>
148 <EntityType Name="Role" BaseType="Role.v1_1_0.Role"/>
149 </Schema>
150
Ed Tanous530520e2019-01-02 13:41:37 -0800151 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_2">
152 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
153 <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."/>
154 <EntityType Name="Role" BaseType="Role.v1_1_1.Role"/>
155 </Schema>
156
Ed Tanouscb103132019-10-08 11:34:22 -0700157 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_3">
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 URI properties use the uri-reference format."/>
160 <EntityType Name="Role" BaseType="Role.v1_1_2.Role"/>
161 </Schema>
162
163 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_4">
164 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
165 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
166 <EntityType Name="Role" BaseType="Role.v1_1_3.Role"/>
167 </Schema>
168
Jason M. Billsea4aa752018-06-05 13:29:11 -0700169 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_0">
170 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600171 <Annotation Term="Redfish.Release" String="2017.2"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700172 <EntityType Name="Role" BaseType="Role.v1_1_0.Role">
173 <Property Name="RoleId" Type="Edm.String" Nullable="false">
174 <Annotation Term="Redfish.RequiredOnCreate"/>
175 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700176 <Annotation Term="OData.Description" String="The name of the Role."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700177 <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."/>
178 </Property>
179 </EntityType>
180 </Schema>
181
182 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_1">
183 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
184 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/>
185 <EntityType Name="Role" BaseType="Role.v1_2_0.Role"/>
186 </Schema>
187
Ed Tanous530520e2019-01-02 13:41:37 -0800188 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_2">
189 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
190 <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."/>
191 <EntityType Name="Role" BaseType="Role.v1_2_1.Role"/>
192 </Schema>
193
Ed Tanouscb103132019-10-08 11:34:22 -0700194 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_3">
195 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
196 <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."/>
197 <EntityType Name="Role" BaseType="Role.v1_2_2.Role"/>
198 </Schema>
199
200 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_4">
201 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
202 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
203 <EntityType Name="Role" BaseType="Role.v1_2_3.Role"/>
204 </Schema>
205
Jason M. Billsea4aa752018-06-05 13:29:11 -0700206 </edmx:DataServices>
207</edmx:Edmx>