blob: 9d7d1ac9b3767e376463a3ff50046b786333e9a6 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Asmitha Karunanithi009c6452022-09-22 01:07:59 -05004<!--# Redfish Schema: Session v1.5.0 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
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 Tanoused761212022-09-23 15:03:29 -07008<!--# Copyright 2014-2022 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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">
Ed Tanoused761212022-09-23 15:03:29 -070033 <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 represent a session for a Redfish implementation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070035 <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"/>
Ed Tanoused761212022-09-23 15:03:29 -070048 <Annotation Term="OData.Description" String="Delete the Session resource to remove a session."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070049 </Record>
50 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080051 <Annotation Term="Redfish.Uris">
52 <Collection>
53 <String>/redfish/v1/SessionService/Sessions/{SessionId}</String>
54 </Collection>
55 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070056 </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"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060062 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070063
64 <EntityType Name="Session" BaseType="Session.Session">
65 <Property Name="UserName" Type="Edm.String">
66 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
67 <Annotation Term="Redfish.RequiredOnCreate"/>
Ed Tanoused761212022-09-23 15:03:29 -070068 <Annotation Term="OData.Description" String="The username for the account for this session."/>
69 <Annotation Term="OData.LongDescription" String="This property shall contain the username that matches an account recognized by the account service."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070070 </Property>
71 <Property Name="Password" Type="Edm.String">
72 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
73 <Annotation Term="Redfish.RequiredOnCreate"/>
Ed Tanouscb103132019-10-08 11:34:22 -070074 <Annotation Term="OData.Description" String="The password for this session. The value is `null` in responses."/>
75 <Annotation Term="OData.LongDescription" String="This property shall contain the password for this session. The value shall be `null` in responses."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070076 </Property>
77 </EntityType>
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 </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 Tanous530520e2019-01-02 13:41:37 -080092 <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
Ed Tanouscb103132019-10-08 11:34:22 -070098 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_5">
99 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
100 <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."/>
101 <EntityType Name="Session" BaseType="Session.v1_0_4.Session"/>
102 </Schema>
103
104 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_6">
105 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
106 <Annotation Term="OData.Description" String="This version was created to update the Password description. It was also created to update descriptions that this schema defines."/>
107 <EntityType Name="Session" BaseType="Session.v1_0_5.Session"/>
108 </Schema>
109
Ed Tanoused761212022-09-23 15:03:29 -0700110 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_0_7">
111 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
112 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
113 <EntityType Name="Session" BaseType="Session.v1_0_6.Session"/>
114 </Schema>
115
Jason M. Billsea4aa752018-06-05 13:29:11 -0700116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_0">
117 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600118 <Annotation Term="Redfish.Release" String="2017.1"/>
Ed Tanoused761212022-09-23 15:03:29 -0700119
Jason M. Billsea4aa752018-06-05 13:29:11 -0700120 <EntityType Name="Session" BaseType="Session.v1_0_3.Session">
121 <Property Name="Actions" Type="Session.v1_1_0.Actions" Nullable="false">
Ed Tanoused761212022-09-23 15:03:29 -0700122 <Annotation Term="OData.Description" String="The available actions for this resource."/>
123 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700124 </Property>
125 </EntityType>
126
127 <ComplexType Name="Actions">
128 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanoused761212022-09-23 15:03:29 -0700129 <Annotation Term="OData.Description" String="The available actions for this resource."/>
130 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800131 <Property Name="Oem" Type="Session.v1_1_0.OemActions" Nullable="false">
Ed Tanoused761212022-09-23 15:03:29 -0700132 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
133 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800134 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700135 </ComplexType>
136
137 <ComplexType Name="OemActions">
138 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanoused761212022-09-23 15:03:29 -0700139 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
140 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700141 </ComplexType>
142 </Schema>
143
Ed Tanous530520e2019-01-02 13:41:37 -0800144 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_1">
145 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
146 <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."/>
147 <EntityType Name="Session" BaseType="Session.v1_1_0.Session"/>
148 </Schema>
149
Ed Tanouscb103132019-10-08 11:34:22 -0700150 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_2">
151 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
152 <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."/>
153 <EntityType Name="Session" BaseType="Session.v1_1_1.Session"/>
154 </Schema>
155
156 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_3">
157 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
158 <Annotation Term="OData.Description" String="This version was created to update the Password description. It was also created to update descriptions that this schema defines."/>
159 <EntityType Name="Session" BaseType="Session.v1_1_2.Session"/>
160 </Schema>
161
Ed Tanoused761212022-09-23 15:03:29 -0700162 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_1_4">
163 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
164 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
165 <EntityType Name="Session" BaseType="Session.v1_1_3.Session"/>
166 </Schema>
167
Ed Tanouscb103132019-10-08 11:34:22 -0700168 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_2_0">
169 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
170 <Annotation Term="Redfish.Release" String="2019.1"/>
171
172 <EntityType Name="Session" BaseType="Session.v1_1_2.Session">
173 <Property Name="SessionType" Type="Session.v1_2_0.SessionTypes">
174 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
175 <Annotation Term="OData.Description" String="The active session type."/>
176 <Annotation Term="OData.LongDescription" String="This property shall represent the type of session that is currently active."/>
177 </Property>
178 <Property Name="OemSessionType" Type="Edm.String">
179 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
180 <Annotation Term="OData.Description" String="The active OEM-defined session type."/>
Ed Tanoused761212022-09-23 15:03:29 -0700181 <Annotation Term="OData.LongDescription" String="This property shall contain the OEM-specific session type that is currently active if SessionType contains `OEM`."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700182 </Property>
183 </EntityType>
184
185 <EnumType Name="SessionTypes">
186 <Member Name="HostConsole">
187 <Annotation Term="OData.Description" String="The host's console, which could be connected through Telnet, SSH, or other protocol."/>
188 </Member>
189 <Member Name="ManagerConsole">
190 <Annotation Term="OData.Description" String="The manager's console, which could be connected through Telnet, SSH, SM CLP, or other protocol."/>
191 </Member>
192 <Member Name="IPMI">
193 <Annotation Term="OData.Description" String="Intelligent Platform Management Interface."/>
194 </Member>
195 <Member Name="KVMIP">
196 <Annotation Term="OData.Description" String="Keyboard-Video-Mouse over IP Session."/>
197 </Member>
198 <Member Name="OEM">
Ed Tanoused761212022-09-23 15:03:29 -0700199 <Annotation Term="OData.Description" String="OEM type. For OEM session types, see the OemSessionType property."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700200 </Member>
201 <Member Name="Redfish">
202 <Annotation Term="OData.Description" String="A Redfish session."/>
203 </Member>
204 <Member Name="VirtualMedia">
205 <Annotation Term="OData.Description" String="Virtual media."/>
206 </Member>
207 <Member Name="WebUI">
208 <Annotation Term="OData.Description" String="A non-Redfish web user interface session, such as a graphical interface or another web-based protocol."/>
209 </Member>
210 </EnumType>
211 </Schema>
212
213 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_2_1">
214 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
215 <Annotation Term="OData.Description" String="This version was created to update the Password description. It was also created to update descriptions that this schema defines."/>
216 <EntityType Name="Session" BaseType="Session.v1_2_0.Session"/>
217 </Schema>
218
Ed Tanoused761212022-09-23 15:03:29 -0700219 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_2_2">
220 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
221 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
222 <EntityType Name="Session" BaseType="Session.v1_2_1.Session"/>
223 </Schema>
224
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500225 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_3_0">
226 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
227 <Annotation Term="Redfish.Release" String="2020.3"/>
228
229 <EntityType Name="Session" BaseType="Session.v1_2_1.Session">
230 <Property Name="ClientOriginIPAddress" Type="Edm.String">
231 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
232 <Annotation Term="OData.Description" String="The IP address of the client that created the session."/>
233 <Annotation Term="OData.LongDescription" String="This property shall contain the IP address of the client that created the session."/>
234 </Property>
235 </EntityType>
236 </Schema>
237
Ed Tanoused761212022-09-23 15:03:29 -0700238 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_3_1">
239 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
240 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
241 <EntityType Name="Session" BaseType="Session.v1_3_0.Session"/>
242 </Schema>
243
244 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_4_0">
245 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
246 <Annotation Term="Redfish.Release" String="2022.1"/>
247
248 <EntityType Name="Session" BaseType="Session.v1_3_1.Session">
249 <Property Name="CreatedTime" Type="Edm.DateTimeOffset">
250 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
251 <Annotation Term="OData.Description" String="The date and time when the session was created."/>
252 <Annotation Term="OData.LongDescription" String="This property shall contain the date and time when the session was created."/>
253 </Property>
254 </EntityType>
255 </Schema>
256
Asmitha Karunanithi009c6452022-09-22 01:07:59 -0500257 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Session.v1_5_0">
258 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
259 <Annotation Term="Redfish.Release" String="2022.2"/>
260
261 <EntityType Name="Session" BaseType="Session.v1_4_0.Session">
262 <Property Name="Context" Type="Edm.String">
263 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
264 <Annotation Term="OData.Description" String="A client-supplied string that is stored with the session."/>
265 <Annotation Term="OData.LongDescription" String="This property shall contain a client-supplied context that remains with the session through the session's lifetime."/>
266 </Property>
267 </EntityType>
268 </Schema>
269
Jason M. Billsea4aa752018-06-05 13:29:11 -0700270 </edmx:DataServices>
271</edmx:Edmx>