ChannelRef.schema.json 728 B

1234567891011121314151617181920212223242526
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema",
  3. "$id": "https://joystream.org/ChannelReference.schema.json",
  4. "title": "ChannelReference",
  5. "description": "JSON schema for reference to Channel entity based on runtime schema",
  6. "anyOf": [
  7. {
  8. "type": "object",
  9. "additionalProperties": false,
  10. "required": [
  11. "title"
  12. ],
  13. "properties": {
  14. "title": {
  15. "type": "string",
  16. "maxLength": 64,
  17. "description": "The title of the Channel"
  18. }
  19. }
  20. },
  21. {
  22. "type": "integer",
  23. "minimum": 0
  24. }
  25. ]
  26. }