Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/JobService.v1_0_2.json", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 3 | "$ref": "#/definitions/JobService", |
| 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 5 | "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [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 | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
| 17 | "integer", |
| 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
| 27 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [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 | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 30 | } |
| 31 | }, |
| 32 | "type": "object" |
| 33 | }, |
| 34 | "JobService": { |
| 35 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 36 | "description": "The Redfish Job Service enables the scheduling and execution of operations, represents the properties for the Job Service itself, and has links to the actual Resource Collection of Jobs.", |
| 37 | "longDescription": "This Resource shall represent a Job Service for a Redfish implementation.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 38 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 39 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 40 | "description": "This property shall specify a valid odata or Redfish property.", |
| 41 | "type": [ |
| 42 | "array", |
| 43 | "boolean", |
| 44 | "integer", |
| 45 | "number", |
| 46 | "null", |
| 47 | "object", |
| 48 | "string" |
| 49 | ] |
| 50 | } |
| 51 | }, |
| 52 | "properties": { |
| 53 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 54 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 55 | }, |
| 56 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 57 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 58 | }, |
| 59 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 60 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 61 | }, |
| 62 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 63 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 64 | }, |
| 65 | "Actions": { |
| 66 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 67 | "description": "The available actions for this Resource.", |
| 68 | "longDescription": "This property shall contain the available actions for this Resource." |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 69 | }, |
| 70 | "DateTime": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 71 | "description": "The current date and time, with UTC offset, setting that the Job Service uses.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 72 | "format": "date-time", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 73 | "longDescription": "This property shall represent the current DateTime value for the Job Service, with UTC offset, in Redfish Timestamp format.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 74 | "readonly": true, |
| 75 | "type": [ |
| 76 | "string", |
| 77 | "null" |
| 78 | ] |
| 79 | }, |
| 80 | "Description": { |
| 81 | "anyOf": [ |
| 82 | { |
| 83 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 84 | }, |
| 85 | { |
| 86 | "type": "null" |
| 87 | } |
| 88 | ], |
| 89 | "readonly": true |
| 90 | }, |
| 91 | "Id": { |
| 92 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 93 | "readonly": true |
| 94 | }, |
| 95 | "Jobs": { |
| 96 | "$ref": "http://redfish.dmtf.org/schemas/v1/JobCollection.json#/definitions/JobCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 97 | "description": "The links to the Jobs collection.", |
| 98 | "longDescription": "This property shall contain a link to a Resource of type JobCollection.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 99 | "readonly": true |
| 100 | }, |
| 101 | "Log": { |
| 102 | "$ref": "http://redfish.dmtf.org/schemas/v1/LogService.json#/definitions/LogService", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 103 | "description": "The link to a Log Service that the Job Service uses. This service may be a dedicated Log Service or a pointer a Log Service under another entity, such as Manager.", |
| 104 | "longDescription": "This property shall contain a link to a Log Service that this Job Service uses.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 105 | "readonly": true |
| 106 | }, |
| 107 | "Name": { |
| 108 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 109 | "readonly": true |
| 110 | }, |
| 111 | "Oem": { |
| 112 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 113 | "description": "The OEM extension property.", |
| 114 | "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 | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 115 | }, |
| 116 | "ServiceCapabilities": { |
| 117 | "$ref": "#/definitions/JobServiceCapabilities", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 118 | "description": "The supported capabilities of this Job Service implementation.", |
| 119 | "longDescription": "This type shall contain properties that describe the capabilities or supported features of this implementation of a Job Service." |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 120 | }, |
| 121 | "ServiceEnabled": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 122 | "description": "An indication of whether this service is enabled.", |
| 123 | "longDescription": "This property shall indicate whether this service is enabled.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 124 | "readonly": false, |
| 125 | "type": [ |
| 126 | "boolean", |
| 127 | "null" |
| 128 | ] |
| 129 | }, |
| 130 | "Status": { |
| 131 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 132 | "description": "The status and health of the Resource and its subordinate or dependent Resources.", |
| 133 | "longDescription": "This property shall contain any status or health properties of the Resource." |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 134 | } |
| 135 | }, |
| 136 | "required": [ |
| 137 | "@odata.id", |
| 138 | "@odata.type", |
| 139 | "Id", |
| 140 | "Name" |
| 141 | ], |
| 142 | "type": "object" |
| 143 | }, |
| 144 | "JobServiceCapabilities": { |
| 145 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 146 | "description": "The supported capabilities of this Job Service implementation.", |
| 147 | "longDescription": "This type shall contain properties that describe the capabilities or supported features of this implementation of a Job Service.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 148 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 149 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 150 | "description": "This property shall specify a valid odata or Redfish property.", |
| 151 | "type": [ |
| 152 | "array", |
| 153 | "boolean", |
| 154 | "integer", |
| 155 | "number", |
| 156 | "null", |
| 157 | "object", |
| 158 | "string" |
| 159 | ] |
| 160 | } |
| 161 | }, |
| 162 | "properties": { |
| 163 | "MaxJobs": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 164 | "description": "The maximum number of jobs supported.", |
| 165 | "longDescription": "This property shall contain the maximum number of jobs supported by the implementation.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 166 | "readonly": true, |
| 167 | "type": [ |
| 168 | "integer", |
| 169 | "null" |
| 170 | ] |
| 171 | }, |
| 172 | "MaxSteps": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 173 | "description": "The maximum number of job steps supported.", |
| 174 | "longDescription": "This property shall contain the maximum number of steps supported by a single job instance.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 175 | "readonly": true, |
| 176 | "type": [ |
| 177 | "integer", |
| 178 | "null" |
| 179 | ] |
| 180 | }, |
| 181 | "Scheduling": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 182 | "description": "An indication of whether scheduling of jobs is supported.", |
| 183 | "longDescription": "This property shall indicate whether the Schedule property within the job supports scheduling of jobs.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 184 | "readonly": true, |
| 185 | "type": [ |
| 186 | "boolean", |
| 187 | "null" |
| 188 | ] |
| 189 | } |
| 190 | }, |
| 191 | "type": "object" |
| 192 | }, |
| 193 | "OemActions": { |
| 194 | "additionalProperties": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 195 | "description": "The available OEM-specific actions for this Resource.", |
| 196 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 197 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 198 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 199 | "description": "This property shall specify a valid odata or Redfish property.", |
| 200 | "type": [ |
| 201 | "array", |
| 202 | "boolean", |
| 203 | "integer", |
| 204 | "number", |
| 205 | "null", |
| 206 | "object", |
| 207 | "string" |
| 208 | ] |
| 209 | } |
| 210 | }, |
| 211 | "properties": {}, |
| 212 | "type": "object" |
| 213 | } |
| 214 | }, |
| 215 | "owningEntity": "DMTF", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 216 | "release": "2018.2", |
| 217 | "title": "#JobService.v1_0_2.JobService" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 218 | } |