<?xml version="1.0" encoding="UTF-8"?> | |
<!----> | |
<!--################################################################################ --> | |
<!--# Redfish Schema: ManagerAccount v1.0.3--> | |
<!--# --> | |
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> | |
<!--# available at http://www.dmtf.org/standards/redfish --> | |
<!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). --> | |
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> | |
<!--################################################################################ --> | |
<!----> | |
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> | |
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> | |
<edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> | |
</edmx:Reference> | |
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> | |
<edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> | |
</edmx:Reference> | |
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> | |
<edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> | |
</edmx:Reference> | |
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> | |
<edmx:Include Namespace="Resource"/> | |
<edmx:Include Namespace="Resource.v1_0_0"/> | |
</edmx:Reference> | |
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Role_v1.xml"> | |
<edmx:Include Namespace="Role"/> | |
</edmx:Reference> | |
<edmx:DataServices> | |
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ManagerAccount"> | |
<EntityType Name="ManagerAccount" BaseType="Resource.v1_0_0.Resource" Abstract="true"> | |
<Annotation Term="OData.Description" String="The user accounts, owned by a Manager, are defined in this resource. Changes to a Manager Account may affect the current Redfish service connection if this manager is responsible for the Redfish service."/> | |
<Annotation Term="OData.LongDescription" String="This resource shall be used to represent resources that represent the user accounts for the manager."/> | |
<Annotation Term="Capabilities.InsertRestrictions"> | |
<Record> | |
<PropertyValue Property="Insertable" Bool="false"/> | |
</Record> | |
</Annotation> | |
<Annotation Term="Capabilities.UpdateRestrictions"> | |
<Record> | |
<PropertyValue Property="Updatable" Bool="true"/> | |
<Annotation Term="OData.Description" String="Manager Accounts can be updated to change the password and other writable properties."/> | |
</Record> | |
</Annotation> | |
<Annotation Term="Capabilities.DeleteRestrictions"> | |
<Record> | |
<PropertyValue Property="Deletable" Bool="true"/> | |
<Annotation Term="OData.Description" String="Manager Accounts are removed with a Delete operation."/> | |
</Record> | |
</Annotation> | |
</EntityType> | |
</Schema> | |
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ManagerAccount.v1_0_0"> | |
<EntityType Name="ManagerAccount" BaseType="ManagerAccount.ManagerAccount"> | |
<Property Name="Password" Type="Edm.String"> | |
<Annotation Term="Redfish.RequiredOnCreate"/> | |
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> | |
<Annotation Term="OData.Description" String="This property is used with a PATCH or PUT to write the password for the account. This property is null on a GET."/> | |
<Annotation Term="OData.LongDescription" String="The value of this property shall be the password for this account. The value shall be null for GET requests."/> | |
</Property> | |
<Property Name="UserName" Type="Edm.String" Nullable="false"> | |
<Annotation Term="Redfish.RequiredOnCreate"/> | |
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> | |
<Annotation Term="OData.Description" String="This property contains the user name for the account."/> | |
<Annotation Term="OData.LongDescription" String="The value of this property shall be the user name for this account."/> | |
</Property> | |
<Property Name="RoleId" Type="Edm.String" Nullable="false"> | |
<Annotation Term="Redfish.RequiredOnCreate"/> | |
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> | |
<Annotation Term="OData.Description" String="This property contains the Role for this account."/> | |
<Annotation Term="OData.LongDescription" String="The value of this property shall be the ID of the Role resource that configured for this account."/> | |
</Property> | |
<Property Name="Locked" Type="Edm.Boolean" Nullable="false" DefaultValue="false"> | |
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> | |
<Annotation Term="OData.Description" String="This property indicates that the account has been auto-locked by the account service because the lockout threshold has been exceeded. When set to true, the account is locked. A user admin can write the property to false to manually unlock, or the account service will unlock it once the lockout duration period has passed."/> | |
<Annotation Term="OData.LongDescription" String="This property (when set to true) shall indicate that the account service has automatically locked the account due to the accountLockoutThreshold having been exceeded. If set to true, the account is locked. If set to false, the account is not locked. A user admin shall be able to write a false to the property to clear the lockout condition, prior to the lockout duration period."/> | |
</Property> | |
<Property Name="Enabled" Type="Edm.Boolean" Nullable="false" DefaultValue="true"> | |
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> | |
<Annotation Term="OData.Description" String="This property is used by a User Administrator to disable an account w/o having to delet the user information. When set to true, the user can login. When set to false, the account is administratively disabled and the user cannot login."/> | |
<Annotation Term="OData.LongDescription" String="This property shall enable (if set to true) or disable (if set to false) the account for future logins. The value of Enable over-rides the locked property."/> | |
</Property> | |
<Property Name="Links" Type="ManagerAccount.v1_0_0.Links" Nullable="false"> | |
<Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/> | |
<Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/> | |
</Property> | |
</EntityType> | |
<ComplexType Name="Links" BaseType="Resource.Links"> | |
<NavigationProperty Name="Role" Type="Role.Role" ContainsTarget="true" Nullable="false"> | |
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> | |
<Annotation Term="OData.Description" String="A reference to the Role object defining Privileges for this account--returned when the resource is read. The ID of the role is the same as property RoleId."/> | |
<Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a Role object instance, and should reference the object identified by property RoleId."/> | |
<Annotation Term="OData.AutoExpandReferences"/> | |
</NavigationProperty> | |
</ComplexType> | |
</Schema> | |
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ManagerAccount.v1_0_2"> | |
<Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> | |
<EntityType Name="ManagerAccount" BaseType="ManagerAccount.v1_0_0.ManagerAccount"/> | |
</Schema> | |
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ManagerAccount.v1_0_3"> | |
<Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> | |
<EntityType Name="ManagerAccount" BaseType="ManagerAccount.v1_0_2.ManagerAccount"/> | |
</Schema> | |
</edmx:DataServices> | |
</edmx:Edmx> |