##// END OF EJS Templates
Update mimetype properties in cell outputs
Jessica B. Hamrick -
Show More
@@ -229,28 +229,12 b''
229 "type": ["integer", "null"],
229 "type": ["integer", "null"],
230 "required": false,
230 "required": false,
231 "minimum": 0
231 "minimum": 0
232 },
232 }
233 "text": {
233 },
234 "description": "The cell's text output, represented as an array of strings.",
234 "patternProperties": {
235 "type": "array",
235 "^[a-zA-Z0-9+-].*/[a-zA-Z0-9+-].*$": {
236 "required": false,
236 "description": "The cell's mimetype output (e.g. text/plain), represented as either an array of strings or a string.",
237 "items": {"type": "string"}
237 "type": ["string", "array"],
238 },
239 "html": {
240 "description": "The cell's html output, represented as an array of strings.",
241 "type": "array",
242 "required": false,
243 "items": {"type": "string"}
244 },
245 "javascript": {
246 "description": "The cell's javascript output, represented as an array of strings.",
247 "type": "array",
248 "required": false,
249 "items": {"type": "string"}
250 },
251 "png": {
252 "description": "The cell's png output.",
253 "type": "string",
254 "required": false
238 "required": false
255 }
239 }
256 }
240 }
@@ -277,7 +261,7 b''
277 "type": "string",
261 "type": "string",
278 "required": true
262 "required": true
279 },
263 },
280 "text": {
264 "text/plain": {
281 "description": "The stream's text output, represented as an array of strings.",
265 "description": "The stream's text output, represented as an array of strings.",
282 "type": "array",
266 "type": "array",
283 "required": false,
267 "required": false,
General Comments 0
You need to be logged in to leave comments. Login now