1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/ResolutionStep.v1_0_1.json",
3    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5    "definitions": {
6        "ResolutionStep": {
7            "additionalProperties": false,
8            "description": "This type describes a recommended step of the service-defined resolution.",
9            "longDescription": "This type shall describe a recommended step of the service-defined resolution.  The set of recommended steps are used to resolve the cause of a log entry, an event, a condition, or an error message.",
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                        "integer",
17                        "number",
18                        "null",
19                        "object",
20                        "string"
21                    ]
22                }
23            },
24            "properties": {
25                "ActionParameters": {
26                    "description": "The parameters of the action URI for a resolution step.",
27                    "items": {
28                        "anyOf": [
29                            {
30                                "$ref": "http://redfish.dmtf.org/schemas/v1/ActionInfo.json#/definitions/Parameters"
31                            },
32                            {
33                                "type": "null"
34                            }
35                        ]
36                    },
37                    "longDescription": "This property shall contain the parameters of the action URI for a resolution step.",
38                    "type": "array"
39                },
40                "ActionURI": {
41                    "description": "The action URI for a resolution step.",
42                    "format": "uri-reference",
43                    "longDescription": "This property shall contain the action URI for a resolution step.",
44                    "readonly": true,
45                    "type": "string"
46                },
47                "Oem": {
48                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
49                    "description": "The OEM extension property.",
50                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
51                },
52                "Priority": {
53                    "description": "The priority in the set of resolution steps.",
54                    "longDescription": "This property shall contain the priority in the set of resolution steps.  The value `0` shall indicate the highest priority.  Increasing values shall represent decreasing priority.  If two or more resolution steps have the same priority, the execution order of the resolution steps shall be in array order.  If a resolution step does not have a priority assignment, the default is 0.  The priority is used to determine the execution order of the resolution steps.",
55                    "minimum": 0,
56                    "readonly": true,
57                    "type": [
58                        "integer",
59                        "null"
60                    ]
61                },
62                "ResolutionType": {
63                    "anyOf": [
64                        {
65                            "$ref": "#/definitions/ResolutionType"
66                        },
67                        {
68                            "type": "null"
69                        }
70                    ],
71                    "description": "The type of the resolution step.",
72                    "longDescription": "This property shall contain the type of the resolution step.",
73                    "readonly": true
74                },
75                "RetryCount": {
76                    "description": "The number of retries for a resolution step.",
77                    "longDescription": "This property shall contain the number of the retries for a resolution step.",
78                    "minimum": 0,
79                    "readonly": true,
80                    "type": [
81                        "integer",
82                        "null"
83                    ]
84                },
85                "RetryIntervalSeconds": {
86                    "description": "The interval between retries for a resolution step.",
87                    "longDescription": "This property shall contain the interval, in seconds, between the retries for a resolution step.",
88                    "minimum": 0,
89                    "readonly": true,
90                    "type": [
91                        "integer",
92                        "null"
93                    ],
94                    "units": "s"
95                },
96                "TargetComponentURI": {
97                    "description": "The target URI of the component for a resolution step.",
98                    "format": "uri-reference",
99                    "longDescription": "This property shall contain the target URI of the component for a resolution step.  This property shall be present if the `ActionURI` property is not supported.",
100                    "readonly": true,
101                    "type": [
102                        "string",
103                        "null"
104                    ]
105                }
106            },
107            "required": [
108                "ResolutionType"
109            ],
110            "type": "object"
111        },
112        "ResolutionType": {
113            "enum": [
114                "ContactVendor",
115                "ReplaceComponent",
116                "FirmwareUpdate",
117                "Reset",
118                "PowerCycle",
119                "ResetToDefaults",
120                "CollectDiagnosticData",
121                "OEM"
122            ],
123            "enumDescriptions": {
124                "CollectDiagnosticData": "Collect diagnostic data.",
125                "ContactVendor": "Contact vendor for service.",
126                "FirmwareUpdate": "Perform a firmware update operation.",
127                "OEM": "Perform an OEM-defined resolution step.",
128                "PowerCycle": "Perform a power cycle operation.",
129                "ReplaceComponent": "Replace a component.",
130                "Reset": "Perform a reset operation.",
131                "ResetToDefaults": "Reset the settings to factory defaults."
132            },
133            "type": "string"
134        }
135    },
136    "language": "en",
137    "owningEntity": "DMTF",
138    "release": "2023.3",
139    "title": "#ResolutionStep.v1_0_1"
140}