plugin-schema.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema",
  3. "title": "JupyterLab Plugin Settings/Preferences Schema",
  4. "description": "JupyterLab plugin settings/preferences schema",
  5. "version": "1.0.0",
  6. "type": "object",
  7. "additionalProperties": true,
  8. "properties": {
  9. "jupyter.lab.setting-deprecated": { "type": "boolean", "default": false },
  10. "jupyter.lab.setting-icon-class": {
  11. "type": "string",
  12. "default": "jp-SettingsIcon"
  13. },
  14. "jupyter.lab.setting-icon-label": { "type": "string", "default": "Plugin" },
  15. "jupyter.lab.setting-transform": { "type": "boolean", "default": false },
  16. "jupyter.lab.shortcuts": {
  17. "items": { "$ref": "#/definitions/shortcut" },
  18. "type": "array",
  19. "default": []
  20. }
  21. },
  22. "definitions": {
  23. "shortcut": {
  24. "properties": {
  25. "args": { "type": "object" },
  26. "command": { "type": "string" },
  27. "disabled": { "type": "boolean", "default": false },
  28. "keys": {
  29. "items": { "type": "string" },
  30. "minItems": 1,
  31. "type": "array"
  32. },
  33. "selector": { "type": "string" }
  34. },
  35. "required": ["command", "keys", "selector"],
  36. "type": "object"
  37. }
  38. }
  39. }