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