Jupyter Starters JSON Schema

https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json

A collection of JSON types for configuring and operating Starters

Abstract

Extensible

Status

Identifiable

Custom Properties

Additional Properties

Access Restrictions

Defined In

Cannot be instantiated

Yes

Unknown status

Unknown identifiability

Forbidden

Allowed

none

v2.json

Jupyter Starters JSON Type

object (Jupyter Starters JSON)

any of

Jupyter Starters JSON Definitions

Definitions group all-starters

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/all-starters"
}

Property

Type

Required

Nullable

Defined by

starters

object

Required

cannot be null

Jupyter Starters JSON

running

array

Optional

cannot be null

Jupyter Starters JSON

version

string

Required

cannot be null

Jupyter Starters JSON

starters

a named set of Starters

starters

starters Type

object (Starters)

running

Starters currently using a process/resource

running

running Type

string[]

version

The version of the Jupyter Starters API

version

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": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starters"
}

Property

Type

Required

Nullable

Defined by

Additional Properties

Merged

Optional

cannot be null

Jupyter Starters JSON

Additional Properties

Additional properties are allowed, as long as they follow this schema:

additionalProperties Type

object (Starter)

any of

Definitions group start-response

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/start-response"
}

Property

Type

Required

Nullable

Defined by

starter

Merged

Required

cannot be null

Jupyter Starters JSON

status

string

Required

cannot be null

Jupyter Starters JSON

name

string

Required

cannot be null

Jupyter Starters JSON

body

object

Required

cannot be null

Jupyter Starters JSON

path

string

Required

cannot be null

Jupyter Starters JSON

copy

boolean

Optional

cannot be null

Jupyter Starters JSON

errors

array

Optional

cannot be null

Jupyter Starters JSON

starter

the current definition of the starter: may change during multi-step starters

starter

starter Type

object (Starter)

any of

status

the current state of the Starter

status

status Type

string (Status)

status Constraints

enum: the value of this property must be equal to one of the following values:

Value

Explanation

"error"

"continuing"

"done"

name

the canonical name of the starter

name

name Type

string (Name)

body

user data populated by the client

body

body Type

object (Body)

path

the API path (/ delimited) to which files will be written

path

path Type

string (API Path)

copy

copy files after starter is run (irrespective of status) if true

copy

copy Type

boolean (Force Copy)

errors

a listing of system and user errors created during a starter

errors

errors Type

string[] (Error Text)

Definitions group starter

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter"
}

Property

Type

Required

Nullable

Defined by

type

string

Required

cannot be null

Jupyter Starters JSON

type

type

type Type

string (Starter Type)

Definitions group starter-meta

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter-meta"
}

Property

Type

Required

Nullable

Defined by

label

string

Required

cannot be null

Jupyter Starters JSON

description

string

Required

cannot be null

Jupyter Starters JSON

icon

string

Optional

cannot be null

Jupyter Starters JSON

commands

array

Optional

cannot be null

Jupyter Starters JSON

ignore

array

Optional

cannot be null

Jupyter Starters JSON

schema

object

Optional

cannot be null

Jupyter Starters JSON

uiSchema

object

Optional

cannot be null

Jupyter Starters JSON

label

human-readable, plain-text description used in UI labels and tab titles

label

label Type

string (Label)

description

short, plain-text description of the intent of the Starter

description

description Type

string (Description)

icon

SVG string to use in Launcher cards and tab icons

icon

icon Type

string (Icon)

commands

JupyterLab commands to run after the Starter has completed

commands

commands Type

object[] (JupyterLab Command)

ignore

glob-style patterns for folders and files exclude from copying, with * for wildcards

ignore

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

schema Type

object (JSON Schema)

uiSchema

react-jsonschema-form uiSchema for customizing the selection of widgets

uiSchema

uiSchema Type

object (UI Schema)

Definitions group command

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/command"
}

Property

Type

Required

Nullable

Defined by

id

string

Required

cannot be null

Jupyter Starters JSON

args

object

Optional

cannot be null

Jupyter Starters JSON

id

canonical name for the command

id

id Type

string (Command ID)

args

optional values provided to the command when executed

args

args Type

object (Arguments)

Definitions group starter-copy

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter-copy"
}

Property

Type

Required

Nullable

Defined by

type

string

Optional

cannot be null

Jupyter Starters JSON

type

Signifies a copy type

type

type Type

string (Copy Type)

type Constraints

enum: the value of this property must be equal to one of the following values:

Value

Explanation

"copy"

Definitions group starter-copy-with-dest

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter-copy-with-dest"
}

Property

Type

Required

Nullable

Defined by

dest

string

Required

cannot be null

Jupyter Starters JSON

dest

The file or folder to copy to: Jinja templates will be applied with body as the context

dest

dest Type

string (Copy Destination)

Definitions group starter-notebook

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter-notebook"
}

Property

Type

Required

Nullable

Defined by

type

string

Optional

cannot be null

Jupyter Starters JSON

type

Signifies a notebook starter

type

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": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter-python"
}

Property

Type

Required

Nullable

Defined by

type

string

Optional

cannot be null

Jupyter Starters JSON

callable

string

Required

cannot be null

Jupyter Starters JSON

type

Signifies a python starter

type

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

callable Type

string (Python Callable)

callable Constraints

pattern: the string must match the following regular expression:

[a-zA-Z_\d\.]

try pattern

Definitions group starter-with-src

Reference this group by using

{
  "$ref": "https://raw.githubusercontent.com/deathbeds/jupyterlab-starters/master/src/jupyter_starters/schema/v2.json#/definitions/starter-with-src"
}

Property

Type

Required

Nullable

Defined by

src

string

Required

cannot be null

Jupyter Starters JSON

py_src

string

Optional

cannot be null

Jupyter Starters JSON

src

path to the starter. may be absolute or relative to the notebook launch directory (or py_src)

src

src Type

string (Starter Source)

py_src

name of a python module installed in the notebook environment to prepent to src

py_src

py_src Type

string (Starter Python Source)