static/DSP8010_2016.3/json-schema/TaskService.v1_0_0.json
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_1_0.json",
"title": "#TaskService.v1_0_0.TaskService",
"$ref": "#/definitions/TaskService",
"definitions": {
"OverWritePolicy": {
"type": "string",
"enum": [
"Manual",
"Oldest"
],
"enumDescriptions": {
"Manual": "Completed tasks are not automatically overwritten.",
"Oldest": "Oldest completed tasks are overwritten."
}
},
"TaskService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
"longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
"readonly": true
},
"Description": {
"anyOf": [
{"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"},
{"type": "null"}
],
"readonly": true
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
"readonly": true
},
"CompletedTaskOverWritePolicy": {
"$ref": "#/definitions/OverWritePolicy",
"readonly": true,
"description": "Overwrite policy of completed tasks.",
"longDescription": "The value of this property shall indicate how completed tasks are handled should the task service need to track more tasks."
},
"DateTime": {
"type": [
"string",
"null"
],
"format": "date-time",
"readonly": true,
"description": "The current DateTime (with offset) setting that the task service is using.",
"longDescription": "The value of this property shall represent the current DateTime value for the TaskService, with offset from UTC, in Redfish Timestamp format."
},
"LifeCycleEventOnTaskStateChange": {
"type": "boolean",
"readonly": true,
"description": "Send an Event upon Task State Change.",
"longDescription": "The value of this property, if set to true, shall indicate that the service shall send a LifeCycle event to ListenerDestinations registered for such events upon change of task state."
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"readonly": false,
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Tasks": {
"$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection",
"readonly": true,
"description": "References to the Tasks collection.",
"longDescription": "The value of this property shall be a link to a resource of type TaskCollection."
}
},
"required": [
"Id",
"Name"
],
"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.",
"longDescription": "This resource shall be used to represent a task service for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright"
}