1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/ActionInfo.v1_4_2.json",
3    "$ref": "#/definitions/ActionInfo",
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        "ActionInfo": {
8            "additionalProperties": false,
9            "description": "The `ActionInfo` schema defines the supported parameters and other information for a Redfish action.  Supported parameters can differ among vendors and even among resource instances.  This data can ensure that action requests from applications contain supported parameters.",
10            "longDescription": "This resource shall represent the supported parameters and other information for a Redfish action on a target within a Redfish implementation.  Supported parameters can differ among vendors and even among resource instances.  This data can ensure that action requests from applications contain supported parameters.",
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                "@odata.context": {
27                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
28                },
29                "@odata.etag": {
30                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
31                },
32                "@odata.id": {
33                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
34                },
35                "@odata.type": {
36                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
37                },
38                "Description": {
39                    "anyOf": [
40                        {
41                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
42                        },
43                        {
44                            "type": "null"
45                        }
46                    ],
47                    "readonly": true
48                },
49                "Id": {
50                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
51                    "readonly": true
52                },
53                "Name": {
54                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
55                    "readonly": true
56                },
57                "Oem": {
58                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
59                    "description": "The OEM extension property.",
60                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
61                },
62                "Parameters": {
63                    "description": "The list of parameters included in the specified Redfish action.",
64                    "items": {
65                        "$ref": "#/definitions/Parameters"
66                    },
67                    "longDescription": "This property shall list the parameters included in the specified Redfish action for this resource.",
68                    "type": "array"
69                }
70            },
71            "required": [
72                "@odata.id",
73                "@odata.type",
74                "Id",
75                "Name"
76            ],
77            "type": "object"
78        },
79        "ParameterTypes": {
80            "enum": [
81                "Boolean",
82                "Number",
83                "NumberArray",
84                "String",
85                "StringArray",
86                "Object",
87                "ObjectArray"
88            ],
89            "enumDescriptions": {
90                "Boolean": "A boolean.",
91                "Number": "A number.",
92                "NumberArray": "An array of numbers.",
93                "Object": "An embedded JSON object.",
94                "ObjectArray": "An array of JSON objects.",
95                "String": "A string.",
96                "StringArray": "An array of strings."
97            },
98            "type": "string"
99        },
100        "Parameters": {
101            "additionalProperties": false,
102            "description": "The information about a parameter included in a Redfish action for this resource.",
103            "longDescription": "This property shall contain information about a parameter included in a Redfish action for this resource.",
104            "patternProperties": {
105                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
106                    "description": "This property shall specify a valid odata or Redfish property.",
107                    "type": [
108                        "array",
109                        "boolean",
110                        "integer",
111                        "number",
112                        "null",
113                        "object",
114                        "string"
115                    ]
116                }
117            },
118            "properties": {
119                "AllowableNumbers": {
120                    "description": "The allowable numeric values or duration values, inclusive ranges of values, and incremental step values for this parameter as applied to this action target.",
121                    "items": {
122                        "type": [
123                            "string",
124                            "null"
125                        ]
126                    },
127                    "longDescription": "This property shall indicate the allowable numeric values, inclusive ranges of values, and incremental step values for this parameter as applied to this action target, as defined in the 'Allowable values for numbers and durations' clause of the Redfish Specification.  For arrays, this property shall represent the allowable values for each array member.  This property shall only be present for numeric parameters or string parameters that specify a duration.",
128                    "readonly": true,
129                    "type": "array",
130                    "versionAdded": "v1_3_0"
131                },
132                "AllowablePattern": {
133                    "description": "The allowable pattern for this parameter as applied to this action target.",
134                    "longDescription": "This property shall contain a regular expression that describes the allowable values for this parameter as applied to this action target.  For arrays, this property shall represent the allowable values for each array member.  This property shall only be present for string parameters.",
135                    "readonly": true,
136                    "type": [
137                        "string",
138                        "null"
139                    ],
140                    "versionAdded": "v1_3_0"
141                },
142                "AllowableValueDescriptions": {
143                    "description": "Descriptions of allowable values for this parameter.",
144                    "items": {
145                        "type": [
146                            "string",
147                            "null"
148                        ]
149                    },
150                    "longDescription": "This property shall contain the descriptions of allowable values for this parameter.  The descriptions shall appear in the same array order as the `AllowableValues` property.  For arrays, this property shall represent the descriptions of allowable values for each array member.",
151                    "readonly": true,
152                    "type": "array",
153                    "versionAdded": "v1_4_0"
154                },
155                "AllowableValues": {
156                    "description": "The allowable values for this parameter as applied to this action target.",
157                    "items": {
158                        "type": [
159                            "string",
160                            "null"
161                        ]
162                    },
163                    "longDescription": "This property shall indicate the allowable values for this parameter as applied to this action target.  For arrays, this property shall represent the allowable values for each array member.",
164                    "readonly": true,
165                    "type": "array"
166                },
167                "ArraySizeMaximum": {
168                    "description": "The maximum number of array elements allowed for this parameter.",
169                    "longDescription": "This property shall contain the maximum number of array elements that this service supports for this parameter.  This property shall not be present for non-array parameters.",
170                    "readonly": true,
171                    "type": [
172                        "integer",
173                        "null"
174                    ],
175                    "versionAdded": "v1_2_0"
176                },
177                "ArraySizeMinimum": {
178                    "description": "The minimum number of array elements required for this parameter.",
179                    "longDescription": "This property shall contain the minimum number of array elements required by this service for this parameter.  This property shall not be present for non-array parameters.",
180                    "readonly": true,
181                    "type": [
182                        "integer",
183                        "null"
184                    ],
185                    "versionAdded": "v1_2_0"
186                },
187                "DataType": {
188                    "anyOf": [
189                        {
190                            "$ref": "#/definitions/ParameterTypes"
191                        },
192                        {
193                            "type": "null"
194                        }
195                    ],
196                    "description": "The JSON property type for this parameter.",
197                    "longDescription": "This property shall contain the JSON property type for this parameter.",
198                    "readonly": true
199                },
200                "MaximumValue": {
201                    "description": "The maximum supported value for this parameter.",
202                    "longDescription": "This integer or number property shall contain the maximum value that this service supports.  For arrays, this property shall represent the maximum value for each array member.  This property shall not be present for non-integer or number parameters.",
203                    "readonly": true,
204                    "type": [
205                        "number",
206                        "null"
207                    ],
208                    "versionAdded": "v1_1_0"
209                },
210                "MinimumValue": {
211                    "description": "The minimum supported value for this parameter.",
212                    "longDescription": "This integer or number property shall contain the minimum value that this service supports.  For arrays, this property shall represent the minimum value for each array member.  This property shall not be present for non-integer or number parameters.",
213                    "readonly": true,
214                    "type": [
215                        "number",
216                        "null"
217                    ],
218                    "versionAdded": "v1_1_0"
219                },
220                "Name": {
221                    "description": "The name of the parameter for this action.",
222                    "longDescription": "This property shall contain the name of the parameter included in a Redfish action.",
223                    "readonly": true,
224                    "type": "string"
225                },
226                "ObjectDataType": {
227                    "description": "The data type of an object-based parameter.",
228                    "longDescription": "This property shall describe the entity type definition in `@odata.type` format for the parameter.  This property shall be required for parameters with a data type of `Object` or `ObjectArray`, and shall not be present for parameters with other data types.",
229                    "readonly": true,
230                    "type": [
231                        "string",
232                        "null"
233                    ]
234                },
235                "Required": {
236                    "description": "An indication of whether the parameter is required to complete this action.",
237                    "longDescription": "This property shall indicate whether the parameter is required to complete this action.",
238                    "readonly": true,
239                    "type": "boolean"
240                }
241            },
242            "required": [
243                "Name"
244            ],
245            "type": "object"
246        }
247    },
248    "language": "en",
249    "owningEntity": "DMTF",
250    "release": "2023.2",
251    "title": "#ActionInfo.v1_4_2.ActionInfo"
252}