##// END OF EJS Templates
Misc style changes to descriptions
Jessica B. Hamrick -
Show More
@@ -42,7 +42,7 b''
42 "minimum": 1
42 "minimum": 1
43 },
43 },
44 "cells": {
44 "cells": {
45 "description": "array of cells of the current notebook",
45 "description": "Array of cells of the current notebook.",
46 "type": "array",
46 "type": "array",
47 "required": true,
47 "required": true,
48 "items": {
48 "items": {
@@ -58,23 +58,23 b''
58 "definitions": {
58 "definitions": {
59
59
60 "text_cell": {
60 "text_cell": {
61 "description": "Notebook text cell",
61 "description": "Notebook text cell.",
62 "type": "object",
62 "type": "object",
63 "additionalProperties": false,
63 "additionalProperties": false,
64 "properties": {
64 "properties": {
65 "cell_type": {
65 "cell_type": {
66 "description": "String identifying the type of cell",
66 "description": "String identifying the type of cell.",
67 "enum": ["markdown", "raw"],
67 "enum": ["markdown", "raw"],
68 "required": true
68 "required": true
69 },
69 },
70 "metadata": {
70 "metadata": {
71 "description": "Cell-level metadata",
71 "description": "Cell-level metadata.",
72 "type": "object",
72 "type": "object",
73 "required": true,
73 "required": true,
74 "additionalProperties": true
74 "additionalProperties": true
75 },
75 },
76 "source": {
76 "source": {
77 "description": "Contents of the cell, represented as an array of lines (each terminated by \n)",
77 "description": "Contents of the cell, represented as an array of lines (each terminated by \n).",
78 "type": "array",
78 "type": "array",
79 "required": true,
79 "required": true,
80 "items": {
80 "items": {
@@ -86,23 +86,23 b''
86 },
86 },
87
87
88 "heading_cell": {
88 "heading_cell": {
89 "description": "Notebook heading cell",
89 "description": "Notebook heading cell.",
90 "type": "object",
90 "type": "object",
91 "additionalProperties": false,
91 "additionalProperties": false,
92 "properties": {
92 "properties": {
93 "cell_type": {
93 "cell_type": {
94 "description": "String identifying the type of cell",
94 "description": "String identifying the type of cell.",
95 "enum": ["heading"],
95 "enum": ["heading"],
96 "required": true
96 "required": true
97 },
97 },
98 "metadata": {
98 "metadata": {
99 "description": "Cell-level metadata",
99 "description": "Cell-level metadata.",
100 "type": "object",
100 "type": "object",
101 "required": true,
101 "required": true,
102 "additionalProperties": true
102 "additionalProperties": true
103 },
103 },
104 "source": {
104 "source": {
105 "description": "Contents of the cell, represented as an array of lines (each terminated by \n)",
105 "description": "Contents of the cell, represented as an array of lines (each terminated by \n).",
106 "type": "array",
106 "type": "array",
107 "required": true,
107 "required": true,
108 "items": {
108 "items": {
@@ -111,9 +111,9 b''
111 }
111 }
112 },
112 },
113 "level": {
113 "level": {
114 "description": "Level of heading cells",
114 "description": "Level of heading cells.",
115 "type": "integer",
115 "type": "integer",
116 "required": false,
116 "required": true,
117 "minimum": 1,
117 "minimum": 1,
118 "maximum": 6
118 "maximum": 6
119 }
119 }
@@ -121,23 +121,23 b''
121 },
121 },
122
122
123 "code_cell": {
123 "code_cell": {
124 "description": "Notebook code cell",
124 "description": "Notebook code cell.",
125 "type": "object",
125 "type": "object",
126 "additionalProperties": false,
126 "additionalProperties": false,
127 "properties": {
127 "properties": {
128 "cell_type": {
128 "cell_type": {
129 "description": "String identifying the type of cell",
129 "description": "String identifying the type of cell.",
130 "enum": ["code"],
130 "enum": ["code"],
131 "required": true
131 "required": true
132 },
132 },
133 "metadata": {
133 "metadata": {
134 "description": "Cell-level metadata",
134 "description": "Cell-level metadata.",
135 "type": "object",
135 "type": "object",
136 "required": true,
136 "required": true,
137 "additionalProperties": true
137 "additionalProperties": true
138 },
138 },
139 "source": {
139 "source": {
140 "description": "Contents of the cell, represented as an array of lines (each terminated by \n)",
140 "description": "Contents of the cell, represented as an array of lines (each terminated by \n).",
141 "type": "array",
141 "type": "array",
142 "required": true,
142 "required": true,
143 "items": {
143 "items": {
@@ -146,21 +146,22 b''
146 }
146 }
147 }
147 }
148 "outputs": {
148 "outputs": {
149 "description": "Outputs of cell, to be defined",
149 "description": "Outputs of cell, to be defined.",
150 "type": "array",
150 "type": "array",
151 "required": true
151 "required": true
152 },
152 },
153 "collapsed": {
153 "collapsed": {
154 "description": "Whether the cell is collapsed/expanded",
154 "description": "Whether the cell is collapsed/expanded.",
155 "type": "boolean",
155 "type": "boolean",
156 "required": true
156 "required": true
157 },
157 },
158 "autoscroll": {
158 "autoscroll": {
159 "description": "Whether the cell's output should autoscroll",
159 "description": "Whether the cell's output should autoscroll.",
160 "type": "boolean",
160 "type": "boolean",
161 "required": true
161 "required": true
162 },
162 },
163 "prompt_number": {
163 "prompt_number": {
164 "description": "The code cell's prompt number. Will be null if the cell has not been run.",
164 "type": ["integer", "null"],
165 "type": ["integer", "null"],
165 "required": true,
166 "required": true,
166 "minimum": 0
167 "minimum": 0
General Comments 0
You need to be logged in to leave comments. Login now