blob: 4f7c224175ecbdb96e63f4f161be046f7e876336 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$ref": "#/definitions/PCIeDevice",
Ed Tanous530520e2019-01-02 13:41:37 -08003 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 "copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07005 "definitions": {
6 "Actions": {
7 "additionalProperties": false,
8 "description": "The available actions for this resource.",
9 "longDescription": "This type shall contain the available actions for this resource.",
10 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080011 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070012 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080016 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070017 "number",
18 "null",
19 "object",
20 "string"
21 ]
22 }
23 },
24 "properties": {
25 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080026 "$ref": "#/definitions/OemActions",
27 "description": "This property contains the available OEM specific actions for this resource.",
28 "longDescription": "This property shall contain any additional OEM actions for this resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070029 }
30 },
31 "type": "object"
32 },
33 "DeviceType": {
34 "enum": [
35 "SingleFunction",
36 "MultiFunction",
37 "Simulated"
38 ],
39 "enumDescriptions": {
40 "MultiFunction": "A multi-function PCIe device.",
41 "Simulated": "A PCIe device which is not currently physically present, but is being simulated by the PCIe infrastructure.",
42 "SingleFunction": "A single-function PCIe device."
43 },
44 "type": "string"
45 },
46 "Links": {
47 "additionalProperties": false,
48 "description": "Contains references to other resources that are related to this resource.",
49 "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.",
50 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080051 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070052 "description": "This property shall specify a valid odata or Redfish property.",
53 "type": [
54 "array",
55 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080056 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070057 "number",
58 "null",
59 "object",
60 "string"
61 ]
62 }
63 },
64 "properties": {
65 "Chassis": {
66 "description": "An array of references to the chassis in which the PCIe device is contained.",
67 "items": {
68 "$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
69 },
70 "longDescription": "The value of this property shall reference a resource of type Chassis that represents the physical container associated with this resource.",
71 "readonly": true,
72 "type": "array"
73 },
74 "Chassis@odata.count": {
Ed Tanous530520e2019-01-02 13:41:37 -080075 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070076 },
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 "PCIeFunctions": {
83 "description": "An array of references to PCIeFunctions exposed by this device.",
84 "items": {
85 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
86 },
87 "longDescription": "The value of this property shall be a reference to the resources that this device exposes and shall reference a resource of type PCIeFunction.",
88 "readonly": true,
89 "type": "array"
90 },
91 "PCIeFunctions@odata.count": {
Ed Tanous530520e2019-01-02 13:41:37 -080092 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count"
Ed Tanous118b1c72018-09-13 13:45:51 -070093 }
94 },
95 "type": "object"
96 },
97 "OemActions": {
98 "additionalProperties": true,
99 "description": "The available OEM specific actions for this resource.",
100 "longDescription": "This type shall contain any additional OEM actions for this resource.",
101 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800102 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700103 "description": "This property shall specify a valid odata or Redfish property.",
104 "type": [
105 "array",
106 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800107 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700108 "number",
109 "null",
110 "object",
111 "string"
112 ]
113 }
114 },
115 "properties": {},
116 "type": "object"
117 },
118 "PCIeDevice": {
119 "additionalProperties": false,
120 "description": "This is the schema definition for the PCIeDevice resource. It represents the properties of a PCIeDevice attached to a System.",
Ed Tanous530520e2019-01-02 13:41:37 -0800121 "longDescription": "This resource shall be used to represent a PCIeDevice attached to a System.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700122 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800123 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700124 "description": "This property shall specify a valid odata or Redfish property.",
125 "type": [
126 "array",
127 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800128 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700129 "number",
130 "null",
131 "object",
132 "string"
133 ]
134 }
135 },
136 "properties": {
137 "@odata.context": {
Ed Tanous530520e2019-01-02 13:41:37 -0800138 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context"
139 },
140 "@odata.etag": {
141 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -0700142 },
143 "@odata.id": {
Ed Tanous530520e2019-01-02 13:41:37 -0800144 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -0700145 },
146 "@odata.type": {
Ed Tanous530520e2019-01-02 13:41:37 -0800147 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -0700148 },
149 "Actions": {
150 "$ref": "#/definitions/Actions",
151 "description": "The available actions for this resource.",
152 "longDescription": "The Actions property shall contain the available actions for this resource."
153 },
154 "Assembly": {
155 "$ref": "http://redfish.dmtf.org/schemas/v1/Assembly.json#/definitions/Assembly",
156 "description": "A reference to the Assembly resource associated with this PCIe device.",
157 "longDescription": "The value of this property shall be a link to a resource of type Assembly.",
158 "readonly": true
159 },
160 "AssetTag": {
161 "description": "The user assigned asset tag for this PCIe device.",
162 "longDescription": "The value of this property shall be an identifying string used to track the PCIe device for inventory purposes.",
163 "readonly": false,
164 "type": [
165 "string",
166 "null"
167 ]
168 },
169 "Description": {
170 "anyOf": [
171 {
172 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
173 },
174 {
175 "type": "null"
176 }
177 ],
178 "readonly": true
179 },
180 "DeviceType": {
181 "$ref": "#/definitions/DeviceType",
182 "description": "The device type for this PCIe device.",
183 "longDescription": "The value of this property shall be the device type of the PCIe device such as SingleFunction or MultiFunction.",
184 "readonly": true
185 },
186 "FirmwareVersion": {
187 "description": "The version of firmware for this PCIe device.",
188 "longDescription": "The value of this property shall be the firmware version of the PCIe device.",
189 "readonly": true,
190 "type": [
191 "string",
192 "null"
193 ]
194 },
195 "Id": {
196 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
197 "readonly": true
198 },
199 "Links": {
200 "$ref": "#/definitions/Links",
Ed Tanous530520e2019-01-02 13:41:37 -0800201 "description": "The links object contains the links to other resources that are related to this resource.",
202 "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."
Ed Tanous118b1c72018-09-13 13:45:51 -0700203 },
204 "Manufacturer": {
205 "description": "This is the manufacturer of this PCIe device.",
206 "longDescription": "The value of this property shall be the name of the organization responsible for producing the PCIe device. This organization might be the entity from whom the PCIe device is purchased, but this is not necessarily true.",
207 "readonly": true,
208 "type": [
209 "string",
210 "null"
211 ]
212 },
213 "Model": {
214 "description": "This is the model number for the PCIe device.",
215 "longDescription": "The value of this property shall be the name by which the manufacturer generally refers to the PCIe device.",
216 "readonly": true,
217 "type": [
218 "string",
219 "null"
220 ]
221 },
222 "Name": {
223 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
224 "readonly": true
225 },
226 "Oem": {
227 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
228 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
229 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
230 },
Ed Tanous530520e2019-01-02 13:41:37 -0800231 "PCIeInterface": {
232 "anyOf": [
233 {
234 "$ref": "#/definitions/PCIeInterface"
235 },
236 {
237 "type": "null"
238 }
239 ],
240 "description": "The PCIe interface details for this PCIe device.",
241 "longDescription": "This object shall contain details on the PCIe interface used to connect this PCIe Device to its host or upstream switch."
242 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700243 "PartNumber": {
244 "description": "The part number for this PCIe device.",
245 "longDescription": "The value of this property shall be a part number assigned by the organization that is responsible for producing or manufacturing the PCIe device.",
246 "readonly": true,
247 "type": [
248 "string",
249 "null"
250 ]
251 },
252 "SKU": {
253 "description": "This is the SKU for this PCIe device.",
254 "longDescription": "The value of this property shall be the stock-keeping unit number for this PCIe device.",
255 "readonly": true,
256 "type": [
257 "string",
258 "null"
259 ]
260 },
261 "SerialNumber": {
262 "description": "The serial number for this PCIe device.",
263 "longDescription": "The value of this property shall be a manufacturer-allocated number used to identify the PCIe device.",
264 "readonly": true,
265 "type": [
266 "string",
267 "null"
268 ]
269 },
270 "Status": {
Ed Tanous530520e2019-01-02 13:41:37 -0800271 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
272 "description": "This property describes the status and health of the resource and its children.",
273 "longDescription": "This property shall contain any status or health properties of the resource."
Ed Tanous118b1c72018-09-13 13:45:51 -0700274 }
275 },
276 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800277 "@odata.id",
278 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700279 "Id",
280 "Name"
281 ],
282 "type": "object"
Ed Tanous530520e2019-01-02 13:41:37 -0800283 },
284 "PCIeInterface": {
285 "additionalProperties": false,
286 "description": "This is the definition for a PCI Interface object.",
287 "longDescription": "These properties shall be the definition for a PCIe Interface for a Redfish implementation.",
288 "patternProperties": {
289 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
290 "description": "This property shall specify a valid odata or Redfish property.",
291 "type": [
292 "array",
293 "boolean",
294 "integer",
295 "number",
296 "null",
297 "object",
298 "string"
299 ]
300 }
301 },
302 "properties": {
303 "LanesInUse": {
304 "description": "This is the number of PCIe lanes in use by this device.",
305 "longDescription": "The value of this property shall be the number of PCIe lanes in use by this device, which shall be equal or less than the value of MaxLanes.",
306 "maximum": 32,
307 "readonly": true,
308 "type": [
309 "integer",
310 "null"
311 ]
312 },
313 "MaxLanes": {
314 "description": "This is the number of PCIe lanes supported by this device.",
315 "longDescription": "The value of this property shall be the maximum number of PCIe lanes supported by this device.",
316 "maximum": 32,
317 "readonly": true,
318 "type": [
319 "integer",
320 "null"
321 ]
322 },
323 "MaxPCIeType": {
324 "anyOf": [
325 {
326 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes"
327 },
328 {
329 "type": "null"
330 }
331 ],
332 "description": "The highest version of the PCIe specification supported by this device.",
333 "longDescription": "The value of this property shall be the maximum PCIe specification that this device supports.",
334 "readonly": true
335 },
336 "Oem": {
337 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
338 "description": "Oem extension object.",
339 "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."
340 },
341 "PCIeType": {
342 "anyOf": [
343 {
344 "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.json#/definitions/PCIeTypes"
345 },
346 {
347 "type": "null"
348 }
349 ],
350 "description": "The version of the PCIe specification in use by this device.",
351 "longDescription": "The value of this property shall be the negotiated PCIe interface version in use by this device.",
352 "readonly": true
353 }
354 },
355 "type": "object"
356 },
357 "PCIeTypes": {
358 "enum": [
359 "Gen1",
360 "Gen2",
361 "Gen3",
362 "Gen4",
363 "Gen5"
364 ],
365 "enumDescriptions": {
366 "Gen1": "A PCIe v1.0 slot.",
367 "Gen2": "A PCIe v2.0 slot.",
368 "Gen3": "A PCIe v3.0 slot.",
369 "Gen4": "A PCIe v4.0 slot.",
370 "Gen5": "A PCIe v5.0 slot."
371 },
372 "type": "string"
Ed Tanous118b1c72018-09-13 13:45:51 -0700373 }
374 },
Ed Tanous530520e2019-01-02 13:41:37 -0800375 "owningEntity": "DMTF",
376 "title": "#PCIeDevice.v1_3_0.PCIeDevice"
Ed Tanous118b1c72018-09-13 13:45:51 -0700377}