Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: Role v1.0.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-2016 Distributed Management Task Force, Inc. (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.v1_0_0"/>
|
| 28 | </edmx:Reference>
|
| 29 |
|
| 30 | <edmx:DataServices>
|
| 31 |
|
| 32 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role">
|
| 33 |
|
| 34 | <EntityType Name="Role" BaseType="Resource.v1_0_0.Resource" Abstract="true">
|
| 35 | <Annotation Term="OData.Description" String="This schema defines a user role to be used in conjunction with a manager account."/>
|
| 36 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent resources that represent the user role for the user account."/>
|
| 37 | <Annotation Term="Capabilities.InsertRestrictions">
|
| 38 | <Record>
|
| 39 | <PropertyValue Property="Insertable" Bool="false"/>
|
| 40 | </Record>
|
| 41 | </Annotation>
|
| 42 | <Annotation Term="Capabilities.UpdateRestrictions">
|
| 43 | <Record>
|
| 44 | <PropertyValue Property="Updatable" Bool="true"/>
|
| 45 | <Annotation Term="OData.Description" String="Roles can be updated to change various priveleges."/>
|
| 46 | </Record>
|
| 47 | </Annotation>
|
| 48 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 49 | <Record>
|
| 50 | <PropertyValue Property="Deletable" Bool="false"/>
|
| 51 | </Record>
|
| 52 | </Annotation>
|
| 53 | </EntityType>
|
| 54 |
|
| 55 | </Schema>
|
| 56 |
|
| 57 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_0">
|
| 58 |
|
| 59 | <EntityType Name="Role" BaseType="Role.Role">
|
| 60 | <Annotation Term="OData.Description" String="This resource defines a user role to be used in conjunction with a Manager Account."/>
|
| 61 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent resources that represent the user role for the user account."/>
|
| 62 | <Property Name="IsPredefined" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
|
| 63 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 64 | <Annotation Term="OData.Description" String="This property is used to indicate if the Role is one of the Redfish Predefined Roles vs a Custom role."/>
|
| 65 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate if the role is a predefined role. ."/>
|
| 66 | </Property>
|
| 67 | <Property Name="AssignedPrivileges" Type="Collection(Privileges.v1_0_0.PrivilegeType)" Nullable="false">
|
| 68 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 69 | <Annotation Term="OData.Description" String="The redfish privileges that this role includes."/>
|
| 70 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the redfish privileges that the role includes. For pre-defined roles, this property shall be readOnly. For custom roles some implementations may not allow writing this property."/>
|
| 71 | </Property>
|
| 72 | <Property Name="OemPrivileges" Type="Collection(Edm.String)" Nullable="false">
|
| 73 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 74 | <Annotation Term="OData.Description" String="The OEM privileges that this role includes."/>
|
| 75 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the OEM privileges that this role includes. For pre-defined roles, this property shall be readOnly. For custom roles some implementations may not allow writing this property."/>
|
| 76 | </Property>
|
| 77 | </EntityType>
|
| 78 |
|
| 79 | </Schema>
|
| 80 |
|
| 81 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Role.v1_0_2">
|
| 82 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 83 | <EntityType Name="Role" BaseType="Role.v1_0_0.Role"/>
|
| 84 | </Schema>
|
| 85 |
|
| 86 | </edmx:DataServices>
|
| 87 | </edmx:Edmx>
|