ChannelSchema.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "className": "Channel",
  3. "newProperties": [
  4. {
  5. "name": "handle",
  6. "description": "The handle of the Channel",
  7. "required": true,
  8. "unique": true,
  9. "property_type": { "Single": { "Text": 64 } }
  10. },
  11. {
  12. "name": "description",
  13. "description": "The description of a Channel",
  14. "required": true,
  15. "property_type": { "Single": { "Text": 1024 } }
  16. },
  17. {
  18. "name": "coverPhotoUrl",
  19. "description": "Url for Channel's cover (background) photo. Recommended ratio: 16:9.",
  20. "required": false,
  21. "property_type": { "Single": { "Text": 256 } }
  22. },
  23. {
  24. "name": "avatarPhotoUrl",
  25. "description": "Channel's avatar photo.",
  26. "required": false,
  27. "property_type": { "Single": { "Text": 256 } }
  28. },
  29. {
  30. "name": "isPublic",
  31. "description": "Flag signaling whether a channel is public.",
  32. "required": true,
  33. "property_type": { "Single": "Bool" }
  34. },
  35. {
  36. "name": "isCensored",
  37. "description": "Channel censorship status set by the Curator.",
  38. "required": false,
  39. "property_type": { "Single": "Bool" },
  40. "locking_policy": { "is_locked_from_controller": true }
  41. },
  42. {
  43. "name": "language",
  44. "description": "The primary langauge of the channel's content",
  45. "required": false,
  46. "property_type": { "Single": { "Reference": { "className": "Language" } } }
  47. }
  48. ]
  49. }