blob: 4dc1ea3189fa3ac285fbaf8e62df0a485cbb6e3f [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
2 "$ref": "#/definitions/TaskService",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
4 "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5 "definitions": {
6 "Actions": {
7 "additionalProperties": false,
8 "description": "The available actions for this resource.",
9 "longDescription": "This type shall contain the available actions for this resource.",
10 "patternProperties": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "number",
17 "null",
18 "object",
19 "string"
20 ]
21 }
22 },
23 "properties": {
24 "Oem": {
25 "$ref": "#/definitions/OemActions"
26 }
27 },
28 "type": "object"
29 },
30 "OemActions": {
31 "additionalProperties": true,
32 "description": "The available OEM specific actions for this resource.",
33 "longDescription": "This type shall contain any additional OEM actions for this resource.",
34 "patternProperties": {
35 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
36 "description": "This property shall specify a valid odata or Redfish property.",
37 "type": [
38 "array",
39 "boolean",
40 "number",
41 "null",
42 "object",
43 "string"
44 ]
45 }
46 },
47 "properties": {},
48 "type": "object"
49 },
50 "OverWritePolicy": {
51 "enum": [
52 "Manual",
53 "Oldest"
54 ],
55 "enumDescriptions": {
56 "Manual": "Completed tasks are not automatically overwritten.",
57 "Oldest": "Oldest completed tasks are overwritten."
58 },
59 "type": "string"
60 },
61 "TaskService": {
62 "additionalProperties": false,
63 "description": "This is the schema definition for the Task Service. It represents the properties for the service itself and has links to the actual list of tasks.",
64 "longDescription": "This resource shall be used to represent a task service for a Redfish implementation.",
65 "patternProperties": {
66 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
67 "description": "This property shall specify a valid odata or Redfish property.",
68 "type": [
69 "array",
70 "boolean",
71 "number",
72 "null",
73 "object",
74 "string"
75 ]
76 }
77 },
78 "properties": {
79 "@odata.context": {
80 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/context"
81 },
82 "@odata.id": {
83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/id"
84 },
85 "@odata.type": {
86 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type"
87 },
88 "Actions": {
89 "$ref": "#/definitions/Actions",
90 "description": "The available actions for this resource.",
91 "longDescription": "The Actions property shall contain the available actions for this resource."
92 },
93 "CompletedTaskOverWritePolicy": {
94 "$ref": "#/definitions/OverWritePolicy",
95 "description": "Overwrite policy of completed tasks.",
96 "longDescription": "The value of this property shall indicate how completed tasks are handled should the task service need to track more tasks.",
97 "readonly": true
98 },
99 "DateTime": {
100 "description": "The current DateTime (with offset) setting that the task service is using.",
101 "format": "date-time",
102 "longDescription": "The value of this property shall represent the current DateTime value for the TaskService, with offset from UTC, in Redfish Timestamp format.",
103 "readonly": true,
104 "type": [
105 "string",
106 "null"
107 ]
108 },
109 "Description": {
110 "anyOf": [
111 {
112 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
113 },
114 {
115 "type": "null"
116 }
117 ],
118 "readonly": true
119 },
120 "Id": {
121 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
122 "readonly": true
123 },
124 "LifeCycleEventOnTaskStateChange": {
125 "description": "Send an Event upon Task State Change.",
126 "longDescription": "The value of this property, if set to true, shall indicate that the service shall send a Life cycle event to Event Destinations Subscriptions registered for such events upon change of task state. Life cycle events are defined in the Eventing section of the Redfish Specification.",
127 "readonly": true,
128 "type": "boolean"
129 },
130 "Name": {
131 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
132 "readonly": true
133 },
134 "Oem": {
135 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
136 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
137 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
138 },
139 "ServiceEnabled": {
140 "description": "This indicates whether this service is enabled.",
141 "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled.",
142 "readonly": false,
143 "type": [
144 "boolean",
145 "null"
146 ]
147 },
148 "Status": {
149 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
150 },
151 "Tasks": {
152 "$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection",
153 "description": "References to the Tasks collection.",
154 "longDescription": "The value of this property shall be a link to a resource of type TaskCollection.",
155 "readonly": true
156 }
157 },
158 "required": [
159 "Id",
160 "Name"
161 ],
162 "type": "object"
163 }
164 },
165 "title": "#TaskService.v1_1_1.TaskService"
166}