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.

chat.schema.json 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "type": "object",
  3. "title": "Themed chat",
  4. "properties": {
  5. "title": {
  6. "type": "string"
  7. },
  8. "markdown": {
  9. "type": "string",
  10. "title": "Content",
  11. "format": "markdown",
  12. "options": {
  13. "simplemde": {
  14. "renderingConfig": {
  15. "singleLineBreaks": false
  16. },
  17. "toolbar": [
  18. "bold",
  19. "italic",
  20. "heading",
  21. "|",
  22. "ordered-list",
  23. "unordered-list",
  24. "|",
  25. "link",
  26. "quote",
  27. "|",
  28. "preview"
  29. ]
  30. }
  31. }
  32. },
  33. "bg_video": {
  34. "$ref": "/enum/bg-video",
  35. "title": "Background video",
  36. "links": [
  37. {
  38. "rel": "Preview video",
  39. "class": "link-info",
  40. "href": "{{self}}",
  41. "media-type": "video/mp4"
  42. }
  43. ]
  44. },
  45. "use_soundtrack": {
  46. "title": "Use soundtrack",
  47. "type": "boolean",
  48. "format": "checkbox"
  49. },
  50. "soundtrack": {
  51. "dependencies": {
  52. "use_soundtrack": true
  53. },
  54. "type": "string",
  55. "title": "Soundtrack",
  56. "$ref": "/enum/audio"
  57. },
  58. "use_video_content": {
  59. "title": "Use video content",
  60. "type": "boolean",
  61. "format": "checkbox"
  62. },
  63. "video_content": {
  64. "dependencies": {
  65. "use_video_content": true
  66. },
  67. "type": "string",
  68. "title": "Video content",
  69. "$ref": "/embeds_enum"
  70. }
  71. },
  72. "required": [
  73. "title",
  74. "markdown",
  75. "bg_video",
  76. "use_soundtrack",
  77. "soundtrack",
  78. "use_video_content",
  79. "video_content"
  80. ]
  81. }