Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

slides.schema.json 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. {
  2. "type": "object",
  3. "title": "Presentation",
  4. "properties": {
  5. "title": {
  6. "type": "string"
  7. },
  8. "columns": {
  9. "type": "array",
  10. "title": "Chapters",
  11. "options": {
  12. "collapsed": "true"
  13. },
  14. "items": {
  15. "type": "object",
  16. "title": "Chapter",
  17. "properties": {
  18. "id": {
  19. "type": "string"
  20. },
  21. "title": {
  22. "type": "string"
  23. },
  24. "params": {
  25. "$ref": "#/definitions/params"
  26. },
  27. "markdown": {
  28. "$ref": "#/definitions/markdown"
  29. },
  30. "slides": {
  31. "type": "array",
  32. "title": "Pages",
  33. "options": {
  34. "collapsed": "true"
  35. },
  36. "items": {
  37. "type": "object",
  38. "title": "Page",
  39. "properties": {
  40. "id": {
  41. "type": "string"
  42. },
  43. "title": {
  44. "type": "string"
  45. },
  46. "params": {
  47. "$ref": "#/definitions/params"
  48. },
  49. "markdown": {
  50. "$ref": "#/definitions/markdown"
  51. }
  52. },
  53. "required": [
  54. "title",
  55. "params",
  56. "markdown"
  57. ]
  58. }
  59. }
  60. },
  61. "required": [
  62. "title",
  63. "params",
  64. "markdown"
  65. ]
  66. }
  67. }
  68. },
  69. "definitions": {
  70. "params": {
  71. "type": "object",
  72. "title": "Parameters",
  73. "options": {
  74. "collapsed": "true"
  75. },
  76. "properties": {
  77. "theme": {
  78. "type": "string",
  79. "title": "Theme",
  80. "enum": [
  81. "beige",
  82. "black",
  83. "blood",
  84. "league",
  85. "moon",
  86. "night",
  87. "serif",
  88. "simple",
  89. "sky",
  90. "solarized",
  91. "white"
  92. ],
  93. "default": "simple"
  94. },
  95. "background-image": {
  96. "$ref": "/enum/bg",
  97. "title": "Background image",
  98. "links": [
  99. {
  100. "rel": "Preview image",
  101. "class": "link-info",
  102. "href": "{{self}}"
  103. }
  104. ]
  105. },
  106. "background-video": {
  107. "$ref": "/enum/bg-video",
  108. "title": "Background video",
  109. "links": [
  110. {
  111. "rel": "Preview video",
  112. "class": "link-info",
  113. "href": "{{self}}",
  114. "media-type": "video/mp4"
  115. }
  116. ]
  117. },
  118. "background-video-loop": {
  119. "type": "boolean",
  120. "default": true
  121. },
  122. "background-video-mute": {
  123. "type": "boolean",
  124. "default": true
  125. },
  126. "background-opacity": {
  127. "type": "string",
  128. "title": "Background opacity",
  129. "enum": [
  130. "0.25",
  131. "0.5",
  132. "0.75",
  133. "1"
  134. ],
  135. "default": "0.5"
  136. },
  137. "background-size": {
  138. "type": "string",
  139. "title": "Background size",
  140. "enum": [
  141. "contain",
  142. "cover"
  143. ],
  144. "default": "cover"
  145. }
  146. }
  147. },
  148. "markdown": {
  149. "type": "string",
  150. "title": "Content",
  151. "format": "markdown",
  152. "options": {
  153. "simplemde": {
  154. "renderingConfig": {
  155. "singleLineBreaks": false
  156. },
  157. "toolbar": [
  158. "bold",
  159. "italic",
  160. "heading",
  161. "|",
  162. "ordered-list",
  163. "unordered-list",
  164. "|",
  165. "link",
  166. "quote",
  167. "|",
  168. "preview"
  169. ]
  170. }
  171. }
  172. }
  173. }
  174. }