Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 4 | <!--# Redfish Schema: Role v1.2.4 --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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 --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 8 | <!--# Copyright 2014-2020 DMTF. --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 46 | <Annotation Term="OData.Description" String="Various privileges can be updated for Roles."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 47 | </Record> |
| 48 | </Annotation> |
| 49 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 50 | <Record> |
| 51 | <PropertyValue Property="Deletable" Bool="false"/> |
| 52 | </Record> |
| 53 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 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> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 60 | </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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 66 | <Annotation Term="Redfish.Release" String="1.0"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 67 | |
| 68 | <EntityType Name="Role" BaseType="Role.Role"> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 69 | <Property Name="IsPredefined" Type="Edm.Boolean" Nullable="false" DefaultValue="false"> |
| 70 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 71 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 73 | </Property> |
| 74 | <Property Name="AssignedPrivileges" Type="Collection(Privileges.PrivilegeType)" Nullable="false"> |
| 75 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 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 not allow writing to this property."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 78 | </Property> |
| 79 | <Property Name="OemPrivileges" Type="Collection(Edm.String)" Nullable="false"> |
| 80 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 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 not allow writing to this property."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 83 | </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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 90 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 91 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 100 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 106 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 118 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_1_0"> |
| 119 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 120 | <Annotation Term="Redfish.Release" String="2017.1"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 121 | <EntityType Name="Role" BaseType="Role.v1_0_2.Role"> |
| 122 | <Property Name="Actions" Type="Role.v1_1_0.Actions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 123 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 125 | </Property> |
| 126 | </EntityType> |
| 127 | |
| 128 | <ComplexType Name="Actions"> |
| 129 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 130 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 132 | <Property Name="Oem" Type="Role.v1_1_0.OemActions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 133 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 135 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 136 | </ComplexType> |
| 137 | |
| 138 | <ComplexType Name="OemActions"> |
| 139 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 140 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 142 | </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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 151 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 157 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 169 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_2_0"> |
| 170 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 171 | <Annotation Term="Redfish.Release" String="2017.2"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 172 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 176 | <Annotation Term="OData.Description" String="The name of the Role."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 177 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 188 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 194 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 206 | </edmx:DataServices> |
| 207 | </edmx:Edmx> |