1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/ServiceConditions.v1_0_1.json",
3    "$ref": "#/definitions/ServiceConditions",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6    "definitions": {
7        "Actions": {
8            "additionalProperties": false,
9            "description": "The available actions for this resource.",
10            "longDescription": "This type shall contain the available actions for this resource.",
11            "patternProperties": {
12                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13                    "description": "This property shall specify a valid odata or Redfish property.",
14                    "type": [
15                        "array",
16                        "boolean",
17                        "integer",
18                        "number",
19                        "null",
20                        "object",
21                        "string"
22                    ]
23                }
24            },
25            "properties": {
26                "Oem": {
27                    "$ref": "#/definitions/OemActions",
28                    "description": "The available OEM-specific actions for this resource.",
29                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30                }
31            },
32            "type": "object"
33        },
34        "OemActions": {
35            "additionalProperties": true,
36            "description": "The available OEM-specific actions for this resource.",
37            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
38            "patternProperties": {
39                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40                    "description": "This property shall specify a valid odata or Redfish property.",
41                    "type": [
42                        "array",
43                        "boolean",
44                        "integer",
45                        "number",
46                        "null",
47                        "object",
48                        "string"
49                    ]
50                }
51            },
52            "properties": {},
53            "type": "object"
54        },
55        "ServiceConditions": {
56            "additionalProperties": false,
57            "description": "The `ServiceConditions` schema contains definitions for reporting the conditions present in the service that require attention.",
58            "longDescription": "This resource shall be used to represent the overall conditions present in a service for a Redfish implementation.",
59            "patternProperties": {
60                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
61                    "description": "This property shall specify a valid odata or Redfish property.",
62                    "type": [
63                        "array",
64                        "boolean",
65                        "integer",
66                        "number",
67                        "null",
68                        "object",
69                        "string"
70                    ]
71                }
72            },
73            "properties": {
74                "@odata.context": {
75                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
76                },
77                "@odata.etag": {
78                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
79                },
80                "@odata.id": {
81                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
82                },
83                "@odata.type": {
84                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
85                },
86                "Actions": {
87                    "$ref": "#/definitions/Actions",
88                    "description": "The available actions for this resource.",
89                    "longDescription": "This property shall contain the available actions for this resource."
90                },
91                "Conditions": {
92                    "description": "Conditions reported by this service that require attention.",
93                    "items": {
94                        "anyOf": [
95                            {
96                                "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Condition"
97                            },
98                            {
99                                "type": "null"
100                            }
101                        ]
102                    },
103                    "longDescription": "This property shall represent a roll-up of the active conditions requiring attention in resources of this Redfish service.  The service may roll up any number of conditions originating from resources in the service, using the `ConditionInRelatedResource` message from Base Message Registry.  The array order of conditions may change as new conditions occur or as conditions are resolved by the service.",
104                    "type": "array"
105                },
106                "Description": {
107                    "anyOf": [
108                        {
109                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
110                        },
111                        {
112                            "type": "null"
113                        }
114                    ],
115                    "readonly": true
116                },
117                "HealthRollup": {
118                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
119                    "description": "The health roll-up for all resources.",
120                    "longDescription": "This property shall contain the highest severity of any messages included in the `Conditions` property.",
121                    "readonly": true
122                },
123                "Id": {
124                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
125                    "readonly": true
126                },
127                "Name": {
128                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
129                    "readonly": true
130                },
131                "Oem": {
132                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
133                    "description": "The OEM extension property.",
134                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
135                }
136            },
137            "required": [
138                "@odata.id",
139                "@odata.type",
140                "Id",
141                "Name"
142            ],
143            "type": "object"
144        }
145    },
146    "language": "en",
147    "owningEntity": "DMTF",
148    "release": "2021.4",
149    "title": "#ServiceConditions.v1_0_1.ServiceConditions"
150}