blob: 803e0b15ebb1f1e6e9bfb52f34d03146ef63c870 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_1_1.json",
Ed Tanous530520e2019-01-02 13:41:37 -08003 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Gunnar Millsa778c022020-05-12 12:20:36 -05004 "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07005 "definitions": {
6 "Message": {
Ed Tanous530520e2019-01-02 13:41:37 -08007 "additionalProperties": false,
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05008 "description": "The message that the Redfish service returns.",
9 "longDescription": "This type shall contain a message that the Redfish service returns, as described in the Redfish Specification.",
Ed Tanous118b1c72018-09-13 13:45:51 -070010 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070011 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous530520e2019-01-02 13:41:37 -080012 "description": "This property shall specify a valid odata or Redfish property.",
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "type": [
14 "array",
15 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080016 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070017 "number",
18 "null",
19 "object",
20 "string"
Ed Tanous530520e2019-01-02 13:41:37 -080021 ]
Ed Tanous118b1c72018-09-13 13:45:51 -070022 }
23 },
Ed Tanous118b1c72018-09-13 13:45:51 -070024 "properties": {
Ed Tanous118b1c72018-09-13 13:45:51 -070025 "Message": {
Ed Tanouscb103132019-10-08 11:34:22 -070026 "description": "The human-readable message, if provided.",
27 "longDescription": "This property shall contain an optional human-readable message.",
Ed Tanous530520e2019-01-02 13:41:37 -080028 "readonly": true,
Ed Tanous118b1c72018-09-13 13:45:51 -070029 "type": [
30 "string",
31 "null"
Ed Tanous530520e2019-01-02 13:41:37 -080032 ]
Ed Tanous118b1c72018-09-13 13:45:51 -070033 },
34 "MessageArgs": {
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050035 "description": "This array of message arguments are substituted for the arguments in the message when looked up in the message registry.",
Ed Tanous118b1c72018-09-13 13:45:51 -070036 "items": {
37 "type": "string"
38 },
Ed Tanouscb103132019-10-08 11:34:22 -070039 "longDescription": "This property shall contain the message substitution arguments for the specific message to which this MessageId refers and shall be included only if the MessageId is present. Any number and integer type arguments shall be converted to strings.",
Ed Tanous118b1c72018-09-13 13:45:51 -070040 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -080041 "type": "array"
Ed Tanous118b1c72018-09-13 13:45:51 -070042 },
Ed Tanous530520e2019-01-02 13:41:37 -080043 "MessageId": {
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050044 "description": "The key for this message used to find the message in a message registry.",
45 "longDescription": "This property shall contain a key into message registry, as described in the Redfish Specification.",
Ed Tanous118b1c72018-09-13 13:45:51 -070046 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -080047 "type": "string"
Ed Tanous118b1c72018-09-13 13:45:51 -070048 },
Gunnar Millsa778c022020-05-12 12:20:36 -050049 "MessageSeverity": {
50 "anyOf": [
51 {
52 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health"
53 },
54 {
55 "type": "null"
56 }
57 ],
58 "description": "The severity of the message.",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050059 "longDescription": "This property shall contain the severity of the message. Services can replace the value defined in the message registry with a value more applicable to the implementation.",
Gunnar Millsa778c022020-05-12 12:20:36 -050060 "readonly": true,
61 "versionAdded": "v1_1_0"
62 },
Ed Tanous118b1c72018-09-13 13:45:51 -070063 "Oem": {
64 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -070065 "description": "The OEM extension property.",
66 "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
Ed Tanous530520e2019-01-02 13:41:37 -080067 },
68 "RelatedProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070069 "description": "A set of properties described by the message.",
Ed Tanous530520e2019-01-02 13:41:37 -080070 "items": {
71 "type": "string"
72 },
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050073 "longDescription": "This property shall contain an array of RFC6901-defined JSON pointers indicating the properties described by the message, if appropriate for the message.",
Ed Tanous530520e2019-01-02 13:41:37 -080074 "readonly": true,
75 "type": "array"
76 },
77 "Resolution": {
78 "description": "Used to provide suggestions on how to resolve the situation that caused the error.",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050079 "longDescription": "This property shall contain the resolution of the message. Services can replace the resolution defined in the message registry with a more specific resolution in message payloads.",
Ed Tanous530520e2019-01-02 13:41:37 -080080 "readonly": true,
81 "type": [
82 "string",
83 "null"
84 ]
85 },
86 "Severity": {
Gunnar Millsa778c022020-05-12 12:20:36 -050087 "deprecated": "This property has been deprecated in favor of MessageSeverity, which ties the values to the enumerations defined for the Health property within Status.",
Ed Tanouscb103132019-10-08 11:34:22 -070088 "description": "The severity of the errors.",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050089 "longDescription": "This property shall contain the severity of the error, as defined in the Status section of the Redfish Specification. Services can replace the value defined in the message registry with a value more applicable to the implementation.",
Ed Tanous530520e2019-01-02 13:41:37 -080090 "readonly": true,
91 "type": [
92 "string",
93 "null"
Gunnar Millsa778c022020-05-12 12:20:36 -050094 ],
95 "versionDeprecated": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070096 }
97 },
98 "required": [
99 "MessageId"
100 ],
Ed Tanous530520e2019-01-02 13:41:37 -0800101 "type": "object"
Ed Tanous118b1c72018-09-13 13:45:51 -0700102 }
103 },
Ed Tanous530520e2019-01-02 13:41:37 -0800104 "owningEntity": "DMTF",
Gunnar Millsa778c022020-05-12 12:20:36 -0500105 "release": "2020.1",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500106 "title": "#Message.v1_1_1"
Ed Tanous530520e2019-01-02 13:41:37 -0800107}