blob: 137705492b46323051772d409d4db06836e9180a [file] [log] [blame]
Ed Tanous683f7272018-07-26 12:47:19 -07001{
2 "$ref": "#/definitions/BootOption",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
4 "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
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": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "number",
17 "null",
18 "object",
19 "string"
20 ]
21 }
22 },
23 "properties": {
24 "Oem": {
25 "$ref": "#/definitions/OemActions"
26 }
27 },
28 "type": "object"
29 },
30 "BootOption": {
31 "additionalProperties": false,
32 "description": "This is the schema definition for the BootOption resource. It represents the properties of a bootable device available in the System.",
33 "patternProperties": {
34 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
35 "description": "This property shall specify a valid odata or Redfish property.",
36 "type": [
37 "array",
38 "boolean",
39 "number",
40 "null",
41 "object",
42 "string"
43 ]
44 }
45 },
46 "properties": {
47 "@odata.context": {
48 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/context"
49 },
50 "@odata.id": {
51 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/id"
52 },
53 "@odata.type": {
54 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type"
55 },
56 "Actions": {
57 "$ref": "#/definitions/Actions",
58 "description": "The available actions for this resource.",
59 "longDescription": "The Actions property shall contain the available actions for this resource."
60 },
61 "Alias": {
62 "anyOf": [
63 {
64 "$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/BootSource"
65 },
66 {
67 "type": "null"
68 }
69 ],
70 "description": "The alias of this Boot Source when described in the BootSourceOverrideTarget property in the Computersystem resource.",
71 "longDescription": "The value of this property shall contain an alias to the Boot Source that describes this Boot Option in the BootSourceOverrideTarget property in the ComputerSystem resource. The possible values of this property are specified through the Redfish.AllowableValues annotation on BootSourceOverrideTarget in the ComputerSystem resource.",
72 "readonly": true
73 },
74 "BootOptionEnabled": {
75 "description": "A flag that shows if the Boot Option is enabled.",
76 "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.",
77 "readonly": false,
78 "type": [
79 "boolean",
80 "null"
81 ]
82 },
83 "BootOptionReference": {
84 "description": "The unique boot option string that is referenced in the BootOrder.",
85 "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.",
86 "readonly": true,
87 "type": [
88 "string",
89 "null"
90 ]
91 },
92 "Description": {
93 "anyOf": [
94 {
95 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
96 },
97 {
98 "type": "null"
99 }
100 ],
101 "readonly": true
102 },
103 "DisplayName": {
104 "description": "The user-readable display string of the Boot Option.",
105 "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.",
106 "readonly": true,
107 "type": [
108 "string",
109 "null"
110 ]
111 },
112 "Id": {
113 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
114 "readonly": true
115 },
116 "Name": {
117 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
118 "readonly": true
119 },
120 "Oem": {
121 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
122 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
123 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
124 },
125 "RelatedItem": {
126 "description": "The ID(s) of the resources associated with this Boot Option.",
127 "items": {
128 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/idRef"
129 },
130 "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.",
131 "readonly": true,
132 "type": "array"
133 },
134 "RelatedItem@odata.count": {
135 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count"
136 },
137 "UefiDevicePath": {
138 "description": "The UEFI device path used to access this UEFI Boot Option.",
139 "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.",
140 "readonly": true,
141 "type": [
142 "string",
143 "null"
144 ]
145 }
146 },
147 "required": [
148 "BootOptionReference",
149 "Id",
150 "Name"
151 ],
152 "type": "object"
153 },
154 "OemActions": {
155 "additionalProperties": true,
156 "description": "The available OEM specific actions for this resource.",
157 "longDescription": "This type shall contain any additional OEM actions for this resource.",
158 "patternProperties": {
159 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
160 "description": "This property shall specify a valid odata or Redfish property.",
161 "type": [
162 "array",
163 "boolean",
164 "number",
165 "null",
166 "object",
167 "string"
168 ]
169 }
170 },
171 "properties": {},
172 "type": "object"
173 }
174 },
175 "title": "#BootOption.v1_0_0.BootOption"
176}