blob: a24f77f39f36bb9128651208ed9471dfdc74d719 [file] [log] [blame]
Chicago Duanfe9bd2d2022-09-30 18:03:05 +08001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/PowerSupplyCollection.json",
3 "$ref": "#/definitions/PowerSupplyCollection",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 "copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6 "definitions": {
7 "PowerSupplyCollection": {
8 "anyOf": [
9 {
10 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
11 },
12 {
13 "additionalProperties": false,
14 "description": "The collection of PowerSupply resource instances.",
15 "longDescription": "This resource shall represent a resource collection of PowerSupply instances for a Redfish implementation.",
16 "patternProperties": {
17 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
18 "description": "This property shall specify a valid odata or Redfish property.",
19 "type": [
20 "array",
21 "boolean",
22 "integer",
23 "number",
24 "null",
25 "object",
26 "string"
27 ]
28 }
29 },
30 "properties": {
31 "@odata.context": {
32 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
33 },
34 "@odata.etag": {
35 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
36 },
37 "@odata.id": {
38 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
39 },
40 "@odata.type": {
41 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
42 },
43 "Description": {
44 "anyOf": [
45 {
46 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
47 },
48 {
49 "type": "null"
50 }
51 ],
52 "readonly": true
53 },
54 "Members": {
55 "description": "The members of this collection.",
56 "items": {
57 "$ref": "http://redfish.dmtf.org/schemas/v1/PowerSupply.json#/definitions/PowerSupply"
58 },
59 "longDescription": "This property shall contain an array of links to the members of this collection.",
60 "readonly": true,
61 "type": "array"
62 },
63 "Members@odata.count": {
64 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
65 },
66 "Members@odata.nextLink": {
67 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/nextLink"
68 },
69 "Name": {
70 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
71 "readonly": true
72 },
73 "Oem": {
74 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
75 "description": "The OEM extension property.",
76 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
77 }
78 },
79 "required": [
80 "Members",
81 "Members@odata.count",
82 "@odata.id",
83 "@odata.type",
84 "Name"
85 ],
86 "type": "object"
87 }
88 ],
89 "deletable": false,
90 "insertable": false,
91 "updatable": false,
92 "uris": [
93 "/redfish/v1/Chassis/{ChassisId}/PowerSubsystem/PowerSupplies",
94 "/redfish/v1/PowerEquipment/PowerShelves/{PowerDistributionId}/PowerSupplies"
95 ]
96 }
97 },
98 "owningEntity": "DMTF",
99 "title": "#PowerSupplyCollection.PowerSupplyCollection"
100}