blob: b32fafd5289086c09805c2d01cac749e5c4d4f01 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$ref": "#/definitions/Bios",
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 "#Bios.ChangePassword": {
26 "$ref": "#/definitions/ChangePassword"
27 },
28 "#Bios.ResetBios": {
29 "$ref": "#/definitions/ResetBios"
30 },
31 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080032 "$ref": "#/definitions/OemActions",
33 "description": "This property contains the available OEM specific actions for this resource.",
34 "longDescription": "This property shall contain any additional OEM actions for this resource."
Ed Tanous118b1c72018-09-13 13:45:51 -070035 }
36 },
37 "type": "object"
38 },
39 "Attributes": {
40 "additionalProperties": false,
41 "description": "The manufacturer/provider-specific list of BIOS attributes.",
42 "longDescription": "This type shall describe BIOS Attribute settings as additional properties in this object, and can be looked up in the Attribute Registry by their AttributeName.",
43 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080044 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070045 "description": "This property shall specify a valid odata or Redfish property.",
46 "type": [
47 "array",
48 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080049 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070050 "number",
51 "null",
52 "object",
53 "string"
54 ]
55 },
56 "^[A-Za-z][A-Za-z0-9_]+$": {
57 "type": [
58 "string",
59 "boolean",
60 "number",
61 "null"
62 ]
63 }
64 },
65 "properties": {},
66 "type": "object"
67 },
68 "Bios": {
69 "additionalProperties": true,
Ed Tanous530520e2019-01-02 13:41:37 -080070 "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 will find 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.",
Ed Tanous118b1c72018-09-13 13:45:51 -070071 "longDescription": "This resource shall be used to represent BIOS attributes for a Redfish implementation.",
72 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -080073 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070074 "description": "This property shall specify a valid odata or Redfish property.",
75 "type": [
76 "array",
77 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080078 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070079 "number",
80 "null",
81 "object",
82 "string"
83 ]
84 }
85 },
86 "properties": {
87 "@odata.context": {
Ed Tanous530520e2019-01-02 13:41:37 -080088 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context"
89 },
90 "@odata.etag": {
91 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -070092 },
93 "@odata.id": {
Ed Tanous530520e2019-01-02 13:41:37 -080094 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -070095 },
96 "@odata.type": {
Ed Tanous530520e2019-01-02 13:41:37 -080097 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -070098 },
99 "Actions": {
100 "$ref": "#/definitions/Actions",
101 "description": "The available actions for this resource.",
102 "longDescription": "The Actions property shall contain the available actions for this resource."
103 },
104 "AttributeRegistry": {
105 "description": "The Resource ID of the Attribute Registry that has the system-specific information about a BIOS resource.",
106 "longDescription": "The reference to the Attribute Registry that lists the metadata describing the BIOS attribute settings in this resource.",
107 "readonly": true,
108 "type": [
109 "string",
110 "null"
111 ]
112 },
113 "Attributes": {
114 "$ref": "#/definitions/Attributes",
115 "description": "The list of BIOS attributes specific to the manufacturer or provider.",
116 "longDescription": "BIOS Attribute settings appear as additional properties in this object, and can be looked up in the Attribute Registry by their AttributeName."
117 },
118 "Description": {
119 "anyOf": [
120 {
121 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
122 },
123 {
124 "type": "null"
125 }
126 ],
127 "readonly": true
128 },
129 "Id": {
130 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
131 "readonly": true
132 },
133 "Name": {
134 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
135 "readonly": true
136 },
137 "Oem": {
138 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
139 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
140 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
141 }
142 },
143 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800144 "@odata.id",
145 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700146 "Id",
147 "Name"
148 ],
149 "type": "object"
150 },
151 "ChangePassword": {
152 "additionalProperties": false,
153 "description": "This action is used to change the BIOS passwords.",
154 "longDescription": "This action shall perform a change of the selected BIOS password.",
155 "parameters": {
156 "NewPassword": {
157 "description": "The value of the new BIOS password.",
158 "longDescription": "This parameter shall define the value of the new BIOS password.",
159 "requiredParameter": true,
160 "type": "string"
161 },
162 "OldPassword": {
163 "description": "The value of the existing password.",
164 "longDescription": "This parameter shall define the value of the existing BIOS password that is about to be changed.",
165 "requiredParameter": true,
166 "type": "string"
167 },
168 "PasswordName": {
169 "description": "The name of the BIOS password to change.",
170 "longDescription": "This parameter shall define the BIOS password name to change. For instance, this could be the AdminPassword or UserPassword.",
171 "requiredParameter": true,
172 "type": "string"
173 }
174 },
175 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800176 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700177 "description": "This property shall specify a valid odata or Redfish property.",
178 "type": [
179 "array",
180 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800181 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700182 "number",
183 "null",
184 "object",
185 "string"
186 ]
187 }
188 },
189 "properties": {
190 "target": {
191 "description": "Link to invoke action",
192 "format": "uri",
193 "type": "string"
194 },
195 "title": {
196 "description": "Friendly action name",
197 "type": "string"
198 }
199 },
200 "type": "object"
201 },
202 "OemActions": {
203 "additionalProperties": true,
204 "description": "The available OEM specific actions for this resource.",
205 "longDescription": "This type shall contain any additional OEM actions for this resource.",
206 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800207 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700208 "description": "This property shall specify a valid odata or Redfish property.",
209 "type": [
210 "array",
211 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800212 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700213 "number",
214 "null",
215 "object",
216 "string"
217 ]
218 }
219 },
220 "properties": {},
221 "type": "object"
222 },
223 "ResetBios": {
224 "additionalProperties": false,
225 "description": "This action is used to reset the BIOS attributes to default.",
Ed Tanous530520e2019-01-02 13:41:37 -0800226 "longDescription": "This action shall perform a reset of the BIOS attributes to their default values. A system reset may be required for the default values to be applied. This action may impact other resources.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700227 "parameters": {},
228 "patternProperties": {
Ed Tanous530520e2019-01-02 13:41:37 -0800229 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700230 "description": "This property shall specify a valid odata or Redfish property.",
231 "type": [
232 "array",
233 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800234 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700235 "number",
236 "null",
237 "object",
238 "string"
239 ]
240 }
241 },
242 "properties": {
243 "target": {
244 "description": "Link to invoke action",
245 "format": "uri",
246 "type": "string"
247 },
248 "title": {
249 "description": "Friendly action name",
250 "type": "string"
251 }
252 },
253 "type": "object"
254 }
255 },
Ed Tanous530520e2019-01-02 13:41:37 -0800256 "owningEntity": "DMTF",
257 "title": "#Bios.v1_0_4.Bios"
Ed Tanous118b1c72018-09-13 13:45:51 -0700258}