blob: 3eff0f23d71ac720b504d91eb89ded2f9699bc89 [file] [log] [blame]
Ed Tanous530520e2019-01-02 13:41:37 -08001{
2 "$ref": "#/definitions/JobService",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 "copyright": "Copyright 2014-2018 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)\\.[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 "integer",
17 "number",
18 "null",
19 "object",
20 "string"
21 ]
22 }
23 },
24 "properties": {
25 "Oem": {
26 "$ref": "#/definitions/OemActions",
27 "description": "This property contains the available OEM specific actions for this resource.",
28 "longDescription": "This property shall contain any additional OEM actions for this resource."
29 }
30 },
31 "type": "object"
32 },
33 "JobService": {
34 "additionalProperties": false,
35 "description": "This is the schema definition for the Job Service. It represents the properties for the service itself and has links to the actual list of tasks.",
36 "longDescription": "This resource shall be used to represent a job service for a Redfish implementation.",
37 "patternProperties": {
38 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
39 "description": "This property shall specify a valid odata or Redfish property.",
40 "type": [
41 "array",
42 "boolean",
43 "integer",
44 "number",
45 "null",
46 "object",
47 "string"
48 ]
49 }
50 },
51 "properties": {
52 "@odata.context": {
53 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context"
54 },
55 "@odata.etag": {
56 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/etag"
57 },
58 "@odata.id": {
59 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id"
60 },
61 "@odata.type": {
62 "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
63 },
64 "Actions": {
65 "$ref": "#/definitions/Actions",
66 "description": "The available actions for this resource.",
67 "longDescription": "The Actions property shall contain the available actions for this resource."
68 },
69 "DateTime": {
70 "description": "The current DateTime (with offset) setting that the job service is using.",
71 "format": "date-time",
72 "longDescription": "The value of this property shall represent the current DateTime value for the JobService, with offset from UTC, in Redfish Timestamp format.",
73 "readonly": true,
74 "type": [
75 "string",
76 "null"
77 ]
78 },
79 "Description": {
80 "anyOf": [
81 {
82 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
83 },
84 {
85 "type": "null"
86 }
87 ],
88 "readonly": true
89 },
90 "Id": {
91 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
92 "readonly": true
93 },
94 "Jobs": {
95 "$ref": "http://redfish.dmtf.org/schemas/v1/JobCollection.json#/definitions/JobCollection",
96 "description": "References to the Jobs collection.",
97 "longDescription": "The value of this property shall be a link to a resource of type JobCollection.",
98 "readonly": true
99 },
100 "Log": {
101 "$ref": "http://redfish.dmtf.org/schemas/v1/LogService.json#/definitions/LogService",
102 "description": "This is a reference to a Log Service used by the Job Service.",
103 "longDescription": "The value of this property shall contain a reference to a LogService for the use by this JobService.",
104 "readonly": true
105 },
106 "Name": {
107 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
108 "readonly": true
109 },
110 "Oem": {
111 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
112 "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
113 "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
114 },
115 "ServiceCapabilities": {
116 "$ref": "#/definitions/JobServiceCapabilities",
117 "description": "This object describes the supported capabilities of this Job Service implementation.",
118 "longDescription": "This type shall contain properties which describe the capabilities or supported features of this implementation of JobService."
119 },
120 "ServiceEnabled": {
121 "description": "This indicates whether this service is enabled.",
122 "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled.",
123 "readonly": false,
124 "type": [
125 "boolean",
126 "null"
127 ]
128 },
129 "Status": {
130 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
131 "description": "This property describes the status and health of the resource and its children.",
132 "longDescription": "This property shall contain any status or health properties of the resource."
133 }
134 },
135 "required": [
136 "@odata.id",
137 "@odata.type",
138 "Id",
139 "Name"
140 ],
141 "type": "object"
142 },
143 "JobServiceCapabilities": {
144 "additionalProperties": false,
145 "description": "This object describes the supported capabilities of this Job Service implementation.",
146 "longDescription": "This type shall contain properties which describe the capabilities or supported features of this implementation of JobService.",
147 "patternProperties": {
148 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
149 "description": "This property shall specify a valid odata or Redfish property.",
150 "type": [
151 "array",
152 "boolean",
153 "integer",
154 "number",
155 "null",
156 "object",
157 "string"
158 ]
159 }
160 },
161 "properties": {
162 "MaxJobs": {
163 "description": "Maximum number of Jobs supported.",
164 "longDescription": "The value of this property shall be the maximum number of Job resources supported by the implementation.",
165 "readonly": true,
166 "type": [
167 "integer",
168 "null"
169 ]
170 },
171 "MaxSteps": {
172 "description": "Maximum number of Job Steps supported.",
173 "longDescription": "The value of this property shall be the maximum number of Step resources supported by a single Job instance.",
174 "readonly": true,
175 "type": [
176 "integer",
177 "null"
178 ]
179 },
180 "Scheduling": {
181 "description": "Indicates whether scheduling of Jobs is supported.",
182 "longDescription": "The value of this property shall indicate the support of scheduling of Jobs using the Schedule object within the Job resource.",
183 "readonly": true,
184 "type": [
185 "boolean",
186 "null"
187 ]
188 }
189 },
190 "type": "object"
191 },
192 "OemActions": {
193 "additionalProperties": true,
194 "description": "The available OEM specific actions for this resource.",
195 "longDescription": "This type shall contain any additional OEM actions for this resource.",
196 "patternProperties": {
197 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
198 "description": "This property shall specify a valid odata or Redfish property.",
199 "type": [
200 "array",
201 "boolean",
202 "integer",
203 "number",
204 "null",
205 "object",
206 "string"
207 ]
208 }
209 },
210 "properties": {},
211 "type": "object"
212 }
213 },
214 "owningEntity": "DMTF",
215 "title": "#JobService.v1_0_0.JobService"
216}