1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/Job.v1_2_4.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/Job",
4*f2a8e57eSGunnar Mills    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5*f2a8e57eSGunnar Mills    "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
6*f2a8e57eSGunnar Mills    "definitions": {
7*f2a8e57eSGunnar Mills        "Actions": {
8*f2a8e57eSGunnar Mills            "additionalProperties": false,
9*f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
11*f2a8e57eSGunnar Mills            "patternProperties": {
12*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
13*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
14*f2a8e57eSGunnar Mills                    "type": [
15*f2a8e57eSGunnar Mills                        "array",
16*f2a8e57eSGunnar Mills                        "boolean",
17*f2a8e57eSGunnar Mills                        "integer",
18*f2a8e57eSGunnar Mills                        "number",
19*f2a8e57eSGunnar Mills                        "null",
20*f2a8e57eSGunnar Mills                        "object",
21*f2a8e57eSGunnar Mills                        "string"
22*f2a8e57eSGunnar Mills                    ]
23*f2a8e57eSGunnar Mills                }
24*f2a8e57eSGunnar Mills            },
25*f2a8e57eSGunnar Mills            "properties": {
26*f2a8e57eSGunnar Mills                "Oem": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
30*f2a8e57eSGunnar Mills                }
31*f2a8e57eSGunnar Mills            },
32*f2a8e57eSGunnar Mills            "type": "object"
33*f2a8e57eSGunnar Mills        },
34*f2a8e57eSGunnar Mills        "Job": {
35*f2a8e57eSGunnar Mills            "additionalProperties": false,
36*f2a8e57eSGunnar Mills            "description": "The `Job` schema contains information about a job that a Redfish job service schedules or executes.  Clients create jobs to describe a series of operations that occur at periodic intervals.",
37*f2a8e57eSGunnar Mills            "longDescription": "This resource shall contain a job in a Redfish implementation.",
38*f2a8e57eSGunnar Mills            "patternProperties": {
39*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
40*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
41*f2a8e57eSGunnar Mills                    "type": [
42*f2a8e57eSGunnar Mills                        "array",
43*f2a8e57eSGunnar Mills                        "boolean",
44*f2a8e57eSGunnar Mills                        "integer",
45*f2a8e57eSGunnar Mills                        "number",
46*f2a8e57eSGunnar Mills                        "null",
47*f2a8e57eSGunnar Mills                        "object",
48*f2a8e57eSGunnar Mills                        "string"
49*f2a8e57eSGunnar Mills                    ]
50*f2a8e57eSGunnar Mills                }
51*f2a8e57eSGunnar Mills            },
52*f2a8e57eSGunnar Mills            "properties": {
53*f2a8e57eSGunnar Mills                "@odata.context": {
54*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
55*f2a8e57eSGunnar Mills                },
56*f2a8e57eSGunnar Mills                "@odata.etag": {
57*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
58*f2a8e57eSGunnar Mills                },
59*f2a8e57eSGunnar Mills                "@odata.id": {
60*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
61*f2a8e57eSGunnar Mills                },
62*f2a8e57eSGunnar Mills                "@odata.type": {
63*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
64*f2a8e57eSGunnar Mills                },
65*f2a8e57eSGunnar Mills                "Actions": {
66*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
67*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
68*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource."
69*f2a8e57eSGunnar Mills                },
70*f2a8e57eSGunnar Mills                "CreatedBy": {
71*f2a8e57eSGunnar Mills                    "description": "The person or program that created this job entry.",
72*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the username, software program name, or other identifier indicating the creator of this job.",
73*f2a8e57eSGunnar Mills                    "readonly": true,
74*f2a8e57eSGunnar Mills                    "type": "string"
75*f2a8e57eSGunnar Mills                },
76*f2a8e57eSGunnar Mills                "Description": {
77*f2a8e57eSGunnar Mills                    "anyOf": [
78*f2a8e57eSGunnar Mills                        {
79*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
80*f2a8e57eSGunnar Mills                        },
81*f2a8e57eSGunnar Mills                        {
82*f2a8e57eSGunnar Mills                            "type": "null"
83*f2a8e57eSGunnar Mills                        }
84*f2a8e57eSGunnar Mills                    ],
85*f2a8e57eSGunnar Mills                    "readonly": true
86*f2a8e57eSGunnar Mills                },
87*f2a8e57eSGunnar Mills                "EndTime": {
88*f2a8e57eSGunnar Mills                    "description": "The date and time when the job was completed.",
89*f2a8e57eSGunnar Mills                    "format": "date-time",
90*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the date and time when the job was completed.  This property shall not appear if the job is running or was not completed.  This property shall appear only if the `JobState` is `Completed`, `Cancelled`, or `Exception`.",
91*f2a8e57eSGunnar Mills                    "readonly": true,
92*f2a8e57eSGunnar Mills                    "type": "string"
93*f2a8e57eSGunnar Mills                },
94*f2a8e57eSGunnar Mills                "EstimatedDuration": {
95*f2a8e57eSGunnar Mills                    "description": "The estimated total time required to complete the job.",
96*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the estimated total time needed to complete the job.  The value is not expected to change while the job is in progress, but the service may update the value if it obtains new information that significantly changes the expected duration.  Services should be conservative in the reported estimate and clients should treat this value as an estimate.",
97*f2a8e57eSGunnar Mills                    "pattern": "^P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?$",
98*f2a8e57eSGunnar Mills                    "readonly": true,
99*f2a8e57eSGunnar Mills                    "type": [
100*f2a8e57eSGunnar Mills                        "string",
101*f2a8e57eSGunnar Mills                        "null"
102*f2a8e57eSGunnar Mills                    ],
103*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
104*f2a8e57eSGunnar Mills                },
105*f2a8e57eSGunnar Mills                "HidePayload": {
106*f2a8e57eSGunnar Mills                    "description": "An indication of whether the contents of the payload should be hidden from view after the job has been created.  If `true`, responses do not return the payload.  If `false`, responses return the payload.  If this property is not present when the job is created, the default is `false`.",
107*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether the contents of the payload should be hidden from view after the job has been created.  If `true`, responses shall not return the `Payload` property.  If `false`, responses shall return the `Payload` property.  If this property is not present when the job is created, the default is `false`.",
108*f2a8e57eSGunnar Mills                    "readonly": true,
109*f2a8e57eSGunnar Mills                    "type": "boolean"
110*f2a8e57eSGunnar Mills                },
111*f2a8e57eSGunnar Mills                "Id": {
112*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
113*f2a8e57eSGunnar Mills                    "readonly": true
114*f2a8e57eSGunnar Mills                },
115*f2a8e57eSGunnar Mills                "JobState": {
116*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/JobState",
117*f2a8e57eSGunnar Mills                    "description": "The state of the job.",
118*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the state of the job.",
119*f2a8e57eSGunnar Mills                    "readonly": false
120*f2a8e57eSGunnar Mills                },
121*f2a8e57eSGunnar Mills                "JobStatus": {
122*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
123*f2a8e57eSGunnar Mills                    "description": "The status of the job.",
124*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the health status of the job.  This property should contain `Critical` if one or more messages in the `Messages` array contains the severity `Critical`.  This property should contain `Warning` if one or more messages in the `Messages` array contains the severity `Warning` and if no messages contain the severity `Critical`.  This property should contain `OK` if all messages in the `Messages` array contain the severity `OK` or if the array is empty.",
125*f2a8e57eSGunnar Mills                    "readonly": true
126*f2a8e57eSGunnar Mills                },
127*f2a8e57eSGunnar Mills                "Links": {
128*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Links",
129*f2a8e57eSGunnar Mills                    "description": "The links to other resources that are related to this resource.",
130*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
131*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
132*f2a8e57eSGunnar Mills                },
133*f2a8e57eSGunnar Mills                "MaxExecutionTime": {
134*f2a8e57eSGunnar Mills                    "description": "The maximum amount of time the job is allowed to execute.",
135*f2a8e57eSGunnar Mills                    "longDescription": "The value shall be an ISO 8601 conformant duration describing the maximum duration the job is allowed to execute before being stopped by the service.",
136*f2a8e57eSGunnar Mills                    "readonly": false,
137*f2a8e57eSGunnar Mills                    "type": [
138*f2a8e57eSGunnar Mills                        "string",
139*f2a8e57eSGunnar Mills                        "null"
140*f2a8e57eSGunnar Mills                    ]
141*f2a8e57eSGunnar Mills                },
142*f2a8e57eSGunnar Mills                "Messages": {
143*f2a8e57eSGunnar Mills                    "description": "An array of messages associated with the job.",
144*f2a8e57eSGunnar Mills                    "items": {
145*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message"
146*f2a8e57eSGunnar Mills                    },
147*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of messages associated with the job.",
148*f2a8e57eSGunnar Mills                    "type": "array"
149*f2a8e57eSGunnar Mills                },
150*f2a8e57eSGunnar Mills                "Name": {
151*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
152*f2a8e57eSGunnar Mills                    "readonly": true
153*f2a8e57eSGunnar Mills                },
154*f2a8e57eSGunnar Mills                "Oem": {
155*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
156*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
157*f2a8e57eSGunnar 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."
158*f2a8e57eSGunnar Mills                },
159*f2a8e57eSGunnar Mills                "Payload": {
160*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Payload",
161*f2a8e57eSGunnar Mills                    "description": "The HTTP and JSON request payload details for this job.",
162*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the HTTP and JSON request payload information for executing this job.  This property shall not be included in the response if the `HidePayload` property is `true`."
163*f2a8e57eSGunnar Mills                },
164*f2a8e57eSGunnar Mills                "PercentComplete": {
165*f2a8e57eSGunnar Mills                    "description": "The completion percentage of this job.",
166*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the completion progress of the job, reported in percent of completion, `0` to `100`.  If the job has not been started, the value shall be zero.",
167*f2a8e57eSGunnar Mills                    "maximum": 100,
168*f2a8e57eSGunnar Mills                    "minimum": 0,
169*f2a8e57eSGunnar Mills                    "readonly": true,
170*f2a8e57eSGunnar Mills                    "type": [
171*f2a8e57eSGunnar Mills                        "integer",
172*f2a8e57eSGunnar Mills                        "null"
173*f2a8e57eSGunnar Mills                    ],
174*f2a8e57eSGunnar Mills                    "units": "%"
175*f2a8e57eSGunnar Mills                },
176*f2a8e57eSGunnar Mills                "Schedule": {
177*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Schedule.json#/definitions/Schedule",
178*f2a8e57eSGunnar Mills                    "description": "The schedule settings for this job.",
179*f2a8e57eSGunnar Mills                    "longDescription": "This object shall contain the scheduling details for this job and the recurrence frequency for future instances of this job."
180*f2a8e57eSGunnar Mills                },
181*f2a8e57eSGunnar Mills                "StartTime": {
182*f2a8e57eSGunnar Mills                    "description": "The date and time when the job was started or is scheduled to start.",
183*f2a8e57eSGunnar Mills                    "format": "date-time",
184*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate the date and time when the job was last started or is scheduled to start.",
185*f2a8e57eSGunnar Mills                    "readonly": true,
186*f2a8e57eSGunnar Mills                    "type": "string"
187*f2a8e57eSGunnar Mills                },
188*f2a8e57eSGunnar Mills                "StepOrder": {
189*f2a8e57eSGunnar Mills                    "description": "The serialized execution order of the job steps.",
190*f2a8e57eSGunnar Mills                    "items": {
191*f2a8e57eSGunnar Mills                        "type": "string"
192*f2a8e57eSGunnar Mills                    },
193*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of `Id` property values for the job steps in the order that they shall be executed.  Each step shall be completed prior to the execution of the next step in array order.  An incomplete list of steps shall be considered an invalid configuration.  If this property is not present or contains an empty array it shall indicate that the step execution order is omitted and may occur in parallel or in series as determined by the service.",
194*f2a8e57eSGunnar Mills                    "readonly": true,
195*f2a8e57eSGunnar Mills                    "type": "array"
196*f2a8e57eSGunnar Mills                },
197*f2a8e57eSGunnar Mills                "Steps": {
198*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/JobCollection.json#/definitions/JobCollection",
199*f2a8e57eSGunnar Mills                    "description": "The link to a collection of steps for this job.",
200*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the link to a resource collection of type `JobCollection`.  This property shall not be present if this resource represents a step for a job.",
201*f2a8e57eSGunnar Mills                    "readonly": true
202*f2a8e57eSGunnar Mills                }
203*f2a8e57eSGunnar Mills            },
204*f2a8e57eSGunnar Mills            "required": [
205*f2a8e57eSGunnar Mills                "@odata.id",
206*f2a8e57eSGunnar Mills                "@odata.type",
207*f2a8e57eSGunnar Mills                "Id",
208*f2a8e57eSGunnar Mills                "Name"
209*f2a8e57eSGunnar Mills            ],
210*f2a8e57eSGunnar Mills            "type": "object"
211*f2a8e57eSGunnar Mills        },
212*f2a8e57eSGunnar Mills        "JobState": {
213*f2a8e57eSGunnar Mills            "enum": [
214*f2a8e57eSGunnar Mills                "New",
215*f2a8e57eSGunnar Mills                "Starting",
216*f2a8e57eSGunnar Mills                "Running",
217*f2a8e57eSGunnar Mills                "Suspended",
218*f2a8e57eSGunnar Mills                "Interrupted",
219*f2a8e57eSGunnar Mills                "Pending",
220*f2a8e57eSGunnar Mills                "Stopping",
221*f2a8e57eSGunnar Mills                "Completed",
222*f2a8e57eSGunnar Mills                "Cancelled",
223*f2a8e57eSGunnar Mills                "Exception",
224*f2a8e57eSGunnar Mills                "Service",
225*f2a8e57eSGunnar Mills                "UserIntervention",
226*f2a8e57eSGunnar Mills                "Continue"
227*f2a8e57eSGunnar Mills            ],
228*f2a8e57eSGunnar Mills            "enumDescriptions": {
229*f2a8e57eSGunnar Mills                "Cancelled": "Job was cancelled.",
230*f2a8e57eSGunnar Mills                "Completed": "Job was completed.",
231*f2a8e57eSGunnar Mills                "Continue": "Job is to resume operation.",
232*f2a8e57eSGunnar Mills                "Exception": "Job has stopped due to an exception condition.",
233*f2a8e57eSGunnar Mills                "Interrupted": "Job has been interrupted.",
234*f2a8e57eSGunnar Mills                "New": "A new job.",
235*f2a8e57eSGunnar Mills                "Pending": "Job is pending and has not started.",
236*f2a8e57eSGunnar Mills                "Running": "Job is running normally.",
237*f2a8e57eSGunnar Mills                "Service": "Job is running as a service.",
238*f2a8e57eSGunnar Mills                "Starting": "Job is starting.",
239*f2a8e57eSGunnar Mills                "Stopping": "Job is in the process of stopping.",
240*f2a8e57eSGunnar Mills                "Suspended": "Job has been suspended.",
241*f2a8e57eSGunnar Mills                "UserIntervention": "Job is waiting for user intervention."
242*f2a8e57eSGunnar Mills            },
243*f2a8e57eSGunnar Mills            "enumLongDescriptions": {
244*f2a8e57eSGunnar Mills                "Cancelled": "This value shall represent that the operation completed because the job was cancelled by an operator.",
245*f2a8e57eSGunnar Mills                "Completed": "This value shall represent that the operation completed successfully or with warnings.",
246*f2a8e57eSGunnar Mills                "Continue": "This value shall represent that the operation has been resumed from a paused condition and should return to a Running state.",
247*f2a8e57eSGunnar Mills                "Exception": "This value shall represent that the operation completed with errors.",
248*f2a8e57eSGunnar Mills                "Interrupted": "This value shall represent that the operation has been interrupted but is expected to restart and is therefore not complete.",
249*f2a8e57eSGunnar Mills                "New": "This value shall represent that this job is newly created but the operation has not yet started.",
250*f2a8e57eSGunnar Mills                "Pending": "This value shall represent that the operation is pending some condition and has not yet begun to execute.",
251*f2a8e57eSGunnar Mills                "Running": "This value shall represent that the operation is executing.",
252*f2a8e57eSGunnar Mills                "Service": "This value shall represent that the operation is now running as a service and expected to continue operation until stopped or killed.",
253*f2a8e57eSGunnar Mills                "Starting": "This value shall represent that the operation is starting.",
254*f2a8e57eSGunnar Mills                "Stopping": "This value shall represent that the operation is stopping but is not yet complete.",
255*f2a8e57eSGunnar Mills                "Suspended": "This value shall represent that the operation has been suspended but is expected to restart and is therefore not complete.",
256*f2a8e57eSGunnar Mills                "UserIntervention": "This value shall represent that the operation is waiting for a user to intervene and needs to be manually continued, stopped, or cancelled."
257*f2a8e57eSGunnar Mills            },
258*f2a8e57eSGunnar Mills            "type": "string"
259*f2a8e57eSGunnar Mills        },
260*f2a8e57eSGunnar Mills        "Links": {
261*f2a8e57eSGunnar Mills            "additionalProperties": false,
262*f2a8e57eSGunnar Mills            "description": "The links to other resources that are related to this resource.",
263*f2a8e57eSGunnar Mills            "longDescription": "This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
264*f2a8e57eSGunnar Mills            "patternProperties": {
265*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
266*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
267*f2a8e57eSGunnar Mills                    "type": [
268*f2a8e57eSGunnar Mills                        "array",
269*f2a8e57eSGunnar Mills                        "boolean",
270*f2a8e57eSGunnar Mills                        "integer",
271*f2a8e57eSGunnar Mills                        "number",
272*f2a8e57eSGunnar Mills                        "null",
273*f2a8e57eSGunnar Mills                        "object",
274*f2a8e57eSGunnar Mills                        "string"
275*f2a8e57eSGunnar Mills                    ]
276*f2a8e57eSGunnar Mills                }
277*f2a8e57eSGunnar Mills            },
278*f2a8e57eSGunnar Mills            "properties": {
279*f2a8e57eSGunnar Mills                "CreatedResources": {
280*f2a8e57eSGunnar Mills                    "description": "An array of URIs referencing the resources created as the result of this job.",
281*f2a8e57eSGunnar Mills                    "items": {
282*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
283*f2a8e57eSGunnar Mills                    },
284*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources indicating the resources created as the result of this job.  Services shall set this property prior to the job entering its final state.",
285*f2a8e57eSGunnar Mills                    "readonly": true,
286*f2a8e57eSGunnar Mills                    "type": "array",
287*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
288*f2a8e57eSGunnar Mills                },
289*f2a8e57eSGunnar Mills                "CreatedResources@odata.count": {
290*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
291*f2a8e57eSGunnar Mills                },
292*f2a8e57eSGunnar Mills                "Oem": {
293*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
294*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
295*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
296*f2a8e57eSGunnar Mills                }
297*f2a8e57eSGunnar Mills            },
298*f2a8e57eSGunnar Mills            "type": "object"
299*f2a8e57eSGunnar Mills        },
300*f2a8e57eSGunnar Mills        "OemActions": {
301*f2a8e57eSGunnar Mills            "additionalProperties": true,
302*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
303*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
304*f2a8e57eSGunnar Mills            "patternProperties": {
305*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
306*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
307*f2a8e57eSGunnar Mills                    "type": [
308*f2a8e57eSGunnar Mills                        "array",
309*f2a8e57eSGunnar Mills                        "boolean",
310*f2a8e57eSGunnar Mills                        "integer",
311*f2a8e57eSGunnar Mills                        "number",
312*f2a8e57eSGunnar Mills                        "null",
313*f2a8e57eSGunnar Mills                        "object",
314*f2a8e57eSGunnar Mills                        "string"
315*f2a8e57eSGunnar Mills                    ]
316*f2a8e57eSGunnar Mills                }
317*f2a8e57eSGunnar Mills            },
318*f2a8e57eSGunnar Mills            "properties": {},
319*f2a8e57eSGunnar Mills            "type": "object"
320*f2a8e57eSGunnar Mills        },
321*f2a8e57eSGunnar Mills        "Payload": {
322*f2a8e57eSGunnar Mills            "additionalProperties": false,
323*f2a8e57eSGunnar Mills            "description": "The HTTP and JSON payload details for this job.",
324*f2a8e57eSGunnar Mills            "longDescription": "This object shall contain information detailing the HTTP and JSON payload information for executing this job.",
325*f2a8e57eSGunnar Mills            "patternProperties": {
326*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
327*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
328*f2a8e57eSGunnar Mills                    "type": [
329*f2a8e57eSGunnar Mills                        "array",
330*f2a8e57eSGunnar Mills                        "boolean",
331*f2a8e57eSGunnar Mills                        "integer",
332*f2a8e57eSGunnar Mills                        "number",
333*f2a8e57eSGunnar Mills                        "null",
334*f2a8e57eSGunnar Mills                        "object",
335*f2a8e57eSGunnar Mills                        "string"
336*f2a8e57eSGunnar Mills                    ]
337*f2a8e57eSGunnar Mills                }
338*f2a8e57eSGunnar Mills            },
339*f2a8e57eSGunnar Mills            "properties": {
340*f2a8e57eSGunnar Mills                "HttpHeaders": {
341*f2a8e57eSGunnar Mills                    "description": "An array of HTTP headers in this job.",
342*f2a8e57eSGunnar Mills                    "items": {
343*f2a8e57eSGunnar Mills                        "type": "string"
344*f2a8e57eSGunnar Mills                    },
345*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of HTTP headers in this job.",
346*f2a8e57eSGunnar Mills                    "readonly": true,
347*f2a8e57eSGunnar Mills                    "type": "array"
348*f2a8e57eSGunnar Mills                },
349*f2a8e57eSGunnar Mills                "HttpOperation": {
350*f2a8e57eSGunnar Mills                    "description": "The HTTP operation that executes this job.",
351*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the HTTP operation that executes this job.",
352*f2a8e57eSGunnar Mills                    "readonly": true,
353*f2a8e57eSGunnar Mills                    "type": "string"
354*f2a8e57eSGunnar Mills                },
355*f2a8e57eSGunnar Mills                "JsonBody": {
356*f2a8e57eSGunnar Mills                    "description": "The JSON payload to use in the execution of this job.",
357*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain JSON-formatted payload for this job.",
358*f2a8e57eSGunnar Mills                    "readonly": true,
359*f2a8e57eSGunnar Mills                    "type": "string"
360*f2a8e57eSGunnar Mills                },
361*f2a8e57eSGunnar Mills                "TargetUri": {
362*f2a8e57eSGunnar Mills                    "description": "The link to the target for this job.",
363*f2a8e57eSGunnar Mills                    "format": "uri-reference",
364*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain link to a target location for an HTTP operation.",
365*f2a8e57eSGunnar Mills                    "readonly": true,
366*f2a8e57eSGunnar Mills                    "type": "string"
367*f2a8e57eSGunnar Mills                }
368*f2a8e57eSGunnar Mills            },
369*f2a8e57eSGunnar Mills            "type": "object"
370*f2a8e57eSGunnar Mills        }
371*f2a8e57eSGunnar Mills    },
372*f2a8e57eSGunnar Mills    "language": "en",
373*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
374*f2a8e57eSGunnar Mills    "release": "2022.3",
375*f2a8e57eSGunnar Mills    "title": "#Job.v1_2_4.Job"
376*f2a8e57eSGunnar Mills}