defs.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. {
  2. "ActorId": "u64",
  3. "MemberId": "u64",
  4. "BlockAndTime": {
  5. "block": "u32",
  6. "time": "u64"
  7. },
  8. "ThreadId": "u64",
  9. "PostId": "u64",
  10. "InputValidationLengthConstraint": {
  11. "min": "u16",
  12. "max_min_diff": "u16"
  13. },
  14. "WorkingGroup": {
  15. "_enum": [
  16. "Forum",
  17. "Storage",
  18. "Content",
  19. "Membership",
  20. "Operations",
  21. "Gateway"
  22. ]
  23. },
  24. "MemoText": "Text",
  25. "BalanceKind": {
  26. "_enum": [
  27. "Positive",
  28. "Negative"
  29. ]
  30. },
  31. "Address": "AccountId",
  32. "LookupSource": "AccountId",
  33. "ChannelId": "u64",
  34. "DAOId": "u64",
  35. "Url": "Text",
  36. "Membership": {
  37. "handle_hash": "Bytes",
  38. "root_account": "AccountId",
  39. "controller_account": "AccountId",
  40. "verified": "bool",
  41. "invites": "u32"
  42. },
  43. "StakingAccountMemberBinding": {
  44. "member_id": "MemberId",
  45. "confirmed": "bool"
  46. },
  47. "BuyMembershipParameters": {
  48. "root_account": "AccountId",
  49. "controller_account": "AccountId",
  50. "handle": "Option<Text>",
  51. "metadata": "Bytes",
  52. "referrer_id": "Option<MemberId>"
  53. },
  54. "InviteMembershipParameters": {
  55. "inviting_member_id": "MemberId",
  56. "root_account": "AccountId",
  57. "controller_account": "AccountId",
  58. "handle": "Option<Text>",
  59. "metadata": "Bytes"
  60. },
  61. "CouncilStageAnnouncing": {
  62. "candidatesCount": "u64"
  63. },
  64. "CouncilStageElection": {
  65. "candidatesCount": "u64"
  66. },
  67. "CouncilStageUpdate": {
  68. "stage": "CouncilStage",
  69. "changed_at": "u32"
  70. },
  71. "CouncilStage": {
  72. "_enum": {
  73. "Announcing": "CouncilStageAnnouncing",
  74. "Election": "CouncilStageElection",
  75. "Idle": "Null"
  76. }
  77. },
  78. "Candidate": {
  79. "staking_account_id": "AccountId",
  80. "reward_account_id": "AccountId",
  81. "cycle_id": "u64",
  82. "stake": "u32",
  83. "vote_power": "VotePower",
  84. "note_hash": "Option<Hash>"
  85. },
  86. "CouncilMemberOf": {
  87. "staking_account_id": "AccountId",
  88. "reward_account_id": "AccountId",
  89. "membership_id": "MemberId",
  90. "stake": "u128",
  91. "last_payment_block": "u32",
  92. "unpaid_reward": "u128"
  93. },
  94. "CastVoteOf": {
  95. "commitment": "Hash",
  96. "cycle_id": "u64",
  97. "stake": "u128",
  98. "vote_for": "Option<MemberId>"
  99. },
  100. "ForumUserId": "u64",
  101. "ModeratorId": "u64",
  102. "CategoryId": "u64",
  103. "PostReactionId": "u64",
  104. "Category": {
  105. "title_hash": "Hash",
  106. "description_hash": "Hash",
  107. "archived": "bool",
  108. "num_direct_subcategories": "u32",
  109. "num_direct_threads": "u32",
  110. "num_direct_moderators": "u32",
  111. "parent_category_id": "Option<CategoryId>",
  112. "sticky_thread_ids": "Vec<ThreadId>"
  113. },
  114. "Thread": {
  115. "category_id": "CategoryId",
  116. "author_id": "ForumUserId",
  117. "poll": "Option<Poll>",
  118. "cleanup_pay_off": "u128",
  119. "number_of_posts": "u64"
  120. },
  121. "Post": {
  122. "thread_id": "ThreadId",
  123. "text_hash": "Hash",
  124. "author_id": "ForumUserId",
  125. "cleanup_pay_off": "u128",
  126. "last_edited": "u32"
  127. },
  128. "PollAlternative": {
  129. "alternative_text_hash": "Hash",
  130. "vote_count": "u32"
  131. },
  132. "Poll": {
  133. "description_hash": "Hash",
  134. "end_time": "u64",
  135. "poll_alternatives": "Vec<PollAlternative>"
  136. },
  137. "PrivilegedActor": {
  138. "_enum": {
  139. "Lead": "Null",
  140. "Moderator": "ModeratorId"
  141. }
  142. },
  143. "PollInput": {
  144. "description": "Bytes",
  145. "end_time": "u64",
  146. "poll_alternatives": "Vec<Bytes>"
  147. },
  148. "ThreadOf": {
  149. "category_id": "CategoryId",
  150. "author_id": "ForumUserId",
  151. "poll": "Option<Poll>",
  152. "cleanup_pay_off": "u128",
  153. "number_of_posts": "u64"
  154. },
  155. "ExtendedPostId": {
  156. "category_id": "CategoryId",
  157. "thread_id": "ThreadId",
  158. "post_id": "PostId"
  159. },
  160. "ApplicationId": "u64",
  161. "Application": {
  162. "role_account_id": "AccountId",
  163. "reward_account_id": "AccountId",
  164. "staking_account_id": "AccountId",
  165. "member_id": "MemberId",
  166. "description_hash": "Bytes",
  167. "opening_id": "OpeningId"
  168. },
  169. "ApplicationInfo": {
  170. "application_id": "ApplicationId",
  171. "application": "Application"
  172. },
  173. "ApplicationIdSet": "BTreeSet<ApplicationId>",
  174. "ApplicationIdToWorkerIdMap": "BTreeMap<ApplicationId,WorkerId>",
  175. "WorkerId": "u64",
  176. "Worker": {
  177. "member_id": "MemberId",
  178. "role_account_id": "AccountId",
  179. "staking_account_id": "AccountId",
  180. "reward_account_id": "AccountId",
  181. "started_leaving_at": "Option<u32>",
  182. "job_unstaking_period": "u32",
  183. "reward_per_block": "Option<u128>",
  184. "missed_reward": "Option<u128>",
  185. "created_at": "u32"
  186. },
  187. "WorkerInfo": {
  188. "worker_id": "WorkerId",
  189. "worker": "Worker"
  190. },
  191. "Opening": {
  192. "opening_type": "OpeningType",
  193. "created": "u32",
  194. "description_hash": "Bytes",
  195. "stake_policy": "StakePolicy",
  196. "reward_per_block": "Option<u128>",
  197. "creation_stake": "u128"
  198. },
  199. "OpeningId": "u64",
  200. "StakePolicy": {
  201. "stake_amount": "u128",
  202. "leaving_unstaking_period": "u32"
  203. },
  204. "StakeParameters": {
  205. "stake": "u128",
  206. "staking_account_id": "AccountId"
  207. },
  208. "StorageProviderId": "u64",
  209. "OpeningType": {
  210. "_enum": {
  211. "Leader": "Null",
  212. "Regular": "Null"
  213. }
  214. },
  215. "ApplyOnOpeningParameters": {
  216. "member_id": "MemberId",
  217. "opening_id": "OpeningId",
  218. "role_account_id": "AccountId",
  219. "reward_account_id": "AccountId",
  220. "description": "Bytes",
  221. "stake_parameters": "StakeParameters"
  222. },
  223. "Penalty": {
  224. "slashing_text": "Text",
  225. "slashing_amount": "u128"
  226. },
  227. "RewardPaymentType": {
  228. "_enum": [
  229. "MissedReward",
  230. "RegularReward"
  231. ]
  232. },
  233. "ContentId": "[u8;32]",
  234. "LiaisonJudgement": {
  235. "_enum": [
  236. "Pending",
  237. "Accepted"
  238. ]
  239. },
  240. "DataObject": {
  241. "owner": "StorageObjectOwner",
  242. "added_at": "BlockAndTime",
  243. "type_id": "DataObjectTypeId",
  244. "size": "u64",
  245. "liaison": "Option<StorageProviderId>",
  246. "liaison_judgement": "LiaisonJudgement",
  247. "ipfs_content_id": "Text"
  248. },
  249. "DataObjectStorageRelationshipId": "u64",
  250. "DataObjectStorageRelationship": {
  251. "content_id": "ContentId",
  252. "storage_provider": "StorageProviderId",
  253. "ready": "bool"
  254. },
  255. "DataObjectTypeId": "u64",
  256. "DataObjectType": {
  257. "description": "Text",
  258. "active": "bool"
  259. },
  260. "DataObjectsMap": "BTreeMap<ContentId,DataObject>",
  261. "ContentParameters": {
  262. "content_id": "ContentId",
  263. "type_id": "DataObjectTypeId",
  264. "size": "u64",
  265. "ipfs_content_id": "Bytes"
  266. },
  267. "StorageObjectOwner": {
  268. "_enum": {
  269. "Member": "MemberId",
  270. "Channel": "ChannelId",
  271. "DAO": "DAOId",
  272. "Council": "Null",
  273. "WorkingGroup": "WorkingGroup"
  274. }
  275. },
  276. "ObjectOwner": {
  277. "_enum": {
  278. "Member": "MemberId",
  279. "Channel": "ChannelId",
  280. "DAO": "DAOId",
  281. "Council": "Null",
  282. "WorkingGroup": "WorkingGroup"
  283. }
  284. },
  285. "Voucher": {
  286. "size_limit": "u64",
  287. "objects_limit": "u64",
  288. "size_used": "u64",
  289. "objects_used": "u64"
  290. },
  291. "VoucherLimit": "u64",
  292. "UploadingStatus": "bool",
  293. "ParticipantId": "u64",
  294. "Title": "Text",
  295. "UpdatedTitle": "Option<Text>",
  296. "UpdatedBody": "Option<Text>",
  297. "ReplyId": "u64",
  298. "Reply": {
  299. "text_hash": "Hash",
  300. "owner": "ParticipantId",
  301. "parent_id": "PostId"
  302. },
  303. "ReplyToDelete": {
  304. "post_id": "PostId",
  305. "reply_id": "ReplyId",
  306. "hide": "bool"
  307. },
  308. "ProposalId": "u32",
  309. "ProposalStatus": {
  310. "_enum": {
  311. "Active": "Null",
  312. "PendingExecution": "u32",
  313. "PendingConstitutionality": "Null"
  314. }
  315. },
  316. "ProposalOf": {
  317. "parameters": "ProposalParameters",
  318. "proposerId": "MemberId",
  319. "activatedAt": "u32",
  320. "status": "ProposalStatus",
  321. "votingResults": "VotingResults",
  322. "exactExecutionBlock": "Option<u32>",
  323. "nrOfCouncilConfirmations": "u32",
  324. "stakingAccountId": "Option<AccountId>"
  325. },
  326. "ProposalDetails": {
  327. "_enum": {
  328. "Signal": "Text",
  329. "RuntimeUpgrade": "Bytes",
  330. "FundingRequest": "Vec<FundingRequestParameters>",
  331. "SetMaxValidatorCount": "u32",
  332. "CreateWorkingGroupLeadOpening": "CreateOpeningParameters",
  333. "FillWorkingGroupLeadOpening": "FillOpeningParameters",
  334. "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)",
  335. "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)",
  336. "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)",
  337. "SetWorkingGroupLeadReward": "(WorkerId,Option<Balance>,WorkingGroup)",
  338. "TerminateWorkingGroupLead": "TerminateRoleParameters",
  339. "AmendConstitution": "Text",
  340. "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)",
  341. "SetMembershipPrice": "u128",
  342. "SetCouncilBudgetIncrement": "u128",
  343. "SetCouncilorReward": "u128",
  344. "SetInitialInvitationBalance": "u128",
  345. "SetInitialInvitationCount": "u32",
  346. "SetMembershipLeadInvitationQuota": "u32",
  347. "SetReferralCut": "u8",
  348. "CreateBlogPost": "(Text,Text)",
  349. "EditBlogPost": "(PostId,Option<Text>,Option<Text>)",
  350. "LockBlogPost": "PostId",
  351. "UnlockBlogPost": "PostId",
  352. "VetoProposal": "ProposalId"
  353. }
  354. },
  355. "ProposalDetailsOf": {
  356. "_enum": {
  357. "Signal": "Text",
  358. "RuntimeUpgrade": "Bytes",
  359. "FundingRequest": "Vec<FundingRequestParameters>",
  360. "SetMaxValidatorCount": "u32",
  361. "CreateWorkingGroupLeadOpening": "CreateOpeningParameters",
  362. "FillWorkingGroupLeadOpening": "FillOpeningParameters",
  363. "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)",
  364. "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)",
  365. "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)",
  366. "SetWorkingGroupLeadReward": "(WorkerId,Option<Balance>,WorkingGroup)",
  367. "TerminateWorkingGroupLead": "TerminateRoleParameters",
  368. "AmendConstitution": "Text",
  369. "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)",
  370. "SetMembershipPrice": "u128",
  371. "SetCouncilBudgetIncrement": "u128",
  372. "SetCouncilorReward": "u128",
  373. "SetInitialInvitationBalance": "u128",
  374. "SetInitialInvitationCount": "u32",
  375. "SetMembershipLeadInvitationQuota": "u32",
  376. "SetReferralCut": "u8",
  377. "CreateBlogPost": "(Text,Text)",
  378. "EditBlogPost": "(PostId,Option<Text>,Option<Text>)",
  379. "LockBlogPost": "PostId",
  380. "UnlockBlogPost": "PostId",
  381. "VetoProposal": "ProposalId"
  382. }
  383. },
  384. "VotingResults": {
  385. "abstensions": "u32",
  386. "approvals": "u32",
  387. "rejections": "u32",
  388. "slashes": "u32"
  389. },
  390. "ProposalParameters": {
  391. "votingPeriod": "u32",
  392. "gracePeriod": "u32",
  393. "approvalQuorumPercentage": "u32",
  394. "approvalThresholdPercentage": "u32",
  395. "slashingQuorumPercentage": "u32",
  396. "slashingThresholdPercentage": "u32",
  397. "requiredStake": "Option<u128>",
  398. "constitutionality": "u32"
  399. },
  400. "GeneralProposalParameters": {
  401. "member_id": "MemberId",
  402. "title": "Text",
  403. "description": "Text",
  404. "staking_account_id": "Option<AccountId>",
  405. "exact_execution_block": "Option<u32>"
  406. },
  407. "VoteKind": {
  408. "_enum": [
  409. "Approve",
  410. "Reject",
  411. "Slash",
  412. "Abstain"
  413. ]
  414. },
  415. "DiscussionThread": {
  416. "activated_at": "u32",
  417. "author_id": "u64",
  418. "mode": "ThreadMode"
  419. },
  420. "DiscussionPost": {
  421. "author_id": "u64"
  422. },
  423. "CreateOpeningParameters": {
  424. "description": "Bytes",
  425. "stake_policy": "StakePolicy",
  426. "reward_per_block": "Option<u128>",
  427. "working_group": "WorkingGroup"
  428. },
  429. "FillOpeningParameters": {
  430. "opening_id": "OpeningId",
  431. "successful_application_id": "ApplicationId",
  432. "working_group": "WorkingGroup"
  433. },
  434. "TerminateRoleParameters": {
  435. "worker_id": "WorkerId",
  436. "slashing_amount": "Option<u128>",
  437. "working_group": "WorkingGroup"
  438. },
  439. "ProposalDecision": {
  440. "_enum": {
  441. "Canceled": "Null",
  442. "CanceledByRuntime": "Null",
  443. "Vetoed": "Null",
  444. "Rejected": "Null",
  445. "Slashed": "Null",
  446. "Expired": "Null",
  447. "Approved": "Approved"
  448. }
  449. },
  450. "ExecutionFailed": {
  451. "error": "Text"
  452. },
  453. "Approved": {
  454. "_enum": [
  455. "PendingExecution",
  456. "PendingConstitutionality"
  457. ]
  458. },
  459. "SetLeadParams": "(MemberId,AccountId)",
  460. "ThreadMode": {
  461. "_enum": {
  462. "Open": "Null",
  463. "Closed": "Vec<MemberId>"
  464. }
  465. },
  466. "ExecutionStatus": {
  467. "_enum": {
  468. "Executed": "Null",
  469. "ExecutionFailed": "ExecutionFailed"
  470. }
  471. },
  472. "FundingRequestParameters": {
  473. "account": "AccountId",
  474. "amount": "u128"
  475. },
  476. "ReferendumStageVoting": {
  477. "started": "u32",
  478. "winning_target_count": "u64",
  479. "current_cycle_id": "u64"
  480. },
  481. "ReferendumStageRevealing": {
  482. "started": "u32",
  483. "winning_target_count": "u64",
  484. "intermediate_winners": "Vec<OptionResult>",
  485. "current_cycle_id": "u64"
  486. },
  487. "ReferendumStage": {
  488. "_enum": {
  489. "Inactive": "Null",
  490. "Voting": "ReferendumStageVoting",
  491. "Revealing": "ReferendumStageRevealing"
  492. }
  493. },
  494. "OptionResult": {
  495. "option_id": "MemberId",
  496. "vote_power": "VotePower"
  497. },
  498. "VotePower": "u128",
  499. "ConstitutionInfo": {
  500. "text_hash": "Hash"
  501. },
  502. "BountyId": "u32",
  503. "EntryId": "u32",
  504. "BountyActor": {
  505. "_enum": {
  506. "Council": "Null",
  507. "Member": "MemberId"
  508. }
  509. },
  510. "AssuranceContractType": {
  511. "_enum": {
  512. "Open": "Null",
  513. "Closed": "Vec<MemberId>"
  514. }
  515. },
  516. "FundingType_Limited": {
  517. "min_funding_amount": "u128",
  518. "max_funding_amount": "u128",
  519. "funding_period": "u32"
  520. },
  521. "FundingType_Perpetual": {
  522. "target": "u128"
  523. },
  524. "FundingType": {
  525. "_enum": {
  526. "Perpetual": "FundingType_Perpetual",
  527. "Limited": "FundingType_Limited"
  528. }
  529. },
  530. "BountyCreationParameters": {
  531. "oracle": "BountyActor",
  532. "contract_type": "AssuranceContractType",
  533. "creator": "BountyActor",
  534. "cherry": "u128",
  535. "entrant_stake": "u128",
  536. "funding_type": "FundingType",
  537. "work_period": "u32",
  538. "judging_period": "u32"
  539. },
  540. "OracleWorkEntryJudgment_Winner": {
  541. "reward": "u128"
  542. },
  543. "OracleWorkEntryJudgment": {
  544. "_enum": {
  545. "Winner": "OracleWorkEntryJudgment_Winner",
  546. "Rejected": "Null"
  547. }
  548. },
  549. "OracleJudgment": "BTreeMap<EntryId,OracleWorkEntryJudgment>",
  550. "Entry": {
  551. "member_id": "MemberId",
  552. "staking_account_id": "AccountId",
  553. "submitted_at": "u32",
  554. "work_submitted": "bool",
  555. "oracle_judgment_result": "Option<OracleJudgment>"
  556. },
  557. "CuratorId": "u64",
  558. "CuratorGroupId": "u64",
  559. "CuratorGroup": {
  560. "curators": "Vec<CuratorId>",
  561. "active": "bool"
  562. },
  563. "ContentActor": {
  564. "_enum": {
  565. "Curator": "(CuratorGroupId,CuratorId)",
  566. "Member": "MemberId",
  567. "Lead": "Null"
  568. }
  569. },
  570. "NewAsset": {
  571. "_enum": {
  572. "Upload": "ContentParameters",
  573. "Urls": "Vec<Url>"
  574. }
  575. },
  576. "Channel": {
  577. "owner": "ChannelOwner",
  578. "videos": "Vec<VideoId>",
  579. "playlists": "Vec<PlaylistId>",
  580. "series": "Vec<SeriesId>",
  581. "is_censored": "bool",
  582. "reward_account": "Option<AccountId>"
  583. },
  584. "ChannelOwner": {
  585. "_enum": {
  586. "Member": "MemberId",
  587. "Curators": "CuratorGroupId",
  588. "Dao": "DAOId"
  589. }
  590. },
  591. "ChannelCategoryId": "u64",
  592. "ChannelCategory": {},
  593. "ChannelCategoryCreationParameters": {
  594. "meta": "Bytes"
  595. },
  596. "ChannelCategoryUpdateParameters": {
  597. "new_meta": "Bytes"
  598. },
  599. "ChannelCreationParameters": {
  600. "assets": "Vec<NewAsset>",
  601. "meta": "Bytes",
  602. "reward_account": "Option<AccountId>"
  603. },
  604. "ChannelUpdateParameters": {
  605. "assets": "Option<Vec<NewAsset>>",
  606. "new_meta": "Option<Bytes>",
  607. "reward_account": "Option<Option<AccountId>>"
  608. },
  609. "ChannelOwnershipTransferRequestId": "u64",
  610. "ChannelOwnershipTransferRequest": {
  611. "channel_id": "ChannelId",
  612. "new_owner": "ChannelOwner",
  613. "payment": "u128",
  614. "new_reward_account": "Option<AccountId>"
  615. },
  616. "Video": {
  617. "in_channel": "ChannelId",
  618. "in_series": "Option<SeriesId>",
  619. "is_censored": "bool"
  620. },
  621. "VideoId": "u64",
  622. "VideoCategoryId": "u64",
  623. "VideoCategory": {},
  624. "VideoCategoryCreationParameters": {
  625. "meta": "Bytes"
  626. },
  627. "VideoCategoryUpdateParameters": {
  628. "new_meta": "Bytes"
  629. },
  630. "VideoCreationParameters": {
  631. "assets": "Vec<NewAsset>",
  632. "meta": "Bytes"
  633. },
  634. "VideoUpdateParameters": {
  635. "assets": "Option<Vec<NewAsset>>",
  636. "new_meta": "Option<Bytes>"
  637. },
  638. "Person": {
  639. "controlled_by": "PersonController"
  640. },
  641. "PersonId": "u64",
  642. "PersonController": {
  643. "_enum": {
  644. "Member": "MemberId",
  645. "Curators": "Null"
  646. }
  647. },
  648. "PersonActor": {
  649. "_enum": {
  650. "Member": "MemberId",
  651. "Curator": "CuratorId"
  652. }
  653. },
  654. "PersonCreationParameters": {
  655. "assets": "Vec<NewAsset>",
  656. "meta": "Bytes"
  657. },
  658. "PersonUpdateParameters": {
  659. "assets": "Option<Vec<NewAsset>>",
  660. "meta": "Option<Bytes>"
  661. },
  662. "Playlist": {
  663. "in_channel": "ChannelId"
  664. },
  665. "PlaylistId": "u64",
  666. "PlaylistCreationParameters": {
  667. "meta": "Bytes"
  668. },
  669. "PlaylistUpdateParameters": {
  670. "new_meta": "Bytes"
  671. },
  672. "SeriesId": "u64",
  673. "Series": {
  674. "in_channel": "ChannelId",
  675. "seasons": "Vec<Season>"
  676. },
  677. "Season": {
  678. "episodes": "Vec<VideoId>"
  679. },
  680. "SeriesParameters": {
  681. "assets": "Option<Vec<NewAsset>>",
  682. "seasons": "Option<Vec<Option<SeasonParameters>>>",
  683. "meta": "Option<Bytes>"
  684. },
  685. "SeasonParameters": {
  686. "assets": "Option<Vec<NewAsset>>",
  687. "episodes": "Option<Vec<Option<EpisodeParemters>>>",
  688. "meta": "Option<Bytes>"
  689. },
  690. "EpisodeParemters": {
  691. "_enum": {
  692. "NewVideo": "VideoCreationParameters",
  693. "ExistingVideo": "VideoId"
  694. }
  695. },
  696. "MaxNumber": "u32",
  697. "IsCensored": "bool",
  698. "AccountInfo": "AccountInfoWithRefCount"
  699. }