@wowok/agent-mcp 2.7.6 → 2.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/customer/index.d.ts +3 -4
  2. package/dist/customer/index.js +1 -1
  3. package/dist/customer/info-puzzle.js +1 -1
  4. package/dist/customer/order-monitor.d.ts +0 -9
  5. package/dist/customer/order-monitor.js +1 -1
  6. package/dist/customer/order-strategy.d.ts +0 -19
  7. package/dist/customer/order-strategy.js +1 -1
  8. package/dist/customer/reminder-system.d.ts +0 -5
  9. package/dist/customer/reminder-system.js +1 -1
  10. package/dist/evaluation/game-strategy.js +1 -1
  11. package/dist/evaluation/injection.d.ts +6 -0
  12. package/dist/evaluation/injection.js +1 -0
  13. package/dist/evaluation/node-game.js +1 -1
  14. package/dist/examples/machine-multisig-threshold.json +1 -0
  15. package/dist/harness/recover.js +1 -1
  16. package/dist/harness/types.d.ts +1 -1
  17. package/dist/harness/verify.js +1 -1
  18. package/dist/intent/enrich.js +1 -1
  19. package/dist/intent/matcher.js +1 -1
  20. package/dist/intent/types.d.ts +1 -1
  21. package/dist/intent/types.js +1 -1
  22. package/dist/knowledge/arbitration-ledger.js +1 -1
  23. package/dist/knowledge/contract-invariants.d.ts +53 -0
  24. package/dist/knowledge/contract-invariants.js +1 -0
  25. package/dist/knowledge/deployment-scanner.js +1 -1
  26. package/dist/knowledge/dynamic-pricing.d.ts +0 -2
  27. package/dist/knowledge/dynamic-pricing.js +1 -1
  28. package/dist/knowledge/event-semantics.d.ts +20 -0
  29. package/dist/knowledge/event-semantics.js +1 -0
  30. package/dist/knowledge/examples-scanner-cli.js +1 -1
  31. package/dist/knowledge/examples-scanner.js +1 -1
  32. package/dist/knowledge/glossary.js +1 -1
  33. package/dist/knowledge/guard-submission-prompt.js +1 -1
  34. package/dist/knowledge/immutability.d.ts +11 -0
  35. package/dist/knowledge/immutability.js +1 -0
  36. package/dist/knowledge/index.d.ts +12 -6
  37. package/dist/knowledge/index.js +1 -1
  38. package/dist/knowledge/industry-registry.js +1 -1
  39. package/dist/knowledge/intent-metrics.d.ts +1 -1
  40. package/dist/knowledge/jsonrpc-enum.d.ts +37 -0
  41. package/dist/knowledge/jsonrpc-enum.js +1 -0
  42. package/dist/knowledge/machine-confirm.js +1 -1
  43. package/dist/knowledge/machine-risk.js +1 -1
  44. package/dist/knowledge/machine-topology.d.ts +11 -0
  45. package/dist/knowledge/machine-topology.js +1 -1
  46. package/dist/knowledge/machine-translation.js +1 -1
  47. package/dist/knowledge/market-metrics.d.ts +11 -0
  48. package/dist/knowledge/market-metrics.js +1 -1
  49. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  50. package/dist/knowledge/mcp-schema-audit.d.ts +1 -0
  51. package/dist/knowledge/mcp-schema-audit.js +1 -1
  52. package/dist/knowledge/messenger-guard-guidance.d.ts +17 -0
  53. package/dist/knowledge/messenger-guard-guidance.js +1 -0
  54. package/dist/knowledge/operation-dictionary.d.ts +18 -0
  55. package/dist/knowledge/operation-dictionary.js +1 -0
  56. package/dist/knowledge/service-ledger.js +1 -1
  57. package/dist/knowledge/service-risk.js +1 -1
  58. package/dist/knowledge/service-translation.js +1 -1
  59. package/dist/knowledge/supply-chain.d.ts +24 -0
  60. package/dist/knowledge/supply-chain.js +1 -0
  61. package/dist/knowledge/template-registry.js +1 -1
  62. package/dist/knowledge/tools-reference.js +1 -1
  63. package/dist/knowledge/trust-metrics.d.ts +27 -2
  64. package/dist/knowledge/trust-metrics.js +1 -1
  65. package/dist/knowledge/workflow-guidance.d.ts +22 -1
  66. package/dist/knowledge/workflow-guidance.js +1 -1
  67. package/dist/monitor/EventStore.d.ts +78 -0
  68. package/dist/monitor/EventStore.js +1 -0
  69. package/dist/participation/radar-core.d.ts +0 -1
  70. package/dist/participation/radar-core.js +1 -1
  71. package/dist/persona/address-format.d.ts +6 -0
  72. package/dist/persona/address-format.js +1 -0
  73. package/dist/persona/analyzer.js +1 -1
  74. package/dist/persona/index.d.ts +3 -0
  75. package/dist/persona/index.js +1 -1
  76. package/dist/persona/types.d.ts +1 -1
  77. package/dist/persona/types.js +1 -1
  78. package/dist/project/business-puzzle.js +1 -1
  79. package/dist/project/edit-planner.js +1 -1
  80. package/dist/project/evaluation-fix.spec.d.ts +1 -0
  81. package/dist/project/evaluation-fix.spec.js +1 -0
  82. package/dist/project/evaluation.js +1 -1
  83. package/dist/project/graph-builder.js +1 -1
  84. package/dist/project/handlers.d.ts +2 -18
  85. package/dist/project/handlers.js +1 -1
  86. package/dist/project/index.js +1 -1
  87. package/dist/project/machine-nodes.d.ts +23 -0
  88. package/dist/project/machine-nodes.js +1 -1
  89. package/dist/project/machine-panorama.d.ts +41 -0
  90. package/dist/project/machine-panorama.js +1 -0
  91. package/dist/project/object-panorama.d.ts +179 -0
  92. package/dist/project/object-panorama.js +1 -0
  93. package/dist/project/object-type.d.ts +1 -0
  94. package/dist/project/object-type.js +1 -0
  95. package/dist/project/participation-radar.js +1 -1
  96. package/dist/project/semantic-assembler.js +1 -1
  97. package/dist/project/service-panorama.d.ts +180 -0
  98. package/dist/project/service-panorama.js +1 -0
  99. package/dist/project/stage-gate.d.ts +0 -1
  100. package/dist/project/stage-gate.js +1 -1
  101. package/dist/project/task-tracker.d.ts +4 -0
  102. package/dist/project/task-tracker.js +1 -1
  103. package/dist/role/derivation.d.ts +19 -2
  104. package/dist/role/derivation.js +1 -1
  105. package/dist/role/index.d.ts +2 -2
  106. package/dist/role/index.js +1 -1
  107. package/dist/role/model.js +1 -1
  108. package/dist/role/resolution.d.ts +16 -0
  109. package/dist/role/resolution.js +1 -1
  110. package/dist/role/types.d.ts +1 -1
  111. package/dist/role/types.js +1 -1
  112. package/dist/safety/confirm-gate.js +1 -1
  113. package/dist/schema/call/allocation.d.ts +10 -0
  114. package/dist/schema/call/arbitration.d.ts +14 -3
  115. package/dist/schema/call/arbitration.js +1 -1
  116. package/dist/schema/call/base.d.ts +16 -0
  117. package/dist/schema/call/base.js +1 -1
  118. package/dist/schema/call/bridge.d.ts +7 -0
  119. package/dist/schema/call/contact.d.ts +11 -0
  120. package/dist/schema/call/demand.d.ts +11 -0
  121. package/dist/schema/call/guard.d.ts +3 -0
  122. package/dist/schema/call/handler.js +1 -1
  123. package/dist/schema/call/machine.d.ts +12 -0
  124. package/dist/schema/call/machine.js +1 -1
  125. package/dist/schema/call/order.d.ts +11 -0
  126. package/dist/schema/call/payment.d.ts +4 -3
  127. package/dist/schema/call/payment.js +1 -1
  128. package/dist/schema/call/permission.d.ts +11 -0
  129. package/dist/schema/call/personal.d.ts +38 -0
  130. package/dist/schema/call/personal.js +1 -1
  131. package/dist/schema/call/progress.d.ts +11 -0
  132. package/dist/schema/call/proof.d.ts +2 -0
  133. package/dist/schema/call/repository.d.ts +15 -4
  134. package/dist/schema/call/reward.d.ts +17 -12
  135. package/dist/schema/call/reward.js +1 -1
  136. package/dist/schema/call/semantic.d.ts +3 -2
  137. package/dist/schema/call/semantic.js +1 -1
  138. package/dist/schema/call/service.d.ts +17 -0
  139. package/dist/schema/call/service.js +1 -1
  140. package/dist/schema/call/treasury.d.ts +17 -0
  141. package/dist/schema/common/index.d.ts +21 -0
  142. package/dist/schema/common/index.js +1 -1
  143. package/dist/schema/evaluation/index.d.ts +146 -0
  144. package/dist/schema/evaluation/index.js +1 -1
  145. package/dist/schema/index.d.ts +1 -0
  146. package/dist/schema/index.js +1 -1
  147. package/dist/schema/intent-radar/index.d.ts +30 -3
  148. package/dist/schema/intent-radar/index.js +1 -1
  149. package/dist/schema/local/index.d.ts +9 -0
  150. package/dist/schema/local/index.js +1 -1
  151. package/dist/schema/messenger/index.d.ts +54 -0
  152. package/dist/schema/messenger/index.js +1 -1
  153. package/dist/schema/operations.d.ts +932 -9
  154. package/dist/schema/operations.js +1 -1
  155. package/dist/schema/permission/index.d.ts +17 -0
  156. package/dist/schema/permission/index.js +1 -1
  157. package/dist/schema/project/index.d.ts +6 -0
  158. package/dist/schema/project/index.js +1 -1
  159. package/dist/schema/query/index.d.ts +663 -56
  160. package/dist/schema/query/index.js +1 -1
  161. package/dist/schema/schema-version.js +1 -1
  162. package/dist/schema/trust/index.d.ts +17 -0
  163. package/dist/schema/trust/index.js +1 -1
  164. package/dist/schema/watch/index.d.ts +204 -0
  165. package/dist/schema/watch/index.js +1 -0
  166. package/dist/schema/workflow/index.d.ts +301 -0
  167. package/dist/schema/workflow/index.js +1 -1
  168. package/dist/schema-query-impl/index.js +1 -1
  169. package/dist/schemas/account_operation.output.json +5 -2
  170. package/dist/schemas/bridge_operation.output.json +5 -2
  171. package/dist/schemas/bridge_operation.schema.json +25 -9
  172. package/dist/schemas/evaluation_operation.output.json +276 -1
  173. package/dist/schemas/evaluation_operation.schema.json +307 -0
  174. package/dist/schemas/guard2file.schema.json +6 -2
  175. package/dist/schemas/index.json +13 -1
  176. package/dist/schemas/intent_radar.output.json +20 -2
  177. package/dist/schemas/intent_radar.schema.json +10 -1
  178. package/dist/schemas/local_info_operation.output.json +5 -2
  179. package/dist/schemas/local_mark_operation.output.json +5 -2
  180. package/dist/schemas/machineNode2file.schema.json +6 -2
  181. package/dist/schemas/messenger_operation.output.json +105 -2
  182. package/dist/schemas/messenger_operation.schema.json +98 -0
  183. package/dist/schemas/monitor_events.output.json +1360 -0
  184. package/dist/schemas/monitor_events.schema.json +62 -0
  185. package/dist/schemas/onchain_events.output.json +237 -14
  186. package/dist/schemas/onchain_events.schema.json +20 -0
  187. package/dist/schemas/onchain_operations.output.json +10 -5
  188. package/dist/schemas/onchain_operations.schema.json +768 -409
  189. package/dist/schemas/onchain_operations_allocation.schema.json +23 -7
  190. package/dist/schemas/onchain_operations_arbitration.schema.json +34 -9
  191. package/dist/schemas/onchain_operations_contact.schema.json +29 -5
  192. package/dist/schemas/onchain_operations_demand.schema.json +29 -5
  193. package/dist/schemas/onchain_operations_gen_passport.schema.json +6 -2
  194. package/dist/schemas/onchain_operations_gen_proof.schema.json +6 -2
  195. package/dist/schemas/onchain_operations_guard.schema.json +6 -2
  196. package/dist/schemas/onchain_operations_machine.schema.json +34 -10
  197. package/dist/schemas/onchain_operations_order.schema.json +29 -5
  198. package/dist/schemas/onchain_operations_payment.schema.json +13 -10
  199. package/dist/schemas/onchain_operations_permission.schema.json +29 -5
  200. package/dist/schemas/onchain_operations_personal.schema.json +44 -2
  201. package/dist/schemas/onchain_operations_progress.schema.json +29 -5
  202. package/dist/schemas/onchain_operations_proof.schema.json +6 -2
  203. package/dist/schemas/onchain_operations_repository.schema.json +310 -305
  204. package/dist/schemas/onchain_operations_reward.schema.json +46 -10
  205. package/dist/schemas/onchain_operations_service.schema.json +49 -13
  206. package/dist/schemas/onchain_operations_treasury.schema.json +46 -10
  207. package/dist/schemas/onchain_table_data.output.json +3750 -208
  208. package/dist/schemas/onchain_table_data.schema.json +311 -0
  209. package/dist/schemas/permission_operation.output.json +32 -0
  210. package/dist/schemas/project_operation.schema.json +14 -8
  211. package/dist/schemas/query_toolkit.output.json +425 -320
  212. package/dist/schemas/query_toolkit.schema.json +139 -1
  213. package/dist/schemas/trust_score.output.json +38 -0
  214. package/dist/schemas/trust_score.schema.json +32 -0
  215. package/dist/schemas/watch_operation.output.json +827 -0
  216. package/dist/schemas/watch_operation.schema.json +145 -0
  217. package/dist/schemas/workflow_operation.output.json +263 -5
  218. package/dist/schemas/workflow_operation.schema.json +597 -2
  219. package/dist/tools/handlers/config.js +1 -1
  220. package/dist/tools/handlers/evaluation.js +1 -1
  221. package/dist/tools/handlers/intent-radar.js +1 -1
  222. package/dist/tools/handlers/messenger.js +1 -1
  223. package/dist/tools/handlers/monitor.d.ts +2 -0
  224. package/dist/tools/handlers/monitor.js +1 -0
  225. package/dist/tools/handlers/onchain.js +1 -1
  226. package/dist/tools/handlers/permission.js +1 -1
  227. package/dist/tools/handlers/project.js +1 -1
  228. package/dist/tools/handlers/query.js +1 -1
  229. package/dist/tools/handlers/trust.d.ts +14 -0
  230. package/dist/tools/handlers/trust.js +1 -1
  231. package/dist/tools/handlers/watch.d.ts +2 -0
  232. package/dist/tools/handlers/watch.js +1 -0
  233. package/dist/tools/handlers/workflow.js +1 -1
  234. package/dist/tools/index.d.ts +2 -0
  235. package/dist/tools/index.js +1 -1
  236. package/dist/tools/shared.js +1 -1
  237. package/package.json +2 -2
  238. package/dist/customer/post-purchase.d.ts +0 -44
  239. package/dist/customer/post-purchase.js +0 -1
  240. package/dist/project/migration.d.ts +0 -22
  241. package/dist/project/migration.js +0 -1
  242. package/dist/project/rollback-policy.d.ts +0 -45
  243. package/dist/project/rollback-policy.js +0 -1
@@ -1779,7 +1779,7 @@
1779
1779
  "additionalProperties": false,
1780
1780
  "description": "Information record"
1781
1781
  },
1782
- "description": "Information records"
1782
+ "description": "Information records on-chain"
1783
1783
  }
1784
1784
  },
1785
1785
  "required": [
@@ -2388,7 +2388,7 @@
2388
2388
  "properties": {
2389
2389
  "query_type": {
2390
2390
  "type": "string",
2391
- "const": "onchain_table_item_object_linker_core"
2391
+ "const": "onchain_table_item_entity_order"
2392
2392
  },
2393
2393
  "result": {
2394
2394
  "anyOf": [
@@ -2605,16 +2605,27 @@
2605
2605
  },
2606
2606
  "address": {
2607
2607
  "type": "string",
2608
- "description": "Target object address"
2608
+ "description": "Entity address"
2609
2609
  },
2610
2610
  "items": {
2611
2611
  "type": "array",
2612
2612
  "items": {
2613
2613
  "type": "object",
2614
2614
  "properties": {
2615
- "who": {
2615
+ "role": {
2616
+ "anyOf": [
2617
+ {
2618
+ "type": "number"
2619
+ },
2620
+ {
2621
+ "type": "string"
2622
+ }
2623
+ ],
2624
+ "description": "Role bitmask (1=owner, 2=agent) of the entity in the order"
2625
+ },
2626
+ "order": {
2616
2627
  "type": "string",
2617
- "description": "Core object address that binds to the target (lossless fixed)"
2628
+ "description": "Order address the entity participates in"
2618
2629
  },
2619
2630
  "time": {
2620
2631
  "anyOf": [
@@ -2625,16 +2636,17 @@
2625
2636
  "type": "string"
2626
2637
  }
2627
2638
  ],
2628
- "description": "On-chain clock (ms) when the core object bound"
2639
+ "description": "On-chain clock (ms) when the role was last modified"
2629
2640
  }
2630
2641
  },
2631
2642
  "required": [
2632
- "who",
2643
+ "role",
2644
+ "order",
2633
2645
  "time"
2634
2646
  ],
2635
2647
  "additionalProperties": false
2636
2648
  },
2637
- "description": "Core objects binding to the target"
2649
+ "description": "Orders the entity participates in"
2638
2650
  }
2639
2651
  },
2640
2652
  "required": [
@@ -2643,7 +2655,7 @@
2643
2655
  "items"
2644
2656
  ],
2645
2657
  "additionalProperties": {},
2646
- "description": "Object-linker core reverse index item"
2658
+ "description": "Entity order reverse index item"
2647
2659
  },
2648
2660
  {}
2649
2661
  ]
@@ -2660,270 +2672,3780 @@
2660
2672
  "properties": {
2661
2673
  "query_type": {
2662
2674
  "type": "string",
2663
- "const": "onchain_table_item_object_linker_tx"
2675
+ "const": "onchain_orders_of_user"
2664
2676
  },
2665
2677
  "result": {
2666
2678
  "anyOf": [
2667
2679
  {
2668
- "type": "object",
2669
- "properties": {
2670
- "object": {
2671
- "type": "string",
2672
- "description": "Object ID"
2673
- },
2674
- "type": {
2675
- "description": "Object type",
2676
- "type": "string",
2677
- "enum": [
2678
- "Permission",
2679
- "Repository",
2680
- "Arb",
2681
- "Arbitration",
2682
- "Service",
2683
- "Machine",
2684
- "Order",
2685
- "Progress",
2686
- "Payment",
2687
- "Treasury",
2688
- "Guard",
2689
- "Demand",
2690
- "Passport",
2691
- "Allocation",
2692
- "Resource",
2693
- "Reward",
2694
- "Discount",
2695
- "EntityRegistrar",
2696
- "EntityLinker",
2697
- "Proof",
2698
- "WReceivedObject",
2699
- "Contact",
2700
- "TableItem_ProgressHistory",
2701
- "TableItem_PermissionPerm",
2702
- "TableItem_DemandPresenter",
2703
- "TableItem_MachineNode",
2704
- "TableItem_TreasuryHistory",
2705
- "TableItem_RepositoryData",
2706
- "TableItem_RewardRecord",
2707
- "TableItem_EntityLinker",
2708
- "TableItem_AddressMark",
2709
- "TableItem_EntityRegistrar"
2710
- ]
2711
- },
2712
- "type_raw": {
2713
- "description": "Raw object type",
2714
- "type": "string"
2680
+ "type": "array",
2681
+ "items": {
2682
+ "type": "object",
2683
+ "properties": {
2684
+ "role": {
2685
+ "anyOf": [
2686
+ {
2687
+ "type": "number"
2688
+ },
2689
+ {
2690
+ "type": "string"
2691
+ }
2692
+ ],
2693
+ "description": "Role bitmask (1=owner, 2=agent)"
2694
+ },
2695
+ "is_owner": {
2696
+ "type": "boolean",
2697
+ "description": "Whether the user is the owner of the order"
2698
+ },
2699
+ "is_agent": {
2700
+ "type": "boolean",
2701
+ "description": "Whether the user is an agent of the order"
2702
+ },
2703
+ "time": {
2704
+ "anyOf": [
2705
+ {
2706
+ "type": "number"
2707
+ },
2708
+ {
2709
+ "type": "string"
2710
+ }
2711
+ ],
2712
+ "description": "On-chain clock (ms) when the role was last modified"
2713
+ },
2714
+ "order": {
2715
+ "description": "Full on-chain Order object"
2716
+ }
2715
2717
  },
2716
- "owner": {
2717
- "description": "Object owner",
2718
- "anyOf": [
2719
- {
2718
+ "required": [
2719
+ "role",
2720
+ "is_owner",
2721
+ "is_agent",
2722
+ "time",
2723
+ "order"
2724
+ ],
2725
+ "additionalProperties": false,
2726
+ "description": "One order membership of a user, resolved with the full order"
2727
+ }
2728
+ },
2729
+ {}
2730
+ ]
2731
+ }
2732
+ },
2733
+ "required": [
2734
+ "query_type",
2735
+ "result"
2736
+ ],
2737
+ "additionalProperties": false
2738
+ },
2739
+ {
2740
+ "type": "object",
2741
+ "properties": {
2742
+ "query_type": {
2743
+ "type": "string",
2744
+ "const": "onchain_orders_of_users"
2745
+ },
2746
+ "result": {
2747
+ "type": "array",
2748
+ "items": {
2749
+ "type": "object",
2750
+ "properties": {
2751
+ "order": {
2752
+ "type": "string",
2753
+ "description": "Order object address"
2754
+ },
2755
+ "roles": {
2756
+ "type": "array",
2757
+ "items": {
2758
+ "type": "object",
2759
+ "properties": {
2760
+ "account": {
2761
+ "type": "string",
2762
+ "description": "Local account address participating in the order"
2763
+ },
2764
+ "is_owner": {
2765
+ "type": "boolean",
2766
+ "description": "Whether this account is the order owner (buyer)"
2767
+ },
2768
+ "is_agent": {
2769
+ "type": "boolean",
2770
+ "description": "Whether this account is an operator (agent) of the order"
2771
+ },
2772
+ "time": {
2773
+ "description": "On-chain clock (ms) when the role was last modified",
2720
2774
  "anyOf": [
2721
2775
  {
2722
- "type": "object",
2723
- "properties": {
2724
- "AddressOwner": {
2725
- "type": "string",
2726
- "description": "Address owner"
2727
- }
2728
- },
2729
- "required": [
2730
- "AddressOwner"
2731
- ],
2732
- "additionalProperties": false
2776
+ "type": "number"
2733
2777
  },
2734
2778
  {
2735
- "type": "object",
2736
- "properties": {
2737
- "ObjectOwner": {
2738
- "type": "string",
2739
- "description": "Object owner"
2779
+ "type": "string"
2780
+ }
2781
+ ]
2782
+ }
2783
+ },
2784
+ "required": [
2785
+ "account",
2786
+ "is_owner",
2787
+ "is_agent"
2788
+ ],
2789
+ "additionalProperties": false,
2790
+ "description": "One local account's role in the order"
2791
+ },
2792
+ "description": "Per-account roles merged across the queried accounts (deduped by order address)"
2793
+ },
2794
+ "time": {
2795
+ "anyOf": [
2796
+ {
2797
+ "type": "number"
2798
+ },
2799
+ {
2800
+ "type": "string"
2801
+ }
2802
+ ],
2803
+ "description": "On-chain clock (ms) when the order was created"
2804
+ },
2805
+ "updated_ms": {
2806
+ "anyOf": [
2807
+ {
2808
+ "type": "number"
2809
+ },
2810
+ {
2811
+ "type": "null"
2812
+ }
2813
+ ],
2814
+ "description": "Last on-chain transaction touching the order (ms); null when unavailable. Distinct from `time` (creation)"
2815
+ },
2816
+ "amount": {
2817
+ "type": "string",
2818
+ "description": "Raw smallest-unit order amount (u64); empty when unreadable"
2819
+ },
2820
+ "amount_display": {
2821
+ "type": "string",
2822
+ "description": "Human amount with token symbol, e.g. \"0.1 WOW\" (raw value when the token cannot be resolved)"
2823
+ },
2824
+ "amount_tip": {
2825
+ "type": "string",
2826
+ "description": "Long-form amount explanation for tooltips"
2827
+ },
2828
+ "service": {
2829
+ "anyOf": [
2830
+ {
2831
+ "type": "string"
2832
+ },
2833
+ {
2834
+ "type": "null"
2835
+ }
2836
+ ],
2837
+ "description": "Service the order was placed under"
2838
+ },
2839
+ "machine": {
2840
+ "anyOf": [
2841
+ {
2842
+ "type": "string"
2843
+ },
2844
+ {
2845
+ "type": "null"
2846
+ }
2847
+ ],
2848
+ "description": "Machine driving the order's fulfillment"
2849
+ },
2850
+ "progress": {
2851
+ "anyOf": [
2852
+ {
2853
+ "type": "string"
2854
+ },
2855
+ {
2856
+ "type": "null"
2857
+ }
2858
+ ],
2859
+ "description": "Progress object tracking the order's workflow"
2860
+ },
2861
+ "allocation": {
2862
+ "anyOf": [
2863
+ {
2864
+ "type": "string"
2865
+ },
2866
+ {
2867
+ "type": "null"
2868
+ }
2869
+ ],
2870
+ "description": "Allocation (compensation fund) object bound to the order"
2871
+ },
2872
+ "owner": {
2873
+ "anyOf": [
2874
+ {
2875
+ "type": "string"
2876
+ },
2877
+ {
2878
+ "type": "null"
2879
+ }
2880
+ ],
2881
+ "description": "The account that created (bought) the order (order.owner)"
2882
+ },
2883
+ "claimed_by": {
2884
+ "anyOf": [
2885
+ {
2886
+ "type": "string"
2887
+ },
2888
+ {
2889
+ "type": "null"
2890
+ }
2891
+ ],
2892
+ "description": "Compensation claimant (Arbitration) when the order was claimed; null while unclaimed"
2893
+ },
2894
+ "required_info": {
2895
+ "anyOf": [
2896
+ {
2897
+ "type": "string"
2898
+ },
2899
+ {
2900
+ "type": "null"
2901
+ }
2902
+ ],
2903
+ "description": "Buyer-submitted Contact object or WTS proof id (order.required_info); null when not submitted"
2904
+ },
2905
+ "progress_next": {
2906
+ "anyOf": [
2907
+ {
2908
+ "type": "string"
2909
+ },
2910
+ {
2911
+ "type": "null"
2912
+ }
2913
+ ],
2914
+ "description": "Latest machine node name (Progress.current); null when unavailable"
2915
+ },
2916
+ "progress_since": {
2917
+ "anyOf": [
2918
+ {
2919
+ "type": "number"
2920
+ },
2921
+ {
2922
+ "type": "null"
2923
+ }
2924
+ ],
2925
+ "description": "When the current node was entered (Progress.current_time, ms); null when unavailable"
2926
+ },
2927
+ "allocation_state": {
2928
+ "type": "string",
2929
+ "enum": [
2930
+ "none",
2931
+ "pending",
2932
+ "allocated"
2933
+ ],
2934
+ "description": "Compensation fund state: none = no Allocation bound; pending = fund not fully allocated; allocated = balance 0 (fully allocated)"
2935
+ },
2936
+ "disputes": {
2937
+ "type": "array",
2938
+ "items": {
2939
+ "type": "string"
2940
+ },
2941
+ "description": "Arbitration addresses that opened a dispute on this order"
2942
+ },
2943
+ "agents": {
2944
+ "type": "array",
2945
+ "items": {
2946
+ "type": "string"
2947
+ },
2948
+ "description": "Operator accounts (order.agent) besides the owner"
2949
+ },
2950
+ "items": {
2951
+ "type": "array",
2952
+ "items": {
2953
+ "type": "object",
2954
+ "properties": {
2955
+ "name": {
2956
+ "type": "string",
2957
+ "description": "Purchased item name"
2958
+ },
2959
+ "price": {
2960
+ "type": "string",
2961
+ "description": "Raw smallest-unit price (u64)"
2962
+ },
2963
+ "price_display": {
2964
+ "type": "string",
2965
+ "description": "Human price with token symbol, e.g. \"0.1 WOW\" (raw value when the token cannot be resolved)"
2966
+ },
2967
+ "quantity": {
2968
+ "type": "string",
2969
+ "description": "Purchased quantity"
2970
+ },
2971
+ "wip_hash": {
2972
+ "type": "string",
2973
+ "description": "WIP proof hash (empty when not set)"
2974
+ }
2975
+ },
2976
+ "required": [
2977
+ "name",
2978
+ "price",
2979
+ "price_display",
2980
+ "quantity",
2981
+ "wip_hash"
2982
+ ],
2983
+ "additionalProperties": false,
2984
+ "description": "One purchased SaleItem of the order"
2985
+ },
2986
+ "description": "Purchased items (order.items: vector<SaleItem>)"
2987
+ },
2988
+ "account_errors": {
2989
+ "description": "Per-account query failures (non-blocking) — the other accounts' orders still resolve",
2990
+ "type": "array",
2991
+ "items": {
2992
+ "type": "string"
2993
+ }
2994
+ }
2995
+ },
2996
+ "required": [
2997
+ "order",
2998
+ "roles",
2999
+ "time",
3000
+ "updated_ms",
3001
+ "amount",
3002
+ "amount_display",
3003
+ "amount_tip",
3004
+ "service",
3005
+ "machine",
3006
+ "progress",
3007
+ "allocation",
3008
+ "owner",
3009
+ "claimed_by",
3010
+ "required_info",
3011
+ "progress_next",
3012
+ "progress_since",
3013
+ "allocation_state",
3014
+ "disputes",
3015
+ "agents",
3016
+ "items"
3017
+ ],
3018
+ "additionalProperties": false,
3019
+ "description": "One enriched order row: raw on-chain fields + server-resolved display/progress/allocation enrichment"
3020
+ }
3021
+ }
3022
+ },
3023
+ "required": [
3024
+ "query_type",
3025
+ "result"
3026
+ ],
3027
+ "additionalProperties": false
3028
+ },
3029
+ {
3030
+ "type": "object",
3031
+ "properties": {
3032
+ "query_type": {
3033
+ "type": "string",
3034
+ "const": "onchain_table_item_object_linker_core"
3035
+ },
3036
+ "result": {
3037
+ "anyOf": [
3038
+ {
3039
+ "type": "object",
3040
+ "properties": {
3041
+ "object": {
3042
+ "type": "string",
3043
+ "description": "Object ID"
3044
+ },
3045
+ "type": {
3046
+ "description": "Object type",
3047
+ "type": "string",
3048
+ "enum": [
3049
+ "Permission",
3050
+ "Repository",
3051
+ "Arb",
3052
+ "Arbitration",
3053
+ "Service",
3054
+ "Machine",
3055
+ "Order",
3056
+ "Progress",
3057
+ "Payment",
3058
+ "Treasury",
3059
+ "Guard",
3060
+ "Demand",
3061
+ "Passport",
3062
+ "Allocation",
3063
+ "Resource",
3064
+ "Reward",
3065
+ "Discount",
3066
+ "EntityRegistrar",
3067
+ "EntityLinker",
3068
+ "Proof",
3069
+ "WReceivedObject",
3070
+ "Contact",
3071
+ "TableItem_ProgressHistory",
3072
+ "TableItem_PermissionPerm",
3073
+ "TableItem_DemandPresenter",
3074
+ "TableItem_MachineNode",
3075
+ "TableItem_TreasuryHistory",
3076
+ "TableItem_RepositoryData",
3077
+ "TableItem_RewardRecord",
3078
+ "TableItem_EntityLinker",
3079
+ "TableItem_AddressMark",
3080
+ "TableItem_EntityRegistrar"
3081
+ ]
3082
+ },
3083
+ "type_raw": {
3084
+ "description": "Raw object type",
3085
+ "type": "string"
3086
+ },
3087
+ "owner": {
3088
+ "description": "Object owner",
3089
+ "anyOf": [
3090
+ {
3091
+ "anyOf": [
3092
+ {
3093
+ "type": "object",
3094
+ "properties": {
3095
+ "AddressOwner": {
3096
+ "type": "string",
3097
+ "description": "Address owner"
3098
+ }
3099
+ },
3100
+ "required": [
3101
+ "AddressOwner"
3102
+ ],
3103
+ "additionalProperties": false
3104
+ },
3105
+ {
3106
+ "type": "object",
3107
+ "properties": {
3108
+ "ObjectOwner": {
3109
+ "type": "string",
3110
+ "description": "Object owner"
3111
+ }
3112
+ },
3113
+ "required": [
3114
+ "ObjectOwner"
3115
+ ],
3116
+ "additionalProperties": false
3117
+ },
3118
+ {
3119
+ "type": "object",
3120
+ "properties": {
3121
+ "Shared": {
3122
+ "type": "object",
3123
+ "properties": {
3124
+ "initial_shared_version": {
3125
+ "anyOf": [
3126
+ {
3127
+ "type": "string"
3128
+ },
3129
+ {
3130
+ "type": "number"
3131
+ }
3132
+ ],
3133
+ "description": "Version when object became shared"
3134
+ }
3135
+ },
3136
+ "required": [
3137
+ "initial_shared_version"
3138
+ ],
3139
+ "additionalProperties": false,
3140
+ "description": "Shared object"
3141
+ }
3142
+ },
3143
+ "required": [
3144
+ "Shared"
3145
+ ],
3146
+ "additionalProperties": false
3147
+ },
3148
+ {
3149
+ "type": "string",
3150
+ "const": "Immutable"
3151
+ },
3152
+ {
3153
+ "type": "object",
3154
+ "properties": {
3155
+ "ConsensusAddressOwner": {
3156
+ "type": "object",
3157
+ "properties": {
3158
+ "owner": {
3159
+ "type": "string",
3160
+ "description": "Consensus ID owner"
3161
+ },
3162
+ "start_version": {
3163
+ "anyOf": [
3164
+ {
3165
+ "type": "string"
3166
+ },
3167
+ {
3168
+ "type": "number"
3169
+ }
3170
+ ],
3171
+ "description": "Version when object recently became consensus object"
3172
+ }
3173
+ },
3174
+ "required": [
3175
+ "owner",
3176
+ "start_version"
3177
+ ],
3178
+ "additionalProperties": false,
3179
+ "description": "Consensus ID owner"
3180
+ }
3181
+ },
3182
+ "required": [
3183
+ "ConsensusAddressOwner"
3184
+ ],
3185
+ "additionalProperties": false
3186
+ }
3187
+ ],
3188
+ "description": "Object owner"
3189
+ },
3190
+ {
3191
+ "type": "null"
3192
+ }
3193
+ ]
3194
+ },
3195
+ "version": {
3196
+ "description": "Object version",
3197
+ "anyOf": [
3198
+ {
3199
+ "type": "string"
3200
+ },
3201
+ {
3202
+ "type": "number"
3203
+ }
3204
+ ]
3205
+ },
3206
+ "previousTransaction": {
3207
+ "description": "Previous transaction ID",
3208
+ "type": "string"
3209
+ },
3210
+ "cache_expire": {
3211
+ "description": "Cache expiration time",
3212
+ "anyOf": [
3213
+ {
3214
+ "type": "number"
3215
+ },
3216
+ {
3217
+ "type": "string",
3218
+ "const": "INFINITE"
3219
+ }
3220
+ ]
3221
+ },
3222
+ "query_name": {
3223
+ "description": "Original query name or address used to retrieve this object",
3224
+ "type": "string"
3225
+ },
3226
+ "content_raw": {
3227
+ "description": "Raw content data for unknown object types"
3228
+ },
3229
+ "_guard_node_comments": {
3230
+ "description": "Additional comments for Guard node instructions",
3231
+ "type": "array",
3232
+ "items": {
3233
+ "type": "object",
3234
+ "properties": {
3235
+ "type": {
3236
+ "type": "string"
3237
+ },
3238
+ "description": {
3239
+ "type": "string"
3240
+ }
3241
+ },
3242
+ "required": [
3243
+ "type",
3244
+ "description"
3245
+ ],
3246
+ "additionalProperties": false
3247
+ }
3248
+ },
3249
+ "address": {
3250
+ "type": "string",
3251
+ "description": "Target object address"
3252
+ },
3253
+ "items": {
3254
+ "type": "array",
3255
+ "items": {
3256
+ "type": "object",
3257
+ "properties": {
3258
+ "who": {
3259
+ "type": "string",
3260
+ "description": "Core object address that binds to the target (lossless fixed)"
3261
+ },
3262
+ "time": {
3263
+ "anyOf": [
3264
+ {
3265
+ "type": "number"
3266
+ },
3267
+ {
3268
+ "type": "string"
3269
+ }
3270
+ ],
3271
+ "description": "On-chain clock (ms) when the core object bound"
3272
+ }
3273
+ },
3274
+ "required": [
3275
+ "who",
3276
+ "time"
3277
+ ],
3278
+ "additionalProperties": false
3279
+ },
3280
+ "description": "Core objects binding to the target"
3281
+ }
3282
+ },
3283
+ "required": [
3284
+ "object",
3285
+ "address",
3286
+ "items"
3287
+ ],
3288
+ "additionalProperties": {},
3289
+ "description": "Object-linker core reverse index item"
3290
+ },
3291
+ {}
3292
+ ]
3293
+ }
3294
+ },
3295
+ "required": [
3296
+ "query_type",
3297
+ "result"
3298
+ ],
3299
+ "additionalProperties": false
3300
+ },
3301
+ {
3302
+ "type": "object",
3303
+ "properties": {
3304
+ "query_type": {
3305
+ "type": "string",
3306
+ "const": "onchain_table_item_object_linker_tx"
3307
+ },
3308
+ "result": {
3309
+ "anyOf": [
3310
+ {
3311
+ "type": "object",
3312
+ "properties": {
3313
+ "object": {
3314
+ "type": "string",
3315
+ "description": "Object ID"
3316
+ },
3317
+ "type": {
3318
+ "description": "Object type",
3319
+ "type": "string",
3320
+ "enum": [
3321
+ "Permission",
3322
+ "Repository",
3323
+ "Arb",
3324
+ "Arbitration",
3325
+ "Service",
3326
+ "Machine",
3327
+ "Order",
3328
+ "Progress",
3329
+ "Payment",
3330
+ "Treasury",
3331
+ "Guard",
3332
+ "Demand",
3333
+ "Passport",
3334
+ "Allocation",
3335
+ "Resource",
3336
+ "Reward",
3337
+ "Discount",
3338
+ "EntityRegistrar",
3339
+ "EntityLinker",
3340
+ "Proof",
3341
+ "WReceivedObject",
3342
+ "Contact",
3343
+ "TableItem_ProgressHistory",
3344
+ "TableItem_PermissionPerm",
3345
+ "TableItem_DemandPresenter",
3346
+ "TableItem_MachineNode",
3347
+ "TableItem_TreasuryHistory",
3348
+ "TableItem_RepositoryData",
3349
+ "TableItem_RewardRecord",
3350
+ "TableItem_EntityLinker",
3351
+ "TableItem_AddressMark",
3352
+ "TableItem_EntityRegistrar"
3353
+ ]
3354
+ },
3355
+ "type_raw": {
3356
+ "description": "Raw object type",
3357
+ "type": "string"
3358
+ },
3359
+ "owner": {
3360
+ "description": "Object owner",
3361
+ "anyOf": [
3362
+ {
3363
+ "anyOf": [
3364
+ {
3365
+ "type": "object",
3366
+ "properties": {
3367
+ "AddressOwner": {
3368
+ "type": "string",
3369
+ "description": "Address owner"
3370
+ }
3371
+ },
3372
+ "required": [
3373
+ "AddressOwner"
3374
+ ],
3375
+ "additionalProperties": false
3376
+ },
3377
+ {
3378
+ "type": "object",
3379
+ "properties": {
3380
+ "ObjectOwner": {
3381
+ "type": "string",
3382
+ "description": "Object owner"
3383
+ }
3384
+ },
3385
+ "required": [
3386
+ "ObjectOwner"
3387
+ ],
3388
+ "additionalProperties": false
3389
+ },
3390
+ {
3391
+ "type": "object",
3392
+ "properties": {
3393
+ "Shared": {
3394
+ "type": "object",
3395
+ "properties": {
3396
+ "initial_shared_version": {
3397
+ "anyOf": [
3398
+ {
3399
+ "type": "string"
3400
+ },
3401
+ {
3402
+ "type": "number"
3403
+ }
3404
+ ],
3405
+ "description": "Version when object became shared"
3406
+ }
3407
+ },
3408
+ "required": [
3409
+ "initial_shared_version"
3410
+ ],
3411
+ "additionalProperties": false,
3412
+ "description": "Shared object"
3413
+ }
3414
+ },
3415
+ "required": [
3416
+ "Shared"
3417
+ ],
3418
+ "additionalProperties": false
3419
+ },
3420
+ {
3421
+ "type": "string",
3422
+ "const": "Immutable"
3423
+ },
3424
+ {
3425
+ "type": "object",
3426
+ "properties": {
3427
+ "ConsensusAddressOwner": {
3428
+ "type": "object",
3429
+ "properties": {
3430
+ "owner": {
3431
+ "type": "string",
3432
+ "description": "Consensus ID owner"
3433
+ },
3434
+ "start_version": {
3435
+ "anyOf": [
3436
+ {
3437
+ "type": "string"
3438
+ },
3439
+ {
3440
+ "type": "number"
3441
+ }
3442
+ ],
3443
+ "description": "Version when object recently became consensus object"
3444
+ }
3445
+ },
3446
+ "required": [
3447
+ "owner",
3448
+ "start_version"
3449
+ ],
3450
+ "additionalProperties": false,
3451
+ "description": "Consensus ID owner"
3452
+ }
3453
+ },
3454
+ "required": [
3455
+ "ConsensusAddressOwner"
3456
+ ],
3457
+ "additionalProperties": false
3458
+ }
3459
+ ],
3460
+ "description": "Object owner"
3461
+ },
3462
+ {
3463
+ "type": "null"
3464
+ }
3465
+ ]
3466
+ },
3467
+ "version": {
3468
+ "description": "Object version",
3469
+ "anyOf": [
3470
+ {
3471
+ "type": "string"
3472
+ },
3473
+ {
3474
+ "type": "number"
3475
+ }
3476
+ ]
3477
+ },
3478
+ "previousTransaction": {
3479
+ "description": "Previous transaction ID",
3480
+ "type": "string"
3481
+ },
3482
+ "cache_expire": {
3483
+ "description": "Cache expiration time",
3484
+ "anyOf": [
3485
+ {
3486
+ "type": "number"
3487
+ },
3488
+ {
3489
+ "type": "string",
3490
+ "const": "INFINITE"
3491
+ }
3492
+ ]
3493
+ },
3494
+ "query_name": {
3495
+ "description": "Original query name or address used to retrieve this object",
3496
+ "type": "string"
3497
+ },
3498
+ "content_raw": {
3499
+ "description": "Raw content data for unknown object types"
3500
+ },
3501
+ "_guard_node_comments": {
3502
+ "description": "Additional comments for Guard node instructions",
3503
+ "type": "array",
3504
+ "items": {
3505
+ "type": "object",
3506
+ "properties": {
3507
+ "type": {
3508
+ "type": "string"
3509
+ },
3510
+ "description": {
3511
+ "type": "string"
3512
+ }
3513
+ },
3514
+ "required": [
3515
+ "type",
3516
+ "description"
3517
+ ],
3518
+ "additionalProperties": false
3519
+ }
3520
+ },
3521
+ "address": {
3522
+ "type": "string",
3523
+ "description": "Target object address"
3524
+ },
3525
+ "items": {
3526
+ "type": "array",
3527
+ "items": {
3528
+ "type": "object",
3529
+ "properties": {
3530
+ "who": {
3531
+ "type": "string",
3532
+ "description": "Tx object address that binds to the target (FIFO window)"
3533
+ },
3534
+ "time": {
3535
+ "anyOf": [
3536
+ {
3537
+ "type": "number"
3538
+ },
3539
+ {
3540
+ "type": "string"
3541
+ }
3542
+ ],
3543
+ "description": "On-chain clock (ms) when the tx object bound"
3544
+ }
3545
+ },
3546
+ "required": [
3547
+ "who",
3548
+ "time"
3549
+ ],
3550
+ "additionalProperties": false
3551
+ },
3552
+ "description": "Recent tx objects binding to the target"
3553
+ }
3554
+ },
3555
+ "required": [
3556
+ "object",
3557
+ "address",
3558
+ "items"
3559
+ ],
3560
+ "additionalProperties": {},
3561
+ "description": "Object-linker tx reverse index item"
3562
+ },
3563
+ {}
3564
+ ]
3565
+ }
3566
+ },
3567
+ "required": [
3568
+ "query_type",
3569
+ "result"
3570
+ ],
3571
+ "additionalProperties": false
3572
+ },
3573
+ {
3574
+ "type": "object",
3575
+ "properties": {
3576
+ "query_type": {
3577
+ "type": "string",
3578
+ "const": "onchain_affiliations_of_object"
3579
+ },
3580
+ "result": {
3581
+ "type": "object",
3582
+ "properties": {
3583
+ "address": {
3584
+ "type": "string",
3585
+ "description": "Queried key address"
3586
+ },
3587
+ "object_type": {
3588
+ "anyOf": [
3589
+ {
3590
+ "type": "string"
3591
+ },
3592
+ {
3593
+ "type": "null"
3594
+ }
3595
+ ],
3596
+ "description": "Resolved on-chain object type of the key (null = user account)"
3597
+ },
3598
+ "tables_queried": {
3599
+ "type": "array",
3600
+ "items": {
3601
+ "type": "string"
3602
+ },
3603
+ "description": "Global tables queried for this key (type-driven static map; single targeted read each, never a full scan)"
3604
+ },
3605
+ "entries": {
3606
+ "type": "array",
3607
+ "items": {
3608
+ "type": "object",
3609
+ "properties": {
3610
+ "table": {
3611
+ "type": "string",
3612
+ "enum": [
3613
+ "object_linker_core",
3614
+ "object_linker_tx",
3615
+ "entity_order",
3616
+ "entity_permission",
3617
+ "entity_contact",
3618
+ "registrar",
3619
+ "entity"
3620
+ ],
3621
+ "description": "Source global table (0xaae core / 0xaaf tx / 0xaa8 order / 0xaad permission / 0xaa9 contact / 0xaaa registrar / 0xaab entity)"
3622
+ },
3623
+ "who": {
3624
+ "type": "string",
3625
+ "description": "Linked object or counterparty address recorded under the queried key"
3626
+ },
3627
+ "time": {
3628
+ "description": "On-chain clock (ms) of the last registration/update",
3629
+ "anyOf": [
3630
+ {
3631
+ "type": "number"
3632
+ },
3633
+ {
3634
+ "type": "string"
3635
+ }
3636
+ ]
3637
+ },
3638
+ "role": {
3639
+ "description": "Role bitmask: entity_order 1=owner,2=agent; entity_permission 1=owner,2=admin,4=entity",
3640
+ "anyOf": [
3641
+ {
3642
+ "type": "number"
3643
+ },
3644
+ {
3645
+ "type": "string"
3646
+ }
3647
+ ]
3648
+ }
3649
+ },
3650
+ "required": [
3651
+ "table",
3652
+ "who"
3653
+ ],
3654
+ "additionalProperties": false,
3655
+ "description": "One normalized global-table affiliation entry"
3656
+ },
3657
+ "description": "All global-table records where this address is the key"
3658
+ },
3659
+ "raw": {
3660
+ "description": "Raw per-table views (reverse_core / reverse_tx / order_membership / permission_membership / contact_membership / registrar / entity)"
3661
+ }
3662
+ },
3663
+ "required": [
3664
+ "address",
3665
+ "object_type",
3666
+ "tables_queried",
3667
+ "entries",
3668
+ "raw"
3669
+ ],
3670
+ "additionalProperties": false,
3671
+ "description": "Type-driven aggregation over every global table the address can be recorded in"
3672
+ }
3673
+ },
3674
+ "required": [
3675
+ "query_type",
3676
+ "result"
3677
+ ],
3678
+ "additionalProperties": false
3679
+ },
3680
+ {
3681
+ "type": "object",
3682
+ "properties": {
3683
+ "query_type": {
3684
+ "type": "string",
3685
+ "const": "address_profile"
3686
+ },
3687
+ "result": {
3688
+ "anyOf": [
3689
+ {
3690
+ "type": "object",
3691
+ "properties": {
3692
+ "address": {
3693
+ "type": "string",
3694
+ "description": "Resolved address that was profiled."
3695
+ },
3696
+ "kind": {
3697
+ "type": "string",
3698
+ "description": "Classification: 'user' | a business object type | a system singleton kind."
3699
+ },
3700
+ "is_system_singleton": {
3701
+ "type": "boolean",
3702
+ "description": "Whether the address is a system singleton reverse-index object."
3703
+ },
3704
+ "identity": {
3705
+ "description": "Entity registration record (identity/description/referrer).",
3706
+ "type": "object",
3707
+ "properties": {
3708
+ "object": {
3709
+ "type": "string",
3710
+ "description": "Object ID"
3711
+ },
3712
+ "type": {
3713
+ "description": "Object type",
3714
+ "type": "string",
3715
+ "enum": [
3716
+ "Permission",
3717
+ "Repository",
3718
+ "Arb",
3719
+ "Arbitration",
3720
+ "Service",
3721
+ "Machine",
3722
+ "Order",
3723
+ "Progress",
3724
+ "Payment",
3725
+ "Treasury",
3726
+ "Guard",
3727
+ "Demand",
3728
+ "Passport",
3729
+ "Allocation",
3730
+ "Resource",
3731
+ "Reward",
3732
+ "Discount",
3733
+ "EntityRegistrar",
3734
+ "EntityLinker",
3735
+ "Proof",
3736
+ "WReceivedObject",
3737
+ "Contact",
3738
+ "TableItem_ProgressHistory",
3739
+ "TableItem_PermissionPerm",
3740
+ "TableItem_DemandPresenter",
3741
+ "TableItem_MachineNode",
3742
+ "TableItem_TreasuryHistory",
3743
+ "TableItem_RepositoryData",
3744
+ "TableItem_RewardRecord",
3745
+ "TableItem_EntityLinker",
3746
+ "TableItem_AddressMark",
3747
+ "TableItem_EntityRegistrar"
3748
+ ]
3749
+ },
3750
+ "type_raw": {
3751
+ "description": "Raw object type",
3752
+ "type": "string"
3753
+ },
3754
+ "owner": {
3755
+ "description": "Object owner",
3756
+ "anyOf": [
3757
+ {
3758
+ "anyOf": [
3759
+ {
3760
+ "type": "object",
3761
+ "properties": {
3762
+ "AddressOwner": {
3763
+ "type": "string",
3764
+ "description": "Address owner"
3765
+ }
3766
+ },
3767
+ "required": [
3768
+ "AddressOwner"
3769
+ ],
3770
+ "additionalProperties": false
3771
+ },
3772
+ {
3773
+ "type": "object",
3774
+ "properties": {
3775
+ "ObjectOwner": {
3776
+ "type": "string",
3777
+ "description": "Object owner"
3778
+ }
3779
+ },
3780
+ "required": [
3781
+ "ObjectOwner"
3782
+ ],
3783
+ "additionalProperties": false
3784
+ },
3785
+ {
3786
+ "type": "object",
3787
+ "properties": {
3788
+ "Shared": {
3789
+ "type": "object",
3790
+ "properties": {
3791
+ "initial_shared_version": {
3792
+ "anyOf": [
3793
+ {
3794
+ "type": "string"
3795
+ },
3796
+ {
3797
+ "type": "number"
3798
+ }
3799
+ ],
3800
+ "description": "Version when object became shared"
3801
+ }
3802
+ },
3803
+ "required": [
3804
+ "initial_shared_version"
3805
+ ],
3806
+ "additionalProperties": false,
3807
+ "description": "Shared object"
3808
+ }
3809
+ },
3810
+ "required": [
3811
+ "Shared"
3812
+ ],
3813
+ "additionalProperties": false
3814
+ },
3815
+ {
3816
+ "type": "string",
3817
+ "const": "Immutable"
3818
+ },
3819
+ {
3820
+ "type": "object",
3821
+ "properties": {
3822
+ "ConsensusAddressOwner": {
3823
+ "type": "object",
3824
+ "properties": {
3825
+ "owner": {
3826
+ "type": "string",
3827
+ "description": "Consensus ID owner"
3828
+ },
3829
+ "start_version": {
3830
+ "anyOf": [
3831
+ {
3832
+ "type": "string"
3833
+ },
3834
+ {
3835
+ "type": "number"
3836
+ }
3837
+ ],
3838
+ "description": "Version when object recently became consensus object"
3839
+ }
3840
+ },
3841
+ "required": [
3842
+ "owner",
3843
+ "start_version"
3844
+ ],
3845
+ "additionalProperties": false,
3846
+ "description": "Consensus ID owner"
3847
+ }
3848
+ },
3849
+ "required": [
3850
+ "ConsensusAddressOwner"
3851
+ ],
3852
+ "additionalProperties": false
3853
+ }
3854
+ ],
3855
+ "description": "Object owner"
3856
+ },
3857
+ {
3858
+ "type": "null"
3859
+ }
3860
+ ]
3861
+ },
3862
+ "version": {
3863
+ "description": "Object version",
3864
+ "anyOf": [
3865
+ {
3866
+ "type": "string"
3867
+ },
3868
+ {
3869
+ "type": "number"
3870
+ }
3871
+ ]
3872
+ },
3873
+ "previousTransaction": {
3874
+ "description": "Previous transaction ID",
3875
+ "type": "string"
3876
+ },
3877
+ "cache_expire": {
3878
+ "description": "Cache expiration time",
3879
+ "anyOf": [
3880
+ {
3881
+ "type": "number"
3882
+ },
3883
+ {
3884
+ "type": "string",
3885
+ "const": "INFINITE"
3886
+ }
3887
+ ]
3888
+ },
3889
+ "query_name": {
3890
+ "description": "Original query name or address used to retrieve this object",
3891
+ "type": "string"
3892
+ },
3893
+ "content_raw": {
3894
+ "description": "Raw content data for unknown object types"
3895
+ },
3896
+ "_guard_node_comments": {
3897
+ "description": "Additional comments for Guard node instructions",
3898
+ "type": "array",
3899
+ "items": {
3900
+ "type": "object",
3901
+ "properties": {
3902
+ "type": {
3903
+ "type": "string"
3904
+ },
3905
+ "description": {
3906
+ "type": "string"
3907
+ }
3908
+ },
3909
+ "required": [
3910
+ "type",
3911
+ "description"
3912
+ ],
3913
+ "additionalProperties": false
3914
+ }
3915
+ },
3916
+ "address": {
3917
+ "type": "string",
3918
+ "description": "Entity ID"
3919
+ },
3920
+ "description": {
3921
+ "type": "string",
3922
+ "description": "Entity description"
3923
+ },
3924
+ "time": {
3925
+ "anyOf": [
3926
+ {
3927
+ "type": "number"
3928
+ },
3929
+ {
3930
+ "type": "string"
3931
+ }
3932
+ ],
3933
+ "description": "On-chain registration time"
3934
+ },
3935
+ "referrer": {
3936
+ "description": "Referrer",
3937
+ "anyOf": [
3938
+ {
3939
+ "type": "string"
3940
+ },
3941
+ {
3942
+ "type": "null"
3943
+ }
3944
+ ]
3945
+ },
3946
+ "mark_object": {
3947
+ "description": "Your on-chain address mark object by entity ID",
3948
+ "anyOf": [
3949
+ {
3950
+ "type": "string"
3951
+ },
3952
+ {
3953
+ "type": "null"
3954
+ }
3955
+ ]
3956
+ },
3957
+ "records": {
3958
+ "type": "array",
3959
+ "items": {
3960
+ "type": "object",
3961
+ "properties": {
3962
+ "name": {
3963
+ "type": "string",
3964
+ "description": "Record name"
3965
+ },
3966
+ "value_type": {
3967
+ "anyOf": [
3968
+ {
3969
+ "anyOf": [
3970
+ {
3971
+ "anyOf": [
3972
+ {
3973
+ "type": "number",
3974
+ "const": 0,
3975
+ "description": "Bool (0)"
3976
+ },
3977
+ {
3978
+ "type": "number",
3979
+ "const": 1,
3980
+ "description": "Address (1)"
3981
+ },
3982
+ {
3983
+ "type": "number",
3984
+ "const": 2,
3985
+ "description": "String (2)"
3986
+ },
3987
+ {
3988
+ "type": "number",
3989
+ "const": 3,
3990
+ "description": "U8 (3)"
3991
+ },
3992
+ {
3993
+ "type": "number",
3994
+ "const": 4,
3995
+ "description": "U16 (4)"
3996
+ },
3997
+ {
3998
+ "type": "number",
3999
+ "const": 5,
4000
+ "description": "U32 (5)"
4001
+ },
4002
+ {
4003
+ "type": "number",
4004
+ "const": 6,
4005
+ "description": "U64 (6)"
4006
+ },
4007
+ {
4008
+ "type": "number",
4009
+ "const": 7,
4010
+ "description": "U128 (7)"
4011
+ },
4012
+ {
4013
+ "type": "number",
4014
+ "const": 8,
4015
+ "description": "U256 (8)"
4016
+ },
4017
+ {
4018
+ "type": "number",
4019
+ "const": 9,
4020
+ "description": "VecBool (9)"
4021
+ },
4022
+ {
4023
+ "type": "number",
4024
+ "const": 10,
4025
+ "description": "VecAddress (10)"
4026
+ },
4027
+ {
4028
+ "type": "number",
4029
+ "const": 11,
4030
+ "description": "VecString (11)"
4031
+ },
4032
+ {
4033
+ "type": "number",
4034
+ "const": 12,
4035
+ "description": "VecU8 (12)"
4036
+ },
4037
+ {
4038
+ "type": "number",
4039
+ "const": 13,
4040
+ "description": "VecU16 (13)"
4041
+ },
4042
+ {
4043
+ "type": "number",
4044
+ "const": 14,
4045
+ "description": "VecU32 (14)"
4046
+ },
4047
+ {
4048
+ "type": "number",
4049
+ "const": 15,
4050
+ "description": "VecU64 (15)"
4051
+ },
4052
+ {
4053
+ "type": "number",
4054
+ "const": 16,
4055
+ "description": "VecU128 (16)"
4056
+ },
4057
+ {
4058
+ "type": "number",
4059
+ "const": 17,
4060
+ "description": "VecU256 (17)"
4061
+ },
4062
+ {
4063
+ "type": "number",
4064
+ "const": 18,
4065
+ "description": "VecVecU8 (18)"
4066
+ },
4067
+ {
4068
+ "type": "string",
4069
+ "const": "Bool",
4070
+ "description": "Bool"
4071
+ },
4072
+ {
4073
+ "type": "string",
4074
+ "const": "Address",
4075
+ "description": "Address"
4076
+ },
4077
+ {
4078
+ "type": "string",
4079
+ "const": "String",
4080
+ "description": "String"
4081
+ },
4082
+ {
4083
+ "type": "string",
4084
+ "const": "U8",
4085
+ "description": "U8"
4086
+ },
4087
+ {
4088
+ "type": "string",
4089
+ "const": "U16",
4090
+ "description": "U16"
4091
+ },
4092
+ {
4093
+ "type": "string",
4094
+ "const": "U32",
4095
+ "description": "U32"
4096
+ },
4097
+ {
4098
+ "type": "string",
4099
+ "const": "U64",
4100
+ "description": "U64"
4101
+ },
4102
+ {
4103
+ "type": "string",
4104
+ "const": "U128",
4105
+ "description": "U128"
4106
+ },
4107
+ {
4108
+ "type": "string",
4109
+ "const": "U256",
4110
+ "description": "U256"
4111
+ },
4112
+ {
4113
+ "type": "string",
4114
+ "const": "VecBool",
4115
+ "description": "VecBool"
4116
+ },
4117
+ {
4118
+ "type": "string",
4119
+ "const": "VecAddress",
4120
+ "description": "VecAddress"
4121
+ },
4122
+ {
4123
+ "type": "string",
4124
+ "const": "VecString",
4125
+ "description": "VecString"
4126
+ },
4127
+ {
4128
+ "type": "string",
4129
+ "const": "VecU8",
4130
+ "description": "VecU8"
4131
+ },
4132
+ {
4133
+ "type": "string",
4134
+ "const": "VecU16",
4135
+ "description": "VecU16"
4136
+ },
4137
+ {
4138
+ "type": "string",
4139
+ "const": "VecU32",
4140
+ "description": "VecU32"
4141
+ },
4142
+ {
4143
+ "type": "string",
4144
+ "const": "VecU64",
4145
+ "description": "VecU64"
4146
+ },
4147
+ {
4148
+ "type": "string",
4149
+ "const": "VecU128",
4150
+ "description": "VecU128"
4151
+ },
4152
+ {
4153
+ "type": "string",
4154
+ "const": "VecU256",
4155
+ "description": "VecU256"
4156
+ },
4157
+ {
4158
+ "type": "string",
4159
+ "const": "VecVecU8",
4160
+ "description": "VecVecU8"
4161
+ },
4162
+ {
4163
+ "type": "string",
4164
+ "const": "bool",
4165
+ "description": "bool"
4166
+ },
4167
+ {
4168
+ "type": "string",
4169
+ "const": "address",
4170
+ "description": "address"
4171
+ },
4172
+ {
4173
+ "type": "string",
4174
+ "const": "string",
4175
+ "description": "string"
4176
+ },
4177
+ {
4178
+ "type": "string",
4179
+ "const": "u8",
4180
+ "description": "u8"
4181
+ },
4182
+ {
4183
+ "type": "string",
4184
+ "const": "u16",
4185
+ "description": "u16"
4186
+ },
4187
+ {
4188
+ "type": "string",
4189
+ "const": "u32",
4190
+ "description": "u32"
4191
+ },
4192
+ {
4193
+ "type": "string",
4194
+ "const": "u64",
4195
+ "description": "u64"
4196
+ },
4197
+ {
4198
+ "type": "string",
4199
+ "const": "u128",
4200
+ "description": "u128"
4201
+ },
4202
+ {
4203
+ "type": "string",
4204
+ "const": "u256",
4205
+ "description": "u256"
4206
+ },
4207
+ {
4208
+ "type": "string",
4209
+ "const": "vecbool",
4210
+ "description": "vecbool"
4211
+ },
4212
+ {
4213
+ "type": "string",
4214
+ "const": "vecaddress",
4215
+ "description": "vecaddress"
4216
+ },
4217
+ {
4218
+ "type": "string",
4219
+ "const": "vecstring",
4220
+ "description": "vecstring"
4221
+ },
4222
+ {
4223
+ "type": "string",
4224
+ "const": "vecu8",
4225
+ "description": "vecu8"
4226
+ },
4227
+ {
4228
+ "type": "string",
4229
+ "const": "vecu16",
4230
+ "description": "vecu16"
4231
+ },
4232
+ {
4233
+ "type": "string",
4234
+ "const": "vecu32",
4235
+ "description": "vecu32"
4236
+ },
4237
+ {
4238
+ "type": "string",
4239
+ "const": "vecu64",
4240
+ "description": "vecu64"
4241
+ },
4242
+ {
4243
+ "type": "string",
4244
+ "const": "vecu128",
4245
+ "description": "vecu128"
4246
+ },
4247
+ {
4248
+ "type": "string",
4249
+ "const": "vecu256",
4250
+ "description": "vecu256"
4251
+ },
4252
+ {
4253
+ "type": "string",
4254
+ "const": "vecvecu8",
4255
+ "description": "vecvecu8"
4256
+ }
4257
+ ],
4258
+ "description": "User available value type (number or string, e.g., 6 or 'U64' or 'u64')"
4259
+ },
4260
+ {
4261
+ "type": "number",
4262
+ "const": 19,
4263
+ "description": "Value (19)"
4264
+ }
4265
+ ]
4266
+ },
4267
+ {
4268
+ "type": "string",
4269
+ "const": "Value",
4270
+ "description": "Value"
4271
+ }
4272
+ ],
4273
+ "description": "Value type"
4274
+ },
4275
+ "value": {
4276
+ "anyOf": [
4277
+ {
4278
+ "anyOf": [
4279
+ {
4280
+ "type": "boolean"
4281
+ },
4282
+ {
4283
+ "anyOf": [
4284
+ {
4285
+ "type": "object",
4286
+ "properties": {
4287
+ "name_or_address": {
4288
+ "type": "string",
4289
+ "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
4290
+ },
4291
+ "local_mark_first": {
4292
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
4293
+ "type": "boolean"
4294
+ }
4295
+ },
4296
+ "additionalProperties": false,
4297
+ "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
4298
+ },
4299
+ {
4300
+ "type": "string"
4301
+ }
4302
+ ]
4303
+ },
4304
+ {
4305
+ "type": "string"
4306
+ },
4307
+ {
4308
+ "type": "number"
4309
+ },
4310
+ {
4311
+ "type": "array",
4312
+ "items": {
4313
+ "type": "boolean"
4314
+ }
4315
+ },
4316
+ {
4317
+ "anyOf": [
4318
+ {
4319
+ "type": "object",
4320
+ "properties": {
4321
+ "entities": {
4322
+ "type": "array",
4323
+ "items": {
4324
+ "type": "object",
4325
+ "properties": {
4326
+ "name_or_address": {
4327
+ "type": "string",
4328
+ "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
4329
+ },
4330
+ "local_mark_first": {
4331
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
4332
+ "type": "boolean"
4333
+ }
4334
+ },
4335
+ "additionalProperties": false,
4336
+ "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
4337
+ }
4338
+ },
4339
+ "check_all_founded": {
4340
+ "description": "Whether to check all entities are found, if true, all entities must be found (abort and throw exception if any ID not found); if false, only return found IDs",
4341
+ "type": "boolean"
4342
+ }
4343
+ },
4344
+ "required": [
4345
+ "entities"
4346
+ ],
4347
+ "additionalProperties": false,
4348
+ "description": "Used to batch find account or object IDs by name"
4349
+ },
4350
+ {
4351
+ "type": "array",
4352
+ "items": {
4353
+ "type": "string"
4354
+ }
4355
+ }
4356
+ ]
4357
+ },
4358
+ {
4359
+ "type": "array",
4360
+ "items": {
4361
+ "type": "string"
4362
+ }
4363
+ },
4364
+ {
4365
+ "type": "array",
4366
+ "items": {
4367
+ "type": "number"
4368
+ }
4369
+ },
4370
+ {
4371
+ "type": "array",
4372
+ "items": {
4373
+ "type": "array",
4374
+ "items": {
4375
+ "type": "number"
4376
+ }
4377
+ }
4378
+ }
4379
+ ],
4380
+ "description": "User available supported value type"
4381
+ },
4382
+ {
4383
+ "$ref": "#/definitions/__schema0"
4384
+ }
4385
+ ],
4386
+ "description": "Value"
4387
+ }
4388
+ },
4389
+ "required": [
4390
+ "name",
4391
+ "value_type",
4392
+ "value"
4393
+ ],
4394
+ "additionalProperties": false,
4395
+ "description": "Information record"
4396
+ },
4397
+ "description": "Information records on-chain"
4398
+ }
4399
+ },
4400
+ "required": [
4401
+ "object",
4402
+ "address",
4403
+ "description",
4404
+ "time",
4405
+ "records"
4406
+ ],
4407
+ "additionalProperties": {}
4408
+ },
4409
+ "reputation": {
4410
+ "description": "Community votes (like/dislike/favor).",
4411
+ "type": "object",
4412
+ "properties": {
4413
+ "object": {
4414
+ "type": "string",
4415
+ "description": "Object ID"
4416
+ },
4417
+ "type": {
4418
+ "description": "Object type",
4419
+ "type": "string",
4420
+ "enum": [
4421
+ "Permission",
4422
+ "Repository",
4423
+ "Arb",
4424
+ "Arbitration",
4425
+ "Service",
4426
+ "Machine",
4427
+ "Order",
4428
+ "Progress",
4429
+ "Payment",
4430
+ "Treasury",
4431
+ "Guard",
4432
+ "Demand",
4433
+ "Passport",
4434
+ "Allocation",
4435
+ "Resource",
4436
+ "Reward",
4437
+ "Discount",
4438
+ "EntityRegistrar",
4439
+ "EntityLinker",
4440
+ "Proof",
4441
+ "WReceivedObject",
4442
+ "Contact",
4443
+ "TableItem_ProgressHistory",
4444
+ "TableItem_PermissionPerm",
4445
+ "TableItem_DemandPresenter",
4446
+ "TableItem_MachineNode",
4447
+ "TableItem_TreasuryHistory",
4448
+ "TableItem_RepositoryData",
4449
+ "TableItem_RewardRecord",
4450
+ "TableItem_EntityLinker",
4451
+ "TableItem_AddressMark",
4452
+ "TableItem_EntityRegistrar"
4453
+ ]
4454
+ },
4455
+ "type_raw": {
4456
+ "description": "Raw object type",
4457
+ "type": "string"
4458
+ },
4459
+ "owner": {
4460
+ "description": "Object owner",
4461
+ "anyOf": [
4462
+ {
4463
+ "anyOf": [
4464
+ {
4465
+ "type": "object",
4466
+ "properties": {
4467
+ "AddressOwner": {
4468
+ "type": "string",
4469
+ "description": "Address owner"
4470
+ }
4471
+ },
4472
+ "required": [
4473
+ "AddressOwner"
4474
+ ],
4475
+ "additionalProperties": false
4476
+ },
4477
+ {
4478
+ "type": "object",
4479
+ "properties": {
4480
+ "ObjectOwner": {
4481
+ "type": "string",
4482
+ "description": "Object owner"
4483
+ }
4484
+ },
4485
+ "required": [
4486
+ "ObjectOwner"
4487
+ ],
4488
+ "additionalProperties": false
4489
+ },
4490
+ {
4491
+ "type": "object",
4492
+ "properties": {
4493
+ "Shared": {
4494
+ "type": "object",
4495
+ "properties": {
4496
+ "initial_shared_version": {
4497
+ "anyOf": [
4498
+ {
4499
+ "type": "string"
4500
+ },
4501
+ {
4502
+ "type": "number"
4503
+ }
4504
+ ],
4505
+ "description": "Version when object became shared"
4506
+ }
4507
+ },
4508
+ "required": [
4509
+ "initial_shared_version"
4510
+ ],
4511
+ "additionalProperties": false,
4512
+ "description": "Shared object"
4513
+ }
4514
+ },
4515
+ "required": [
4516
+ "Shared"
4517
+ ],
4518
+ "additionalProperties": false
4519
+ },
4520
+ {
4521
+ "type": "string",
4522
+ "const": "Immutable"
4523
+ },
4524
+ {
4525
+ "type": "object",
4526
+ "properties": {
4527
+ "ConsensusAddressOwner": {
4528
+ "type": "object",
4529
+ "properties": {
4530
+ "owner": {
4531
+ "type": "string",
4532
+ "description": "Consensus ID owner"
4533
+ },
4534
+ "start_version": {
4535
+ "anyOf": [
4536
+ {
4537
+ "type": "string"
4538
+ },
4539
+ {
4540
+ "type": "number"
4541
+ }
4542
+ ],
4543
+ "description": "Version when object recently became consensus object"
4544
+ }
4545
+ },
4546
+ "required": [
4547
+ "owner",
4548
+ "start_version"
4549
+ ],
4550
+ "additionalProperties": false,
4551
+ "description": "Consensus ID owner"
4552
+ }
4553
+ },
4554
+ "required": [
4555
+ "ConsensusAddressOwner"
4556
+ ],
4557
+ "additionalProperties": false
4558
+ }
4559
+ ],
4560
+ "description": "Object owner"
4561
+ },
4562
+ {
4563
+ "type": "null"
4564
+ }
4565
+ ]
4566
+ },
4567
+ "version": {
4568
+ "description": "Object version",
4569
+ "anyOf": [
4570
+ {
4571
+ "type": "string"
4572
+ },
4573
+ {
4574
+ "type": "number"
4575
+ }
4576
+ ]
4577
+ },
4578
+ "previousTransaction": {
4579
+ "description": "Previous transaction ID",
4580
+ "type": "string"
4581
+ },
4582
+ "cache_expire": {
4583
+ "description": "Cache expiration time",
4584
+ "anyOf": [
4585
+ {
4586
+ "type": "number"
4587
+ },
4588
+ {
4589
+ "type": "string",
4590
+ "const": "INFINITE"
4591
+ }
4592
+ ]
4593
+ },
4594
+ "query_name": {
4595
+ "description": "Original query name or address used to retrieve this object",
4596
+ "type": "string"
4597
+ },
4598
+ "content_raw": {
4599
+ "description": "Raw content data for unknown object types"
4600
+ },
4601
+ "_guard_node_comments": {
4602
+ "description": "Additional comments for Guard node instructions",
4603
+ "type": "array",
4604
+ "items": {
4605
+ "type": "object",
4606
+ "properties": {
4607
+ "type": {
4608
+ "type": "string"
4609
+ },
4610
+ "description": {
4611
+ "type": "string"
4612
+ }
4613
+ },
4614
+ "required": [
4615
+ "type",
4616
+ "description"
4617
+ ],
4618
+ "additionalProperties": false
4619
+ }
4620
+ },
4621
+ "address": {
4622
+ "type": "string",
4623
+ "description": "Followed ID"
4624
+ },
4625
+ "pos": {
4626
+ "anyOf": [
4627
+ {
4628
+ "type": "number"
4629
+ },
4630
+ {
4631
+ "type": "string"
4632
+ }
4633
+ ],
4634
+ "description": "Current follow information position"
4635
+ },
4636
+ "count": {
4637
+ "anyOf": [
4638
+ {
4639
+ "type": "number"
4640
+ },
4641
+ {
4642
+ "type": "string"
4643
+ }
4644
+ ],
4645
+ "description": "Follower count. Number of entities who have been followed others. Use 'query_table' or 'query_table_item' to get 'EntityLinker' table items."
4646
+ },
4647
+ "votes": {
4648
+ "type": "array",
4649
+ "items": {
4650
+ "type": "object",
4651
+ "properties": {
4652
+ "who": {
4653
+ "type": "string",
4654
+ "description": "Voter address"
4655
+ },
4656
+ "like": {
4657
+ "description": "Whether liked",
4658
+ "type": "boolean"
4659
+ },
4660
+ "dislike": {
4661
+ "description": "Whether disliked",
4662
+ "type": "boolean"
4663
+ },
4664
+ "favor": {
4665
+ "description": "Whether favorited (收藏)",
4666
+ "type": "boolean"
4667
+ },
4668
+ "time": {
4669
+ "anyOf": [
4670
+ {
4671
+ "type": "number"
4672
+ },
4673
+ {
4674
+ "type": "string"
4675
+ }
4676
+ ],
4677
+ "description": "Time"
4678
+ }
4679
+ },
4680
+ "required": [
4681
+ "who",
4682
+ "time"
4683
+ ],
4684
+ "additionalProperties": false,
4685
+ "description": "Follow record"
4686
+ },
4687
+ "description": "Follow records"
4688
+ }
4689
+ },
4690
+ "required": [
4691
+ "object",
4692
+ "address",
4693
+ "pos",
4694
+ "count",
4695
+ "votes"
4696
+ ],
4697
+ "additionalProperties": {}
4698
+ },
4699
+ "order_membership": {
4700
+ "description": "Orders the address participates in (role bitmask).",
4701
+ "type": "object",
4702
+ "properties": {
4703
+ "object": {
4704
+ "type": "string",
4705
+ "description": "Object ID"
4706
+ },
4707
+ "type": {
4708
+ "description": "Object type",
4709
+ "type": "string",
4710
+ "enum": [
4711
+ "Permission",
4712
+ "Repository",
4713
+ "Arb",
4714
+ "Arbitration",
4715
+ "Service",
4716
+ "Machine",
4717
+ "Order",
4718
+ "Progress",
4719
+ "Payment",
4720
+ "Treasury",
4721
+ "Guard",
4722
+ "Demand",
4723
+ "Passport",
4724
+ "Allocation",
4725
+ "Resource",
4726
+ "Reward",
4727
+ "Discount",
4728
+ "EntityRegistrar",
4729
+ "EntityLinker",
4730
+ "Proof",
4731
+ "WReceivedObject",
4732
+ "Contact",
4733
+ "TableItem_ProgressHistory",
4734
+ "TableItem_PermissionPerm",
4735
+ "TableItem_DemandPresenter",
4736
+ "TableItem_MachineNode",
4737
+ "TableItem_TreasuryHistory",
4738
+ "TableItem_RepositoryData",
4739
+ "TableItem_RewardRecord",
4740
+ "TableItem_EntityLinker",
4741
+ "TableItem_AddressMark",
4742
+ "TableItem_EntityRegistrar"
4743
+ ]
4744
+ },
4745
+ "type_raw": {
4746
+ "description": "Raw object type",
4747
+ "type": "string"
4748
+ },
4749
+ "owner": {
4750
+ "description": "Object owner",
4751
+ "anyOf": [
4752
+ {
4753
+ "anyOf": [
4754
+ {
4755
+ "type": "object",
4756
+ "properties": {
4757
+ "AddressOwner": {
4758
+ "type": "string",
4759
+ "description": "Address owner"
4760
+ }
4761
+ },
4762
+ "required": [
4763
+ "AddressOwner"
4764
+ ],
4765
+ "additionalProperties": false
4766
+ },
4767
+ {
4768
+ "type": "object",
4769
+ "properties": {
4770
+ "ObjectOwner": {
4771
+ "type": "string",
4772
+ "description": "Object owner"
4773
+ }
4774
+ },
4775
+ "required": [
4776
+ "ObjectOwner"
4777
+ ],
4778
+ "additionalProperties": false
4779
+ },
4780
+ {
4781
+ "type": "object",
4782
+ "properties": {
4783
+ "Shared": {
4784
+ "type": "object",
4785
+ "properties": {
4786
+ "initial_shared_version": {
4787
+ "anyOf": [
4788
+ {
4789
+ "type": "string"
4790
+ },
4791
+ {
4792
+ "type": "number"
4793
+ }
4794
+ ],
4795
+ "description": "Version when object became shared"
4796
+ }
4797
+ },
4798
+ "required": [
4799
+ "initial_shared_version"
4800
+ ],
4801
+ "additionalProperties": false,
4802
+ "description": "Shared object"
4803
+ }
4804
+ },
4805
+ "required": [
4806
+ "Shared"
4807
+ ],
4808
+ "additionalProperties": false
4809
+ },
4810
+ {
4811
+ "type": "string",
4812
+ "const": "Immutable"
4813
+ },
4814
+ {
4815
+ "type": "object",
4816
+ "properties": {
4817
+ "ConsensusAddressOwner": {
4818
+ "type": "object",
4819
+ "properties": {
4820
+ "owner": {
4821
+ "type": "string",
4822
+ "description": "Consensus ID owner"
4823
+ },
4824
+ "start_version": {
4825
+ "anyOf": [
4826
+ {
4827
+ "type": "string"
4828
+ },
4829
+ {
4830
+ "type": "number"
4831
+ }
4832
+ ],
4833
+ "description": "Version when object recently became consensus object"
4834
+ }
4835
+ },
4836
+ "required": [
4837
+ "owner",
4838
+ "start_version"
4839
+ ],
4840
+ "additionalProperties": false,
4841
+ "description": "Consensus ID owner"
4842
+ }
4843
+ },
4844
+ "required": [
4845
+ "ConsensusAddressOwner"
4846
+ ],
4847
+ "additionalProperties": false
4848
+ }
4849
+ ],
4850
+ "description": "Object owner"
4851
+ },
4852
+ {
4853
+ "type": "null"
4854
+ }
4855
+ ]
4856
+ },
4857
+ "version": {
4858
+ "description": "Object version",
4859
+ "anyOf": [
4860
+ {
4861
+ "type": "string"
4862
+ },
4863
+ {
4864
+ "type": "number"
4865
+ }
4866
+ ]
4867
+ },
4868
+ "previousTransaction": {
4869
+ "description": "Previous transaction ID",
4870
+ "type": "string"
4871
+ },
4872
+ "cache_expire": {
4873
+ "description": "Cache expiration time",
4874
+ "anyOf": [
4875
+ {
4876
+ "type": "number"
4877
+ },
4878
+ {
4879
+ "type": "string",
4880
+ "const": "INFINITE"
4881
+ }
4882
+ ]
4883
+ },
4884
+ "query_name": {
4885
+ "description": "Original query name or address used to retrieve this object",
4886
+ "type": "string"
4887
+ },
4888
+ "content_raw": {
4889
+ "description": "Raw content data for unknown object types"
4890
+ },
4891
+ "_guard_node_comments": {
4892
+ "description": "Additional comments for Guard node instructions",
4893
+ "type": "array",
4894
+ "items": {
4895
+ "type": "object",
4896
+ "properties": {
4897
+ "type": {
4898
+ "type": "string"
4899
+ },
4900
+ "description": {
4901
+ "type": "string"
4902
+ }
4903
+ },
4904
+ "required": [
4905
+ "type",
4906
+ "description"
4907
+ ],
4908
+ "additionalProperties": false
4909
+ }
4910
+ },
4911
+ "address": {
4912
+ "type": "string",
4913
+ "description": "Entity address"
4914
+ },
4915
+ "items": {
4916
+ "type": "array",
4917
+ "items": {
4918
+ "type": "object",
4919
+ "properties": {
4920
+ "role": {
4921
+ "anyOf": [
4922
+ {
4923
+ "type": "number"
4924
+ },
4925
+ {
4926
+ "type": "string"
4927
+ }
4928
+ ],
4929
+ "description": "Role bitmask (1=owner, 2=agent) of the entity in the order"
4930
+ },
4931
+ "order": {
4932
+ "type": "string",
4933
+ "description": "Order address the entity participates in"
4934
+ },
4935
+ "time": {
4936
+ "anyOf": [
4937
+ {
4938
+ "type": "number"
4939
+ },
4940
+ {
4941
+ "type": "string"
4942
+ }
4943
+ ],
4944
+ "description": "On-chain clock (ms) when the role was last modified"
4945
+ }
4946
+ },
4947
+ "required": [
4948
+ "role",
4949
+ "order",
4950
+ "time"
4951
+ ],
4952
+ "additionalProperties": false
4953
+ },
4954
+ "description": "Orders the entity participates in"
4955
+ }
4956
+ },
4957
+ "required": [
4958
+ "object",
4959
+ "address",
4960
+ "items"
4961
+ ],
4962
+ "additionalProperties": {}
4963
+ },
4964
+ "contact_membership": {
4965
+ "description": "Contacts the address is a member of.",
4966
+ "type": "object",
4967
+ "properties": {
4968
+ "object": {
4969
+ "type": "string",
4970
+ "description": "Object ID"
4971
+ },
4972
+ "type": {
4973
+ "description": "Object type",
4974
+ "type": "string",
4975
+ "enum": [
4976
+ "Permission",
4977
+ "Repository",
4978
+ "Arb",
4979
+ "Arbitration",
4980
+ "Service",
4981
+ "Machine",
4982
+ "Order",
4983
+ "Progress",
4984
+ "Payment",
4985
+ "Treasury",
4986
+ "Guard",
4987
+ "Demand",
4988
+ "Passport",
4989
+ "Allocation",
4990
+ "Resource",
4991
+ "Reward",
4992
+ "Discount",
4993
+ "EntityRegistrar",
4994
+ "EntityLinker",
4995
+ "Proof",
4996
+ "WReceivedObject",
4997
+ "Contact",
4998
+ "TableItem_ProgressHistory",
4999
+ "TableItem_PermissionPerm",
5000
+ "TableItem_DemandPresenter",
5001
+ "TableItem_MachineNode",
5002
+ "TableItem_TreasuryHistory",
5003
+ "TableItem_RepositoryData",
5004
+ "TableItem_RewardRecord",
5005
+ "TableItem_EntityLinker",
5006
+ "TableItem_AddressMark",
5007
+ "TableItem_EntityRegistrar"
5008
+ ]
5009
+ },
5010
+ "type_raw": {
5011
+ "description": "Raw object type",
5012
+ "type": "string"
5013
+ },
5014
+ "owner": {
5015
+ "description": "Object owner",
5016
+ "anyOf": [
5017
+ {
5018
+ "anyOf": [
5019
+ {
5020
+ "type": "object",
5021
+ "properties": {
5022
+ "AddressOwner": {
5023
+ "type": "string",
5024
+ "description": "Address owner"
5025
+ }
5026
+ },
5027
+ "required": [
5028
+ "AddressOwner"
5029
+ ],
5030
+ "additionalProperties": false
5031
+ },
5032
+ {
5033
+ "type": "object",
5034
+ "properties": {
5035
+ "ObjectOwner": {
5036
+ "type": "string",
5037
+ "description": "Object owner"
5038
+ }
5039
+ },
5040
+ "required": [
5041
+ "ObjectOwner"
5042
+ ],
5043
+ "additionalProperties": false
5044
+ },
5045
+ {
5046
+ "type": "object",
5047
+ "properties": {
5048
+ "Shared": {
5049
+ "type": "object",
5050
+ "properties": {
5051
+ "initial_shared_version": {
5052
+ "anyOf": [
5053
+ {
5054
+ "type": "string"
5055
+ },
5056
+ {
5057
+ "type": "number"
5058
+ }
5059
+ ],
5060
+ "description": "Version when object became shared"
5061
+ }
5062
+ },
5063
+ "required": [
5064
+ "initial_shared_version"
5065
+ ],
5066
+ "additionalProperties": false,
5067
+ "description": "Shared object"
5068
+ }
5069
+ },
5070
+ "required": [
5071
+ "Shared"
5072
+ ],
5073
+ "additionalProperties": false
5074
+ },
5075
+ {
5076
+ "type": "string",
5077
+ "const": "Immutable"
5078
+ },
5079
+ {
5080
+ "type": "object",
5081
+ "properties": {
5082
+ "ConsensusAddressOwner": {
5083
+ "type": "object",
5084
+ "properties": {
5085
+ "owner": {
5086
+ "type": "string",
5087
+ "description": "Consensus ID owner"
5088
+ },
5089
+ "start_version": {
5090
+ "anyOf": [
5091
+ {
5092
+ "type": "string"
5093
+ },
5094
+ {
5095
+ "type": "number"
5096
+ }
5097
+ ],
5098
+ "description": "Version when object recently became consensus object"
5099
+ }
5100
+ },
5101
+ "required": [
5102
+ "owner",
5103
+ "start_version"
5104
+ ],
5105
+ "additionalProperties": false,
5106
+ "description": "Consensus ID owner"
5107
+ }
5108
+ },
5109
+ "required": [
5110
+ "ConsensusAddressOwner"
5111
+ ],
5112
+ "additionalProperties": false
5113
+ }
5114
+ ],
5115
+ "description": "Object owner"
5116
+ },
5117
+ {
5118
+ "type": "null"
5119
+ }
5120
+ ]
5121
+ },
5122
+ "version": {
5123
+ "description": "Object version",
5124
+ "anyOf": [
5125
+ {
5126
+ "type": "string"
5127
+ },
5128
+ {
5129
+ "type": "number"
5130
+ }
5131
+ ]
5132
+ },
5133
+ "previousTransaction": {
5134
+ "description": "Previous transaction ID",
5135
+ "type": "string"
5136
+ },
5137
+ "cache_expire": {
5138
+ "description": "Cache expiration time",
5139
+ "anyOf": [
5140
+ {
5141
+ "type": "number"
5142
+ },
5143
+ {
5144
+ "type": "string",
5145
+ "const": "INFINITE"
5146
+ }
5147
+ ]
5148
+ },
5149
+ "query_name": {
5150
+ "description": "Original query name or address used to retrieve this object",
5151
+ "type": "string"
5152
+ },
5153
+ "content_raw": {
5154
+ "description": "Raw content data for unknown object types"
5155
+ },
5156
+ "_guard_node_comments": {
5157
+ "description": "Additional comments for Guard node instructions",
5158
+ "type": "array",
5159
+ "items": {
5160
+ "type": "object",
5161
+ "properties": {
5162
+ "type": {
5163
+ "type": "string"
5164
+ },
5165
+ "description": {
5166
+ "type": "string"
5167
+ }
5168
+ },
5169
+ "required": [
5170
+ "type",
5171
+ "description"
5172
+ ],
5173
+ "additionalProperties": false
5174
+ }
5175
+ },
5176
+ "address": {
5177
+ "type": "string",
5178
+ "description": "Entity address"
5179
+ },
5180
+ "items": {
5181
+ "type": "array",
5182
+ "items": {
5183
+ "type": "object",
5184
+ "properties": {
5185
+ "contact": {
5186
+ "type": "string",
5187
+ "description": "Contact (customer-service book) address the entity is a member of"
5188
+ },
5189
+ "time": {
5190
+ "anyOf": [
5191
+ {
5192
+ "type": "number"
5193
+ },
5194
+ {
5195
+ "type": "string"
5196
+ }
5197
+ ],
5198
+ "description": "On-chain clock (ms) when the membership was last modified"
5199
+ }
5200
+ },
5201
+ "required": [
5202
+ "contact",
5203
+ "time"
5204
+ ],
5205
+ "additionalProperties": false
5206
+ },
5207
+ "description": "Contacts the entity is a member of"
5208
+ }
5209
+ },
5210
+ "required": [
5211
+ "object",
5212
+ "address",
5213
+ "items"
5214
+ ],
5215
+ "additionalProperties": {}
5216
+ },
5217
+ "reverse_core": {
5218
+ "description": "Bounded core objects binding to this target.",
5219
+ "type": "object",
5220
+ "properties": {
5221
+ "object": {
5222
+ "type": "string",
5223
+ "description": "Object ID"
5224
+ },
5225
+ "type": {
5226
+ "description": "Object type",
5227
+ "type": "string",
5228
+ "enum": [
5229
+ "Permission",
5230
+ "Repository",
5231
+ "Arb",
5232
+ "Arbitration",
5233
+ "Service",
5234
+ "Machine",
5235
+ "Order",
5236
+ "Progress",
5237
+ "Payment",
5238
+ "Treasury",
5239
+ "Guard",
5240
+ "Demand",
5241
+ "Passport",
5242
+ "Allocation",
5243
+ "Resource",
5244
+ "Reward",
5245
+ "Discount",
5246
+ "EntityRegistrar",
5247
+ "EntityLinker",
5248
+ "Proof",
5249
+ "WReceivedObject",
5250
+ "Contact",
5251
+ "TableItem_ProgressHistory",
5252
+ "TableItem_PermissionPerm",
5253
+ "TableItem_DemandPresenter",
5254
+ "TableItem_MachineNode",
5255
+ "TableItem_TreasuryHistory",
5256
+ "TableItem_RepositoryData",
5257
+ "TableItem_RewardRecord",
5258
+ "TableItem_EntityLinker",
5259
+ "TableItem_AddressMark",
5260
+ "TableItem_EntityRegistrar"
5261
+ ]
5262
+ },
5263
+ "type_raw": {
5264
+ "description": "Raw object type",
5265
+ "type": "string"
5266
+ },
5267
+ "owner": {
5268
+ "description": "Object owner",
5269
+ "anyOf": [
5270
+ {
5271
+ "anyOf": [
5272
+ {
5273
+ "type": "object",
5274
+ "properties": {
5275
+ "AddressOwner": {
5276
+ "type": "string",
5277
+ "description": "Address owner"
5278
+ }
5279
+ },
5280
+ "required": [
5281
+ "AddressOwner"
5282
+ ],
5283
+ "additionalProperties": false
5284
+ },
5285
+ {
5286
+ "type": "object",
5287
+ "properties": {
5288
+ "ObjectOwner": {
5289
+ "type": "string",
5290
+ "description": "Object owner"
5291
+ }
5292
+ },
5293
+ "required": [
5294
+ "ObjectOwner"
5295
+ ],
5296
+ "additionalProperties": false
5297
+ },
5298
+ {
5299
+ "type": "object",
5300
+ "properties": {
5301
+ "Shared": {
5302
+ "type": "object",
5303
+ "properties": {
5304
+ "initial_shared_version": {
5305
+ "anyOf": [
5306
+ {
5307
+ "type": "string"
5308
+ },
5309
+ {
5310
+ "type": "number"
5311
+ }
5312
+ ],
5313
+ "description": "Version when object became shared"
5314
+ }
5315
+ },
5316
+ "required": [
5317
+ "initial_shared_version"
5318
+ ],
5319
+ "additionalProperties": false,
5320
+ "description": "Shared object"
5321
+ }
5322
+ },
5323
+ "required": [
5324
+ "Shared"
5325
+ ],
5326
+ "additionalProperties": false
5327
+ },
5328
+ {
5329
+ "type": "string",
5330
+ "const": "Immutable"
5331
+ },
5332
+ {
5333
+ "type": "object",
5334
+ "properties": {
5335
+ "ConsensusAddressOwner": {
5336
+ "type": "object",
5337
+ "properties": {
5338
+ "owner": {
5339
+ "type": "string",
5340
+ "description": "Consensus ID owner"
5341
+ },
5342
+ "start_version": {
5343
+ "anyOf": [
5344
+ {
5345
+ "type": "string"
5346
+ },
5347
+ {
5348
+ "type": "number"
5349
+ }
5350
+ ],
5351
+ "description": "Version when object recently became consensus object"
5352
+ }
5353
+ },
5354
+ "required": [
5355
+ "owner",
5356
+ "start_version"
5357
+ ],
5358
+ "additionalProperties": false,
5359
+ "description": "Consensus ID owner"
5360
+ }
5361
+ },
5362
+ "required": [
5363
+ "ConsensusAddressOwner"
5364
+ ],
5365
+ "additionalProperties": false
5366
+ }
5367
+ ],
5368
+ "description": "Object owner"
5369
+ },
5370
+ {
5371
+ "type": "null"
5372
+ }
5373
+ ]
5374
+ },
5375
+ "version": {
5376
+ "description": "Object version",
5377
+ "anyOf": [
5378
+ {
5379
+ "type": "string"
5380
+ },
5381
+ {
5382
+ "type": "number"
5383
+ }
5384
+ ]
5385
+ },
5386
+ "previousTransaction": {
5387
+ "description": "Previous transaction ID",
5388
+ "type": "string"
5389
+ },
5390
+ "cache_expire": {
5391
+ "description": "Cache expiration time",
5392
+ "anyOf": [
5393
+ {
5394
+ "type": "number"
5395
+ },
5396
+ {
5397
+ "type": "string",
5398
+ "const": "INFINITE"
5399
+ }
5400
+ ]
5401
+ },
5402
+ "query_name": {
5403
+ "description": "Original query name or address used to retrieve this object",
5404
+ "type": "string"
5405
+ },
5406
+ "content_raw": {
5407
+ "description": "Raw content data for unknown object types"
5408
+ },
5409
+ "_guard_node_comments": {
5410
+ "description": "Additional comments for Guard node instructions",
5411
+ "type": "array",
5412
+ "items": {
5413
+ "type": "object",
5414
+ "properties": {
5415
+ "type": {
5416
+ "type": "string"
5417
+ },
5418
+ "description": {
5419
+ "type": "string"
5420
+ }
5421
+ },
5422
+ "required": [
5423
+ "type",
5424
+ "description"
5425
+ ],
5426
+ "additionalProperties": false
5427
+ }
5428
+ },
5429
+ "address": {
5430
+ "type": "string",
5431
+ "description": "Target object address"
5432
+ },
5433
+ "items": {
5434
+ "type": "array",
5435
+ "items": {
5436
+ "type": "object",
5437
+ "properties": {
5438
+ "who": {
5439
+ "type": "string",
5440
+ "description": "Core object address that binds to the target (lossless fixed)"
5441
+ },
5442
+ "time": {
5443
+ "anyOf": [
5444
+ {
5445
+ "type": "number"
5446
+ },
5447
+ {
5448
+ "type": "string"
5449
+ }
5450
+ ],
5451
+ "description": "On-chain clock (ms) when the core object bound"
5452
+ }
5453
+ },
5454
+ "required": [
5455
+ "who",
5456
+ "time"
5457
+ ],
5458
+ "additionalProperties": false
5459
+ },
5460
+ "description": "Core objects binding to the target"
5461
+ }
5462
+ },
5463
+ "required": [
5464
+ "object",
5465
+ "address",
5466
+ "items"
5467
+ ],
5468
+ "additionalProperties": {}
5469
+ },
5470
+ "reverse_tx": {
5471
+ "description": "Operational objects binding to this target (recent window).",
5472
+ "type": "object",
5473
+ "properties": {
5474
+ "object": {
5475
+ "type": "string",
5476
+ "description": "Object ID"
5477
+ },
5478
+ "type": {
5479
+ "description": "Object type",
5480
+ "type": "string",
5481
+ "enum": [
5482
+ "Permission",
5483
+ "Repository",
5484
+ "Arb",
5485
+ "Arbitration",
5486
+ "Service",
5487
+ "Machine",
5488
+ "Order",
5489
+ "Progress",
5490
+ "Payment",
5491
+ "Treasury",
5492
+ "Guard",
5493
+ "Demand",
5494
+ "Passport",
5495
+ "Allocation",
5496
+ "Resource",
5497
+ "Reward",
5498
+ "Discount",
5499
+ "EntityRegistrar",
5500
+ "EntityLinker",
5501
+ "Proof",
5502
+ "WReceivedObject",
5503
+ "Contact",
5504
+ "TableItem_ProgressHistory",
5505
+ "TableItem_PermissionPerm",
5506
+ "TableItem_DemandPresenter",
5507
+ "TableItem_MachineNode",
5508
+ "TableItem_TreasuryHistory",
5509
+ "TableItem_RepositoryData",
5510
+ "TableItem_RewardRecord",
5511
+ "TableItem_EntityLinker",
5512
+ "TableItem_AddressMark",
5513
+ "TableItem_EntityRegistrar"
5514
+ ]
5515
+ },
5516
+ "type_raw": {
5517
+ "description": "Raw object type",
5518
+ "type": "string"
5519
+ },
5520
+ "owner": {
5521
+ "description": "Object owner",
5522
+ "anyOf": [
5523
+ {
5524
+ "anyOf": [
5525
+ {
5526
+ "type": "object",
5527
+ "properties": {
5528
+ "AddressOwner": {
5529
+ "type": "string",
5530
+ "description": "Address owner"
5531
+ }
5532
+ },
5533
+ "required": [
5534
+ "AddressOwner"
5535
+ ],
5536
+ "additionalProperties": false
5537
+ },
5538
+ {
5539
+ "type": "object",
5540
+ "properties": {
5541
+ "ObjectOwner": {
5542
+ "type": "string",
5543
+ "description": "Object owner"
5544
+ }
5545
+ },
5546
+ "required": [
5547
+ "ObjectOwner"
5548
+ ],
5549
+ "additionalProperties": false
5550
+ },
5551
+ {
5552
+ "type": "object",
5553
+ "properties": {
5554
+ "Shared": {
5555
+ "type": "object",
5556
+ "properties": {
5557
+ "initial_shared_version": {
5558
+ "anyOf": [
5559
+ {
5560
+ "type": "string"
5561
+ },
5562
+ {
5563
+ "type": "number"
5564
+ }
5565
+ ],
5566
+ "description": "Version when object became shared"
5567
+ }
5568
+ },
5569
+ "required": [
5570
+ "initial_shared_version"
5571
+ ],
5572
+ "additionalProperties": false,
5573
+ "description": "Shared object"
5574
+ }
5575
+ },
5576
+ "required": [
5577
+ "Shared"
5578
+ ],
5579
+ "additionalProperties": false
5580
+ },
5581
+ {
5582
+ "type": "string",
5583
+ "const": "Immutable"
5584
+ },
5585
+ {
5586
+ "type": "object",
5587
+ "properties": {
5588
+ "ConsensusAddressOwner": {
5589
+ "type": "object",
5590
+ "properties": {
5591
+ "owner": {
5592
+ "type": "string",
5593
+ "description": "Consensus ID owner"
5594
+ },
5595
+ "start_version": {
5596
+ "anyOf": [
5597
+ {
5598
+ "type": "string"
5599
+ },
5600
+ {
5601
+ "type": "number"
5602
+ }
5603
+ ],
5604
+ "description": "Version when object recently became consensus object"
5605
+ }
5606
+ },
5607
+ "required": [
5608
+ "owner",
5609
+ "start_version"
5610
+ ],
5611
+ "additionalProperties": false,
5612
+ "description": "Consensus ID owner"
5613
+ }
5614
+ },
5615
+ "required": [
5616
+ "ConsensusAddressOwner"
5617
+ ],
5618
+ "additionalProperties": false
5619
+ }
5620
+ ],
5621
+ "description": "Object owner"
5622
+ },
5623
+ {
5624
+ "type": "null"
5625
+ }
5626
+ ]
5627
+ },
5628
+ "version": {
5629
+ "description": "Object version",
5630
+ "anyOf": [
5631
+ {
5632
+ "type": "string"
5633
+ },
5634
+ {
5635
+ "type": "number"
5636
+ }
5637
+ ]
5638
+ },
5639
+ "previousTransaction": {
5640
+ "description": "Previous transaction ID",
5641
+ "type": "string"
5642
+ },
5643
+ "cache_expire": {
5644
+ "description": "Cache expiration time",
5645
+ "anyOf": [
5646
+ {
5647
+ "type": "number"
5648
+ },
5649
+ {
5650
+ "type": "string",
5651
+ "const": "INFINITE"
5652
+ }
5653
+ ]
5654
+ },
5655
+ "query_name": {
5656
+ "description": "Original query name or address used to retrieve this object",
5657
+ "type": "string"
5658
+ },
5659
+ "content_raw": {
5660
+ "description": "Raw content data for unknown object types"
5661
+ },
5662
+ "_guard_node_comments": {
5663
+ "description": "Additional comments for Guard node instructions",
5664
+ "type": "array",
5665
+ "items": {
5666
+ "type": "object",
5667
+ "properties": {
5668
+ "type": {
5669
+ "type": "string"
5670
+ },
5671
+ "description": {
5672
+ "type": "string"
5673
+ }
5674
+ },
5675
+ "required": [
5676
+ "type",
5677
+ "description"
5678
+ ],
5679
+ "additionalProperties": false
5680
+ }
5681
+ },
5682
+ "address": {
5683
+ "type": "string",
5684
+ "description": "Target object address"
5685
+ },
5686
+ "items": {
5687
+ "type": "array",
5688
+ "items": {
5689
+ "type": "object",
5690
+ "properties": {
5691
+ "who": {
5692
+ "type": "string",
5693
+ "description": "Tx object address that binds to the target (FIFO window)"
5694
+ },
5695
+ "time": {
5696
+ "anyOf": [
5697
+ {
5698
+ "type": "number"
5699
+ },
5700
+ {
5701
+ "type": "string"
5702
+ }
5703
+ ],
5704
+ "description": "On-chain clock (ms) when the tx object bound"
5705
+ }
5706
+ },
5707
+ "required": [
5708
+ "who",
5709
+ "time"
5710
+ ],
5711
+ "additionalProperties": false
5712
+ },
5713
+ "description": "Recent tx objects binding to the target"
5714
+ }
5715
+ },
5716
+ "required": [
5717
+ "object",
5718
+ "address",
5719
+ "items"
5720
+ ],
5721
+ "additionalProperties": {}
5722
+ },
5723
+ "object": {
5724
+ "description": "The object itself when the address is a business object.",
5725
+ "type": "object",
5726
+ "properties": {
5727
+ "object": {
5728
+ "type": "string",
5729
+ "description": "Object ID"
5730
+ },
5731
+ "type": {
5732
+ "description": "Object type",
5733
+ "type": "string",
5734
+ "enum": [
5735
+ "Permission",
5736
+ "Repository",
5737
+ "Arb",
5738
+ "Arbitration",
5739
+ "Service",
5740
+ "Machine",
5741
+ "Order",
5742
+ "Progress",
5743
+ "Payment",
5744
+ "Treasury",
5745
+ "Guard",
5746
+ "Demand",
5747
+ "Passport",
5748
+ "Allocation",
5749
+ "Resource",
5750
+ "Reward",
5751
+ "Discount",
5752
+ "EntityRegistrar",
5753
+ "EntityLinker",
5754
+ "Proof",
5755
+ "WReceivedObject",
5756
+ "Contact",
5757
+ "TableItem_ProgressHistory",
5758
+ "TableItem_PermissionPerm",
5759
+ "TableItem_DemandPresenter",
5760
+ "TableItem_MachineNode",
5761
+ "TableItem_TreasuryHistory",
5762
+ "TableItem_RepositoryData",
5763
+ "TableItem_RewardRecord",
5764
+ "TableItem_EntityLinker",
5765
+ "TableItem_AddressMark",
5766
+ "TableItem_EntityRegistrar"
5767
+ ]
5768
+ },
5769
+ "type_raw": {
5770
+ "description": "Raw object type",
5771
+ "type": "string"
5772
+ },
5773
+ "owner": {
5774
+ "description": "Object owner",
5775
+ "anyOf": [
5776
+ {
5777
+ "anyOf": [
5778
+ {
5779
+ "type": "object",
5780
+ "properties": {
5781
+ "AddressOwner": {
5782
+ "type": "string",
5783
+ "description": "Address owner"
5784
+ }
5785
+ },
5786
+ "required": [
5787
+ "AddressOwner"
5788
+ ],
5789
+ "additionalProperties": false
5790
+ },
5791
+ {
5792
+ "type": "object",
5793
+ "properties": {
5794
+ "ObjectOwner": {
5795
+ "type": "string",
5796
+ "description": "Object owner"
5797
+ }
5798
+ },
5799
+ "required": [
5800
+ "ObjectOwner"
5801
+ ],
5802
+ "additionalProperties": false
5803
+ },
5804
+ {
5805
+ "type": "object",
5806
+ "properties": {
5807
+ "Shared": {
5808
+ "type": "object",
5809
+ "properties": {
5810
+ "initial_shared_version": {
5811
+ "anyOf": [
5812
+ {
5813
+ "type": "string"
5814
+ },
5815
+ {
5816
+ "type": "number"
5817
+ }
5818
+ ],
5819
+ "description": "Version when object became shared"
5820
+ }
5821
+ },
5822
+ "required": [
5823
+ "initial_shared_version"
5824
+ ],
5825
+ "additionalProperties": false,
5826
+ "description": "Shared object"
5827
+ }
5828
+ },
5829
+ "required": [
5830
+ "Shared"
5831
+ ],
5832
+ "additionalProperties": false
5833
+ },
5834
+ {
5835
+ "type": "string",
5836
+ "const": "Immutable"
5837
+ },
5838
+ {
5839
+ "type": "object",
5840
+ "properties": {
5841
+ "ConsensusAddressOwner": {
5842
+ "type": "object",
5843
+ "properties": {
5844
+ "owner": {
5845
+ "type": "string",
5846
+ "description": "Consensus ID owner"
5847
+ },
5848
+ "start_version": {
5849
+ "anyOf": [
5850
+ {
5851
+ "type": "string"
5852
+ },
5853
+ {
5854
+ "type": "number"
5855
+ }
5856
+ ],
5857
+ "description": "Version when object recently became consensus object"
5858
+ }
5859
+ },
5860
+ "required": [
5861
+ "owner",
5862
+ "start_version"
5863
+ ],
5864
+ "additionalProperties": false,
5865
+ "description": "Consensus ID owner"
5866
+ }
5867
+ },
5868
+ "required": [
5869
+ "ConsensusAddressOwner"
5870
+ ],
5871
+ "additionalProperties": false
5872
+ }
5873
+ ],
5874
+ "description": "Object owner"
5875
+ },
5876
+ {
5877
+ "type": "null"
5878
+ }
5879
+ ]
5880
+ },
5881
+ "version": {
5882
+ "description": "Object version",
5883
+ "anyOf": [
5884
+ {
5885
+ "type": "string"
5886
+ },
5887
+ {
5888
+ "type": "number"
5889
+ }
5890
+ ]
5891
+ },
5892
+ "previousTransaction": {
5893
+ "description": "Previous transaction ID",
5894
+ "type": "string"
5895
+ },
5896
+ "cache_expire": {
5897
+ "description": "Cache expiration time",
5898
+ "anyOf": [
5899
+ {
5900
+ "type": "number"
5901
+ },
5902
+ {
5903
+ "type": "string",
5904
+ "const": "INFINITE"
5905
+ }
5906
+ ]
5907
+ },
5908
+ "query_name": {
5909
+ "description": "Original query name or address used to retrieve this object",
5910
+ "type": "string"
5911
+ },
5912
+ "content_raw": {
5913
+ "description": "Raw content data for unknown object types"
5914
+ },
5915
+ "_guard_node_comments": {
5916
+ "description": "Additional comments for Guard node instructions",
5917
+ "type": "array",
5918
+ "items": {
5919
+ "type": "object",
5920
+ "properties": {
5921
+ "type": {
5922
+ "type": "string"
5923
+ },
5924
+ "description": {
5925
+ "type": "string"
5926
+ }
5927
+ },
5928
+ "required": [
5929
+ "type",
5930
+ "description"
5931
+ ],
5932
+ "additionalProperties": false
5933
+ }
5934
+ }
5935
+ },
5936
+ "required": [
5937
+ "object"
5938
+ ],
5939
+ "additionalProperties": {}
5940
+ },
5941
+ "activity": {
5942
+ "type": "object",
5943
+ "properties": {
5944
+ "last_active_ms": {
5945
+ "type": "number",
5946
+ "description": "Latest on-chain activity timestamp (ms) across queried dimensions."
5947
+ },
5948
+ "signal_count": {
5949
+ "type": "integer",
5950
+ "minimum": 0,
5951
+ "maximum": 9007199254740991,
5952
+ "description": "Count of activity signals (orders + votes + tx bindings)."
5953
+ },
5954
+ "active": {
5955
+ "type": "boolean",
5956
+ "description": "Whether the address has any on-chain activity (false = likely dormant)."
5957
+ }
5958
+ },
5959
+ "required": [
5960
+ "last_active_ms",
5961
+ "signal_count",
5962
+ "active"
5963
+ ],
5964
+ "additionalProperties": false,
5965
+ "description": "Aggregated activity summary (K3 22 §13 P1-6)."
5966
+ },
5967
+ "role_evidence": {
5968
+ "type": "object",
5969
+ "properties": {
5970
+ "customer_orders": {
5971
+ "type": "integer",
5972
+ "minimum": 0,
5973
+ "maximum": 9007199254740991,
5974
+ "description": "Orders the address participates in as owner (customer signal)."
5975
+ },
5976
+ "agent_orders": {
5977
+ "type": "integer",
5978
+ "minimum": 0,
5979
+ "maximum": 9007199254740991,
5980
+ "description": "Orders the address participates in as agent (collaborator signal)."
5981
+ },
5982
+ "merchant_signal": {
5983
+ "type": "boolean",
5984
+ "description": "Whether bounded core objects bind to this address (merchant/supplier signal)."
5985
+ },
5986
+ "role_hint": {
5987
+ "type": "string",
5988
+ "description": "Dominant role hint (prospect when no signal)."
5989
+ }
5990
+ },
5991
+ "required": [
5992
+ "customer_orders",
5993
+ "agent_orders",
5994
+ "merchant_signal",
5995
+ "role_hint"
5996
+ ],
5997
+ "additionalProperties": false,
5998
+ "description": "Role evidence derived from the address's on-chain facts (K3 22 §13 P1-7)."
5999
+ },
6000
+ "service_analysis": {
6001
+ "description": "Service-type analysis merged into the address profile (present for Service addresses).",
6002
+ "anyOf": [
6003
+ {
6004
+ "type": "object",
6005
+ "properties": {
6006
+ "description": {
6007
+ "anyOf": [
6008
+ {
6009
+ "type": "string"
6010
+ },
6011
+ {
6012
+ "type": "null"
6013
+ }
6014
+ ],
6015
+ "description": "Service on-chain description."
6016
+ },
6017
+ "sales_count": {
6018
+ "type": "number",
6019
+ "description": "Number of sales (products/services) configured."
6020
+ },
6021
+ "live_sales_count": {
6022
+ "type": "number",
6023
+ "description": "Sale entries currently on sale (not suspended)."
6024
+ },
6025
+ "paused_sales_count": {
6026
+ "type": "number",
6027
+ "description": "Sale entries currently paused (suspended)."
6028
+ },
6029
+ "orders_count": {
6030
+ "type": "number",
6031
+ "description": "Orders registered under this Service in the GLOBAL ORDER TABLE (ObjectLinkerTx 0xaaf; order.move:110 writes every order to its Service key). Same source as the panorama Orders tab."
6032
+ },
6033
+ "orders_count_truncated": {
6034
+ "type": "boolean",
6035
+ "description": "Always false today — the table content is returned in full. The table is a lossy FIFO, so very old entries may have been evicted on-chain."
6036
+ },
6037
+ "like_count": {
6038
+ "type": "number",
6039
+ "description": "Public like (up-vote) count for this Service's address."
6040
+ },
6041
+ "dislike_count": {
6042
+ "type": "number",
6043
+ "description": "Public dislike (down-vote) count for this Service's address."
6044
+ },
6045
+ "favor_count": {
6046
+ "type": "number",
6047
+ "description": "Public favor (bookmark/star) count for this Service's address."
6048
+ },
6049
+ "votes": {
6050
+ "type": "array",
6051
+ "items": {
6052
+ "type": "object",
6053
+ "properties": {
6054
+ "who": {
6055
+ "anyOf": [
6056
+ {
6057
+ "type": "string"
6058
+ },
6059
+ {
6060
+ "type": "null"
6061
+ }
6062
+ ],
6063
+ "description": "Voter address."
6064
+ },
6065
+ "like": {
6066
+ "type": "boolean",
6067
+ "description": "True when this voter's current vote is LIKE."
6068
+ },
6069
+ "dislike": {
6070
+ "type": "boolean",
6071
+ "description": "True when this voter's current vote is DISLIKE."
6072
+ },
6073
+ "favor": {
6074
+ "type": "boolean",
6075
+ "description": "True when this voter's current vote is FAVOR (bookmark)."
6076
+ },
6077
+ "time": {
6078
+ "anyOf": [
6079
+ {
6080
+ "anyOf": [
6081
+ {
6082
+ "type": "string"
6083
+ },
6084
+ {
6085
+ "type": "number"
6086
+ }
6087
+ ]
6088
+ },
6089
+ {
6090
+ "type": "null"
6091
+ }
6092
+ ],
6093
+ "description": "Vote timestamp (ms)."
6094
+ }
6095
+ },
6096
+ "required": [
6097
+ "who",
6098
+ "like",
6099
+ "dislike",
6100
+ "favor",
6101
+ "time"
6102
+ ],
6103
+ "additionalProperties": false
6104
+ },
6105
+ "description": "Per-voter vote detail for this Service's address. Votes are TOGGLES: re-casting the same vote kind with the same account cancels it, and like/dislike auto-flip each other. UIs use this to mark already-voted accounts."
6106
+ },
6107
+ "coin_type": {
6108
+ "anyOf": [
6109
+ {
6110
+ "type": "string"
6111
+ },
6112
+ {
6113
+ "type": "null"
6114
+ }
6115
+ ],
6116
+ "description": "Payment token generic of Service<T> (e.g. 0x2::wow::WOW)."
6117
+ },
6118
+ "token_symbol": {
6119
+ "anyOf": [
6120
+ {
6121
+ "type": "string"
6122
+ },
6123
+ {
6124
+ "type": "null"
6125
+ }
6126
+ ],
6127
+ "description": "Payment token short symbol (e.g. WOW, ETH)."
6128
+ },
6129
+ "location": {
6130
+ "anyOf": [
6131
+ {
6132
+ "type": "string"
6133
+ },
6134
+ {
6135
+ "type": "null"
6136
+ }
6137
+ ],
6138
+ "description": "Service location string (e.g. city / region where the service is delivered)."
6139
+ },
6140
+ "bPublished": {
6141
+ "anyOf": [
6142
+ {
6143
+ "type": "boolean"
6144
+ },
6145
+ {
6146
+ "type": "null"
6147
+ }
6148
+ ],
6149
+ "description": "Whether the Service is published."
6150
+ },
6151
+ "bPaused": {
6152
+ "anyOf": [
6153
+ {
6154
+ "type": "boolean"
6155
+ },
6156
+ {
6157
+ "type": "null"
2740
6158
  }
2741
- },
2742
- "required": [
2743
- "ObjectOwner"
2744
6159
  ],
2745
- "additionalProperties": false
6160
+ "description": "Whether the Service is paused."
2746
6161
  },
2747
- {
2748
- "type": "object",
2749
- "properties": {
2750
- "Shared": {
6162
+ "related_core_count": {
6163
+ "type": "number",
6164
+ "description": "Bounded core objects binding to this Service (Machine/Permission/etc.)."
6165
+ },
6166
+ "related_tx_count": {
6167
+ "type": "number",
6168
+ "description": "Operational objects binding to this Service (orders/progress, recent window)."
6169
+ },
6170
+ "related_object_count": {
6171
+ "type": "number",
6172
+ "description": "Total related objects (core + tx)."
6173
+ },
6174
+ "onchain_last_updated": {
6175
+ "anyOf": [
6176
+ {
2751
6177
  "type": "object",
2752
6178
  "properties": {
2753
- "initial_shared_version": {
2754
- "anyOf": [
2755
- {
2756
- "type": "string"
2757
- },
2758
- {
2759
- "type": "number"
2760
- }
2761
- ],
2762
- "description": "Version when object became shared"
6179
+ "timestamp_ms": {
6180
+ "type": "string",
6181
+ "description": "Most recent transaction timestamp (ms)."
6182
+ },
6183
+ "digest": {
6184
+ "description": "Transaction digest.",
6185
+ "type": "string"
6186
+ },
6187
+ "sender": {
6188
+ "description": "Transaction sender.",
6189
+ "type": "string"
2763
6190
  }
2764
6191
  },
2765
6192
  "required": [
2766
- "initial_shared_version"
6193
+ "timestamp_ms"
2767
6194
  ],
2768
- "additionalProperties": false,
2769
- "description": "Shared object"
6195
+ "additionalProperties": false
6196
+ },
6197
+ {
6198
+ "type": "null"
2770
6199
  }
2771
- },
2772
- "required": [
2773
- "Shared"
2774
6200
  ],
2775
- "additionalProperties": false
2776
- },
2777
- {
2778
- "type": "string",
2779
- "const": "Immutable"
6201
+ "description": "Most recent transaction that touched the Service."
2780
6202
  },
2781
- {
2782
- "type": "object",
2783
- "properties": {
2784
- "ConsensusAddressOwner": {
6203
+ "trust": {
6204
+ "anyOf": [
6205
+ {
2785
6206
  "type": "object",
2786
6207
  "properties": {
2787
- "owner": {
6208
+ "trust_score": {
6209
+ "type": "number",
6210
+ "description": "0-100 trust score (arbitration/reviews/fulfillment/fund_safety/transparency)."
6211
+ },
6212
+ "trust_level": {
2788
6213
  "type": "string",
2789
- "description": "Consensus ID owner"
6214
+ "description": "Trust level."
2790
6215
  },
2791
- "start_version": {
6216
+ "trust_summary": {
6217
+ "type": "string",
6218
+ "description": "Trust summary."
6219
+ },
6220
+ "risk_score": {
6221
+ "anyOf": [
6222
+ {
6223
+ "type": "number"
6224
+ },
6225
+ {
6226
+ "type": "null"
6227
+ }
6228
+ ],
6229
+ "description": "0-100 risk score (workflow/fund/trust/behavior)."
6230
+ },
6231
+ "risk_level": {
2792
6232
  "anyOf": [
2793
6233
  {
2794
6234
  "type": "string"
2795
6235
  },
6236
+ {
6237
+ "type": "null"
6238
+ }
6239
+ ],
6240
+ "description": "Risk level."
6241
+ },
6242
+ "completeness": {
6243
+ "anyOf": [
2796
6244
  {
2797
6245
  "type": "number"
6246
+ },
6247
+ {
6248
+ "type": "null"
2798
6249
  }
2799
6250
  ],
2800
- "description": "Version when object recently became consensus object"
6251
+ "description": "Info-puzzle completeness (0-100)."
2801
6252
  }
2802
6253
  },
2803
6254
  "required": [
2804
- "owner",
2805
- "start_version"
6255
+ "trust_score",
6256
+ "trust_level",
6257
+ "trust_summary",
6258
+ "risk_score",
6259
+ "risk_level",
6260
+ "completeness"
2806
6261
  ],
2807
- "additionalProperties": false,
2808
- "description": "Consensus ID owner"
6262
+ "additionalProperties": false
6263
+ },
6264
+ {
6265
+ "type": "null"
2809
6266
  }
2810
- },
2811
- "required": [
2812
- "ConsensusAddressOwner"
2813
6267
  ],
2814
- "additionalProperties": false
6268
+ "description": "Service trust/risk assessment (merged from the trust evaluation kernel)."
2815
6269
  }
6270
+ },
6271
+ "required": [
6272
+ "description",
6273
+ "sales_count",
6274
+ "live_sales_count",
6275
+ "paused_sales_count",
6276
+ "orders_count",
6277
+ "orders_count_truncated",
6278
+ "like_count",
6279
+ "dislike_count",
6280
+ "favor_count",
6281
+ "votes",
6282
+ "coin_type",
6283
+ "token_symbol",
6284
+ "location",
6285
+ "bPublished",
6286
+ "bPaused",
6287
+ "related_core_count",
6288
+ "related_tx_count",
6289
+ "related_object_count",
6290
+ "onchain_last_updated",
6291
+ "trust"
2816
6292
  ],
2817
- "description": "Object owner"
6293
+ "additionalProperties": false
2818
6294
  },
2819
6295
  {
2820
6296
  "type": "null"
2821
6297
  }
2822
6298
  ]
6299
+ }
6300
+ },
6301
+ "required": [
6302
+ "address",
6303
+ "kind",
6304
+ "is_system_singleton",
6305
+ "activity",
6306
+ "role_evidence"
6307
+ ],
6308
+ "additionalProperties": false
6309
+ },
6310
+ {
6311
+ "type": "null"
6312
+ }
6313
+ ]
6314
+ }
6315
+ },
6316
+ "required": [
6317
+ "query_type"
6318
+ ],
6319
+ "additionalProperties": false
6320
+ },
6321
+ {
6322
+ "type": "object",
6323
+ "properties": {
6324
+ "query_type": {
6325
+ "type": "string",
6326
+ "const": "service_supply_chain"
6327
+ },
6328
+ "result": {
6329
+ "description": "The Service's transparent sub-order purchasing graph (empty edges when no purchasing commitments exist).",
6330
+ "anyOf": [
6331
+ {
6332
+ "type": "object",
6333
+ "properties": {
6334
+ "service": {
6335
+ "type": "string",
6336
+ "description": "The Service address whose purchasing graph was resolved."
2823
6337
  },
2824
- "version": {
2825
- "description": "Object version",
2826
- "anyOf": [
2827
- {
2828
- "type": "string"
2829
- },
2830
- {
2831
- "type": "number"
2832
- }
2833
- ]
2834
- },
2835
- "previousTransaction": {
2836
- "description": "Previous transaction ID",
2837
- "type": "string"
2838
- },
2839
- "cache_expire": {
2840
- "description": "Cache expiration time",
2841
- "anyOf": [
2842
- {
2843
- "type": "number"
2844
- },
2845
- {
2846
- "type": "string",
2847
- "const": "INFINITE"
2848
- }
2849
- ]
2850
- },
2851
- "query_name": {
2852
- "description": "Original query name or address used to retrieve this object",
6338
+ "machine": {
6339
+ "description": "The bound Machine address (absent when the Service has no Machine).",
2853
6340
  "type": "string"
2854
6341
  },
2855
- "content_raw": {
2856
- "description": "Raw content data for unknown object types"
2857
- },
2858
- "_guard_node_comments": {
2859
- "description": "Additional comments for Guard node instructions",
6342
+ "edges": {
2860
6343
  "type": "array",
2861
6344
  "items": {
2862
6345
  "type": "object",
2863
6346
  "properties": {
2864
- "type": {
2865
- "type": "string"
6347
+ "node": {
6348
+ "type": "string",
6349
+ "description": "Owning node name (the node whose pair carries this forward)."
2866
6350
  },
2867
- "description": {
2868
- "type": "string"
2869
- }
2870
- },
2871
- "required": [
2872
- "type",
2873
- "description"
2874
- ],
2875
- "additionalProperties": false
2876
- }
2877
- },
2878
- "address": {
2879
- "type": "string",
2880
- "description": "Target object address"
2881
- },
2882
- "items": {
2883
- "type": "array",
2884
- "items": {
2885
- "type": "object",
2886
- "properties": {
2887
- "who": {
6351
+ "prev_node": {
2888
6352
  "type": "string",
2889
- "description": "Tx object address that binds to the target (FIFO window)"
6353
+ "description": "Previous node name (the transition source)."
2890
6354
  },
2891
- "time": {
2892
- "anyOf": [
2893
- {
2894
- "type": "number"
6355
+ "forward": {
6356
+ "type": "string",
6357
+ "description": "Forward name."
6358
+ },
6359
+ "guard": {
6360
+ "type": "string",
6361
+ "description": "The purchasing-commitment Guard address."
6362
+ },
6363
+ "purchased_services": {
6364
+ "type": "array",
6365
+ "items": {
6366
+ "type": "object",
6367
+ "properties": {
6368
+ "identifier": {
6369
+ "type": "integer",
6370
+ "minimum": 0,
6371
+ "maximum": 255,
6372
+ "description": "Guard table identifier."
6373
+ },
6374
+ "name": {
6375
+ "type": "string",
6376
+ "description": "Guard table item name (human-readable field name)."
6377
+ },
6378
+ "address": {
6379
+ "type": "string",
6380
+ "description": "The purchased sub-service address (or LocalMark name if not resolvable)."
6381
+ }
2895
6382
  },
2896
- {
2897
- "type": "string"
2898
- }
2899
- ],
2900
- "description": "On-chain clock (ms) when the tx object bound"
6383
+ "required": [
6384
+ "identifier",
6385
+ "name",
6386
+ "address"
6387
+ ],
6388
+ "additionalProperties": false
6389
+ },
6390
+ "description": "Fixed sub-services purchased by this forward (guard address fields, b_submission=false)."
6391
+ },
6392
+ "required_submissions": {
6393
+ "type": "array",
6394
+ "items": {
6395
+ "type": "object",
6396
+ "properties": {
6397
+ "identifier": {
6398
+ "type": "integer",
6399
+ "minimum": 0,
6400
+ "maximum": 255,
6401
+ "description": "Guard table identifier."
6402
+ },
6403
+ "name": {
6404
+ "type": "string",
6405
+ "description": "Guard table item name (human-readable field name)."
6406
+ },
6407
+ "value_type": {
6408
+ "type": "string",
6409
+ "description": "Expected value type name (e.g. Address, U64, String)."
6410
+ }
6411
+ },
6412
+ "required": [
6413
+ "identifier",
6414
+ "name",
6415
+ "value_type"
6416
+ ],
6417
+ "additionalProperties": false
6418
+ },
6419
+ "description": "Dynamic sub-order proof fields required to advance this forward (b_submission=true)."
2901
6420
  }
2902
6421
  },
2903
6422
  "required": [
2904
- "who",
2905
- "time"
6423
+ "node",
6424
+ "prev_node",
6425
+ "forward",
6426
+ "guard",
6427
+ "purchased_services",
6428
+ "required_submissions"
2906
6429
  ],
2907
6430
  "additionalProperties": false
2908
6431
  },
2909
- "description": "Recent tx objects binding to the target"
6432
+ "description": "Directed supply-chain edges: each forward's purchased sub-services + required proofs."
2910
6433
  }
2911
6434
  },
2912
6435
  "required": [
2913
- "object",
2914
- "address",
2915
- "items"
6436
+ "service",
6437
+ "edges"
2916
6438
  ],
2917
- "additionalProperties": {},
2918
- "description": "Object-linker tx reverse index item"
6439
+ "additionalProperties": false
2919
6440
  },
2920
- {}
6441
+ {
6442
+ "type": "null"
6443
+ }
2921
6444
  ]
2922
6445
  }
2923
6446
  },
2924
6447
  "required": [
2925
- "query_type",
2926
- "result"
6448
+ "query_type"
2927
6449
  ],
2928
6450
  "additionalProperties": false
2929
6451
  },
@@ -3152,8 +6674,15 @@
3152
6674
  "description": "Reward recipient ID"
3153
6675
  },
3154
6676
  "guard": {
3155
- "type": "string",
3156
- "description": "Guard object ID"
6677
+ "description": "Guard object ID (RecipientRecord carries none — the per-claim Record.guard is the verified guard)",
6678
+ "anyOf": [
6679
+ {
6680
+ "type": "string"
6681
+ },
6682
+ {
6683
+ "type": "null"
6684
+ }
6685
+ ]
3157
6686
  },
3158
6687
  "total": {
3159
6688
  "anyOf": [
@@ -3171,6 +6700,17 @@
3171
6700
  "items": {
3172
6701
  "type": "object",
3173
6702
  "properties": {
6703
+ "guard": {
6704
+ "description": "Guard that verified this claim (reward.move Record.guard)",
6705
+ "anyOf": [
6706
+ {
6707
+ "type": "string"
6708
+ },
6709
+ {
6710
+ "type": "null"
6711
+ }
6712
+ ]
6713
+ },
3174
6714
  "amount": {
3175
6715
  "anyOf": [
3176
6716
  {
@@ -3217,7 +6757,6 @@
3217
6757
  "required": [
3218
6758
  "object",
3219
6759
  "recipient",
3220
- "guard",
3221
6760
  "total",
3222
6761
  "record"
3223
6762
  ],
@@ -4073,7 +7612,7 @@
4073
7612
  },
4074
7613
  "threshold": {
4075
7614
  "default": 0,
4076
- "description": "Threshold to trigger node advancement. If total Forward weight is greater than or equal to threshold, node advancement is triggered.",
7615
+ "description": "Threshold to trigger node advancement. If total Forward weight is greater than or equal to threshold, node advancement is triggered. ⚠️ SINGLE-OPERATOR LOCK: each forward contributes its weight AT MOST ONCE (locked by its first operator — progress.move session_accomplish_imp; re-execution by others aborts E_NOT_THE_HOLDER). The maximum achievable weight of this Pair is the sum of its DISTINCT forward weights — if that sum < threshold the transition can NEVER migrate. Multi-operator cooperation (threshold > 1) needs one DISTINCT forward per contributing operator (e.g. threshold 2 → begin_a + begin_b, each weight 1), never one forward reused by several people.",
4077
7616
  "anyOf": [
4078
7617
  {
4079
7618
  "type": "number"
@@ -4126,7 +7665,7 @@
4126
7665
  "type": "string"
4127
7666
  }
4128
7667
  ],
4129
- "description": "Forward weight"
7668
+ "description": "Forward weight — the contribution this forward makes toward its Pair's threshold. ⚠️ SINGLE-OPERATOR LOCK: a forward contributes its weight AT MOST ONCE. It is locked by the first operator that accomplishes it (progress.move session_accomplish_imp); a second operator re-executing the same accomplished forward aborts E_NOT_THE_HOLDER. Therefore multi-operator cooperation (threshold > 1) needs one DISTINCT forward per contributing operator (e.g. threshold 2 → begin_a + begin_b, each weight 1) — never reuse one forward."
4130
7669
  },
4131
7670
  "guard": {
4132
7671
  "description": "Guard reference for this forward. Accepts TWO formats:\n• STRING (preferred): \"my_guard_name\" — the Guard's name or address as a plain string.\n• OBJECT (only when retained_submission is needed): {guard: \"my_guard_name\", retained_submission: [1,2,3]}.\nFOLLOW THE SCHEMA FIELD STRUCTURE: A Guard reference is fundamentally a STRING (the Guard object's name or address). Provide a string when you only need to reference a Guard — do NOT wrap a bare string in an object structure. The OBJECT form {guard: \"...\", retained_submission: [...]} exists ONLY to carry additional `retained_submission` data alongside the string reference; inside the object, the `guard` field is STILL a string. In short: string-in for a string reference, object-in only when you need to pass extra data.\nCOGNITIVE PRINCIPLE: Guard validation ALWAYS occurs BEFORE the forward operation. A Guard that queries state of the SAME Progress object this forward operates on (e.g. progress.current) will see the PRE-transition value (source node), NOT the target node. If the Guard checks progress.current == target_node, it will ALWAYS FAIL. Querying a DIFFERENT Progress object (cross-machine) is safe and reasonable — that progress is not modified by this forward. For target-node verification after transition, bind the Guard to the Allocator instead (allocation.alloc runs AFTER the state transition completes).\n⚠️ T1 LOSSY POINT (B-3): WoWok has NO on-chain cron. A business phrase like 'after N days, auto-X' is NOT an automatic trigger — it decomposes into (1) a time_guard that checks elapsed time, and (2) an OFF-CHAIN keeper that must submit the forward when the guard passes. Configuring a time_guard WITHOUT a keeper means nothing ever fires.",
@@ -5817,11 +9356,13 @@
5817
9356
  "lifecycle",
5818
9357
  "state_change",
5819
9358
  "fund_flow",
9359
+ "market_opportunity",
9360
+ "reputation",
5820
9361
  "permission",
5821
9362
  "guard",
5822
9363
  "other"
5823
9364
  ],
5824
- "description": "Business category. Constraint: enum of 6 values. Example: 'lifecycle'"
9365
+ "description": "Business category. Constraint: enum of 8 values. 'market_opportunity' = supply/demand discovery signal (ServiceEvent/DemandChangedEvent/DemandPresentEvent, K3 13 §6.7); 'reputation' = trust-affecting signal (DemandFeedbackEvent). Example: 'fund_flow'"
5825
9366
  },
5826
9367
  "related_object": {
5827
9368
  "description": "Object ID the event relates to, if extractable. Example: '0x123...'",
@@ -6102,7 +9643,7 @@
6102
9643
  ]
6103
9644
  },
6104
9645
  "role_advice": {
6105
- "description": "Phase 4 P4-6.C: Role-targeted advice strings (merchant/customer/prospect/supplier/collaborator/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']",
9646
+ "description": "Phase 4 P4-6.C: Role-targeted advice strings (merchant/customer/demander/prospect/supplier/collaborator/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']",
6106
9647
  "type": "array",
6107
9648
  "items": {
6108
9649
  "type": "string"
@@ -6114,6 +9655,7 @@
6114
9655
  "enum": [
6115
9656
  "merchant",
6116
9657
  "customer",
9658
+ "demander",
6117
9659
  "prospect",
6118
9660
  "supplier",
6119
9661
  "collaborator",