blob: 7ccea8021b1ec63522c93b5f17f6b42df6a5536c [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: Session v1.1.0-->
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-2017 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/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>
51 </EntityType>
52
53 </Schema>
54
55 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_0">
56 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
57
58 <EntityType Name="Session" BaseType="Session.Session">
59 <Property Name="UserName" Type="Edm.String">
60 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
61 <Annotation Term="Redfish.RequiredOnCreate"/>
62 <Annotation Term="OData.Description" String="The UserName for the account for this session."/>
63 <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."/>
64 </Property>
65 <Property Name="Password" Type="Edm.String">
66 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
67 <Annotation Term="Redfish.RequiredOnCreate"/>
68 <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."/>
69 <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."/>
70 </Property>
71 </EntityType>
72
73 </Schema>
74
75 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_2">
76 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
77 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
78 <EntityType Name="Session" BaseType="Session.v1_0_0.Session"/>
79 </Schema>
80
81 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_3">
82 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
83 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
84 <EntityType Name="Session" BaseType="Session.v1_0_2.Session"/>
85 </Schema>
86
87 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_0">
88 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
89 <EntityType Name="Session" BaseType="Session.v1_0_3.Session">
90 <Property Name="Actions" Type="Session.v1_1_0.Actions" Nullable="false">
91 <Annotation Term="OData.Description" String="The available actions for this resource."/>
92 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
93 </Property>
94 </EntityType>
95
96 <ComplexType Name="Actions">
97 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
98 <Annotation Term="OData.Description" String="The available actions for this resource."/>
99 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
100 <Property Name="Oem" Type="Session.v1_1_0.OemActions" Nullable="false"/>
101 </ComplexType>
102
103 <ComplexType Name="OemActions">
104 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
105 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
106 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
107 </ComplexType>
108 </Schema>
109
110 </edmx:DataServices>
111</edmx:Edmx>