Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
| 2 | "$ref": "#/definitions/BootOption", |
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 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 26 | "$ref": "#/definitions/OemActions", |
| 27 | "description": "This property contains the available OEM specific actions for this resource.", |
| 28 | "longDescription": "This property shall contain any additional OEM actions for this resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 29 | } |
| 30 | }, |
| 31 | "type": "object" |
| 32 | }, |
| 33 | "BootOption": { |
| 34 | "additionalProperties": false, |
| 35 | "description": "This is the schema definition for the BootOption resource. It represents the properties of a bootable device available in the System.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 36 | "longDescription": "This resource shall be used to represent a single boot option contained within a system.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 37 | "patternProperties": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 38 | "^([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] | 39 | "description": "This property shall specify a valid odata or Redfish property.", |
| 40 | "type": [ |
| 41 | "array", |
| 42 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 43 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 44 | "number", |
| 45 | "null", |
| 46 | "object", |
| 47 | "string" |
| 48 | ] |
| 49 | } |
| 50 | }, |
| 51 | "properties": { |
| 52 | "@odata.context": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 53 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context" |
| 54 | }, |
| 55 | "@odata.etag": { |
| 56 | "$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] | 57 | }, |
| 58 | "@odata.id": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 59 | "$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] | 60 | }, |
| 61 | "@odata.type": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 62 | "$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] | 63 | }, |
| 64 | "Actions": { |
| 65 | "$ref": "#/definitions/Actions", |
| 66 | "description": "The available actions for this resource.", |
| 67 | "longDescription": "The Actions property shall contain the available actions for this resource." |
| 68 | }, |
| 69 | "Alias": { |
| 70 | "anyOf": [ |
| 71 | { |
| 72 | "$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/BootSource" |
| 73 | }, |
| 74 | { |
| 75 | "type": "null" |
| 76 | } |
| 77 | ], |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 78 | "description": "The alias of this Boot Source.", |
| 79 | "longDescription": "The value of this property shall contain the string alias of this Boot Source that describes the type of boot that will be performed.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 80 | "readonly": true |
| 81 | }, |
| 82 | "BootOptionEnabled": { |
| 83 | "description": "A flag that shows if the Boot Option is enabled.", |
| 84 | "longDescription": "The value of this property shall indicate if the Boot Option is enabled. If this property is set to false, the Boot Option referenced in the Boot Order array found on the Computer System shall be skipped. In the UEFI context, this property shall influence the Load Option Active flag for the Boot Option.", |
| 85 | "readonly": false, |
| 86 | "type": [ |
| 87 | "boolean", |
| 88 | "null" |
| 89 | ] |
| 90 | }, |
| 91 | "BootOptionReference": { |
| 92 | "description": "The unique boot option string that is referenced in the BootOrder.", |
| 93 | "longDescription": "The value of this property shall contain a string that corresponds to the bootable option or device. For UEFI systems, this string shall match the UEFI Boot Option variable name (e.g. Boot####). This value is referenced by the ComputerSystem BootOrder array.", |
| 94 | "readonly": true, |
| 95 | "type": [ |
| 96 | "string", |
| 97 | "null" |
| 98 | ] |
| 99 | }, |
| 100 | "Description": { |
| 101 | "anyOf": [ |
| 102 | { |
| 103 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 104 | }, |
| 105 | { |
| 106 | "type": "null" |
| 107 | } |
| 108 | ], |
| 109 | "readonly": true |
| 110 | }, |
| 111 | "DisplayName": { |
| 112 | "description": "The user-readable display string of the Boot Option.", |
| 113 | "longDescription": "The value of this property shall be a user readable string that describes this Boot Option as it should show up in the Boot Order list in user interfaces.", |
| 114 | "readonly": true, |
| 115 | "type": [ |
| 116 | "string", |
| 117 | "null" |
| 118 | ] |
| 119 | }, |
| 120 | "Id": { |
| 121 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 122 | "readonly": true |
| 123 | }, |
| 124 | "Name": { |
| 125 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 126 | "readonly": true |
| 127 | }, |
| 128 | "Oem": { |
| 129 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 130 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 131 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 132 | }, |
| 133 | "RelatedItem": { |
| 134 | "description": "The ID(s) of the resources associated with this Boot Option.", |
| 135 | "items": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 136 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/idRef" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 137 | }, |
| 138 | "longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that is being used for this Boot Option.", |
| 139 | "readonly": true, |
| 140 | "type": "array" |
| 141 | }, |
| 142 | "RelatedItem@odata.count": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 143 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 144 | }, |
| 145 | "UefiDevicePath": { |
| 146 | "description": "The UEFI device path used to access this UEFI Boot Option.", |
| 147 | "longDescription": "This property shall contain the UEFI device path used to identify and locate the specific device for this UEFI Boot Option, as defined by the UEFI Specification.", |
| 148 | "readonly": true, |
| 149 | "type": [ |
| 150 | "string", |
| 151 | "null" |
| 152 | ] |
| 153 | } |
| 154 | }, |
| 155 | "required": [ |
| 156 | "BootOptionReference", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 157 | "@odata.id", |
| 158 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 159 | "Id", |
| 160 | "Name" |
| 161 | ], |
| 162 | "type": "object" |
| 163 | }, |
| 164 | "OemActions": { |
| 165 | "additionalProperties": true, |
| 166 | "description": "The available OEM specific actions for this resource.", |
| 167 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 168 | "patternProperties": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 169 | "^([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] | 170 | "description": "This property shall specify a valid odata or Redfish property.", |
| 171 | "type": [ |
| 172 | "array", |
| 173 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 174 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 175 | "number", |
| 176 | "null", |
| 177 | "object", |
| 178 | "string" |
| 179 | ] |
| 180 | } |
| 181 | }, |
| 182 | "properties": {}, |
| 183 | "type": "object" |
| 184 | } |
| 185 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 186 | "owningEntity": "DMTF", |
| 187 | "title": "#BootOption.v1_0_1.BootOption" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 188 | } |