Show More
@@ -63,14 +63,46 b'' | |||||
63 |
|
63 | |||
64 | "definitions": { |
|
64 | "definitions": { | |
65 |
|
65 | |||
66 |
" |
|
66 | "raw_cell": { | |
67 |
"description": "Notebook |
|
67 | "description": "Notebook raw nbconvert cell.", | |
68 | "type": "object", |
|
68 | "type": "object", | |
69 | "additionalProperties": false, |
|
69 | "additionalProperties": false, | |
70 | "properties": { |
|
70 | "properties": { | |
71 | "cell_type": { |
|
71 | "cell_type": { | |
72 | "description": "String identifying the type of cell.", |
|
72 | "description": "String identifying the type of cell.", | |
73 |
"enum": [ |
|
73 | "enum": ["raw"], | |
|
74 | "required": true | |||
|
75 | }, | |||
|
76 | "metadata": { | |||
|
77 | "description": "Cell-level metadata.", | |||
|
78 | "type": "object", | |||
|
79 | "required": true, | |||
|
80 | "additionalProperties": true, | |||
|
81 | "properties": { | |||
|
82 | "format": { | |||
|
83 | "description": "Raw cell format, to be determined.", | |||
|
84 | "type": "string", | |||
|
85 | "required": false | |||
|
86 | } | |||
|
87 | } | |||
|
88 | }, | |||
|
89 | "source": { | |||
|
90 | "description": "Contents of the cell, represented as an array of lines.", | |||
|
91 | "type": "array", | |||
|
92 | "required": true, | |||
|
93 | "items": {"type": "string"} | |||
|
94 | } | |||
|
95 | } | |||
|
96 | }, | |||
|
97 | ||||
|
98 | "markdown_cell": { | |||
|
99 | "description": "Notebook markdown cell.", | |||
|
100 | "type": "object", | |||
|
101 | "additionalProperties": false, | |||
|
102 | "properties": { | |||
|
103 | "cell_type": { | |||
|
104 | "description": "String identifying the type of cell.", | |||
|
105 | "enum": ["markdown"], | |||
74 | "required": true |
|
106 | "required": true | |
75 | }, |
|
107 | }, | |
76 | "metadata": { |
|
108 | "metadata": { | |
@@ -80,13 +112,10 b'' | |||||
80 | "additionalProperties": true |
|
112 | "additionalProperties": true | |
81 | }, |
|
113 | }, | |
82 | "source": { |
|
114 | "source": { | |
83 |
"description": "Contents of the cell, represented as an array of lines |
|
115 | "description": "Contents of the cell, represented as an array of lines.", | |
84 | "type": "array", |
|
116 | "type": "array", | |
85 | "required": true, |
|
117 | "required": true, | |
86 | "items": { |
|
118 | "items": {"type": "string"} | |
87 | "type": "string", |
|
|||
88 | "pattern": "^.*\n$" |
|
|||
89 | } |
|
|||
90 | } |
|
119 | } | |
91 | } |
|
120 | } | |
92 | }, |
|
121 | }, | |
@@ -108,13 +137,10 b'' | |||||
108 | "additionalProperties": true |
|
137 | "additionalProperties": true | |
109 | }, |
|
138 | }, | |
110 | "source": { |
|
139 | "source": { | |
111 |
"description": "Contents of the cell, represented as an array of lines |
|
140 | "description": "Contents of the cell, represented as an array of lines.", | |
112 | "type": "array", |
|
141 | "type": "array", | |
113 | "required": true, |
|
142 | "required": true, | |
114 | "items": { |
|
143 | "items": {"type": "string"} | |
115 | "type": "string", |
|
|||
116 | "pattern": "^.*\n$" |
|
|||
117 | } |
|
|||
118 | }, |
|
144 | }, | |
119 | "level": { |
|
145 | "level": { | |
120 | "description": "Level of heading cells.", |
|
146 | "description": "Level of heading cells.", | |
@@ -143,13 +169,10 b'' | |||||
143 | "additionalProperties": true |
|
169 | "additionalProperties": true | |
144 | }, |
|
170 | }, | |
145 | "source": { |
|
171 | "source": { | |
146 |
"description": "Contents of the cell, represented as an array of lines |
|
172 | "description": "Contents of the cell, represented as an array of lines.", | |
147 | "type": "array", |
|
173 | "type": "array", | |
148 | "required": true, |
|
174 | "required": true, | |
149 | "items": { |
|
175 | "items": {"type": "string"} | |
150 | "type": "string", |
|
|||
151 | "pattern": "^.*\n$" |
|
|||
152 | } |
|
|||
153 | }, |
|
176 | }, | |
154 | "outputs": { |
|
177 | "outputs": { | |
155 | "description": "Outputs of cell, to be defined.", |
|
178 | "description": "Outputs of cell, to be defined.", |
General Comments 0
You need to be logged in to leave comments.
Login now