forked from jupyterlab/jupyterlab-module-federation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata_schema.json
73 lines (73 loc) · 2.04 KB
/
metadata_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"title": "JupyterLab Package Metadata",
"version": "0.1.0",
"description": "JupyterLab package.json settings.",
"definitions": {
"extension": {
"type": ["boolean", "string"]
},
"relativePath": {
"type": ["string", "null"]
}
},
"properties": {
"extension": {
"title": "Extension",
"description": "Presence of or relative path to a standard JupyterLab extension",
"$ref": "#/definitions/extension",
"default": false
},
"mimeExtension": {
"title": "Mime extension",
"description": "Presence of or relative path to a JupyterLab MIME renderer extension",
"$ref": "#/definitions/extension",
"default": false
},
"themePath": {
"title": "Theme path",
"description": "The relative path to theme files",
"$ref": "#/definitions/relativePath",
"default": null
},
"schemaDir": {
"title": "Schema directory",
"description": "The relative path to schema files",
"$ref": "#/definitions/relativePath",
"default": null
},
"sharedPackages": {
"title": "Shared packages",
"description": "Packages that should be shared (in addition to core shared packages)",
"type": "array",
"items": {
"type": "string"
}
},
"nonSharedPackages": {
"title": "Non-shared packages",
"description": "Packages that should not be shared (which can include core packages)",
"type": "array",
"items": {
"type": "string"
}
},
"singletonPackages": {
"title": "Singleton packages",
"description": "Packages that should be singletons (in addition to core singleton packages)",
"type": "array",
"items": {
"type": "string"
}
},
"nonSingleltonPackages": {
"title": "Non-singleton packages",
"description": "Packages that should not be singletons (which can include core packages)",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"type": "object"
}