Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/TaskService.v1_1_6.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/TaskService", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 9 | "description": "The available actions for this resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 28 | "description": "The available OEM-specific actions for this resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this resource.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 30 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 31 | } |
| 32 | }, |
| 33 | "type": "object" |
| 34 | }, |
| 35 | "OemActions": { |
| 36 | "additionalProperties": true, |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 37 | "description": "The available OEM-specific actions for this resource.", |
| 38 | "longDescription": "This type shall contain the available OEM-specific actions for this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 39 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 40 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 41 | "description": "This property shall specify a valid odata or Redfish property.", |
| 42 | "type": [ |
| 43 | "array", |
| 44 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 45 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 46 | "number", |
| 47 | "null", |
| 48 | "object", |
| 49 | "string" |
| 50 | ] |
| 51 | } |
| 52 | }, |
| 53 | "properties": {}, |
| 54 | "type": "object" |
| 55 | }, |
| 56 | "OverWritePolicy": { |
| 57 | "enum": [ |
| 58 | "Manual", |
| 59 | "Oldest" |
| 60 | ], |
| 61 | "enumDescriptions": { |
| 62 | "Manual": "Completed tasks are not automatically overwritten.", |
| 63 | "Oldest": "Oldest completed tasks are overwritten." |
| 64 | }, |
| 65 | "type": "string" |
| 66 | }, |
| 67 | "TaskService": { |
| 68 | "additionalProperties": false, |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 69 | "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.", |
| 70 | "longDescription": "This resource contains a task service for a Redfish implementation.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 71 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 72 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 73 | "description": "This property shall specify a valid odata or Redfish property.", |
| 74 | "type": [ |
| 75 | "array", |
| 76 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 77 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 78 | "number", |
| 79 | "null", |
| 80 | "object", |
| 81 | "string" |
| 82 | ] |
| 83 | } |
| 84 | }, |
| 85 | "properties": { |
| 86 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 87 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 88 | }, |
| 89 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 90 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 91 | }, |
| 92 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 93 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 94 | }, |
| 95 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 96 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 97 | }, |
| 98 | "Actions": { |
| 99 | "$ref": "#/definitions/Actions", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 100 | "description": "The available actions for this resource.", |
| 101 | "longDescription": "This property shall contain the available actions for this resource.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 102 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 103 | }, |
| 104 | "CompletedTaskOverWritePolicy": { |
| 105 | "$ref": "#/definitions/OverWritePolicy", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 106 | "description": "The overwrite policy for completed tasks. This property indicates if the task service overwrites completed task information.", |
| 107 | "longDescription": "This property shall contain the overwrite policy for completed tasks. This property shall indicate if the task service overwrites completed task information.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 108 | "readonly": true |
| 109 | }, |
| 110 | "DateTime": { |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 111 | "description": "The current date and time, with UTC offset, setting that the task service uses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 112 | "format": "date-time", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 113 | "longDescription": "This property shall contain the current date and time for the task service, with UTC offset.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 114 | "readonly": true, |
| 115 | "type": [ |
| 116 | "string", |
| 117 | "null" |
| 118 | ] |
| 119 | }, |
| 120 | "Description": { |
| 121 | "anyOf": [ |
| 122 | { |
| 123 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 124 | }, |
| 125 | { |
| 126 | "type": "null" |
| 127 | } |
| 128 | ], |
| 129 | "readonly": true |
| 130 | }, |
| 131 | "Id": { |
| 132 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 133 | "readonly": true |
| 134 | }, |
| 135 | "LifeCycleEventOnTaskStateChange": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 136 | "description": "An indication of whether a task state change sends an event.", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 137 | "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.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 138 | "readonly": true, |
| 139 | "type": "boolean" |
| 140 | }, |
| 141 | "Name": { |
| 142 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 143 | "readonly": true |
| 144 | }, |
| 145 | "Oem": { |
| 146 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 147 | "description": "The OEM extension property.", |
| 148 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 149 | }, |
| 150 | "ServiceEnabled": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 151 | "description": "An indication of whether this service is enabled.", |
| 152 | "longDescription": "This property shall indicate whether this service is enabled.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 153 | "readonly": false, |
| 154 | "type": [ |
| 155 | "boolean", |
| 156 | "null" |
| 157 | ] |
| 158 | }, |
| 159 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 160 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 161 | "description": "The status and health of the resource and its subordinate or dependent resources.", |
| 162 | "longDescription": "This property shall contain any status or health properties of the resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 163 | }, |
| 164 | "Tasks": { |
| 165 | "$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 166 | "description": "The links to the collection of tasks.", |
| 167 | "longDescription": "This property shall contain a link to a resource collection of type TaskCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 168 | "readonly": true |
| 169 | } |
| 170 | }, |
| 171 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 172 | "@odata.id", |
| 173 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 174 | "Id", |
| 175 | "Name" |
| 176 | ], |
| 177 | "type": "object" |
| 178 | } |
| 179 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 180 | "owningEntity": "DMTF", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 181 | "release": "2017.1", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 182 | "title": "#TaskService.v1_1_6.TaskService" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 183 | } |