defs.json 19 KB

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