##// END OF EJS Templates
Fix errors
Jessica B. Hamrick -
Show More
@@ -176,14 +176,16 b''
176 "items": {"type": "string"}
176 "items": {"type": "string"}
177 },
177 },
178 "outputs": {
178 "outputs": {
179 "description": "Outputs of cell, to be defined.",
179 "description": "Execution, display, or stream outputs.",
180 "type": "array",
180 "type": "array",
181 "required": true,
181 "required": true,
182 "items": [
182 "items": {
183 {"$ref": "/definitions/pyout_output"}
183 "type": [
184 {"$ref": "/definitions/display_data_output"}
184 {"$ref": "/definitions/pyout_output"},
185 {"$ref": "/definitions/display_data_output"},
185 {"$ref": "/definitions/stream_output"}
186 {"$ref": "/definitions/stream_output"}
186 ]
187 ]
188 }
187 },
189 },
188 "collapsed": {
190 "collapsed": {
189 "description": "Whether the cell is collapsed/expanded.",
191 "description": "Whether the cell is collapsed/expanded.",
@@ -207,6 +209,7 b''
207 "pyout_output": {
209 "pyout_output": {
208 "description": "Result of executing a code cell.",
210 "description": "Result of executing a code cell.",
209 "type": "object",
211 "type": "object",
212 "additionalProperties": false,
210 "properties": {
213 "properties": {
211 "output_type": {
214 "output_type": {
212 "description": "Type of cell output.",
215 "description": "Type of cell output.",
@@ -224,7 +227,7 b''
224 "type": ["integer", "null"],
227 "type": ["integer", "null"],
225 "required": true,
228 "required": true,
226 "minimum": 0
229 "minimum": 0
227 }
230 },
228 "text": {
231 "text": {
229 "description": "The cell's text output, represented as an array of strings.",
232 "description": "The cell's text output, represented as an array of strings.",
230 "type": "array",
233 "type": "array",
@@ -240,7 +243,7 b''
240 "png": {
243 "png": {
241 "description": "The cell's png output.",
244 "description": "The cell's png output.",
242 "type": "string",
245 "type": "string",
243 "required": false,
246 "required": false
244 }
247 }
245 }
248 }
246 },
249 },
@@ -248,6 +251,7 b''
248 "display_data_output": {
251 "display_data_output": {
249 "description": "Display data output from a code cell.",
252 "description": "Display data output from a code cell.",
250 "type": "object",
253 "type": "object",
254 "additionalProperties": false,
251 "properties": {
255 "properties": {
252 "output_type": {
256 "output_type": {
253 "description": "Type of cell output.",
257 "description": "Type of cell output.",
@@ -272,12 +276,18 b''
272 "required": false,
276 "required": false,
273 "items": {"type": "string"}
277 "items": {"type": "string"}
274 },
278 },
279 "png": {
280 "description": "The cell's png output.",
281 "type": "string",
282 "required": false
283 }
275 }
284 }
276 },
285 },
277
286
278 "stream_output": {
287 "stream_output": {
279 "description": "Stream output from a code cell.",
288 "description": "Stream output from a code cell.",
280 "type": "object",
289 "type": "object",
290 "additionalProperties": false,
281 "properties": {
291 "properties": {
282 "output_type": {
292 "output_type": {
283 "description": "Type of cell output.",
293 "description": "Type of cell output.",
General Comments 0
You need to be logged in to leave comments. Login now