Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
| 2 | "$ref": "#/definitions/Assembly", |
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": { |
| 11 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[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", |
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 | "Assembly": { |
| 34 | "additionalProperties": false, |
| 35 | "description": "This is the schema definition for the Assembly properties.", |
| 36 | "longDescription": "This resource shall be used to represent an assembly information resource for a Redfish implementation.", |
| 37 | "patternProperties": { |
| 38 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 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" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 54 | }, |
| 55 | "@odata.etag": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 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 | "Assemblies": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | "autoExpand": true, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 71 | "description": "This is the definition for an assembly information record.", |
| 72 | "items": { |
| 73 | "$ref": "#/definitions/AssemblyData" |
| 74 | }, |
| 75 | "longDescription": "These properties shall be the definition for assembly records for a Redfish implementation.", |
| 76 | "readonly": false, |
| 77 | "type": "array" |
| 78 | }, |
| 79 | "Assemblies@odata.count": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 80 | "$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] | 81 | }, |
| 82 | "Description": { |
| 83 | "anyOf": [ |
| 84 | { |
| 85 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 86 | }, |
| 87 | { |
| 88 | "type": "null" |
| 89 | } |
| 90 | ], |
| 91 | "readonly": true |
| 92 | }, |
| 93 | "Id": { |
| 94 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 95 | "readonly": true |
| 96 | }, |
| 97 | "Name": { |
| 98 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 99 | "readonly": true |
| 100 | }, |
| 101 | "Oem": { |
| 102 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 103 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 104 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 105 | } |
| 106 | }, |
| 107 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 108 | "@odata.id", |
| 109 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 110 | "Id", |
| 111 | "Name" |
| 112 | ], |
| 113 | "type": "object" |
| 114 | }, |
| 115 | "AssemblyData": { |
| 116 | "additionalProperties": false, |
| 117 | "patternProperties": { |
| 118 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 119 | "description": "This property shall specify a valid odata or Redfish property.", |
| 120 | "type": [ |
| 121 | "array", |
| 122 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 123 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 124 | "number", |
| 125 | "null", |
| 126 | "object", |
| 127 | "string" |
| 128 | ] |
| 129 | } |
| 130 | }, |
| 131 | "properties": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 132 | "@odata.id": { |
| 133 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id" |
| 134 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 135 | "Actions": { |
| 136 | "$ref": "#/definitions/AssemblyDataActions", |
| 137 | "description": "The available actions for this resource.", |
| 138 | "longDescription": "The Actions property shall contain the available actions for this resource." |
| 139 | }, |
| 140 | "BinaryDataURI": { |
| 141 | "description": "URI that provides the ability to access an image of the assembly information.", |
| 142 | "format": "uri", |
| 143 | "longDescription": "The value of this property shall be a URI at which the Service provides for the download of the OEM-specific binary image of the assembly data. An HTTP GET from this URI shall return a response payload of MIME time application/octet-stream. An HTTP PUT to this URI, if supported by the Service, shall replace the binary image of the assembly.", |
| 144 | "readonly": true, |
| 145 | "type": [ |
| 146 | "string", |
| 147 | "null" |
| 148 | ] |
| 149 | }, |
| 150 | "Description": { |
| 151 | "description": "Description of the Assembly.", |
| 152 | "longDescription": "The value of this property shall be a description of this assembly.", |
| 153 | "readonly": true, |
| 154 | "type": [ |
| 155 | "string", |
| 156 | "null" |
| 157 | ] |
| 158 | }, |
| 159 | "EngineeringChangeLevel": { |
| 160 | "description": "Engineering change level of the Assembly.", |
| 161 | "longDescription": "The value of this property shall be the Engineering Change Level (ECL) or revision of the assembly.", |
| 162 | "readonly": true, |
| 163 | "type": [ |
| 164 | "string", |
| 165 | "null" |
| 166 | ] |
| 167 | }, |
| 168 | "MemberId": { |
| 169 | "description": "This is the identifier for the member within the collection.", |
| 170 | "longDescription": "The value of this string shall uniquely identify the member within the collection.", |
| 171 | "readonly": true, |
| 172 | "type": "string" |
| 173 | }, |
| 174 | "Model": { |
| 175 | "description": "Model number of the Assembly.", |
| 176 | "longDescription": "The value of this property shall be the name by which the manufacturer generally refers to the assembly.", |
| 177 | "readonly": true, |
| 178 | "type": [ |
| 179 | "string", |
| 180 | "null" |
| 181 | ] |
| 182 | }, |
| 183 | "Name": { |
| 184 | "description": "Name of the Assembly.", |
| 185 | "longDescription": "The value of this property shall be the name of the assembly.", |
| 186 | "readonly": true, |
| 187 | "type": [ |
| 188 | "string", |
| 189 | "null" |
| 190 | ] |
| 191 | }, |
| 192 | "Oem": { |
| 193 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 194 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 195 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 196 | }, |
| 197 | "PartNumber": { |
| 198 | "description": "Part number of the Assembly.", |
| 199 | "longDescription": "The value of this property shall be the name of the assembly.", |
| 200 | "readonly": true, |
| 201 | "type": [ |
| 202 | "string", |
| 203 | "null" |
| 204 | ] |
| 205 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 206 | "PhysicalContext": { |
| 207 | "$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json#/definitions/PhysicalContext", |
| 208 | "description": "Describes the area or device to which this assembly data applies.", |
| 209 | "longDescription": "The value of this property shall be a description of the physical context for this assembly data.", |
| 210 | "readonly": true |
| 211 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 212 | "Producer": { |
| 213 | "description": "Producer or manufacturer of the Assembly.", |
| 214 | "longDescription": "The value of this property shall be the name of the company which supplied or manufactured this assembly. This value shall be equal to the 'Manufacturer' field in a PLDM FRU structure, if applicable, for this assembly.", |
| 215 | "readonly": true, |
| 216 | "type": [ |
| 217 | "string", |
| 218 | "null" |
| 219 | ] |
| 220 | }, |
| 221 | "ProductionDate": { |
| 222 | "description": "Production date of the Assembly.", |
| 223 | "format": "date-time", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 224 | "longDescription": "The value of this property shall be the date of production or manufacture for this assembly. The time of day portion of the property shall be '00:00:00Z' if the time of day is unknown.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 225 | "readonly": true, |
| 226 | "type": [ |
| 227 | "string", |
| 228 | "null" |
| 229 | ] |
| 230 | }, |
| 231 | "SKU": { |
| 232 | "description": "SKU of the Assembly.", |
| 233 | "longDescription": "The value of this property shall be the name of the assembly.", |
| 234 | "readonly": true, |
| 235 | "type": [ |
| 236 | "string", |
| 237 | "null" |
| 238 | ] |
| 239 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 240 | "SerialNumber": { |
| 241 | "description": "The serial number of this assembly.", |
| 242 | "longDescription": "The value of this property shall be a manufacturer-allocated number used to identify the assembly.", |
| 243 | "readonly": true, |
| 244 | "type": [ |
| 245 | "string", |
| 246 | "null" |
| 247 | ] |
| 248 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 249 | "SparePartNumber": { |
| 250 | "description": "Spare part number of the Assembly.", |
| 251 | "longDescription": "The value of this property shall be the name of the assembly.", |
| 252 | "readonly": true, |
| 253 | "type": [ |
| 254 | "string", |
| 255 | "null" |
| 256 | ] |
| 257 | }, |
| 258 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 259 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
| 260 | "description": "This property describes the status and health of the resource and its children.", |
| 261 | "longDescription": "This property shall contain any status or health properties of the resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 262 | }, |
| 263 | "Vendor": { |
| 264 | "description": "Vendor of the Assembly.", |
| 265 | "longDescription": "The value of this property shall be the name of the company which provides the final product that includes this assembly. This value shall be equal to the 'Vendor' field in a PLDM FRU structure, if applicable, for this assembly.", |
| 266 | "readonly": true, |
| 267 | "type": [ |
| 268 | "string", |
| 269 | "null" |
| 270 | ] |
| 271 | }, |
| 272 | "Version": { |
| 273 | "description": "Version of the Assembly.", |
| 274 | "longDescription": "The value of this property shall be the version of the assembly as determined by the vendor or supplier.", |
| 275 | "readonly": true, |
| 276 | "type": [ |
| 277 | "string", |
| 278 | "null" |
| 279 | ] |
| 280 | } |
| 281 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 282 | "required": [ |
| 283 | "@odata.id", |
| 284 | "MemberId" |
| 285 | ], |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 286 | "type": "object" |
| 287 | }, |
| 288 | "AssemblyDataActions": { |
| 289 | "additionalProperties": false, |
| 290 | "description": "The available actions for this resource.", |
| 291 | "longDescription": "This type shall contain the available actions for this resource.", |
| 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", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 298 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 299 | "number", |
| 300 | "null", |
| 301 | "object", |
| 302 | "string" |
| 303 | ] |
| 304 | } |
| 305 | }, |
| 306 | "properties": { |
| 307 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 308 | "$ref": "#/definitions/AssemblyDataOemActions", |
| 309 | "description": "This property contains the available OEM specific actions for this resource.", |
| 310 | "longDescription": "This property shall contain any additional OEM actions for this resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 311 | } |
| 312 | }, |
| 313 | "type": "object" |
| 314 | }, |
| 315 | "AssemblyDataOemActions": { |
| 316 | "additionalProperties": true, |
| 317 | "description": "The available OEM specific actions for this resource.", |
| 318 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 319 | "patternProperties": { |
| 320 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 321 | "description": "This property shall specify a valid odata or Redfish property.", |
| 322 | "type": [ |
| 323 | "array", |
| 324 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 325 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 326 | "number", |
| 327 | "null", |
| 328 | "object", |
| 329 | "string" |
| 330 | ] |
| 331 | } |
| 332 | }, |
| 333 | "properties": {}, |
| 334 | "type": "object" |
| 335 | }, |
| 336 | "OemActions": { |
| 337 | "additionalProperties": true, |
| 338 | "description": "The available OEM specific actions for this resource.", |
| 339 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 340 | "patternProperties": { |
| 341 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 342 | "description": "This property shall specify a valid odata or Redfish property.", |
| 343 | "type": [ |
| 344 | "array", |
| 345 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 346 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 347 | "number", |
| 348 | "null", |
| 349 | "object", |
| 350 | "string" |
| 351 | ] |
| 352 | } |
| 353 | }, |
| 354 | "properties": {}, |
| 355 | "type": "object" |
| 356 | } |
| 357 | }, |
| 358 | "owningEntity": "DMTF", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 359 | "title": "#Assembly.v1_2_0.Assembly" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 360 | } |