tools.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. {
  2. "type": "object",
  3. "title": "Common tools",
  4. "description": "Setting for the common tools",
  5. "jupyter.lab.metadataforms": [
  6. {
  7. "id": "commonToolsSection",
  8. "label": "Common Tools",
  9. "metadataSchema": {
  10. "type": "object",
  11. "properties": {
  12. "_CELL-TOOL": {
  13. "title": "Cell tool",
  14. "type": "null"
  15. },
  16. "/editable": {
  17. "title": "Editable",
  18. "type": "boolean",
  19. "default": true,
  20. "oneOf": [
  21. {
  22. "const": true,
  23. "title": "Editable"
  24. },
  25. {
  26. "const": false,
  27. "title": "Read-Only"
  28. }
  29. ]
  30. },
  31. "/slideshow/slide_type": {
  32. "title": "Slide Type",
  33. "type": "string",
  34. "default": "",
  35. "oneOf": [
  36. {
  37. "const": "",
  38. "title": "-"
  39. },
  40. {
  41. "const": "slide",
  42. "title": "Slide"
  43. },
  44. {
  45. "const": "subslide",
  46. "title": "Sub-Slide"
  47. },
  48. {
  49. "const": "fragment",
  50. "title": "Fragment"
  51. },
  52. {
  53. "const": "skip",
  54. "title": "Skip"
  55. },
  56. {
  57. "const": "notes",
  58. "title": "Notes"
  59. }
  60. ]
  61. },
  62. "/raw_mimetype": {
  63. "title": "Raw NBConvert Format",
  64. "type": "string",
  65. "default": "",
  66. "oneOf": [
  67. {
  68. "const": "",
  69. "title": "-"
  70. },
  71. {
  72. "const": "pdf",
  73. "title": "PDF"
  74. },
  75. {
  76. "const": "slides",
  77. "title": "Slides"
  78. },
  79. {
  80. "const": "script",
  81. "title": "Script"
  82. },
  83. {
  84. "const": "notebook",
  85. "title": "Notebook"
  86. },
  87. {
  88. "const": "custom",
  89. "title": "Custom"
  90. }
  91. ]
  92. },
  93. "/toc/base_numbering": {
  94. "title": "Table of content - Base number",
  95. "type": "integer"
  96. }
  97. }
  98. },
  99. "uiSchema": {
  100. "/editable": {
  101. "ui:widget": "select"
  102. }
  103. },
  104. "metadataOptions": {
  105. "_CELL-TOOL": {
  106. "customRenderer": "@jupyterlab/notebook-extension:active-cell-tool.renderer"
  107. },
  108. "/raw_mimetype": {
  109. "cellTypes": ["raw"]
  110. },
  111. "/toc/base_numbering": {
  112. "metadataLevel": "notebook"
  113. }
  114. }
  115. },
  116. {
  117. "id": "advancedToolsSection",
  118. "label": "Advanced Tools",
  119. "metadataSchema": {
  120. "type": "object",
  121. "properties": {
  122. "_CELL-METADATA": {
  123. "title": "Cell metadata",
  124. "type": "null"
  125. },
  126. "_NOTEBOOK-METADATA": {
  127. "title": "Notebook metadata",
  128. "type": "null"
  129. }
  130. }
  131. },
  132. "metadataOptions": {
  133. "_CELL-METADATA": {
  134. "customRenderer": "@jupyterlab/notebook-extension:metadata-editor.cell-metadata"
  135. },
  136. "_NOTEBOOK-METADATA": {
  137. "customRenderer": "@jupyterlab/notebook-extension:metadata-editor.notebook-metadata"
  138. }
  139. }
  140. }
  141. ],
  142. "additionalProperties": false
  143. }