You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

slides.schema.json 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "type": "object",
  3. "title": "Presentation",
  4. "properties": {
  5. "title": {
  6. "type": "string"
  7. },
  8. "columns": {
  9. "type": "array",
  10. "title": "Columns",
  11. "items": {
  12. "type": "object",
  13. "title": "Column",
  14. "properties": {
  15. "id": {
  16. "type": "string"
  17. },
  18. "title": {
  19. "type": "string"
  20. },
  21. "params": {
  22. "$ref": "#/definitions/params"
  23. },
  24. "markdown": {
  25. "$ref": "#/definitions/markdown"
  26. },
  27. "slides": {
  28. "type": "array",
  29. "options": {
  30. "collapsed": "true"
  31. },
  32. "items": {
  33. "type": "object",
  34. "title": "Slide",
  35. "properties": {
  36. "id": {
  37. "type": "string"
  38. },
  39. "title": {
  40. "type": "string"
  41. },
  42. "params": {
  43. "$ref": "#/definitions/params"
  44. },
  45. "markdown": {
  46. "$ref": "#/definitions/markdown"
  47. }
  48. },
  49. "required": [
  50. "title",
  51. "params",
  52. "markdown"
  53. ]
  54. }
  55. }
  56. },
  57. "required": [
  58. "title",
  59. "params",
  60. "markdown"
  61. ]
  62. }
  63. }
  64. },
  65. "definitions": {
  66. "params": {
  67. "type": "object",
  68. "title": "Parameters",
  69. "options": {
  70. "collapsed": "true"
  71. },
  72. "properties": {
  73. "theme": {
  74. "type": "string",
  75. "title": "Theme",
  76. "enum": [
  77. "beige",
  78. "black",
  79. "blood",
  80. "league",
  81. "moon",
  82. "night",
  83. "serif",
  84. "simple",
  85. "sky",
  86. "solarized",
  87. "white"
  88. ],
  89. "default": "simple"
  90. },
  91. "background-image": {
  92. "$ref": "/choices/bg",
  93. "title": "Background image",
  94. "links": [
  95. {
  96. "rel": "Preview image",
  97. "class": "link-info",
  98. "href": "{{self}}"
  99. }
  100. ]
  101. },
  102. "background-opacity": {
  103. "type": "string",
  104. "title": "Background opacity",
  105. "enum": [
  106. "0.25",
  107. "0.5",
  108. "0.75",
  109. "1"
  110. ],
  111. "default": "0.5"
  112. },
  113. "background-size": {
  114. "type": "string",
  115. "title": "Background size",
  116. "enum": [
  117. "contain",
  118. "cover"
  119. ],
  120. "default": "cover"
  121. }
  122. }
  123. },
  124. "markdown": {
  125. "type": "string",
  126. "title": "Content",
  127. "format": "markdown"
  128. }
  129. }
  130. }