1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/Bios.v1_2_3.json",
3    "$ref": "#/definitions/Bios",
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                "#Bios.ChangePassword": {
27                    "$ref": "#/definitions/ChangePassword"
28                },
29                "#Bios.ResetBios": {
30                    "$ref": "#/definitions/ResetBios"
31                },
32                "Oem": {
33                    "$ref": "#/definitions/OemActions",
34                    "description": "The available OEM-specific actions for this resource.",
35                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
36                }
37            },
38            "type": "object"
39        },
40        "Attributes": {
41            "additionalProperties": false,
42            "description": "The list of BIOS attributes and their values as determined by the manufacturer or provider.",
43            "longDescription": "This property shall contain the list of BIOS attributes and their values as determined by the manufacturer or provider.  This object shall describe BIOS attribute settings as additional properties.  If the object specifies a BIOS attribute registry, attributes shall be looked up in that attribute registry by their attribute name.  Attributes in this attribute registry with the `AttributeType` of `Enumeration` shall use valid `ValueName` values in this object, as listed in that attribute registry.",
44            "patternProperties": {
45                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
46                    "description": "This property shall specify a valid odata or Redfish property.",
47                    "type": [
48                        "array",
49                        "boolean",
50                        "integer",
51                        "number",
52                        "null",
53                        "object",
54                        "string"
55                    ]
56                },
57                "^[A-Za-z][A-Za-z0-9_]+$": {
58                    "type": [
59                        "string",
60                        "boolean",
61                        "number",
62                        "null"
63                    ]
64                }
65            },
66            "properties": {},
67            "type": "object"
68        },
69        "Bios": {
70            "additionalProperties": false,
71            "description": "The `Bios` schema contains properties related to the BIOS attribute registry.  The attribute registry describes the system-specific BIOS attributes and actions for changing to BIOS settings.  Changes to the BIOS typically require a system reset before they take effect.  It is likely that a client finds the `@Redfish.Settings` term in this resource, and if it is found, the client makes requests to change BIOS settings by modifying the resource identified by the `@Redfish.Settings` term.",
72            "longDescription": "This resource shall represent BIOS attributes for a Redfish implementation.",
73            "patternProperties": {
74                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
75                    "description": "This property shall specify a valid odata or Redfish property.",
76                    "type": [
77                        "array",
78                        "boolean",
79                        "integer",
80                        "number",
81                        "null",
82                        "object",
83                        "string"
84                    ]
85                }
86            },
87            "properties": {
88                "@odata.context": {
89                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
90                },
91                "@odata.etag": {
92                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
93                },
94                "@odata.id": {
95                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
96                },
97                "@odata.type": {
98                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
99                },
100                "Actions": {
101                    "$ref": "#/definitions/Actions",
102                    "description": "The available actions for this resource.",
103                    "longDescription": "This property shall contain the available actions for this resource."
104                },
105                "AttributeRegistry": {
106                    "description": "The resource ID of the attribute registry that has the system-specific information about a BIOS resource.",
107                    "longDescription": "The link to the attribute registry that lists the metadata describing the BIOS attribute settings in this resource.",
108                    "readonly": true,
109                    "type": [
110                        "string",
111                        "null"
112                    ]
113                },
114                "Attributes": {
115                    "$ref": "#/definitions/Attributes",
116                    "description": "The list of BIOS attributes specific to the manufacturer or provider.",
117                    "longDescription": "This property shall contain the list of BIOS attributes specific to the manufacturer or provider.  BIOS attribute settings appear as additional properties in this object and can be looked up in the attribute registry by their `AttributeName`."
118                },
119                "Description": {
120                    "anyOf": [
121                        {
122                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
123                        },
124                        {
125                            "type": "null"
126                        }
127                    ],
128                    "readonly": true
129                },
130                "Id": {
131                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
132                    "readonly": true
133                },
134                "Links": {
135                    "$ref": "#/definitions/Links",
136                    "description": "The links to other resources that are related to this resource.",
137                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
138                    "versionAdded": "v1_1_0"
139                },
140                "Name": {
141                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
142                    "readonly": true
143                },
144                "Oem": {
145                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
146                    "description": "The OEM extension property.",
147                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
148                },
149                "ResetBiosToDefaultsPending": {
150                    "description": "An indication of whether there is a pending request to reset the BIOS attributes to default values.",
151                    "longDescription": "This property shall indicate whether there is a pending request to reset the BIOS attributes to default values.  A successful completion of the `ResetBios` action shall set this property to `true`.  Applying the default attribute values to this resource shall set this property to `false`.  Services may reject modification requests to the settings resource if this property contains `true`.",
152                    "readonly": true,
153                    "type": [
154                        "boolean",
155                        "null"
156                    ],
157                    "versionAdded": "v1_2_0"
158                }
159            },
160            "required": [
161                "@odata.id",
162                "@odata.type",
163                "Id",
164                "Name"
165            ],
166            "type": "object"
167        },
168        "ChangePassword": {
169            "additionalProperties": false,
170            "description": "This action changes a BIOS password.",
171            "longDescription": "This action shall change the selected BIOS password.",
172            "parameters": {
173                "NewPassword": {
174                    "description": "The new BIOS password.",
175                    "longDescription": "This parameter shall contain the new BIOS password.",
176                    "requiredParameter": true,
177                    "type": "string"
178                },
179                "OldPassword": {
180                    "description": "The existing BIOS password.",
181                    "longDescription": "This parameter shall contain the existing BIOS password to change.",
182                    "requiredParameter": true,
183                    "type": "string"
184                },
185                "PasswordName": {
186                    "description": "The name of the BIOS password to change.",
187                    "longDescription": "This parameter shall contain the name of the BIOS password to change.  For instance, `AdminPassword` or `UserPassword`.",
188                    "requiredParameter": true,
189                    "type": "string"
190                }
191            },
192            "patternProperties": {
193                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
194                    "description": "This property shall specify a valid odata or Redfish property.",
195                    "type": [
196                        "array",
197                        "boolean",
198                        "integer",
199                        "number",
200                        "null",
201                        "object",
202                        "string"
203                    ]
204                }
205            },
206            "properties": {
207                "target": {
208                    "description": "Link to invoke action",
209                    "format": "uri-reference",
210                    "type": "string"
211                },
212                "title": {
213                    "description": "Friendly action name",
214                    "type": "string"
215                }
216            },
217            "type": "object"
218        },
219        "Links": {
220            "additionalProperties": false,
221            "description": "The links to other resources that are related to this resource.",
222            "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.",
223            "patternProperties": {
224                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
225                    "description": "This property shall specify a valid odata or Redfish property.",
226                    "type": [
227                        "array",
228                        "boolean",
229                        "integer",
230                        "number",
231                        "null",
232                        "object",
233                        "string"
234                    ]
235                }
236            },
237            "properties": {
238                "ActiveSoftwareImage": {
239                    "$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventory.json#/definitions/SoftwareInventory",
240                    "description": "The link to the software inventory that represents the active BIOS firmware image.",
241                    "longDescription": "This property shall contain a link a resource of type `SoftwareInventory` that represents the active BIOS firmware image.",
242                    "readonly": false,
243                    "versionAdded": "v1_1_0"
244                },
245                "Oem": {
246                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
247                    "description": "The OEM extension property.",
248                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
249                },
250                "SoftwareImages": {
251                    "description": "The images that are associated with this BIOS.",
252                    "items": {
253                        "$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventory.json#/definitions/SoftwareInventory"
254                    },
255                    "longDescription": "This property shall contain an array of links to resources of type `SoftwareInventory` that represent the firmware images that apply to this BIOS.",
256                    "readonly": true,
257                    "type": "array",
258                    "versionAdded": "v1_1_0"
259                },
260                "SoftwareImages@odata.count": {
261                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
262                }
263            },
264            "type": "object"
265        },
266        "OemActions": {
267            "additionalProperties": true,
268            "description": "The available OEM-specific actions for this resource.",
269            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
270            "patternProperties": {
271                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
272                    "description": "This property shall specify a valid odata or Redfish property.",
273                    "type": [
274                        "array",
275                        "boolean",
276                        "integer",
277                        "number",
278                        "null",
279                        "object",
280                        "string"
281                    ]
282                }
283            },
284            "properties": {},
285            "type": "object"
286        },
287        "ResetBios": {
288            "additionalProperties": false,
289            "description": "This action resets the BIOS attributes to default.",
290            "longDescription": "This action shall reset the BIOS attributes to their default values.  To apply the default values, a system reset may be required.  This action can impact other resources.  This action may clear pending values in the settings resource.",
291            "parameters": {},
292            "patternProperties": {
293                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
294                    "description": "This property shall specify a valid odata or Redfish property.",
295                    "type": [
296                        "array",
297                        "boolean",
298                        "integer",
299                        "number",
300                        "null",
301                        "object",
302                        "string"
303                    ]
304                }
305            },
306            "properties": {
307                "target": {
308                    "description": "Link to invoke action",
309                    "format": "uri-reference",
310                    "type": "string"
311                },
312                "title": {
313                    "description": "Friendly action name",
314                    "type": "string"
315                }
316            },
317            "type": "object"
318        }
319    },
320    "language": "en",
321    "owningEntity": "DMTF",
322    "release": "2021.1",
323    "title": "#Bios.v1_2_3.Bios"
324}