1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/PowerSubsystem.v1_1_2.json",
3    "$ref": "#/definitions/PowerSubsystem",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "Oem": {
27                    "$ref": "#/definitions/OemActions",
28                    "description": "This property contains the available OEM-specific actions for this resource.",
29                    "longDescription": "This property shall contain any additional OEM actions for this resource."
30                }
31            },
32            "type": "object"
33        },
34        "OemActions": {
35            "additionalProperties": true,
36            "description": "The available OEM-specific actions for this resource.",
37            "longDescription": "This type shall contain any additional OEM actions for this resource.",
38            "patternProperties": {
39                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40                    "description": "This property shall specify a valid odata or Redfish property.",
41                    "type": [
42                        "array",
43                        "boolean",
44                        "integer",
45                        "number",
46                        "null",
47                        "object",
48                        "string"
49                    ]
50                }
51            },
52            "properties": {},
53            "type": "object"
54        },
55        "PowerAllocation": {
56            "additionalProperties": false,
57            "description": "Power allocation for a subsystem.",
58            "longDescription": "This type shall contain the set of properties describing the allocation of power for a subsystem.",
59            "patternProperties": {
60                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61                    "description": "This property shall specify a valid odata or Redfish property.",
62                    "type": [
63                        "array",
64                        "boolean",
65                        "integer",
66                        "number",
67                        "null",
68                        "object",
69                        "string"
70                    ]
71                }
72            },
73            "properties": {
74                "AllocatedWatts": {
75                    "description": "The total amount of power that has been allocated or budgeted to this subsystem.",
76                    "longDescription": "This property shall represent the total power currently allocated or budgeted to this subsystem.",
77                    "minimum": 0,
78                    "readonly": true,
79                    "type": [
80                        "number",
81                        "null"
82                    ],
83                    "units": "W"
84                },
85                "RequestedWatts": {
86                    "description": "The potential power, in watt units, that the subsystem requests, which might be higher than the current level being consumed because the requested power includes a budget that the subsystem wants for future use.",
87                    "longDescription": "This property shall represent the amount of power, in watt units, that the subsystem currently requests to be budgeted for future use.",
88                    "minimum": 0,
89                    "readonly": true,
90                    "type": [
91                        "number",
92                        "null"
93                    ],
94                    "units": "W"
95                }
96            },
97            "type": "object"
98        },
99        "PowerSubsystem": {
100            "additionalProperties": false,
101            "description": "This `PowerSubsystem schema` contains the definition for the power subsystem of a chassis.",
102            "longDescription": "This resource shall represent a power subsystem for a Redfish implementation.",
103            "patternProperties": {
104                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
105                    "description": "This property shall specify a valid odata or Redfish property.",
106                    "type": [
107                        "array",
108                        "boolean",
109                        "integer",
110                        "number",
111                        "null",
112                        "object",
113                        "string"
114                    ]
115                }
116            },
117            "properties": {
118                "@odata.context": {
119                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
120                },
121                "@odata.etag": {
122                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
123                },
124                "@odata.id": {
125                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
126                },
127                "@odata.type": {
128                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
129                },
130                "Actions": {
131                    "$ref": "#/definitions/Actions",
132                    "description": "The available actions for this resource.",
133                    "longDescription": "The `Actions` property shall contain the available actions for this resource."
134                },
135                "Allocation": {
136                    "$ref": "#/definitions/PowerAllocation",
137                    "description": "Power allocation for this subsystem.",
138                    "longDescription": "This property shall contain the set of properties describing the allocation of power for this subsystem."
139                },
140                "Batteries": {
141                    "$ref": "http://redfish.dmtf.org/schemas/v1/BatteryCollection.json#/definitions/BatteryCollection",
142                    "description": "The link to the collection of batteries within this subsystem.",
143                    "longDescription": "This property shall contain a link to a resource collection of type `BatteryCollection`.",
144                    "readonly": true,
145                    "versionAdded": "v1_1_0"
146                },
147                "CapacityWatts": {
148                    "description": "The total amount of power that can be allocated to this subsystem.  This value can be either the power supply capacity or the power budget that an upstream chassis assigns to this subsystem.",
149                    "longDescription": "This property shall represent the total power capacity that can be allocated to this subsystem.",
150                    "minimum": 0,
151                    "readonly": true,
152                    "type": [
153                        "number",
154                        "null"
155                    ],
156                    "units": "W"
157                },
158                "Description": {
159                    "anyOf": [
160                        {
161                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
162                        },
163                        {
164                            "type": "null"
165                        }
166                    ],
167                    "readonly": true
168                },
169                "Id": {
170                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
171                    "readonly": true
172                },
173                "Name": {
174                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
175                    "readonly": true
176                },
177                "Oem": {
178                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
179                    "description": "The OEM extension property.",
180                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
181                },
182                "PowerSupplies": {
183                    "$ref": "http://redfish.dmtf.org/schemas/v1/PowerSupplyCollection.json#/definitions/PowerSupplyCollection",
184                    "description": "The link to the collection of power supplies within this subsystem.",
185                    "longDescription": "This property shall contain a link to a resource collection of type `PowerSupplyCollection`.",
186                    "readonly": true
187                },
188                "PowerSupplyRedundancy": {
189                    "description": "The redundancy information for the set of power supplies in this subsystem.",
190                    "items": {
191                        "$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/RedundantGroup"
192                    },
193                    "longDescription": "This property shall contain redundancy information for the set of power supplies in this subsystem.  The values of the `RedundancyGroup` array shall reference resources of type `PowerSupply`.",
194                    "type": "array"
195                },
196                "Status": {
197                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
198                    "description": "The status and health of the resource and its subordinate or dependent resources.",
199                    "longDescription": "This property shall contain any status or health properties of the resource."
200                }
201            },
202            "required": [
203                "@odata.id",
204                "@odata.type",
205                "Id",
206                "Name"
207            ],
208            "type": "object"
209        }
210    },
211    "language": "en",
212    "owningEntity": "DMTF",
213    "release": "2021.2",
214    "title": "#PowerSubsystem.v1_1_2.PowerSubsystem"
215}