Show More
@@ -13,7 +13,7 b'' | |||
|
13 | 13 | "kernel_info": { |
|
14 | 14 | "description": "Kernel information.", |
|
15 | 15 | "type": "object", |
|
16 |
"required": |
|
|
16 | "required": false, | |
|
17 | 17 | "properties": { |
|
18 | 18 | "name": { |
|
19 | 19 | "description": "Name of the kernel specification.", |
@@ -46,7 +46,7 b'' | |||
|
46 | 46 | } |
|
47 | 47 | }, |
|
48 | 48 | "nbformat_minor": { |
|
49 |
"description": "Notebook format (minor number). Incremented for |
|
|
49 | "description": "Notebook format (minor number). Incremented for backward compatible changes to the notebook format.", | |
|
50 | 50 | "type": "integer", |
|
51 | 51 | "required": true, |
|
52 | 52 | "minimum": 0 |
@@ -178,12 +178,12 b'' | |||
|
178 | 178 | "collapsed": { |
|
179 | 179 | "description": "Whether the cell is collapsed/expanded.", |
|
180 | 180 | "type": "boolean", |
|
181 |
"required": |
|
|
181 | "required": false | |
|
182 | 182 | }, |
|
183 | 183 | "autoscroll": { |
|
184 |
"description": "Whether the cell's output |
|
|
185 |
" |
|
|
186 |
"required": |
|
|
184 | "description": "Whether the cell's output is scrolled, unscrolled, or autoscrolled.", | |
|
185 | "enum": [true, false, "auto"], | |
|
186 | "required": false | |
|
187 | 187 | }, |
|
188 | 188 | "name": {"$ref": "/definitions/misc/metadata_name"}, |
|
189 | 189 | "tags": {"$ref": "/definitions/misc/metadata_tags"} |
@@ -196,7 +196,7 b'' | |||
|
196 | 196 | "required": true, |
|
197 | 197 | "items": { |
|
198 | 198 | "type": [ |
|
199 |
{"$ref": "/definitions/execute_ |
|
|
199 | {"$ref": "/definitions/execute_result"}, | |
|
200 | 200 | {"$ref": "/definitions/display_data_output"}, |
|
201 | 201 | {"$ref": "/definitions/stream_output"}, |
|
202 | 202 | {"$ref": "/definitions/error_output"} |
@@ -212,14 +212,14 b'' | |||
|
212 | 212 | } |
|
213 | 213 | }, |
|
214 | 214 | |
|
215 |
"execute_ |
|
|
215 | "execute_result": { | |
|
216 | 216 | "description": "Result of executing a code cell.", |
|
217 | 217 | "type": "object", |
|
218 | 218 | "additionalProperties": false, |
|
219 | 219 | "properties": { |
|
220 | 220 | "output_type": { |
|
221 | 221 | "description": "Type of cell output.", |
|
222 |
"enum": ["execute_ |
|
|
222 | "enum": ["execute_result"], | |
|
223 | 223 | "required": true |
|
224 | 224 | }, |
|
225 | 225 | "metadata": {"$ref": "/definitions/misc/output_metadata"}, |
@@ -261,9 +261,8 b'' | |||
|
261 | 261 | }, |
|
262 | 262 | "text/plain": { |
|
263 | 263 | "description": "The stream's text output, represented as an array of strings.", |
|
264 | "type": "array", | |
|
265 |
"required": false |
|
|
266 | "items": {"type": "string"} | |
|
264 | "type": ["string", "array"], | |
|
265 | "required": false | |
|
267 | 266 | } |
|
268 | 267 | } |
|
269 | 268 | }, |
@@ -292,8 +291,8 b'' | |||
|
292 | 291 | "traceback": { |
|
293 | 292 | "description": "The error's traceback, represented as an array of strings.", |
|
294 | 293 | "type": "array", |
|
295 |
" |
|
|
296 |
" |
|
|
294 | "items": {"type": "string"}, | |
|
295 | "required": true | |
|
297 | 296 | } |
|
298 | 297 | } |
|
299 | 298 | }, |
@@ -317,9 +316,8 b'' | |||
|
317 | 316 | }, |
|
318 | 317 | "source": { |
|
319 | 318 | "description": "Contents of the cell, represented as an array of lines.", |
|
320 | "type": "array", | |
|
321 |
"required": true |
|
|
322 | "items": {"type": "string"} | |
|
319 | "type": ["string", "array"], | |
|
320 | "required": true | |
|
323 | 321 | }, |
|
324 | 322 | "prompt_number": { |
|
325 | 323 | "description": "The code cell's prompt number. Will be null if the cell has not been run.", |
General Comments 0
You need to be logged in to leave comments.
Login now