mychannelator.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "channel_id": "mychannelator",
  3. "read_set": {
  4. "groups": {
  5. "Application": {
  6. "groups": {
  7. "Org1MSP": {},
  8. "Org2MSP": {}
  9. }
  10. }
  11. },
  12. "values": {
  13. "Consortium": {
  14. "value": {
  15. "name": "SampleConsortium"
  16. }
  17. }
  18. }
  19. },
  20. "write_set": {
  21. "groups": {
  22. "Application": {
  23. "groups": {
  24. "Org1MSP": {},
  25. "Org2MSP": {}
  26. },
  27. "mod_policy": "Admins",
  28. "policies": {
  29. "Admins": {
  30. "mod_policy": "Admins",
  31. "policy": {
  32. "type": 3,
  33. "value": {
  34. "rule": "MAJORITY",
  35. "sub_policy": "Admins"
  36. }
  37. }
  38. },
  39. "Readers": {
  40. "mod_policy": "Admins",
  41. "policy": {
  42. "type": 3,
  43. "value": {
  44. "sub_policy": "Readers"
  45. }
  46. }
  47. },
  48. "Writers": {
  49. "mod_policy": "Admins",
  50. "policy": {
  51. "type": 3,
  52. "value": {
  53. "sub_policy": "Writers"
  54. }
  55. }
  56. }
  57. },
  58. "version": "1"
  59. }
  60. },
  61. "values": {
  62. "Consortium": {
  63. "value": {
  64. "name": "SampleConsortium"
  65. }
  66. }
  67. }
  68. }
  69. }