Show More
@@ -178,15 +178,7 b'' | |||
|
178 | 178 | "outputs": { |
|
179 | 179 | "description": "Execution, display, or stream outputs.", |
|
180 | 180 | "type": "array", |
|
181 | "items": { | |
|
182 | "type": "object", | |
|
183 | "oneOf": [ | |
|
184 | {"$ref": "#/definitions/execute_result"}, | |
|
185 | {"$ref": "#/definitions/display_data_output"}, | |
|
186 | {"$ref": "#/definitions/stream_output"}, | |
|
187 | {"$ref": "#/definitions/error_output"} | |
|
188 | ] | |
|
189 | } | |
|
181 | "items": {"$ref": "#/definitions/output"} | |
|
190 | 182 | }, |
|
191 | 183 | "prompt_number": { |
|
192 | 184 | "description": "The code cell's prompt number. Will be null if the cell has not been run.", |
@@ -195,7 +187,15 b'' | |||
|
195 | 187 | } |
|
196 | 188 | } |
|
197 | 189 | }, |
|
198 | ||
|
190 | "output": { | |
|
191 | "type": "object", | |
|
192 | "oneOf": [ | |
|
193 | {"$ref": "#/definitions/execute_result"}, | |
|
194 | {"$ref": "#/definitions/display_data"}, | |
|
195 | {"$ref": "#/definitions/stream"}, | |
|
196 | {"$ref": "#/definitions/error"} | |
|
197 | ] | |
|
198 | }, | |
|
199 | 199 | "execute_result": { |
|
200 | 200 | "description": "Result of executing a code cell.", |
|
201 | 201 | "type": "object", |
@@ -211,20 +211,20 b'' | |||
|
211 | 211 | "type": ["integer"], |
|
212 | 212 | "minimum": 0 |
|
213 | 213 | }, |
|
214 | "metadata": {"$ref": "#/definitions/misc/output_metadata"}, | |
|
215 | 214 | "application/json": { |
|
216 | 215 | "type": "object" |
|
217 | } | |
|
216 | }, | |
|
217 | "metadata": {"$ref": "#/definitions/misc/output_metadata"} | |
|
218 | 218 | }, |
|
219 | 219 | "patternProperties": { |
|
220 |
"^[a-zA-Z0-9 |
|
|
220 | "^(?!application/json$)[a-zA-Z0-9]+/[a-zA-Z0-9\\-\\+\\.]+$": { | |
|
221 | 221 | "description": "mimetype output (e.g. text/plain), represented as either an array of strings or a string.", |
|
222 | 222 | "$ref": "#/definitions/misc/multiline_string" |
|
223 | 223 | } |
|
224 | 224 | } |
|
225 | 225 | }, |
|
226 | 226 | |
|
227 |
"display_data |
|
|
227 | "display_data": { | |
|
228 | 228 | "description": "Data displayed as a result of code cell execution.", |
|
229 | 229 | "type": "object", |
|
230 | 230 | "additionalProperties": false, |
@@ -234,17 +234,20 b'' | |||
|
234 | 234 | "description": "Type of cell output.", |
|
235 | 235 | "enum": ["display_data"] |
|
236 | 236 | }, |
|
237 | "application/json": { | |
|
238 | "type": "object" | |
|
239 | }, | |
|
237 | 240 | "metadata": {"$ref": "#/definitions/misc/output_metadata"} |
|
238 | 241 | }, |
|
239 | 242 | "patternProperties": { |
|
240 |
"^[a-zA-Z0-9 |
|
|
243 | "^(?!application/json$)[a-zA-Z0-9]+/[a-zA-Z0-9\\-\\+\\.]+$": { | |
|
241 | 244 | "description": "mimetype output (e.g. text/plain), represented as either an array of strings or a string.", |
|
242 | 245 | "$ref": "#/definitions/misc/multiline_string" |
|
243 | 246 | } |
|
244 | 247 | } |
|
245 | 248 | }, |
|
246 | 249 | |
|
247 |
"stream |
|
|
250 | "stream": { | |
|
248 | 251 | "description": "Stream output from a code cell.", |
|
249 | 252 | "type": "object", |
|
250 | 253 | "additionalProperties": false, |
@@ -266,7 +269,7 b'' | |||
|
266 | 269 | } |
|
267 | 270 | }, |
|
268 | 271 | |
|
269 |
"error |
|
|
272 | "error": { | |
|
270 | 273 | "description": "Output of an error that occurred during code cell execution.", |
|
271 | 274 | "type": "object", |
|
272 | 275 | "additionalProperties": false, |
General Comments 0
You need to be logged in to leave comments.
Login now