1f2a8e57eSGunnar Mills{
2f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/TaskService.v1_2_1.json",
3f2a8e57eSGunnar Mills    "$ref": "#/definitions/TaskService",
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        "Actions": {
8f2a8e57eSGunnar Mills            "additionalProperties": false,
9f2a8e57eSGunnar Mills            "description": "The available actions for this resource.",
10f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available actions for this resource.",
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                "Oem": {
27f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
30f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
31f2a8e57eSGunnar Mills                }
32f2a8e57eSGunnar Mills            },
33f2a8e57eSGunnar Mills            "type": "object"
34f2a8e57eSGunnar Mills        },
35f2a8e57eSGunnar Mills        "OemActions": {
36f2a8e57eSGunnar Mills            "additionalProperties": true,
37f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
38f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
39f2a8e57eSGunnar Mills            "patternProperties": {
40f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
41f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
42f2a8e57eSGunnar Mills                    "type": [
43f2a8e57eSGunnar Mills                        "array",
44f2a8e57eSGunnar Mills                        "boolean",
45f2a8e57eSGunnar Mills                        "integer",
46f2a8e57eSGunnar Mills                        "number",
47f2a8e57eSGunnar Mills                        "null",
48f2a8e57eSGunnar Mills                        "object",
49f2a8e57eSGunnar Mills                        "string"
50f2a8e57eSGunnar Mills                    ]
51f2a8e57eSGunnar Mills                }
52f2a8e57eSGunnar Mills            },
53f2a8e57eSGunnar Mills            "properties": {},
54f2a8e57eSGunnar Mills            "type": "object"
55f2a8e57eSGunnar Mills        },
56f2a8e57eSGunnar Mills        "OverWritePolicy": {
57f2a8e57eSGunnar Mills            "enum": [
58f2a8e57eSGunnar Mills                "Manual",
59f2a8e57eSGunnar Mills                "Oldest"
60f2a8e57eSGunnar Mills            ],
61f2a8e57eSGunnar Mills            "enumDescriptions": {
62f2a8e57eSGunnar Mills                "Manual": "Completed tasks are not automatically overwritten.",
63f2a8e57eSGunnar Mills                "Oldest": "Oldest completed tasks are overwritten."
64f2a8e57eSGunnar Mills            },
65f2a8e57eSGunnar Mills            "type": "string"
66f2a8e57eSGunnar Mills        },
67f2a8e57eSGunnar Mills        "TaskService": {
68f2a8e57eSGunnar Mills            "additionalProperties": false,
69f2a8e57eSGunnar Mills            "description": "The `TaskService` schema describes a task service that enables management of long-duration operations, includes the properties for the task service itself, and has links to the resource collection of tasks.",
70f2a8e57eSGunnar Mills            "longDescription": "This resource contains a task service for a Redfish implementation.",
71f2a8e57eSGunnar Mills            "patternProperties": {
72f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
73f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
74f2a8e57eSGunnar Mills                    "type": [
75f2a8e57eSGunnar Mills                        "array",
76f2a8e57eSGunnar Mills                        "boolean",
77f2a8e57eSGunnar Mills                        "integer",
78f2a8e57eSGunnar Mills                        "number",
79f2a8e57eSGunnar Mills                        "null",
80f2a8e57eSGunnar Mills                        "object",
81f2a8e57eSGunnar Mills                        "string"
82f2a8e57eSGunnar Mills                    ]
83f2a8e57eSGunnar Mills                }
84f2a8e57eSGunnar Mills            },
85f2a8e57eSGunnar Mills            "properties": {
86f2a8e57eSGunnar Mills                "@odata.context": {
87f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
88f2a8e57eSGunnar Mills                },
89f2a8e57eSGunnar Mills                "@odata.etag": {
90f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
91f2a8e57eSGunnar Mills                },
92f2a8e57eSGunnar Mills                "@odata.id": {
93f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
94f2a8e57eSGunnar Mills                },
95f2a8e57eSGunnar Mills                "@odata.type": {
96f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
97f2a8e57eSGunnar Mills                },
98f2a8e57eSGunnar Mills                "Actions": {
99f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
100f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
101f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource.",
102f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
103f2a8e57eSGunnar Mills                },
104f2a8e57eSGunnar Mills                "CompletedTaskOverWritePolicy": {
105f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OverWritePolicy",
106f2a8e57eSGunnar Mills                    "description": "The overwrite policy for completed tasks.  This property indicates if the task service overwrites completed task information.",
107f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the overwrite policy for completed tasks.  This property shall indicate if the task service overwrites completed task information.",
108f2a8e57eSGunnar Mills                    "readonly": true
109f2a8e57eSGunnar Mills                },
110f2a8e57eSGunnar Mills                "DateTime": {
111f2a8e57eSGunnar Mills                    "description": "The current date and time, with UTC offset, setting that the task service uses.",
112f2a8e57eSGunnar Mills                    "format": "date-time",
113f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the current date and time for the task service, with UTC offset.",
114f2a8e57eSGunnar Mills                    "readonly": true,
115f2a8e57eSGunnar Mills                    "type": [
116f2a8e57eSGunnar Mills                        "string",
117f2a8e57eSGunnar Mills                        "null"
118f2a8e57eSGunnar Mills                    ]
119f2a8e57eSGunnar Mills                },
120f2a8e57eSGunnar Mills                "Description": {
121f2a8e57eSGunnar Mills                    "anyOf": [
122f2a8e57eSGunnar Mills                        {
123f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
124f2a8e57eSGunnar Mills                        },
125f2a8e57eSGunnar Mills                        {
126f2a8e57eSGunnar Mills                            "type": "null"
127f2a8e57eSGunnar Mills                        }
128f2a8e57eSGunnar Mills                    ],
129f2a8e57eSGunnar Mills                    "readonly": true
130f2a8e57eSGunnar Mills                },
131f2a8e57eSGunnar Mills                "Id": {
132f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
133f2a8e57eSGunnar Mills                    "readonly": true
134f2a8e57eSGunnar Mills                },
135f2a8e57eSGunnar Mills                "LifeCycleEventOnTaskStateChange": {
136f2a8e57eSGunnar Mills                    "description": "An indication of whether a task state change sends an event.",
137f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether a task state change sends an event.  Services should send an event containing a message defined in the Task Event Message Registry when the state of a task changes.",
138f2a8e57eSGunnar Mills                    "readonly": true,
139f2a8e57eSGunnar Mills                    "type": "boolean"
140f2a8e57eSGunnar Mills                },
141f2a8e57eSGunnar Mills                "Name": {
142f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
143f2a8e57eSGunnar Mills                    "readonly": true
144f2a8e57eSGunnar Mills                },
145f2a8e57eSGunnar Mills                "Oem": {
146f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
147f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
148f2a8e57eSGunnar 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."
149f2a8e57eSGunnar Mills                },
150f2a8e57eSGunnar Mills                "ServiceEnabled": {
151f2a8e57eSGunnar Mills                    "description": "An indication of whether this service is enabled.",
152f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether this service is enabled.",
153f2a8e57eSGunnar Mills                    "readonly": false,
154f2a8e57eSGunnar Mills                    "type": [
155f2a8e57eSGunnar Mills                        "boolean",
156f2a8e57eSGunnar Mills                        "null"
157f2a8e57eSGunnar Mills                    ]
158f2a8e57eSGunnar Mills                },
159f2a8e57eSGunnar Mills                "Status": {
160f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
161f2a8e57eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
162f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource."
163f2a8e57eSGunnar Mills                },
164f2a8e57eSGunnar Mills                "TaskAutoDeleteTimeoutMinutes": {
165f2a8e57eSGunnar Mills                    "description": "The number of minutes after which a completed task is deleted by the service.",
166f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the number of minutes after which a completed task, where `TaskState` contains the value `Completed`, `Killed`, `Cancelled`, or `Exception`, is deleted by the service.",
167f2a8e57eSGunnar Mills                    "minimum": 1,
168f2a8e57eSGunnar Mills                    "readonly": false,
169f2a8e57eSGunnar Mills                    "type": "integer",
170f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
171f2a8e57eSGunnar Mills                },
172f2a8e57eSGunnar Mills                "Tasks": {
173f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection",
174f2a8e57eSGunnar Mills                    "description": "The links to the collection of tasks.",
175f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to a resource collection of type `TaskCollection`.",
176f2a8e57eSGunnar Mills                    "readonly": true
177f2a8e57eSGunnar Mills                }
178f2a8e57eSGunnar Mills            },
179f2a8e57eSGunnar Mills            "required": [
180f2a8e57eSGunnar Mills                "@odata.id",
181f2a8e57eSGunnar Mills                "@odata.type",
182f2a8e57eSGunnar Mills                "Id",
183f2a8e57eSGunnar Mills                "Name"
184f2a8e57eSGunnar Mills            ],
185f2a8e57eSGunnar Mills            "type": "object"
186f2a8e57eSGunnar Mills        }
187f2a8e57eSGunnar Mills    },
188f2a8e57eSGunnar Mills    "language": "en",
189f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
190f2a8e57eSGunnar Mills    "release": "2021.1",
191f2a8e57eSGunnar Mills    "title": "#TaskService.v1_2_1.TaskService"
192f2a8e57eSGunnar Mills}