Ed Tanous | 683f727 | 2018-07-26 12:47:19 -0700 | [diff] [blame^] | 1 | { |
| 2 | "$ref": "#/definitions/AttributeRegistry", |
| 3 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0.json", |
| 4 | "copyright": "Copyright 2014-2018 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)\\.[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 | "AttributeRegistry": { |
| 31 | "additionalProperties": false, |
| 32 | "description": "The AttributeRegistry schema contains a set of key-value pairs that represents the structure of a Registry. It includes mechanisms for building user interfaces (menus), allowing consistent navigation of the contents. The Attribute Registry is specific to a particular implementation or product. The attributes and property names are not standardized.", |
| 33 | "longDescription": "This resource shall be used to represent an Attribute registry for a Redfish implementation.", |
| 34 | "patternProperties": { |
| 35 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 36 | "description": "This property shall specify a valid odata or Redfish property.", |
| 37 | "type": [ |
| 38 | "array", |
| 39 | "boolean", |
| 40 | "number", |
| 41 | "null", |
| 42 | "object", |
| 43 | "string" |
| 44 | ] |
| 45 | } |
| 46 | }, |
| 47 | "properties": { |
| 48 | "@odata.context": { |
| 49 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/context" |
| 50 | }, |
| 51 | "@odata.etag": { |
| 52 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/etag" |
| 53 | }, |
| 54 | "@odata.id": { |
| 55 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/id" |
| 56 | }, |
| 57 | "@odata.type": { |
| 58 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.json#/definitions/type" |
| 59 | }, |
| 60 | "Actions": { |
| 61 | "$ref": "#/definitions/Actions", |
| 62 | "description": "The available actions for this resource.", |
| 63 | "longDescription": "The Actions property shall contain the available actions for this resource." |
| 64 | }, |
| 65 | "Description": { |
| 66 | "anyOf": [ |
| 67 | { |
| 68 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 69 | }, |
| 70 | { |
| 71 | "type": "null" |
| 72 | } |
| 73 | ], |
| 74 | "readonly": true |
| 75 | }, |
| 76 | "Id": { |
| 77 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 78 | "readonly": true |
| 79 | }, |
| 80 | "Language": { |
| 81 | "description": "This is the RFC 5646 compliant language code for the registry.", |
| 82 | "longDescription": "The value of this property shall be a string consisting of an RFC 5646 language code.", |
| 83 | "readonly": true, |
| 84 | "type": "string" |
| 85 | }, |
| 86 | "Name": { |
| 87 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 88 | "readonly": true |
| 89 | }, |
| 90 | "Oem": { |
| 91 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 92 | "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.", |
| 93 | "longDescription": "The value of this string shall be of the format for the reserved word *Oem*." |
| 94 | }, |
| 95 | "OwningEntity": { |
| 96 | "description": "This is the organization or company that publishes this registry.", |
| 97 | "longDescription": "The value of this property shall be a string that represents the publisher of this registry.", |
| 98 | "readonly": true, |
| 99 | "type": "string" |
| 100 | }, |
| 101 | "RegistryEntries": { |
| 102 | "$ref": "#/definitions/RegistryEntries", |
| 103 | "description": "List of all attributes and their metadata for this component.", |
| 104 | "longDescription": "The value of this property shall a list of all attributes for this component, along with their possible values, dependencies, and other metadata." |
| 105 | }, |
| 106 | "RegistryVersion": { |
| 107 | "description": "This is the attribute registry version which is used in the middle portion of a AttributeRegistry.", |
| 108 | "longDescription": "The value of this property shall be the version of this attribute registry. The format of this string shall be of the format majorversion.minorversion.errata in compliance with Protocol Version section of the Redfish specification.", |
| 109 | "readonly": true, |
| 110 | "type": "string" |
| 111 | }, |
| 112 | "SupportedSystems": { |
| 113 | "description": "Array of systems supported by this attribute registry.", |
| 114 | "items": { |
| 115 | "$ref": "#/definitions/SupportedSystems" |
| 116 | }, |
| 117 | "longDescription": "The value of this property shall be an array containing a list of systems supported by this attribute registry.", |
| 118 | "type": "array" |
| 119 | } |
| 120 | }, |
| 121 | "required": [ |
| 122 | "Language", |
| 123 | "RegistryVersion", |
| 124 | "OwningEntity", |
| 125 | "Id", |
| 126 | "Name" |
| 127 | ], |
| 128 | "type": "object" |
| 129 | }, |
| 130 | "AttributeType": { |
| 131 | "enum": [ |
| 132 | "Enumeration", |
| 133 | "String", |
| 134 | "Integer", |
| 135 | "Boolean", |
| 136 | "Password" |
| 137 | ], |
| 138 | "enumDescriptions": { |
| 139 | "Boolean": "The attributes that are true or false.", |
| 140 | "Enumeration": "The attributes that include a list of the known possible enumerated values.", |
| 141 | "Integer": "The attributes that have integer numeric values.", |
| 142 | "Password": "The attributes that include password values and are not displayed as plain text. The value shall be null for GET requests.", |
| 143 | "String": "The attributes that include free form text in their values." |
| 144 | }, |
| 145 | "type": "string" |
| 146 | }, |
| 147 | "AttributeValue": { |
| 148 | "additionalProperties": false, |
| 149 | "description": "A possible value for attributes of type 'Enumeration'.", |
| 150 | "longDescription": "This type shall describe a possible value of an attribute of type 'Enumeration'.", |
| 151 | "patternProperties": { |
| 152 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 153 | "description": "This property shall specify a valid odata or Redfish property.", |
| 154 | "type": [ |
| 155 | "array", |
| 156 | "boolean", |
| 157 | "number", |
| 158 | "null", |
| 159 | "object", |
| 160 | "string" |
| 161 | ] |
| 162 | } |
| 163 | }, |
| 164 | "properties": { |
| 165 | "ValueDisplayName": { |
| 166 | "description": "A user-readable display string of the value of the attribute in the defined 'Language'.", |
| 167 | "longDescription": "The value of this property shall be a string representing the user-readable display string of the value of the attribute in the defined 'Language'.", |
| 168 | "readonly": true, |
| 169 | "type": [ |
| 170 | "string", |
| 171 | "null" |
| 172 | ] |
| 173 | }, |
| 174 | "ValueName": { |
| 175 | "description": "The value name of the attribute.", |
| 176 | "longDescription": "The value of this property shall be a string representing the value name of the attribute. ValueName is a unique string within the list of possible values in the 'Value' array of a given attribute.", |
| 177 | "pattern": "^[A-Za-z][A-Za-z0-9_]+$", |
| 178 | "readonly": true, |
| 179 | "type": [ |
| 180 | "string", |
| 181 | "null" |
| 182 | ] |
| 183 | } |
| 184 | }, |
| 185 | "type": "object" |
| 186 | }, |
| 187 | "Attributes": { |
| 188 | "additionalProperties": false, |
| 189 | "description": "An attribute and its possible values.", |
| 190 | "longDescription": "This type shall describe an attribute and its possible values and other metadata.", |
| 191 | "patternProperties": { |
| 192 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 193 | "description": "This property shall specify a valid odata or Redfish property.", |
| 194 | "type": [ |
| 195 | "array", |
| 196 | "boolean", |
| 197 | "number", |
| 198 | "null", |
| 199 | "object", |
| 200 | "string" |
| 201 | ] |
| 202 | } |
| 203 | }, |
| 204 | "properties": { |
| 205 | "AttributeName": { |
| 206 | "description": "The unique name of the attribute.", |
| 207 | "longDescription": "The value of this property shall be the name of this attribute that is unique in this registry.", |
| 208 | "pattern": "^[A-Za-z][A-Za-z0-9_]+$", |
| 209 | "readonly": true, |
| 210 | "type": "string" |
| 211 | }, |
| 212 | "CurrentValue": { |
| 213 | "description": "Placeholder of the current value of the attribute.", |
| 214 | "longDescription": "Placeholder of the current value of the attribute, to aid in evaluating dependencies. The current value of an attribute might be affected by the results of evaluating the 'Dependencies' array.", |
| 215 | "readonly": true, |
| 216 | "type": [ |
| 217 | "string", |
| 218 | "boolean", |
| 219 | "number", |
| 220 | "null" |
| 221 | ] |
| 222 | }, |
| 223 | "DefaultValue": { |
| 224 | "description": "The default current value of the attribute.", |
| 225 | "longDescription": "The value of this property shall be the default value of the attribute.", |
| 226 | "readonly": true, |
| 227 | "type": [ |
| 228 | "string", |
| 229 | "boolean", |
| 230 | "number", |
| 231 | "null" |
| 232 | ] |
| 233 | }, |
| 234 | "DisplayName": { |
| 235 | "description": "The user-readable display string of the attribute in the defined 'Language'.", |
| 236 | "longDescription": "The value of this property shall be the user-readable display string of the attribute in the defined 'Language'.", |
| 237 | "readonly": true, |
| 238 | "type": [ |
| 239 | "string", |
| 240 | "null" |
| 241 | ] |
| 242 | }, |
| 243 | "DisplayOrder": { |
| 244 | "description": "The numeric value describing the ascending order that the attribute is displayed relative to other attributes.", |
| 245 | "longDescription": "The value of this property shall be a number the describes the ascending order in which this attribute is displayed, relative to other attributes.", |
| 246 | "readonly": true, |
| 247 | "type": [ |
| 248 | "number", |
| 249 | "null" |
| 250 | ] |
| 251 | }, |
| 252 | "GrayOut": { |
| 253 | "description": "The gray-out state of this attribute.", |
| 254 | "longDescription": "The value of this property shall be a boolean describing the gray-out state of this attribute. When set to true, a grayed-out attribute should be grayed out in user interfaces. But, unlike ReadOnly, the value of grayed-out attributes might still be be modified. The grayout state of an attribute might be affected by the results of evaluating the 'Dependencies' array.", |
| 255 | "readonly": true, |
| 256 | "type": [ |
| 257 | "boolean", |
| 258 | "null" |
| 259 | ] |
| 260 | }, |
| 261 | "HelpText": { |
| 262 | "description": "The help text for the attribute.", |
| 263 | "longDescription": "The value of this property shall be the help text of the attribute.", |
| 264 | "readonly": true, |
| 265 | "type": [ |
| 266 | "string", |
| 267 | "null" |
| 268 | ] |
| 269 | }, |
| 270 | "Hidden": { |
| 271 | "description": "The hidden state of this attribute.", |
| 272 | "longDescription": "The value of this property shall be a boolean describing the visibility state of this attribute. When set to true, a hidden attribute should be hidden in user interfaces. The hidden state of an attribute might be affected by the results of evaluating the 'Dependencies' array.", |
| 273 | "readonly": true, |
| 274 | "type": [ |
| 275 | "boolean", |
| 276 | "null" |
| 277 | ] |
| 278 | }, |
| 279 | "Immutable": { |
| 280 | "description": "Defines whether this attribute is immutable or not.", |
| 281 | "longDescription": "The value of this property shall be a boolean describing the immutable state of this attribute. Immutable attributes should not be modified and are typically used to reflect a hardware state.", |
| 282 | "readonly": true, |
| 283 | "type": [ |
| 284 | "boolean", |
| 285 | "null" |
| 286 | ] |
| 287 | }, |
| 288 | "IsSystemUniqueProperty": { |
| 289 | "description": "Defines whether this attribute is unique for this system and should not be replicated.", |
| 290 | "longDescription": "The value of this property shall be a boolean describing this attribute is unique or not. A value of true indicates that the attribute is unique and should not be replicated.", |
| 291 | "readonly": true, |
| 292 | "type": [ |
| 293 | "boolean", |
| 294 | "null" |
| 295 | ] |
| 296 | }, |
| 297 | "LowerBound": { |
| 298 | "description": "The lower limit of the value of an attribute of type 'Integer'.", |
| 299 | "longDescription": "The value of this property shall be a number indicating the lower limit of the value of an attribute of type 'Integer'.", |
| 300 | "readonly": true, |
| 301 | "type": [ |
| 302 | "number", |
| 303 | "null" |
| 304 | ] |
| 305 | }, |
| 306 | "MaxLength": { |
| 307 | "description": "The maximum character length of the value of an attribute of type 'String'.", |
| 308 | "longDescription": "The value of this property shall be a number indicating the maximum character length of the value of an attribute of type 'String'.", |
| 309 | "readonly": true, |
| 310 | "type": [ |
| 311 | "number", |
| 312 | "null" |
| 313 | ] |
| 314 | }, |
| 315 | "MenuPath": { |
| 316 | "description": "A path that describes the menu hierarchy of this attribute.", |
| 317 | "longDescription": "The value of this property shall be a string indicating the menu hierarchy of this attribute, in the form of a path to the menu names.", |
| 318 | "pattern": "^[.]?[A-Za-z0-9_//]+$", |
| 319 | "readonly": true, |
| 320 | "type": [ |
| 321 | "string", |
| 322 | "null" |
| 323 | ] |
| 324 | }, |
| 325 | "MinLength": { |
| 326 | "description": "The minimum character length of the value of an attribute of type 'String'.", |
| 327 | "longDescription": "The value of this property shall be a number indicating the minimum character length of the value of an attribute of type 'String'.", |
| 328 | "readonly": true, |
| 329 | "type": [ |
| 330 | "number", |
| 331 | "null" |
| 332 | ] |
| 333 | }, |
| 334 | "ReadOnly": { |
| 335 | "description": "The read-only state of this attribute.", |
| 336 | "longDescription": "The value of this property shall be a boolean describing the read-only state of attribute. A read-only attribute cannot be modified, and should be grayed out in user interfaces. The read-only state of an attribute might be affected by the results of evaluating the 'Dependencies' array.", |
| 337 | "readonly": true, |
| 338 | "type": [ |
| 339 | "boolean", |
| 340 | "null" |
| 341 | ] |
| 342 | }, |
| 343 | "ResetRequired": { |
| 344 | "description": "True if changing the value of this attribute requires a system or device reset in order to take effect.", |
| 345 | "longDescription": "The value of this property shall be a boolean describing the requirement for a system or device reset for this attribute value change to take effect.", |
| 346 | "readonly": true, |
| 347 | "type": [ |
| 348 | "boolean", |
| 349 | "null" |
| 350 | ] |
| 351 | }, |
| 352 | "ScalarIncrement": { |
| 353 | "description": "The amount to increment or decrement the value of an attribute of type 'Integer' each time a user requests a value change.", |
| 354 | "longDescription": "The value of this property shall be a number indicating the amount to increment or decrement the value of an attribute of type 'Integer' each time a user requests a value change. A ScalarIncrement value of 0 indicates a free-form numeric user input.", |
| 355 | "readonly": true, |
| 356 | "type": [ |
| 357 | "number", |
| 358 | "null" |
| 359 | ] |
| 360 | }, |
| 361 | "Type": { |
| 362 | "$ref": "#/definitions/AttributeType", |
| 363 | "description": "The type of the attribute.", |
| 364 | "longDescription": "The value of this property shall be an enumeration describing type of the attribute.", |
| 365 | "readonly": true |
| 366 | }, |
| 367 | "UefiDevicePath": { |
| 368 | "description": "The UEFI device path that qualifies this attribute.", |
| 369 | "longDescription": "This property shall contain the UEFI device path string used to qualify and locate the specific device for this Attribute, as defined by the UEFI Specification.", |
| 370 | "readonly": true, |
| 371 | "type": [ |
| 372 | "string", |
| 373 | "null" |
| 374 | ] |
| 375 | }, |
| 376 | "UefiKeywordName": { |
| 377 | "description": "The UEFI KeywordString of the attribute.", |
| 378 | "longDescription": "The value of this property shall be the configuration KeywordString of this attribute, as defined in the UEFI Specification.", |
| 379 | "readonly": true, |
| 380 | "type": "string" |
| 381 | }, |
| 382 | "UefiNamespaceId": { |
| 383 | "description": "The UEFI NamespaceId of the attribute.", |
| 384 | "longDescription": "The value of this property shall be the configuration NamespaceId of this attribute, as defined in the UEFI Specification.", |
| 385 | "readonly": true, |
| 386 | "type": "string" |
| 387 | }, |
| 388 | "UpperBound": { |
| 389 | "description": "The upper limit of the value of an attribute of type 'Integer'.", |
| 390 | "longDescription": "The value of this property shall be a number indicating the upper limit of the value of an attribute of type 'Integer'.", |
| 391 | "readonly": true, |
| 392 | "type": [ |
| 393 | "number", |
| 394 | "null" |
| 395 | ] |
| 396 | }, |
| 397 | "Value": { |
| 398 | "description": "The array containing possible values for attributes of type 'Enumeration'.", |
| 399 | "items": { |
| 400 | "$ref": "#/definitions/AttributeValue" |
| 401 | }, |
| 402 | "longDescription": "The value of this property shall be an array containing the possible values of an attribute of type 'Enumeration'.", |
| 403 | "type": "array" |
| 404 | }, |
| 405 | "ValueExpression": { |
| 406 | "description": "A regular expression that is used to validate the value of the attribute. This is only applicable to attributes of type 'String' or 'Integer'.", |
| 407 | "longDescription": "The value of this property shall be a regular expression that is valid according to the Perl regular expression dialect. This string is used to validate the value of the attribute. This is only applicable to attributes of type 'String' or 'Integer'.", |
| 408 | "readonly": true, |
| 409 | "type": [ |
| 410 | "string", |
| 411 | "null" |
| 412 | ] |
| 413 | }, |
| 414 | "WarningText": { |
| 415 | "description": "The warning text for changing the attribute.", |
| 416 | "longDescription": "The value of this property shall be the warning text of the attribute.", |
| 417 | "readonly": true, |
| 418 | "type": [ |
| 419 | "string", |
| 420 | "null" |
| 421 | ] |
| 422 | }, |
| 423 | "WriteOnly": { |
| 424 | "description": "Defines whether this attribute is write-only. Such attributes revert back to their initial value after settings are applied.", |
| 425 | "longDescription": "The value of this property shall be a boolean describing the write-only state of this attribute. A write-only attribute reverts back to it's initial value after settings are applied.", |
| 426 | "readonly": true, |
| 427 | "type": [ |
| 428 | "boolean", |
| 429 | "null" |
| 430 | ] |
| 431 | } |
| 432 | }, |
| 433 | "type": "object" |
| 434 | }, |
| 435 | "Dependencies": { |
| 436 | "additionalProperties": false, |
| 437 | "description": "A dependency of attributes on this component.", |
| 438 | "longDescription": "This type shall describe a dependency of attributes on this component.", |
| 439 | "patternProperties": { |
| 440 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 441 | "description": "This property shall specify a valid odata or Redfish property.", |
| 442 | "type": [ |
| 443 | "array", |
| 444 | "boolean", |
| 445 | "number", |
| 446 | "null", |
| 447 | "object", |
| 448 | "string" |
| 449 | ] |
| 450 | } |
| 451 | }, |
| 452 | "properties": { |
| 453 | "Dependency": { |
| 454 | "$ref": "#/definitions/Dependency", |
| 455 | "description": "The dependency expression for one or more Attributes in this Attribute Registry.", |
| 456 | "longDescription": "The value of this property shall be the dependency expression for one or more Attributes in this Attribute Registry." |
| 457 | }, |
| 458 | "DependencyFor": { |
| 459 | "description": "The AttributeName of the attribute whose change triggers the evaluation of this dependency expression.", |
| 460 | "longDescription": "The value of this property shall be the AttributeName of the attribute whose change triggers the evaluation of this dependency expression.", |
| 461 | "pattern": "^[A-Za-z][A-Za-z0-9_]+$", |
| 462 | "readonly": true, |
| 463 | "type": "string" |
| 464 | }, |
| 465 | "Type": { |
| 466 | "$ref": "#/definitions/DependencyType", |
| 467 | "description": "The type of the dependency structure.", |
| 468 | "longDescription": "The value of this property shall be an enumeration describing type of the attribute dependency.", |
| 469 | "readonly": true |
| 470 | } |
| 471 | }, |
| 472 | "type": "object" |
| 473 | }, |
| 474 | "Dependency": { |
| 475 | "additionalProperties": false, |
| 476 | "description": "The dependency expression for one or more Attributes in this Attribute Registry.", |
| 477 | "longDescription": "This type shall describe the dependency expression for one or more Attributes in this Attribute Registry.", |
| 478 | "patternProperties": { |
| 479 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 480 | "description": "This property shall specify a valid odata or Redfish property.", |
| 481 | "type": [ |
| 482 | "array", |
| 483 | "boolean", |
| 484 | "number", |
| 485 | "null", |
| 486 | "object", |
| 487 | "string" |
| 488 | ] |
| 489 | } |
| 490 | }, |
| 491 | "properties": { |
| 492 | "MapFrom": { |
| 493 | "description": "Array of the map-from conditions for mapping dependency.", |
| 494 | "items": { |
| 495 | "$ref": "#/definitions/MapFrom" |
| 496 | }, |
| 497 | "longDescription": "The value of this property shall be an array containing the map-from conditions for a dependency of Type 'Map'.", |
| 498 | "type": "array" |
| 499 | }, |
| 500 | "MapToAttribute": { |
| 501 | "description": "The Name of the attribute that is affected by this dependency expression.", |
| 502 | "longDescription": "The value of this property shall be the AttributeName of the attribute that is affected by this dependency expression.", |
| 503 | "pattern": "^[A-Za-z][A-Za-z0-9_]+$", |
| 504 | "readonly": true, |
| 505 | "type": "string" |
| 506 | }, |
| 507 | "MapToProperty": { |
| 508 | "$ref": "#/definitions/MapToProperty", |
| 509 | "description": "The meta-data property of the attribute specified in MapFromAttribute that is used to evaluate this dependency expression.", |
| 510 | "longDescription": "The value of this property shall be the meta-data property of the attribute specified in MapFromAttribute that is used to evaluate this dependency expression. For example, this could be the MapFromAttribute CurrentValue, or ReadOnly state.", |
| 511 | "readonly": true |
| 512 | }, |
| 513 | "MapToValue": { |
| 514 | "description": "The value that MapToProperty is changed to if the dependency expression evaluates to true.", |
| 515 | "longDescription": "The value that the property specified in MapToProperty (in the attribute specified in MapToAttribute) is changed to if the dependency expression evaluates to true.", |
| 516 | "readonly": true, |
| 517 | "type": [ |
| 518 | "string", |
| 519 | "boolean", |
| 520 | "number", |
| 521 | "null" |
| 522 | ] |
| 523 | } |
| 524 | }, |
| 525 | "type": "object" |
| 526 | }, |
| 527 | "DependencyType": { |
| 528 | "enum": [ |
| 529 | "Map" |
| 530 | ], |
| 531 | "enumDescriptions": { |
| 532 | "Map": "A simple mapping dependency. The attribute value or state is changed to the mapped value if the condition evaluates to true." |
| 533 | }, |
| 534 | "type": "string" |
| 535 | }, |
| 536 | "MapFrom": { |
| 537 | "additionalProperties": false, |
| 538 | "description": "A map-from condition for mapping dependency.", |
| 539 | "longDescription": "This type shall describe a map-from condition for a dependency of Type 'Map'.", |
| 540 | "patternProperties": { |
| 541 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 542 | "description": "This property shall specify a valid odata or Redfish property.", |
| 543 | "type": [ |
| 544 | "array", |
| 545 | "boolean", |
| 546 | "number", |
| 547 | "null", |
| 548 | "object", |
| 549 | "string" |
| 550 | ] |
| 551 | } |
| 552 | }, |
| 553 | "properties": { |
| 554 | "MapFromAttribute": { |
| 555 | "description": "The attribute that is used to evaluate this dependency expression.", |
| 556 | "longDescription": "The value of this property shall be the AttributeName of the attribute that is used in evaluating this dependency expression term.", |
| 557 | "pattern": "^[A-Za-z][A-Za-z0-9_]+$", |
| 558 | "readonly": true, |
| 559 | "type": "string" |
| 560 | }, |
| 561 | "MapFromCondition": { |
| 562 | "$ref": "#/definitions/MapFromCondition", |
| 563 | "description": "The condition that is used to evaluate this dependency expression.", |
| 564 | "longDescription": "The value of this property shall be the condition that is used to evaluate this dependency expression. For example, 'EQU' or 'NEQ'.", |
| 565 | "readonly": true |
| 566 | }, |
| 567 | "MapFromProperty": { |
| 568 | "$ref": "#/definitions/MapFromProperty", |
| 569 | "description": "The meta-data property of the attribute specified in MapFromAttribute that is used to evaluate this dependency expression.", |
| 570 | "longDescription": "The value of this property shall be the meta-data property of the attribute specified in MapFromAttribute that is used to evaluate this dependency expression. For example, this could be the MapFromAttribute CurrentValue, or ReadOnly state.", |
| 571 | "readonly": true |
| 572 | }, |
| 573 | "MapFromValue": { |
| 574 | "description": "The value that the is used property specified in MapFromProperty that is used to evaluate this dependency expression.", |
| 575 | "longDescription": "The value that the property specified in MapFromProperty (in the attribute specified in MapFromAttribute) that is used to evaluate this dependency expression.", |
| 576 | "readonly": true, |
| 577 | "type": [ |
| 578 | "string", |
| 579 | "boolean", |
| 580 | "number", |
| 581 | "null" |
| 582 | ] |
| 583 | }, |
| 584 | "MapTerms": { |
| 585 | "$ref": "#/definitions/MapTerms", |
| 586 | "description": "The logical term used to combine two or more MapFrom conditions in this dependency expression.", |
| 587 | "longDescription": "The value of this property shall be the logical term used to combine two or more MapFrom conditions in this dependency expression. For example, 'AND' for logical AND, or 'OR' for logical OR of the conditions.", |
| 588 | "readonly": true |
| 589 | } |
| 590 | }, |
| 591 | "type": "object" |
| 592 | }, |
| 593 | "MapFromCondition": { |
| 594 | "enum": [ |
| 595 | "EQU", |
| 596 | "NEQ", |
| 597 | "GTR", |
| 598 | "GEQ", |
| 599 | "LSS", |
| 600 | "LEQ" |
| 601 | ], |
| 602 | "enumDescriptions": { |
| 603 | "EQU": "The logical operation for 'Equal'.", |
| 604 | "GEQ": "The logical operation for 'Greater than or Equal'.", |
| 605 | "GTR": "The logical operation for 'Greater than'.", |
| 606 | "LEQ": "The logical operation for 'Less than or Equal'.", |
| 607 | "LSS": "The logical operation for 'Less than'.", |
| 608 | "NEQ": "The logical operation for 'Not Equal'." |
| 609 | }, |
| 610 | "type": "string" |
| 611 | }, |
| 612 | "MapFromProperty": { |
| 613 | "enum": [ |
| 614 | "CurrentValue", |
| 615 | "DefaultValue", |
| 616 | "ReadOnly", |
| 617 | "WriteOnly", |
| 618 | "GrayOut", |
| 619 | "Hidden", |
| 620 | "LowerBound", |
| 621 | "UpperBound", |
| 622 | "MinLength", |
| 623 | "MaxLength", |
| 624 | "ScalarIncrement" |
| 625 | ], |
| 626 | "enumDescriptions": { |
| 627 | "CurrentValue": "The dependency on an attribute's CurrentValue.", |
| 628 | "DefaultValue": "The dependency on an attribute's DefaultValue.", |
| 629 | "GrayOut": "The dependency on an attribute's GrayOut state.", |
| 630 | "Hidden": "The dependency on an attribute's Hidden state.", |
| 631 | "LowerBound": "The dependency on an attribute's LowerBound.", |
| 632 | "MaxLength": "The dependency on an attribute's MaxLength.", |
| 633 | "MinLength": "The dependency on an attribute's MinLength.", |
| 634 | "ReadOnly": "The dependency on an attribute's ReadOnly state.", |
| 635 | "ScalarIncrement": "The dependency on an attribute's ScalarIncrement.", |
| 636 | "UpperBound": "The dependency on an attribute's UpperBound.", |
| 637 | "WriteOnly": "The dependency on an attribute's WriteOnly state." |
| 638 | }, |
| 639 | "type": "string" |
| 640 | }, |
| 641 | "MapTerms": { |
| 642 | "enum": [ |
| 643 | "AND", |
| 644 | "OR" |
| 645 | ], |
| 646 | "enumDescriptions": { |
| 647 | "AND": "The operation used for logical 'AND' of dependency terms.", |
| 648 | "OR": "The operation used for logical 'OR' of dependency terms." |
| 649 | }, |
| 650 | "type": "string" |
| 651 | }, |
| 652 | "MapToProperty": { |
| 653 | "enum": [ |
| 654 | "CurrentValue", |
| 655 | "DefaultValue", |
| 656 | "ReadOnly", |
| 657 | "WriteOnly", |
| 658 | "GrayOut", |
| 659 | "Hidden", |
| 660 | "Immutable", |
| 661 | "HelpText", |
| 662 | "WarningText", |
| 663 | "DisplayName", |
| 664 | "DisplayOrder", |
| 665 | "LowerBound", |
| 666 | "UpperBound", |
| 667 | "MinLength", |
| 668 | "MaxLength", |
| 669 | "ScalarIncrement", |
| 670 | "ValueExpression" |
| 671 | ], |
| 672 | "enumDescriptions": { |
| 673 | "CurrentValue": "The dependency that affects an attribute's CurrentValue.", |
| 674 | "DefaultValue": "The dependency that affects an attribute's DefaultValue.", |
| 675 | "DisplayName": "The dependency that affects an attribute's DisplayName.", |
| 676 | "DisplayOrder": "The dependency that affects an attribute's DisplayName.", |
| 677 | "GrayOut": "The dependency that affects an attribute's GrayOut state.", |
| 678 | "HelpText": "The dependency that affects an attribute's HelpText.", |
| 679 | "Hidden": "The dependency that affects an attribute's Hidden state.", |
| 680 | "Immutable": "The dependency that affects an attribute's Immutable state.", |
| 681 | "LowerBound": "The dependency that affects an attribute's LowerBound.", |
| 682 | "MaxLength": "The dependency that affects an attribute's MaxLength.", |
| 683 | "MinLength": "The dependency that affects an attribute's MinLength.", |
| 684 | "ReadOnly": "The dependency that affects an attribute's ReadOnly state.", |
| 685 | "ScalarIncrement": "The dependency that affects an attribute's ScalarIncrement.", |
| 686 | "UpperBound": "The dependency that affects an attribute's UpperBound.", |
| 687 | "ValueExpression": "The dependency that affects an attribute's ValueExpression.", |
| 688 | "WarningText": "The dependency that affects an attribute's WarningText.", |
| 689 | "WriteOnly": "The dependency that affects an attribute's WriteOnly state." |
| 690 | }, |
| 691 | "type": "string" |
| 692 | }, |
| 693 | "Menus": { |
| 694 | "additionalProperties": false, |
| 695 | "description": "A menu and its hierarchy.", |
| 696 | "longDescription": "This type shall describe an attribute's menu and its hierarchy.", |
| 697 | "patternProperties": { |
| 698 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 699 | "description": "This property shall specify a valid odata or Redfish property.", |
| 700 | "type": [ |
| 701 | "array", |
| 702 | "boolean", |
| 703 | "number", |
| 704 | "null", |
| 705 | "object", |
| 706 | "string" |
| 707 | ] |
| 708 | } |
| 709 | }, |
| 710 | "properties": { |
| 711 | "DisplayName": { |
| 712 | "description": "The user-readable display string of this menu in the defined 'Language'.", |
| 713 | "longDescription": "The value of this property shall be the user-readable display string of the menu in the defined 'Language'.", |
| 714 | "readonly": true, |
| 715 | "type": [ |
| 716 | "string", |
| 717 | "null" |
| 718 | ] |
| 719 | }, |
| 720 | "DisplayOrder": { |
| 721 | "description": "The numeric value describing the ascending order in which this menu is displayed relative to other menus.", |
| 722 | "longDescription": "The value of this property shall be a number the describes the ascending order in which this menu is displayed, relative to other menus.", |
| 723 | "readonly": true, |
| 724 | "type": [ |
| 725 | "number", |
| 726 | "null" |
| 727 | ] |
| 728 | }, |
| 729 | "GrayOut": { |
| 730 | "description": "The gray-out state of this menu. A grayed-only menu is not accessible in user interfaces.", |
| 731 | "longDescription": "The value of this property shall be a boolean describing the gray-out state of this menu. When set to true, a grayed-only menu is not accessible in user interfaces.", |
| 732 | "readonly": true, |
| 733 | "type": [ |
| 734 | "boolean", |
| 735 | "null" |
| 736 | ] |
| 737 | }, |
| 738 | "MenuName": { |
| 739 | "description": "The unique name string of this menu.", |
| 740 | "longDescription": "The value of this property shall be the name of this menu that is unique in this registry.", |
| 741 | "pattern": "^[A-Za-z][A-Za-z0-9_]+$", |
| 742 | "readonly": true, |
| 743 | "type": "string" |
| 744 | }, |
| 745 | "MenuPath": { |
| 746 | "description": "A path that describes this menu hierarchy relative to other menus.", |
| 747 | "longDescription": "The value of this property shall be a string indicating the menu hierarchy of this menu, in the form of a path to the menu names.", |
| 748 | "pattern": "^[.]?[A-Za-z0-9_//]+$", |
| 749 | "readonly": true, |
| 750 | "type": [ |
| 751 | "string", |
| 752 | "null" |
| 753 | ] |
| 754 | }, |
| 755 | "ReadOnly": { |
| 756 | "description": "The read-only state of this menu.", |
| 757 | "longDescription": "The value of this property shall be a boolean describing the read-only state of this menu. A read-only menu is not accessible in user interfaces, and all properties contained in that menu and its sub-menus become read-only.", |
| 758 | "readonly": true, |
| 759 | "type": [ |
| 760 | "boolean", |
| 761 | "null" |
| 762 | ] |
| 763 | } |
| 764 | }, |
| 765 | "type": "object" |
| 766 | }, |
| 767 | "OemActions": { |
| 768 | "additionalProperties": true, |
| 769 | "description": "The available OEM specific actions for this resource.", |
| 770 | "longDescription": "This type shall contain any additional OEM actions for this resource.", |
| 771 | "patternProperties": { |
| 772 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 773 | "description": "This property shall specify a valid odata or Redfish property.", |
| 774 | "type": [ |
| 775 | "array", |
| 776 | "boolean", |
| 777 | "number", |
| 778 | "null", |
| 779 | "object", |
| 780 | "string" |
| 781 | ] |
| 782 | } |
| 783 | }, |
| 784 | "properties": {}, |
| 785 | "type": "object" |
| 786 | }, |
| 787 | "RegistryEntries": { |
| 788 | "additionalProperties": false, |
| 789 | "description": "List of all attributes and their metadata for this component.", |
| 790 | "longDescription": "This type shall describe a list of all attributes for this component, along with their possible values, dependencies, and other metadata.", |
| 791 | "patternProperties": { |
| 792 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 793 | "description": "This property shall specify a valid odata or Redfish property.", |
| 794 | "type": [ |
| 795 | "array", |
| 796 | "boolean", |
| 797 | "number", |
| 798 | "null", |
| 799 | "object", |
| 800 | "string" |
| 801 | ] |
| 802 | } |
| 803 | }, |
| 804 | "properties": { |
| 805 | "Attributes": { |
| 806 | "description": "The array containing the attributes and their possible values.", |
| 807 | "items": { |
| 808 | "$ref": "#/definitions/Attributes" |
| 809 | }, |
| 810 | "longDescription": "The value of this property shall be an array containing the attributes and their possible values and other metadata.", |
| 811 | "type": "array" |
| 812 | }, |
| 813 | "Dependencies": { |
| 814 | "description": "The array containing a list of dependencies of attributes on this component.", |
| 815 | "items": { |
| 816 | "$ref": "#/definitions/Dependencies" |
| 817 | }, |
| 818 | "longDescription": "The value of this property shall be an array containing a list of dependencies of attributes on this component.", |
| 819 | "type": "array" |
| 820 | }, |
| 821 | "Menus": { |
| 822 | "description": "The array containing the attributes menus and their hierarchy.", |
| 823 | "items": { |
| 824 | "$ref": "#/definitions/Menus" |
| 825 | }, |
| 826 | "longDescription": "The value of this property shall be an array containing the attributes menus and their hierarchy.", |
| 827 | "type": "array" |
| 828 | } |
| 829 | }, |
| 830 | "type": "object" |
| 831 | }, |
| 832 | "SupportedSystems": { |
| 833 | "additionalProperties": false, |
| 834 | "description": "A system supported by this attribute registry.", |
| 835 | "longDescription": "This type shall describe a system supported by this attribute registry.", |
| 836 | "patternProperties": { |
| 837 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": { |
| 838 | "description": "This property shall specify a valid odata or Redfish property.", |
| 839 | "type": [ |
| 840 | "array", |
| 841 | "boolean", |
| 842 | "number", |
| 843 | "null", |
| 844 | "object", |
| 845 | "string" |
| 846 | ] |
| 847 | } |
| 848 | }, |
| 849 | "properties": { |
| 850 | "FirmwareVersion": { |
| 851 | "description": "Firmware version.", |
| 852 | "longDescription": "The version of the component firmware image that this registry applies to.", |
| 853 | "readonly": true, |
| 854 | "type": [ |
| 855 | "string", |
| 856 | "null" |
| 857 | ] |
| 858 | }, |
| 859 | "ProductName": { |
| 860 | "description": "The product name of the system.", |
| 861 | "longDescription": "The value of this property shall be the product name of the computer system that this registry applies to.", |
| 862 | "readonly": true, |
| 863 | "type": [ |
| 864 | "string", |
| 865 | "null" |
| 866 | ] |
| 867 | }, |
| 868 | "SystemId": { |
| 869 | "description": "The system ID of the system.", |
| 870 | "longDescription": "The value of this property shall be the system ID that identifies the computer system model that this registry applies to.", |
| 871 | "pattern": "^[A-Za-z0-9]+$", |
| 872 | "readonly": true, |
| 873 | "type": [ |
| 874 | "string", |
| 875 | "null" |
| 876 | ] |
| 877 | } |
| 878 | }, |
| 879 | "type": "object" |
| 880 | } |
| 881 | }, |
| 882 | "owningEntity": "DMTF", |
| 883 | "title": "#AttributeRegistry.v1_2_0.AttributeRegistry" |
| 884 | } |