Show More
@@ -1,20 +1,20 b'' | |||
|
1 | 1 | { |
|
2 | 2 | "description": "custom json structure with references to generate notebook schema", |
|
3 | "notebook":{ | |
|
3 | "notebook": { | |
|
4 | 4 | "type": "object", |
|
5 | 5 | "description": "notebook v4.0 root schema", |
|
6 | 6 | "$schema": "http://json-schema.org/draft-03/schema", |
|
7 | 7 | "id": "#notebook", |
|
8 | 8 | "required": true, |
|
9 | 9 | "additionalProperties": false, |
|
10 | "properties":{ | |
|
10 | "properties": { | |
|
11 | 11 | "metadata": { |
|
12 | 12 | "type": "object", |
|
13 | 13 | "id": "metadata", |
|
14 | 14 | "required": true, |
|
15 | 15 | "description": "the metadata atribute can contain any additionnal information", |
|
16 | 16 | "additionalProperties": true, |
|
17 | "properties":{ | |
|
17 | "properties": { | |
|
18 | 18 | "name": { |
|
19 | 19 | "id": "name", |
|
20 | 20 | "description": "the title of the notebook", |
@@ -63,7 +63,7 b'' | |||
|
63 | 63 | "id": "#cell", |
|
64 | 64 | "required": true, |
|
65 | 65 | "additionalProperties": false, |
|
66 | "properties":{ | |
|
66 | "properties": { | |
|
67 | 67 | "cell_type": { |
|
68 | 68 | "type": "string", |
|
69 | 69 | "id": "cell_type", |
@@ -100,18 +100,18 b'' | |||
|
100 | 100 | |
|
101 | 101 | "any_cell": { |
|
102 | 102 | "description": "Meta cell type that match any cell type", |
|
103 | "type": [{"$ref": "/text_cell"},{"$ref":"/code_cell"}], | |
|
103 | "type": [{"$ref": "/text_cell"}, {"$ref":"/code_cell"}], | |
|
104 | 104 | "$schema": "http://json-schema.org/draft-03/schema" |
|
105 | 105 | }, |
|
106 | 106 | |
|
107 | "code_cell":{ | |
|
107 | "code_cell": { | |
|
108 | 108 | "type": "object", |
|
109 | 109 | "$schema": "http://json-schema.org/draft-03/schema", |
|
110 | 110 | "description": "Cell used to execute code", |
|
111 | 111 | "id": "#cell", |
|
112 | 112 | "required": true, |
|
113 | 113 | "additionalProperties": false, |
|
114 | "properties":{ | |
|
114 | "properties": { | |
|
115 | 115 | "cell_type": { |
|
116 | 116 | "type": "string", |
|
117 | 117 | "id": "cell_type", |
@@ -144,7 +144,7 b'' | |||
|
144 | 144 | "type": "array" |
|
145 | 145 | }, |
|
146 | 146 | "prompt_number": { |
|
147 | "type": ["integer","null"], | |
|
147 | "type": ["integer", "null"], | |
|
148 | 148 | "required": false, |
|
149 | 149 | "minimum": 0 |
|
150 | 150 | }, |
General Comments 0
You need to be logged in to leave comments.
Login now