blob: 67a501e6e9af99f0ea096a2ce19b138766b31c11 [file] [log] [blame]
Ed Tanous683f7272018-07-26 12:47:19 -07001{
2 "$ref": "#/definitions/ServiceRoot",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0.json",
4 "copyright": "Copyright 2014-2018 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5 "definitions": {
6 "Expand": {
7 "additionalProperties": false,
8 "description": "Contains information about the use of $expand in the service.",
9 "longDescription": "This type, as described by the Redfish Specification, shall contain information about the support of the $expand query parameter by the service.",
10 "patternProperties": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "number",
17 "null",
18 "object",
19 "string"
20 ]
21 }
22 },
23 "properties": {
24 "ExpandAll": {
25 "description": "This indicates whether the expand support of asterisk (expand all entries) is supported.",
26 "longDescription": "The value of this property shall be a boolean indicating whether this service supports the use of asterisk (expand all entries) as a value for the expand query parameter as described by the specification.",
27 "readonly": true,
28 "type": "boolean"
29 },
30 "Levels": {
31 "description": "This indicates whether the expand support of the $levels qualifier is supported by the service.",
32 "longDescription": "The value of this property shall be a boolean indicating whether this service supports the use of $levels as a value for the expand query parameter as described by the specification.",
33 "readonly": true,
34 "type": "boolean"
35 },
36 "Links": {
37 "description": "This indicates whether the expand support of tilde (expand only entries in the Links section) is supported.",
38 "longDescription": "The value of this property shall be a boolean indicating whether this service supports the use of tilde (expand only entries in the Links section) as a value for the expand query parameter as described by the specification.",
39 "readonly": true,
40 "type": "boolean"
41 },
42 "MaxLevels": {
43 "description": "This indicates the maximum number value of the $levels qualifier in expand operations.",
44 "longDescription": "The value of this property shall be the maximum value of the $levels qualifier supported by the service and shall only be included if the value of the Levels property is true.",
45 "maximum": 6,
46 "minimum": 1,
47 "readonly": true,
48 "type": "number"
49 },
50 "NoLinks": {
51 "description": "This indicates whether the expand support of period (expand only entries not in the Links section) is supported.",
52 "longDescription": "The value of this property shall be a boolean indicating whether this service supports the use of period (expand only entries not in the Links section) as a value for the expand query parameter as described by the specification.",
53 "readonly": true,
54 "type": "boolean"
55 }
56 },
57 "type": "object"
58 },
59 "Links": {
60 "additionalProperties": false,
61 "description": "Contains references to other resources that are related to this resource.",
62 "longDescription": "This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.",
63 "patternProperties": {
64 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
65 "description": "This property shall specify a valid odata or Redfish property.",
66 "type": [
67 "array",
68 "boolean",
69 "number",
70 "null",
71 "object",
72 "string"
73 ]
74 }
75 },
76 "properties": {
77 "Oem": {
78 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
79 "description": "Oem extension object.",
80 "longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
81 },
82 "Sessions": {
83 "$ref": "http://redfish.dmtf.org/schemas/v1/SessionCollection.json#/definitions/SessionCollection",
84 "description": "Link to a collection of Sessions.",
85 "longDescription": "This property shall contain the link to a collection of Sessions.",
86 "readonly": true
87 }
88 },
89 "required": [
90 "Sessions"
91 ],
92 "type": "object"
93 },
94 "ProtocolFeaturesSupported": {
95 "additionalProperties": false,
96 "description": "Contains information about protocol features supported by the service.",
97 "longDescription": "This type contains information about protocol features supported by the service.",
98 "patternProperties": {
99 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
100 "description": "This property shall specify a valid odata or Redfish property.",
101 "type": [
102 "array",
103 "boolean",
104 "number",
105 "null",
106 "object",
107 "string"
108 ]
109 }
110 },
111 "properties": {
112 "ExpandQuery": {
113 "$ref": "#/definitions/Expand",
114 "description": "Contains information about the use of $expand in the service.",
115 "longDescription": "This type, as described by the Redfish Specification, shall contain information about the support of the $expand query parameter by the service."
116 },
117 "FilterQuery": {
118 "description": "This indicates whether the filter query parameter is supported.",
119 "longDescription": "The value of this property shall be a boolean indicating whether this service supports the use of th filter query parameter as described by the specification.",
120 "readonly": true,
121 "type": "boolean"
122 },
123 "SelectQuery": {
124 "description": "This indicates whether the select query parameter is supported.",
125 "longDescription": "The value of this property shall be a boolean indicating whether this service supports the use of th select query parameter as described by the specification.",
126 "readonly": true,
127 "type": "boolean"
128 }
129 },
130 "type": "object"
131 },
132 "ServiceRoot": {
133 "additionalProperties": false,
134 "description": "This object represents the root Redfish service.",
135 "longDescription": "This object represents the root Redfish service. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification.",
136 "patternProperties": {
137 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
138 "description": "This property shall specify a valid odata or Redfish property.",
139 "type": [
140 "array",
141 "boolean",
142 "number",
143 "null",
144 "object",
145 "string"
146 ]
147 }
148 },
149 "properties": {
150 "@odata.context": {
151 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/context"
152 },
153 "@odata.etag": {
154 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/etag"
155 },
156 "@odata.id": {
157 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/id"
158 },
159 "@odata.type": {
160 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/type"
161 },
162 "AccountService": {
163 "$ref": "http://redfish.dmtf.org/schemas/v1/AccountService.json#/definitions/AccountService",
164 "description": "This is a link to the Account Service.",
165 "longDescription": "The classes structure shall only contain a reference to a resource that complies to the AccountService schema.",
166 "readonly": true
167 },
168 "Chassis": {
169 "$ref": "http://redfish.dmtf.org/schemas/v1/ChassisCollection.json#/definitions/ChassisCollection",
170 "description": "This is a link to a collection of Chassis.",
171 "longDescription": "This object shall only contain a reference to a collection of resources that comply to the Chassis schema.",
172 "readonly": true
173 },
174 "CompositionService": {
175 "$ref": "http://redfish.dmtf.org/schemas/v1/CompositionService.json#/definitions/CompositionService",
176 "description": "This is a link to the CompositionService.",
177 "longDescription": "The classes structure shall only contain a reference to a resource that complies to the CompositionService schema.",
178 "readonly": true
179 },
180 "Description": {
181 "anyOf": [
182 {
183 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
184 },
185 {
186 "type": "null"
187 }
188 ],
189 "readonly": true
190 },
191 "EventService": {
192 "$ref": "http://redfish.dmtf.org/schemas/v1/EventService.json#/definitions/EventService",
193 "description": "This is a link to the EventService.",
194 "longDescription": "The classes structure shall only contain a reference to a resource that complies to the EventService schema.",
195 "readonly": true
196 },
197 "Fabrics": {
198 "$ref": "http://redfish.dmtf.org/schemas/v1/FabricCollection.json#/definitions/FabricCollection",
199 "description": "A link to a collection of all fabric entities.",
200 "longDescription": "The referenced collection shall contain references to all Fabric instances.",
201 "readonly": true
202 },
203 "Id": {
204 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
205 "readonly": true
206 },
207 "JsonSchemas": {
208 "$ref": "http://redfish.dmtf.org/schemas/v1/JsonSchemaFileCollection.json#/definitions/JsonSchemaFileCollection",
209 "description": "This is a link to a collection of Json-Schema files.",
210 "longDescription": "This object shall only contain a reference to a collection of resources that comply to the SchemaFile schema where the files are Json-Schema files.",
211 "readonly": true
212 },
213 "Links": {
214 "$ref": "#/definitions/Links",
215 "description": "Contains references to other resources that are related to this resource.",
216 "longDescription": "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."
217 },
218 "Managers": {
219 "$ref": "http://redfish.dmtf.org/schemas/v1/ManagerCollection.json#/definitions/ManagerCollection",
220 "description": "This is a link to a collection of Managers.",
221 "longDescription": "This object shall only contain a reference to a collection of resources that comply to the Managers schema.",
222 "readonly": true
223 },
224 "Name": {
225 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
226 "readonly": true
227 },
228 "Oem": {
229 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
230 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
231 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
232 },
233 "Product": {
234 "description": "The product associated with this Redfish service.",
235 "longDescription": "The value of this string shall include the name of the product represented by this Redfish service.",
236 "readonly": true,
237 "type": "string"
238 },
239 "ProtocolFeaturesSupported": {
240 "$ref": "#/definitions/ProtocolFeaturesSupported",
241 "description": "Contains information about protocol features supported by the service.",
242 "longDescription": "This type contains information about protocol features supported by the service."
243 },
244 "RedfishVersion": {
245 "description": "The version of the Redfish service.",
246 "longDescription": "The value of this string shall represent the version of the Redfish service. The format of this string shall be of the format majorversion.minorversion.errata in compliance with Protocol Version section of the Redfish specification.",
247 "pattern": "^\\d+\\.\\d+\\.\\d+$",
248 "readonly": true,
249 "type": "string"
250 },
251 "Registries": {
252 "$ref": "http://redfish.dmtf.org/schemas/v1/MessageRegistryFileCollection.json#/definitions/MessageRegistryFileCollection",
253 "description": "This is a link to a collection of Registries.",
254 "longDescription": "This object shall contain a reference to Message Registry.",
255 "readonly": true
256 },
257 "SessionService": {
258 "$ref": "http://redfish.dmtf.org/schemas/v1/SessionService.json#/definitions/SessionService",
259 "description": "This is a link to the Sessions Service.",
260 "longDescription": "The classes structure shall only contain a reference to a resource that complies to the SessionService schema.",
261 "readonly": true
262 },
263 "StorageServices": {
264 "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageServiceCollection.json#/definitions/StorageServiceCollection",
265 "description": "A link to a collection of all storage service entities.",
266 "longDescription": "The referenced collection shall contain references to all StorageService instances.",
267 "readonly": true
268 },
269 "StorageSystems": {
270 "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageSystemCollection.json#/definitions/StorageSystemCollection",
271 "description": "This is a link to a collection of storage systems.",
272 "longDescription": "The referenced collection shall contain computer systems that act as storage servers. The HostingRoles attribute of each such computer system shall have an entry for StorageServer.",
273 "readonly": true
274 },
275 "Systems": {
276 "$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystemCollection.json#/definitions/ComputerSystemCollection",
277 "description": "This is a link to a collection of Systems.",
278 "longDescription": "This object shall only contain a reference to a collection of resources that comply to the Systems schema.",
279 "readonly": true
280 },
281 "Tasks": {
282 "$ref": "http://redfish.dmtf.org/schemas/v1/TaskService.json#/definitions/TaskService",
283 "description": "This is a link to the Task Service.",
284 "longDescription": "The classes structure shall only contain a reference to a resource that complies to the TaskService schema.",
285 "readonly": true
286 },
287 "UUID": {
288 "anyOf": [
289 {
290 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID"
291 },
292 {
293 "type": "null"
294 }
295 ],
296 "description": "Unique identifier for a service instance. When SSDP is used, this value should be an exact match of the UUID value returned in a 200OK from an SSDP M-SEARCH request during discovery.",
297 "longDescription": "The value of this string shall represent the id of the Redfish service instance. The format of this string shall be a 32-byte value in the form 8-4-4-4-12. If SSDP is used, this value shall be an exact match of the UUID value returned in a 200OK from an SSDP M-SEARCH request during discovery. RFC4122 describes methods that can be used to create a UUID value. The value should be considered to be opaque. Client software should only treat the overall value as a universally unique identifier and should not interpret any sub-fields within the UUID.",
298 "readonly": true
299 },
300 "UpdateService": {
301 "$ref": "http://redfish.dmtf.org/schemas/v1/UpdateService.json#/definitions/UpdateService",
302 "description": "This is a link to the UpdateService.",
303 "longDescription": "The classes structure shall only contain a reference to a resource that complies to the UpdateService schema.",
304 "readonly": true
305 }
306 },
307 "required": [
308 "Links",
309 "Id",
310 "Name"
311 ],
312 "type": "object"
313 }
314 },
315 "owningEntity": "DMTF",
316 "title": "#ServiceRoot.v1_3_1.ServiceRoot"
317}