Jupyter Starters JSON Schema¶
v2.json
A collection of JSON types for configuring and operating Starters
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions |
---|---|---|---|---|---|---|
Cannot be instantiated | Yes | Unknown status | Unknown identifiability | Forbidden | Allowed | none |
Jupyter Starters JSON Definitions¶
Definitions group all-starters¶
Reference this group by using
{
"$ref": "v2.json#/definitions/all-starters"
}
Property | Type | Required | Nullable |
---|---|---|---|
starters | object |
Required | cannot be null |
running | array |
Optional | cannot be null |
version | string |
Required | cannot be null |
running¶
Starters currently using a process/resource
running
is optional
Type:
string[]
cannot be null
running Type¶
string[]
version¶
The version of the Jupyter Starters API
version
is required
Type:
string
(API Version)cannot be null
version Type¶
string
(API Version)
version Constraints¶
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"2" |
Definitions group starters¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starters"
}
Property | Type | Required | Nullable |
---|---|---|---|
Additional Properties | Merged | Optional | cannot be null |
Definitions group start-response¶
Reference this group by using
{
"$ref": "v2.json#/definitions/start-response"
}
Property | Type | Required | Nullable |
---|---|---|---|
starter | Merged | Required | cannot be null |
status | string |
Required | cannot be null |
name | string |
Required | cannot be null |
body | object |
Required | cannot be null |
path | string |
Required | cannot be null |
copy | boolean |
Optional | cannot be null |
errors | array |
Optional | cannot be null |
starter¶
the current definition of the starter: may change during multi-step starters
starter
is required
Type:
object
(Starter)cannot be null
status¶
the current state of the Starter
status
is required
Type:
string
(Status)cannot be null
status Constraints¶
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"error" |
|
"continuing" |
|
"done" |
path¶
the API path (/
delimited) to which files will be written
path
is required
Type:
string
(API Path)cannot be null
copy¶
copy files after starter is run (irrespective of status) if true
copy
is optional
Type:
boolean
(Force Copy)cannot be null
copy Type¶
boolean
(Force Copy)
errors¶
a listing of system and user errors created during a starter
errors
is optional
Type:
string[]
(Error Text)cannot be null
errors Type¶
string[]
(Error Text)
Definitions group starter¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter"
}
Property | Type | Required | Nullable |
---|---|---|---|
type | string |
Required | cannot be null |
Definitions group starter-meta¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter-meta"
}
Property | Type | Required | Nullable |
---|---|---|---|
label | string |
Required | cannot be null |
description | string |
Required | cannot be null |
icon | string |
Optional | cannot be null |
commands | array |
Optional | cannot be null |
ignore | array |
Optional | cannot be null |
schema | object |
Optional | cannot be null |
uiSchema | object |
Optional | cannot be null |
label¶
human-readable, plain-text description used in UI labels and tab titles
label
is required
Type:
string
(Label)cannot be null
description¶
short, plain-text description of the intent of the Starter
description
is required
Type:
string
(Description)cannot be null
description Type¶
string
(Description)
icon¶
SVG string to use in Launcher cards and tab icons
icon
is optional
Type:
string
(Icon)cannot be null
commands¶
JupyterLab commands to run after the Starter has completed
commands
is optional
Type:
object[]
(JupyterLab Command)cannot be null
commands Type¶
object[]
(JupyterLab Command)
ignore¶
glob-style patterns for folders and files exclude from copying, with * for wildcards
ignore
is optional
Type:
string[]
cannot be null
ignore Type¶
string[]
schema¶
Draft 7 JSON Schema that generates a form like this one, which must validate the user’s data. Description fields may include markdown
schema
is optional
Type:
object
(JSON Schema)cannot be null
schema Type¶
object
(JSON Schema)
uiSchema¶
react-jsonschema-form uiSchema
for customizing the selection of widgets
uiSchema
is optional
Type:
object
(UI Schema)cannot be null
Definitions group command¶
Reference this group by using
{
"$ref": "v2.json#/definitions/command"
}
Property | Type | Required | Nullable |
---|---|---|---|
id | string |
Required | cannot be null |
args | object |
Optional | cannot be null |
id¶
canonical name for the command
id
is required
Type:
string
(Command ID)cannot be null
id Type¶
string
(Command ID)
Definitions group starter-copy¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter-copy"
}
Property | Type | Required | Nullable |
---|---|---|---|
type | string |
Optional | cannot be null |
Definitions group starter-copy-with-dest¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter-copy-with-dest"
}
Property | Type | Required | Nullable |
---|---|---|---|
dest | string |
Required | cannot be null |
dest¶
The file or folder to copy to: Jinja templates will be applied with body
as the context
dest
is required
Type:
string
(Copy Destination)cannot be null
dest Type¶
string
(Copy Destination)
Definitions group starter-notebook¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter-notebook"
}
Property | Type | Required | Nullable |
---|---|---|---|
type | string |
Optional | cannot be null |
type¶
Signifies a notebook starter
type
is optional
Type:
string
(Notebook Type)cannot be null
type Type¶
string
(Notebook Type)
type Constraints¶
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"notebook" |
Definitions group starter-python¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter-python"
}
Property | Type | Required | Nullable |
---|---|---|---|
type | string |
Optional | cannot be null |
callable | string |
Required | cannot be null |
type¶
Signifies a python starter
type
is optional
Type:
string
(Python Type)cannot be null
type Type¶
string
(Python Type)
type Constraints¶
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"python" |
callable¶
a python function that accepts the body
callable
is required
Type:
string
(Python Callable)cannot be null
callable Type¶
string
(Python Callable)
callable Constraints¶
pattern: the string must match the following regular expression:
[a-zA-Z_\d\.]
Definitions group starter-with-src¶
Reference this group by using
{
"$ref": "v2.json#/definitions/starter-with-src"
}
Property | Type | Required | Nullable |
---|---|---|---|
src | string |
Required | cannot be null |
py_src | string |
Optional | cannot be null |
src¶
path to the starter. may be absolute or relative to the notebook
launch directory (or py_src
)
src
is required
Type:
string
(Starter Source)cannot be null
src Type¶
string
(Starter Source)
py_src¶
name of a python module installed in the notebook
environment to prepent to src
py_src
is optional
Type:
string
(Starter Python Source)cannot be null
py_src Type¶
string
(Starter Python Source)