1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: Role v1.3.1 --> 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-2023 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 35 <EntityType Name="Role" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 36 <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."/> 38 <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"/> 46 <Annotation Term="OData.Description" String="Various privileges can be updated for roles."/> 47 </Record> 48 </Annotation> 49 <Annotation Term="Capabilities.DeleteRestrictions"> 50 <Record> 51 <PropertyValue Property="Deletable" Bool="true"/> 52 </Record> 53 </Annotation> 54 <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> 60 </EntityType> 61 </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"/> 65 <Annotation Term="Redfish.Release" String="1.0"/> 66 67 <EntityType Name="Role" BaseType="Role.Role"> 68 <Property Name="IsPredefined" Type="Edm.Boolean" Nullable="false" DefaultValue="false"> 69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 70 <Annotation Term="OData.Description" String="An indication of whether the role is predefined by Redfish or an OEM rather than a client-defined role."/> 71 <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."/> 72 </Property> 73 <Property Name="AssignedPrivileges" Type="Collection(Privileges.PrivilegeType)" Nullable="false"> 74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 75 <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 may prevent writing to this property."/> 77 </Property> 78 <Property Name="OemPrivileges" Type="Collection(Edm.String)" Nullable="false"> 79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 80 <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 may prevent writing to this property."/> 82 </Property> 83 </EntityType> 84 </Schema> 85 86 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_2"> 87 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 88 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> 89 <EntityType Name="Role" BaseType="Role.v1_0_0.Role"/> 90 </Schema> 91 92 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_3"> 93 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 94 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/> 95 <EntityType Name="Role" BaseType="Role.v1_0_2.Role"/> 96 </Schema> 97 98 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_4"> 99 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 100 <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."/> 101 <EntityType Name="Role" BaseType="Role.v1_0_3.Role"/> 102 </Schema> 103 104 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_5"> 105 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 106 <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."/> 107 <EntityType Name="Role" BaseType="Role.v1_0_4.Role"/> 108 </Schema> 109 110 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_6"> 111 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 112 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> 113 <EntityType Name="Role" BaseType="Role.v1_0_5.Role"/> 114 </Schema> 115 116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_7"> 117 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 118 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 119 <EntityType Name="Role" BaseType="Role.v1_0_6.Role"/> 120 </Schema> 121 122 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_8"> 123 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 124 <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/> 125 <EntityType Name="Role" BaseType="Role.v1_0_7.Role"/> 126 </Schema> 127 128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_0"> 129 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 130 <Annotation Term="Redfish.Release" String="2017.1"/> 131 132 <EntityType Name="Role" BaseType="Role.v1_0_2.Role"> 133 <Property Name="Actions" Type="Role.v1_1_0.Actions" Nullable="false"> 134 <Annotation Term="OData.Description" String="The available actions for this resource."/> 135 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 136 </Property> 137 </EntityType> 138 139 <ComplexType Name="Actions"> 140 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 141 <Annotation Term="OData.Description" String="The available actions for this resource."/> 142 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 143 <Property Name="Oem" Type="Role.v1_1_0.OemActions" Nullable="false"> 144 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 145 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 146 </Property> 147 </ComplexType> 148 149 <ComplexType Name="OemActions"> 150 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 151 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 152 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 153 </ComplexType> 154 </Schema> 155 156 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_1"> 157 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 158 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/> 159 <EntityType Name="Role" BaseType="Role.v1_1_0.Role"/> 160 </Schema> 161 162 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_2"> 163 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 164 <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."/> 165 <EntityType Name="Role" BaseType="Role.v1_1_1.Role"/> 166 </Schema> 167 168 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_3"> 169 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 170 <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."/> 171 <EntityType Name="Role" BaseType="Role.v1_1_2.Role"/> 172 </Schema> 173 174 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_4"> 175 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 176 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> 177 <EntityType Name="Role" BaseType="Role.v1_1_3.Role"/> 178 </Schema> 179 180 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_5"> 181 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 182 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 183 <EntityType Name="Role" BaseType="Role.v1_1_4.Role"/> 184 </Schema> 185 186 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_6"> 187 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 188 <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/> 189 <EntityType Name="Role" BaseType="Role.v1_1_5.Role"/> 190 </Schema> 191 192 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_0"> 193 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 194 <Annotation Term="Redfish.Release" String="2017.2"/> 195 196 <EntityType Name="Role" BaseType="Role.v1_1_0.Role"> 197 <Property Name="RoleId" Type="Edm.String" Nullable="false"> 198 <Annotation Term="Redfish.RequiredOnCreate"/> 199 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 200 <Annotation Term="OData.Description" String="The name of the role."/> 201 <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."/> 202 </Property> 203 </EntityType> 204 </Schema> 205 206 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_1"> 207 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 208 <Annotation Term="OData.Description" String="This version was created to change references to PrivilegeType to use the unversioned definition."/> 209 <EntityType Name="Role" BaseType="Role.v1_2_0.Role"/> 210 </Schema> 211 212 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_2"> 213 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 214 <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."/> 215 <EntityType Name="Role" BaseType="Role.v1_2_1.Role"/> 216 </Schema> 217 218 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_3"> 219 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 220 <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."/> 221 <EntityType Name="Role" BaseType="Role.v1_2_2.Role"/> 222 </Schema> 223 224 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_4"> 225 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 226 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> 227 <EntityType Name="Role" BaseType="Role.v1_2_3.Role"/> 228 </Schema> 229 230 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_5"> 231 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 232 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 233 <EntityType Name="Role" BaseType="Role.v1_2_4.Role"/> 234 </Schema> 235 236 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_6"> 237 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 238 <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/> 239 <EntityType Name="Role" BaseType="Role.v1_2_5.Role"/> 240 </Schema> 241 242 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_3_0"> 243 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 244 <Annotation Term="Redfish.Release" String="2020.4"/> 245 246 <EntityType Name="Role" BaseType="Role.v1_2_5.Role"> 247 <Property Name="Restricted" Type="Edm.Boolean" Nullable="false"> 248 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 249 <Annotation Term="OData.Description" String="An indication of whether use of the role is restricted."/> 250 <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`."/> 251 </Property> 252 <Property Name="AlternateRoleId" Type="Edm.String" Nullable="false"> 253 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 254 <Annotation Term="OData.Description" String="An equivalent role to use when this role is restricted."/> 255 <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`."/> 256 </Property> 257 </EntityType> 258 </Schema> 259 260 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_3_1"> 261 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 262 <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/> 263 <EntityType Name="Role" BaseType="Role.v1_3_0.Role"/> 264 </Schema> 265 266 </edmx:DataServices> 267</edmx:Edmx> 268