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