Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
| 2 | "$ref": "#/definitions/Bios", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 3 | "$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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 5 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 11 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 12 | "description": "This property shall specify a valid odata or Redfish property.", |
| 13 | "type": [ |
| 14 | "array", |
| 15 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 16 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 17 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 32 | "$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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 35 | } |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 44 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 45 | "description": "This property shall specify a valid odata or Redfish property.", |
| 46 | "type": [ |
| 47 | "array", |
| 48 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 49 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 50 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 71 | "longDescription": "This resource shall be used to represent BIOS attributes for a Redfish implementation.", |
| 72 | "patternProperties": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 73 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 74 | "description": "This property shall specify a valid odata or Redfish property.", |
| 75 | "type": [ |
| 76 | "array", |
| 77 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 78 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 79 | "number", |
| 80 | "null", |
| 81 | "object", |
| 82 | "string" |
| 83 | ] |
| 84 | } |
| 85 | }, |
| 86 | "properties": { |
| 87 | "@odata.context": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 88 | "$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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 92 | }, |
| 93 | "@odata.id": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 94 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 95 | }, |
| 96 | "@odata.type": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 97 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 98 | }, |
| 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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 144 | "@odata.id", |
| 145 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 146 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 176 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 177 | "description": "This property shall specify a valid odata or Redfish property.", |
| 178 | "type": [ |
| 179 | "array", |
| 180 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 181 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 182 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 207 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 208 | "description": "This property shall specify a valid odata or Redfish property.", |
| 209 | "type": [ |
| 210 | "array", |
| 211 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 212 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 213 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 226 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 227 | "parameters": {}, |
| 228 | "patternProperties": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 229 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 230 | "description": "This property shall specify a valid odata or Redfish property.", |
| 231 | "type": [ |
| 232 | "array", |
| 233 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 234 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 235 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 256 | "owningEntity": "DMTF", |
| 257 | "title": "#Bios.v1_0_4.Bios" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 258 | } |