xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/PowerEquipment.v1_2_3.json (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
1*d125652eSGunnar Mills{
2*d125652eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/PowerEquipment.v1_2_3.json",
3*d125652eSGunnar Mills    "$ref": "#/definitions/PowerEquipment",
4*d125652eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*d125652eSGunnar Mills    "copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*d125652eSGunnar Mills    "definitions": {
7*d125652eSGunnar Mills        "Actions": {
8*d125652eSGunnar Mills            "additionalProperties": false,
9*d125652eSGunnar Mills            "description": "The available actions for this resource.",
10*d125652eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*d125652eSGunnar Mills            "patternProperties": {
12*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*d125652eSGunnar Mills                    "type": [
15*d125652eSGunnar Mills                        "array",
16*d125652eSGunnar Mills                        "boolean",
17*d125652eSGunnar Mills                        "integer",
18*d125652eSGunnar Mills                        "number",
19*d125652eSGunnar Mills                        "null",
20*d125652eSGunnar Mills                        "object",
21*d125652eSGunnar Mills                        "string"
22*d125652eSGunnar Mills                    ]
23*d125652eSGunnar Mills                }
24*d125652eSGunnar Mills            },
25*d125652eSGunnar Mills            "properties": {
26*d125652eSGunnar Mills                "Oem": {
27*d125652eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*d125652eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*d125652eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*d125652eSGunnar Mills                }
31*d125652eSGunnar Mills            },
32*d125652eSGunnar Mills            "type": "object"
33*d125652eSGunnar Mills        },
34*d125652eSGunnar Mills        "Links": {
35*d125652eSGunnar Mills            "additionalProperties": false,
36*d125652eSGunnar Mills            "description": "The links to other resources that are related to this resource.",
37*d125652eSGunnar Mills            "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
38*d125652eSGunnar Mills            "patternProperties": {
39*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*d125652eSGunnar Mills                    "type": [
42*d125652eSGunnar Mills                        "array",
43*d125652eSGunnar Mills                        "boolean",
44*d125652eSGunnar Mills                        "integer",
45*d125652eSGunnar Mills                        "number",
46*d125652eSGunnar Mills                        "null",
47*d125652eSGunnar Mills                        "object",
48*d125652eSGunnar Mills                        "string"
49*d125652eSGunnar Mills                    ]
50*d125652eSGunnar Mills                }
51*d125652eSGunnar Mills            },
52*d125652eSGunnar Mills            "properties": {
53*d125652eSGunnar Mills                "ManagedBy": {
54*d125652eSGunnar Mills                    "description": "An array of links to the managers responsible for managing this power equipment.",
55*d125652eSGunnar Mills                    "items": {
56*d125652eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager"
57*d125652eSGunnar Mills                    },
58*d125652eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources of type `Manager` that represent the managers that manage this power equipment.",
59*d125652eSGunnar Mills                    "readonly": true,
60*d125652eSGunnar Mills                    "type": "array"
61*d125652eSGunnar Mills                },
62*d125652eSGunnar Mills                "ManagedBy@odata.count": {
63*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
64*d125652eSGunnar Mills                },
65*d125652eSGunnar Mills                "Oem": {
66*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
67*d125652eSGunnar Mills                    "description": "The OEM extension property.",
68*d125652eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
69*d125652eSGunnar Mills                }
70*d125652eSGunnar Mills            },
71*d125652eSGunnar Mills            "type": "object"
72*d125652eSGunnar Mills        },
73*d125652eSGunnar Mills        "OemActions": {
74*d125652eSGunnar Mills            "additionalProperties": true,
75*d125652eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
76*d125652eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
77*d125652eSGunnar Mills            "patternProperties": {
78*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
79*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
80*d125652eSGunnar Mills                    "type": [
81*d125652eSGunnar Mills                        "array",
82*d125652eSGunnar Mills                        "boolean",
83*d125652eSGunnar Mills                        "integer",
84*d125652eSGunnar Mills                        "number",
85*d125652eSGunnar Mills                        "null",
86*d125652eSGunnar Mills                        "object",
87*d125652eSGunnar Mills                        "string"
88*d125652eSGunnar Mills                    ]
89*d125652eSGunnar Mills                }
90*d125652eSGunnar Mills            },
91*d125652eSGunnar Mills            "properties": {},
92*d125652eSGunnar Mills            "type": "object"
93*d125652eSGunnar Mills        },
94*d125652eSGunnar Mills        "PowerEquipment": {
95*d125652eSGunnar Mills            "additionalProperties": false,
96*d125652eSGunnar Mills            "description": "The `PowerEquipment` schema represents the set of power equipment managed by a Redfish service.",
97*d125652eSGunnar Mills            "longDescription": "This resource shall represent the set of power equipment for a Redfish implementation.",
98*d125652eSGunnar Mills            "patternProperties": {
99*d125652eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
100*d125652eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
101*d125652eSGunnar Mills                    "type": [
102*d125652eSGunnar Mills                        "array",
103*d125652eSGunnar Mills                        "boolean",
104*d125652eSGunnar Mills                        "integer",
105*d125652eSGunnar Mills                        "number",
106*d125652eSGunnar Mills                        "null",
107*d125652eSGunnar Mills                        "object",
108*d125652eSGunnar Mills                        "string"
109*d125652eSGunnar Mills                    ]
110*d125652eSGunnar Mills                }
111*d125652eSGunnar Mills            },
112*d125652eSGunnar Mills            "properties": {
113*d125652eSGunnar Mills                "@odata.context": {
114*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
115*d125652eSGunnar Mills                },
116*d125652eSGunnar Mills                "@odata.etag": {
117*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
118*d125652eSGunnar Mills                },
119*d125652eSGunnar Mills                "@odata.id": {
120*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
121*d125652eSGunnar Mills                },
122*d125652eSGunnar Mills                "@odata.type": {
123*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
124*d125652eSGunnar Mills                },
125*d125652eSGunnar Mills                "Actions": {
126*d125652eSGunnar Mills                    "$ref": "#/definitions/Actions",
127*d125652eSGunnar Mills                    "description": "The available actions for this resource.",
128*d125652eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
129*d125652eSGunnar Mills                },
130*d125652eSGunnar Mills                "Description": {
131*d125652eSGunnar Mills                    "anyOf": [
132*d125652eSGunnar Mills                        {
133*d125652eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
134*d125652eSGunnar Mills                        },
135*d125652eSGunnar Mills                        {
136*d125652eSGunnar Mills                            "type": "null"
137*d125652eSGunnar Mills                        }
138*d125652eSGunnar Mills                    ],
139*d125652eSGunnar Mills                    "readonly": true
140*d125652eSGunnar Mills                },
141*d125652eSGunnar Mills                "ElectricalBuses": {
142*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection",
143*d125652eSGunnar Mills                    "description": "The link to a collection of electrical buses.",
144*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PowerDistributionCollection` that contains a set of electrical bus units.",
145*d125652eSGunnar Mills                    "readonly": true,
146*d125652eSGunnar Mills                    "versionAdded": "v1_2_0"
147*d125652eSGunnar Mills                },
148*d125652eSGunnar Mills                "FloorPDUs": {
149*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection",
150*d125652eSGunnar Mills                    "description": "A link to a collection of floor power distribution units.",
151*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PowerDistributionCollection` that contains a set of floor power distribution units.",
152*d125652eSGunnar Mills                    "readonly": true
153*d125652eSGunnar Mills                },
154*d125652eSGunnar Mills                "Id": {
155*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
156*d125652eSGunnar Mills                    "readonly": true
157*d125652eSGunnar Mills                },
158*d125652eSGunnar Mills                "Links": {
159*d125652eSGunnar Mills                    "$ref": "#/definitions/Links",
160*d125652eSGunnar Mills                    "description": "The links to other resources that are related to this resource.",
161*d125652eSGunnar Mills                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."
162*d125652eSGunnar Mills                },
163*d125652eSGunnar Mills                "Name": {
164*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
165*d125652eSGunnar Mills                    "readonly": true
166*d125652eSGunnar Mills                },
167*d125652eSGunnar Mills                "Oem": {
168*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
169*d125652eSGunnar Mills                    "description": "The OEM extension property.",
170*d125652eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
171*d125652eSGunnar Mills                },
172*d125652eSGunnar Mills                "PowerShelves": {
173*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection",
174*d125652eSGunnar Mills                    "description": "A link to a collection of power shelves.",
175*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PowerDistributionCollection` that contains a set of power shelves.",
176*d125652eSGunnar Mills                    "readonly": true,
177*d125652eSGunnar Mills                    "versionAdded": "v1_1_0"
178*d125652eSGunnar Mills                },
179*d125652eSGunnar Mills                "RackPDUs": {
180*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection",
181*d125652eSGunnar Mills                    "description": "A link to a collection of rack-level power distribution units.",
182*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PowerDistributionCollection` that contains a set of rack-level power distribution units.",
183*d125652eSGunnar Mills                    "readonly": true
184*d125652eSGunnar Mills                },
185*d125652eSGunnar Mills                "Status": {
186*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
187*d125652eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
188*d125652eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
189*d125652eSGunnar Mills                },
190*d125652eSGunnar Mills                "Switchgear": {
191*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection",
192*d125652eSGunnar Mills                    "description": "A link to a collection of switchgear.",
193*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PowerDistributionCollection` that contains a set of switchgear.",
194*d125652eSGunnar Mills                    "readonly": true
195*d125652eSGunnar Mills                },
196*d125652eSGunnar Mills                "TransferSwitches": {
197*d125652eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerDistributionCollection.json#/definitions/PowerDistributionCollection",
198*d125652eSGunnar Mills                    "description": "A link to a collection of transfer switches.",
199*d125652eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `PowerDistributionCollection` that contains a set of transfer switches.",
200*d125652eSGunnar Mills                    "readonly": true
201*d125652eSGunnar Mills                }
202*d125652eSGunnar Mills            },
203*d125652eSGunnar Mills            "required": [
204*d125652eSGunnar Mills                "@odata.id",
205*d125652eSGunnar Mills                "@odata.type",
206*d125652eSGunnar Mills                "Id",
207*d125652eSGunnar Mills                "Name"
208*d125652eSGunnar Mills            ],
209*d125652eSGunnar Mills            "type": "object"
210*d125652eSGunnar Mills        }
211*d125652eSGunnar Mills    },
212*d125652eSGunnar Mills    "language": "en",
213*d125652eSGunnar Mills    "owningEntity": "DMTF",
214*d125652eSGunnar Mills    "release": "2021.3",
215*d125652eSGunnar Mills    "title": "#PowerEquipment.v1_2_3.PowerEquipment"
216*d125652eSGunnar Mills}