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 | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | <!--# Redfish Schema: Session v1.1.1--> |
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 --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 8 | <!--# Copyright 2014-2018 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/Resource_v1.xml"> |
| 21 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 22 | </edmx:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 24 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 25 | </edmx:Reference> |
| 26 | |
| 27 | <edmx:DataServices> |
| 28 | |
| 29 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session"> |
| 30 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 31 | |
| 32 | <EntityType Name="Session" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 33 | <Annotation Term="OData.Description" String="The Session resource describes a single connection (session) between a client and a Redfish service instance."/> |
| 34 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a session for a Redfish implementation."/> |
| 35 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 36 | <Record> |
| 37 | <PropertyValue Property="Insertable" Bool="false"/> |
| 38 | </Record> |
| 39 | </Annotation> |
| 40 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 41 | <Record> |
| 42 | <PropertyValue Property="Updatable" Bool="false"/> |
| 43 | </Record> |
| 44 | </Annotation> |
| 45 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 46 | <Record> |
| 47 | <PropertyValue Property="Deletable" Bool="true"/> |
| 48 | <Annotation Term="OData.Description" String="Sessions can be removed by Deleting the Session resource."/> |
| 49 | </Record> |
| 50 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 51 | <Annotation Term="Redfish.Uris"> |
| 52 | <Collection> |
| 53 | <String>/redfish/v1/SessionService/Sessions/{SessionId}</String> |
| 54 | </Collection> |
| 55 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 56 | </EntityType> |
| 57 | |
| 58 | </Schema> |
| 59 | |
| 60 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0"> |
| 61 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 62 | |
| 63 | <EntityType Name="Session" BaseType="Session.Session"> |
| 64 | <Property Name="UserName" Type="Edm.String"> |
| 65 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 66 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 67 | <Annotation Term="OData.Description" String="The UserName for the account for this session."/> |
| 68 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the UserName that matches a registered account identified by a ManagerAccount resource registered with the Account Service."/> |
| 69 | </Property> |
| 70 | <Property Name="Password" Type="Edm.String"> |
| 71 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 72 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 73 | <Annotation Term="OData.Description" String="This property is used in a POST to specify a password when creating a new session. This property is null on a GET."/> |
| 74 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the password for this session. The value shall be null for GET requests."/> |
| 75 | </Property> |
| 76 | </EntityType> |
| 77 | |
| 78 | </Schema> |
| 79 | |
| 80 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_2"> |
| 81 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 82 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 83 | <EntityType Name="Session" BaseType="Session.v1_0_0.Session"/> |
| 84 | </Schema> |
| 85 | |
| 86 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_3"> |
| 87 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 88 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 89 | <EntityType Name="Session" BaseType="Session.v1_0_2.Session"/> |
| 90 | </Schema> |
| 91 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 92 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_4"> |
| 93 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 94 | <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."/> |
| 95 | <EntityType Name="Session" BaseType="Session.v1_0_3.Session"/> |
| 96 | </Schema> |
| 97 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 98 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_0"> |
| 99 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 100 | <EntityType Name="Session" BaseType="Session.v1_0_3.Session"> |
| 101 | <Property Name="Actions" Type="Session.v1_1_0.Actions" Nullable="false"> |
| 102 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 103 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 104 | </Property> |
| 105 | </EntityType> |
| 106 | |
| 107 | <ComplexType Name="Actions"> |
| 108 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 109 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 110 | <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] | 111 | <Property Name="Oem" Type="Session.v1_1_0.OemActions" Nullable="false"> |
| 112 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 113 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 114 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 115 | </ComplexType> |
| 116 | |
| 117 | <ComplexType Name="OemActions"> |
| 118 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 119 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 120 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 121 | </ComplexType> |
| 122 | </Schema> |
| 123 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 124 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_1"> |
| 125 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 126 | <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."/> |
| 127 | <EntityType Name="Session" BaseType="Session.v1_1_0.Session"/> |
| 128 | </Schema> |
| 129 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 130 | </edmx:DataServices> |
| 131 | </edmx:Edmx> |