blob: 71a34dda563df48c8fb8ea3d3c330e9c87b21a20 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Ed Tanoused761212022-09-23 15:03:29 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/Session.v1_4_0.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/Session",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanoused761212022-09-23 15:03:29 -07005 "copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
Ed Tanous530520e2019-01-02 13:41:37 -08007 "Actions": {
8 "additionalProperties": false,
Ed Tanoused761212022-09-23 15:03:29 -07009 "description": "The available actions for this resource.",
10 "longDescription": "This type shall contain the available actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -080013 "description": "This property shall specify a valid odata or Redfish property.",
Ed Tanous118b1c72018-09-13 13:45:51 -070014 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
Ed Tanous530520e2019-01-02 13:41:37 -080022 ]
Ed Tanous118b1c72018-09-13 13:45:51 -070023 }
24 },
Ed Tanous530520e2019-01-02 13:41:37 -080025 "properties": {
26 "Oem": {
27 "$ref": "#/definitions/OemActions",
Ed Tanoused761212022-09-23 15:03:29 -070028 "description": "The available OEM-specific actions for this resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
Ed Tanouscb103132019-10-08 11:34:22 -070030 "versionAdded": "v1_1_0"
Ed Tanous530520e2019-01-02 13:41:37 -080031 }
32 },
33 "type": "object"
34 },
35 "OemActions": {
36 "additionalProperties": true,
Ed Tanoused761212022-09-23 15:03:29 -070037 "description": "The available OEM-specific actions for this resource.",
38 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Ed Tanous530520e2019-01-02 13:41:37 -080039 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070040 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -080041 "description": "This property shall specify a valid odata or Redfish property.",
42 "type": [
43 "array",
44 "boolean",
45 "integer",
46 "number",
47 "null",
48 "object",
49 "string"
50 ]
51 }
52 },
53 "properties": {},
54 "type": "object"
55 },
56 "Session": {
Ed Tanous118b1c72018-09-13 13:45:51 -070057 "additionalProperties": false,
Ed Tanoused761212022-09-23 15:03:29 -070058 "description": "The Session resource describes a single connection (session) between a client and a Redfish service instance.",
59 "longDescription": "This resource shall represent a session for a Redfish implementation.",
Ed Tanous530520e2019-01-02 13:41:37 -080060 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070061 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -080062 "description": "This property shall specify a valid odata or Redfish property.",
63 "type": [
64 "array",
65 "boolean",
66 "integer",
67 "number",
68 "null",
69 "object",
70 "string"
71 ]
72 }
73 },
Ed Tanous118b1c72018-09-13 13:45:51 -070074 "properties": {
75 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -070076 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -080077 },
78 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -070079 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070080 },
81 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -070082 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070083 },
84 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -070085 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070086 },
Ed Tanous530520e2019-01-02 13:41:37 -080087 "Actions": {
88 "$ref": "#/definitions/Actions",
Ed Tanoused761212022-09-23 15:03:29 -070089 "description": "The available actions for this resource.",
90 "longDescription": "This property shall contain the available actions for this resource.",
Ed Tanouscb103132019-10-08 11:34:22 -070091 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070092 },
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050093 "ClientOriginIPAddress": {
94 "description": "The IP address of the client that created the session.",
95 "longDescription": "This property shall contain the IP address of the client that created the session.",
96 "readonly": true,
97 "type": [
98 "string",
99 "null"
100 ],
101 "versionAdded": "v1_3_0"
102 },
Ed Tanoused761212022-09-23 15:03:29 -0700103 "CreatedTime": {
104 "description": "The date and time when the session was created.",
105 "format": "date-time",
106 "longDescription": "This property shall contain the date and time when the session was created.",
107 "readonly": true,
108 "type": [
109 "string",
110 "null"
111 ],
112 "versionAdded": "v1_4_0"
113 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700114 "Description": {
115 "anyOf": [
Ed Tanous530520e2019-01-02 13:41:37 -0800116 {
117 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
118 },
119 {
120 "type": "null"
121 }
Ed Tanous118b1c72018-09-13 13:45:51 -0700122 ],
123 "readonly": true
124 },
Ed Tanous530520e2019-01-02 13:41:37 -0800125 "Id": {
126 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
127 "readonly": true
128 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700129 "Name": {
130 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
131 "readonly": true
132 },
Ed Tanous530520e2019-01-02 13:41:37 -0800133 "Oem": {
134 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700135 "description": "The OEM extension property.",
136 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
137 },
138 "OemSessionType": {
139 "description": "The active OEM-defined session type.",
Ed Tanoused761212022-09-23 15:03:29 -0700140 "longDescription": "This property shall contain the OEM-specific session type that is currently active if SessionType contains `OEM`.",
Ed Tanouscb103132019-10-08 11:34:22 -0700141 "readonly": true,
142 "type": [
143 "string",
144 "null"
145 ],
146 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700147 },
148 "Password": {
Ed Tanouscb103132019-10-08 11:34:22 -0700149 "description": "The password for this session. The value is `null` in responses.",
150 "longDescription": "This property shall contain the password for this session. The value shall be `null` in responses.",
Ed Tanous530520e2019-01-02 13:41:37 -0800151 "readonly": true,
Ed Tanous118b1c72018-09-13 13:45:51 -0700152 "type": [
153 "string",
154 "null"
Ed Tanous530520e2019-01-02 13:41:37 -0800155 ]
Ed Tanous118b1c72018-09-13 13:45:51 -0700156 },
Ed Tanouscb103132019-10-08 11:34:22 -0700157 "SessionType": {
158 "anyOf": [
159 {
160 "$ref": "#/definitions/SessionTypes"
161 },
162 {
163 "type": "null"
164 }
165 ],
166 "description": "The active session type.",
167 "longDescription": "This property shall represent the type of session that is currently active.",
168 "readonly": true,
169 "versionAdded": "v1_2_0"
170 },
Ed Tanous530520e2019-01-02 13:41:37 -0800171 "UserName": {
Ed Tanoused761212022-09-23 15:03:29 -0700172 "description": "The username for the account for this session.",
173 "longDescription": "This property shall contain the username that matches an account recognized by the account service.",
Ed Tanous530520e2019-01-02 13:41:37 -0800174 "readonly": true,
175 "type": [
176 "string",
177 "null"
178 ]
Ed Tanous118b1c72018-09-13 13:45:51 -0700179 }
180 },
181 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800182 "@odata.id",
183 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700184 "Id",
185 "Name"
186 ],
187 "requiredOnCreate": [
188 "UserName",
189 "Password"
190 ],
Ed Tanous530520e2019-01-02 13:41:37 -0800191 "type": "object"
Ed Tanouscb103132019-10-08 11:34:22 -0700192 },
193 "SessionTypes": {
194 "enum": [
195 "HostConsole",
196 "ManagerConsole",
197 "IPMI",
198 "KVMIP",
199 "OEM",
200 "Redfish",
201 "VirtualMedia",
202 "WebUI"
203 ],
204 "enumDescriptions": {
205 "HostConsole": "The host's console, which could be connected through Telnet, SSH, or other protocol.",
206 "IPMI": "Intelligent Platform Management Interface.",
207 "KVMIP": "Keyboard-Video-Mouse over IP Session.",
208 "ManagerConsole": "The manager's console, which could be connected through Telnet, SSH, SM CLP, or other protocol.",
Ed Tanoused761212022-09-23 15:03:29 -0700209 "OEM": "OEM type. For OEM session types, see the OemSessionType property.",
Ed Tanouscb103132019-10-08 11:34:22 -0700210 "Redfish": "A Redfish session.",
211 "VirtualMedia": "Virtual media.",
212 "WebUI": "A non-Redfish web user interface session, such as a graphical interface or another web-based protocol."
213 },
214 "type": "string"
Ed Tanous118b1c72018-09-13 13:45:51 -0700215 }
216 },
Ed Tanous530520e2019-01-02 13:41:37 -0800217 "owningEntity": "DMTF",
Ed Tanoused761212022-09-23 15:03:29 -0700218 "release": "2022.1",
219 "title": "#Session.v1_4_0.Session"
Ed Tanous530520e2019-01-02 13:41:37 -0800220}