12_VideoSchema.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "classId": 12,
  3. "newProperties": [
  4. {
  5. "name": "channel",
  6. "description": "Reference to member's channel",
  7. "required": true,
  8. "property_type": { "Single": { "Reference": [6, true] } }
  9. },
  10. {
  11. "name": "category",
  12. "description": "Reference to a video category",
  13. "required": true,
  14. "property_type": { "Single": { "Reference": [5, false] } }
  15. },
  16. {
  17. "name": "title",
  18. "description": "The title of the video",
  19. "required": true,
  20. "property_type": { "Single": { "Text": 64 } }
  21. },
  22. {
  23. "name": "description",
  24. "description": "The description of the Video",
  25. "required": true,
  26. "property_type": { "Single": { "Text": 1024 } }
  27. },
  28. {
  29. "name": "duration",
  30. "description": "Video duration in seconds",
  31. "required": true,
  32. "property_type": { "Single": "Uint32" }
  33. },
  34. {
  35. "name": "skippableIntroDuration",
  36. "description": "Video's kippable intro duration in seconds",
  37. "required": false,
  38. "property_type": { "Single": "Uint16" }
  39. },
  40. {
  41. "name": "thumbnailURL",
  42. "description": "Video thumbnail url (recommended ratio: 16:9)",
  43. "required": true,
  44. "property_type": { "Single": { "Text": 256 } }
  45. },
  46. {
  47. "name": "language",
  48. "description": "Video's main langauge",
  49. "required": false,
  50. "property_type": { "Single": { "Reference": [1, false] } }
  51. },
  52. {
  53. "name": "media",
  54. "description": "Reference to VideoMedia",
  55. "required": true,
  56. "property_type": { "Single": { "Reference": [11, true] } }
  57. },
  58. {
  59. "name": "hasMarketing",
  60. "description": "Whether or not Video contains marketing",
  61. "required": false,
  62. "property_type": { "Single": "Bool" }
  63. },
  64. {
  65. "name": "publishedBeforeJoystream",
  66. "description": "If the Video was published on other platform before beeing published on Joystream - the original publication date",
  67. "required": false,
  68. "property_type": { "Single": "Uint32" }
  69. },
  70. {
  71. "name": "isPublic",
  72. "description": "Whether the Video is supposed to be publically displayed",
  73. "required": true,
  74. "property_type": { "Single": "Bool" }
  75. },
  76. {
  77. "name": "isCurated",
  78. "description": "Whether the Video has been curated (verified) by a Curator",
  79. "required": true,
  80. "property_type": { "Single": "Bool" },
  81. "locking_policy": { "is_locked_from_controller": true }
  82. },
  83. {
  84. "name": "isExplicit",
  85. "description": "Whether the Video contains explicit material.",
  86. "required": true,
  87. "property_type": { "Single": "Bool" },
  88. "locking_policy": { "is_locked_from_controller": true }
  89. },
  90. {
  91. "name": "license",
  92. "description": "A License the Video is published under",
  93. "required": true,
  94. "property_type": { "Single": { "Reference": [10, true] } }
  95. }
  96. ]
  97. }