From 5f99efb3466be427f4fdeea7ec73aa1d9a0e3cf8 2014-06-09 18:52:05 From: Jessica B. Hamrick Date: 2014-06-09 18:52:05 Subject: [PATCH] Move collapsed and autoscroll to metadata --- diff --git a/IPython/nbformat/v4/v4.withref.json b/IPython/nbformat/v4/v4.withref.json index dbe813c..02dcd79 100644 --- a/IPython/nbformat/v4/v4.withref.json +++ b/IPython/nbformat/v4/v4.withref.json @@ -167,7 +167,19 @@ "description": "Cell-level metadata.", "type": "object", "required": true, - "additionalProperties": true + "additionalProperties": true, + "properties": { + "collapsed": { + "description": "Whether the cell is collapsed/expanded.", + "type": "boolean", + "required": true + }, + "autoscroll": { + "description": "Whether the cell's output should autoscroll.", + "type": "boolean", + "required": true + } + } }, "source": { "description": "Contents of the cell, represented as an array of lines.", @@ -188,16 +200,6 @@ ] } }, - "collapsed": { - "description": "Whether the cell is collapsed/expanded.", - "type": "boolean", - "required": true - }, - "autoscroll": { - "description": "Whether the cell's output should autoscroll.", - "type": "boolean", - "required": true - }, "prompt_number": { "description": "The code cell's prompt number. Will be null if the cell has not been run.", "type": ["integer", "null"],