alexandria/alexandria/model/redfish/1.0/Message.1.0.0.json

82 lines
4.1 KiB
JSON
Executable File

{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Message.1.0.0",
"definitions": {
"Message": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"MessageId": {
"type": "string",
"description": "This is the key for this message which can be used to look up the message in a message registry.",
"longDescription": "This property shall be a key into message registry as described in the Redfish specification."
},
"Message": {
"type": [
"string",
"null"
],
"description": "This is the human readable message, if provided.",
"longDescription": "This property shall contain an optional human readable message."
},
"RelatedProperties": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"description": "This is an array of properties described by the message.",
"longDescription": "This property shall contain an array of JSON Pointers indicating the properties described by the message, if appropriate for the message."
},
"MessageArgs": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"description": "This array of message arguments are substituted for the arguments in the message when looked up in the message registry.",
"longDescription": "This property shall contain the message substitution arguments for the specific message referenced by the MessageId and shall only be included if the MessageId is present."
},
"Severity": {
"type": [
"string",
"null"
],
"description": "This is the severity of the errors.",
"longDescription": "The value of this property shall be the severity of the error, as defined in the Status section of the Redfish specificaiton."
},
"Resolution": {
"type": [
"string",
"null"
],
"description": "Used to provide suggestions on how to resolve the situation that caused the error.",
"longDescription": "This property shall contain an override of the Resolution of the message in message registry, if present."
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}