blob: 91379751f924d69256ea3d43df7749d1a7860c86 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Mills262d7d42021-01-20 16:28:41 -06002 "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_1_2.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": {
Gunnar Mills262d7d42021-01-20 16:28:41 -060026 "description": "The human-readable message.",
27 "longDescription": "This property shall contain a human-readable message.",
Ed Tanous530520e2019-01-02 13:41:37 -080028 "readonly": true,
Gunnar Mills262d7d42021-01-20 16:28:41 -060029 "type": "string"
Ed Tanous118b1c72018-09-13 13:45:51 -070030 },
31 "MessageArgs": {
Gunnar Mills262d7d42021-01-20 16:28:41 -060032 "description": "An array of message arguments that are substituted for the arguments in the message when looked up in the message registry.",
Ed Tanous118b1c72018-09-13 13:45:51 -070033 "items": {
34 "type": "string"
35 },
Gunnar Mills262d7d42021-01-20 16:28:41 -060036 "longDescription": "This property shall contain an array of message arguments that are substituted for the arguments in the message when looked up in the message registry. It has the same semantics as the MessageArgs property in the Redfish MessageRegistry schema.",
Ed Tanous118b1c72018-09-13 13:45:51 -070037 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -080038 "type": "array"
Ed Tanous118b1c72018-09-13 13:45:51 -070039 },
Ed Tanous530520e2019-01-02 13:41:37 -080040 "MessageId": {
Gunnar Mills262d7d42021-01-20 16:28:41 -060041 "description": "The identifier for the message.",
42 "longDescription": "This property shall contain a MessageId, as defined in the 'MessageId format' clause of the Redfish Specification.",
Ed Tanous118b1c72018-09-13 13:45:51 -070043 "readonly": true,
Ed Tanous530520e2019-01-02 13:41:37 -080044 "type": "string"
Ed Tanous118b1c72018-09-13 13:45:51 -070045 },
Gunnar Millsa778c022020-05-12 12:20:36 -050046 "MessageSeverity": {
Gunnar Mills262d7d42021-01-20 16:28:41 -060047 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
Gunnar Millsa778c022020-05-12 12:20:36 -050048 "description": "The severity of the message.",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050049 "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 -050050 "readonly": true,
51 "versionAdded": "v1_1_0"
52 },
Ed Tanous118b1c72018-09-13 13:45:51 -070053 "Oem": {
54 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -070055 "description": "The OEM extension property.",
56 "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 -080057 },
58 "RelatedProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070059 "description": "A set of properties described by the message.",
Ed Tanous530520e2019-01-02 13:41:37 -080060 "items": {
61 "type": "string"
62 },
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050063 "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 -080064 "readonly": true,
65 "type": "array"
66 },
67 "Resolution": {
Gunnar Mills262d7d42021-01-20 16:28:41 -060068 "description": "Used to provide suggestions on how to resolve the situation that caused the message.",
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050069 "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 -080070 "readonly": true,
Gunnar Mills262d7d42021-01-20 16:28:41 -060071 "type": "string"
Ed Tanous530520e2019-01-02 13:41:37 -080072 },
73 "Severity": {
Gunnar Millsa778c022020-05-12 12:20:36 -050074 "deprecated": "This property has been deprecated in favor of MessageSeverity, which ties the values to the enumerations defined for the Health property within Status.",
Gunnar Mills262d7d42021-01-20 16:28:41 -060075 "description": "The severity of the message.",
76 "longDescription": "This property shall contain the severity of the message, as defined in the 'Status' clause 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 -080077 "readonly": true,
Gunnar Mills262d7d42021-01-20 16:28:41 -060078 "type": "string",
Gunnar Millsa778c022020-05-12 12:20:36 -050079 "versionDeprecated": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070080 }
81 },
82 "required": [
83 "MessageId"
84 ],
Ed Tanous530520e2019-01-02 13:41:37 -080085 "type": "object"
Ed Tanous118b1c72018-09-13 13:45:51 -070086 }
87 },
Ed Tanous530520e2019-01-02 13:41:37 -080088 "owningEntity": "DMTF",
Gunnar Millsa778c022020-05-12 12:20:36 -050089 "release": "2020.1",
Gunnar Mills262d7d42021-01-20 16:28:41 -060090 "title": "#Message.v1_1_2"
Ed Tanous530520e2019-01-02 13:41:37 -080091}