@wowok/agent-mcp 2.7.2 → 2.7.4
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.
- package/dist/config/runtime.js +1 -1
- package/dist/customer/account-events.d.ts +32 -0
- package/dist/customer/account-events.js +1 -0
- package/dist/customer/customer-advice.d.ts +1 -0
- package/dist/customer/customer-advice.js +1 -1
- package/dist/customer/info-puzzle.js +1 -1
- package/dist/customer/order-strategy.d.ts +1 -1
- package/dist/customer/reminder-system.d.ts +2 -0
- package/dist/customer/reminder-system.js +1 -1
- package/dist/customer/risk-assessment.d.ts +1 -0
- package/dist/customer/risk-assessment.js +1 -1
- package/dist/customer/types.d.ts +2 -0
- package/dist/evaluation/builtins/arbitration-score.d.ts +41 -0
- package/dist/evaluation/builtins/arbitration-score.js +1 -0
- package/dist/evaluation/builtins/index.d.ts +1 -0
- package/dist/evaluation/builtins/index.js +1 -1
- package/dist/evaluation/category-match-rules.d.ts +30 -0
- package/dist/evaluation/category-match-rules.js +1 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/index.d.ts +1 -0
- package/dist/evaluation/index.js +1 -1
- package/dist/evaluation/location-match.d.ts +42 -0
- package/dist/evaluation/location-match.js +1 -0
- package/dist/evaluation/path-reasoning.d.ts +35 -0
- package/dist/evaluation/path-reasoning.js +1 -0
- package/dist/evaluation/region.d.ts +6 -0
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/types.d.ts +17 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/experience/user-profile.d.ts +1 -1
- package/dist/extensions/index.d.ts +6 -0
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-layers.d.ts +75 -0
- package/dist/extensions/industry-layers.js +1 -0
- package/dist/extensions/industry-pack.d.ts +105 -0
- package/dist/extensions/industry-pack.js +1 -0
- package/dist/extensions/metric-registry.js +1 -1
- package/dist/extensions/mode-evaluator.d.ts +1 -1
- package/dist/extensions/registry.d.ts +1 -0
- package/dist/extensions/registry.js +1 -1
- package/dist/graph/base.d.ts +8 -0
- package/dist/graph/base.js +1 -0
- package/dist/harness/index.d.ts +1 -0
- package/dist/harness/index.js +1 -1
- package/dist/harness/plan.d.ts +2 -0
- package/dist/harness/plan.js +1 -1
- package/dist/harness/recover.d.ts +1 -1
- package/dist/harness/types.d.ts +2 -3
- package/dist/index.js +1 -1
- package/dist/knowledge/allocation-confirm.js +1 -1
- package/dist/knowledge/anti-cheat.d.ts +37 -0
- package/dist/knowledge/anti-cheat.js +1 -0
- package/dist/knowledge/arb-confirm.d.ts +28 -0
- package/dist/knowledge/arb-confirm.js +1 -0
- package/dist/knowledge/arb-translation.d.ts +48 -0
- package/dist/knowledge/arb-translation.js +1 -0
- package/dist/knowledge/arbitration-context.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/bridge-confirm.d.ts +26 -0
- package/dist/knowledge/bridge-confirm.js +1 -0
- package/dist/knowledge/bridge-translation.d.ts +37 -0
- package/dist/knowledge/bridge-translation.js +1 -0
- package/dist/knowledge/contact-confirm.d.ts +27 -0
- package/dist/knowledge/contact-confirm.js +1 -0
- package/dist/knowledge/contact-translation.d.ts +39 -0
- package/dist/knowledge/contact-translation.js +1 -0
- package/dist/knowledge/demand-confirm.js +1 -1
- package/dist/knowledge/demand-context.d.ts +17 -0
- package/dist/knowledge/demand-context.js +1 -0
- package/dist/knowledge/demand-ledger.d.ts +26 -0
- package/dist/knowledge/demand-ledger.js +1 -0
- package/dist/knowledge/demand-puzzle.d.ts +29 -0
- package/dist/knowledge/demand-puzzle.js +1 -0
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/demand-templates.d.ts +12 -0
- package/dist/knowledge/demand-templates.js +1 -0
- package/dist/knowledge/demand-translation.js +1 -1
- package/dist/knowledge/deployment-scanner.js +1 -1
- package/dist/knowledge/evidence-review.d.ts +12 -0
- package/dist/knowledge/evidence-review.js +1 -0
- package/dist/knowledge/examples-scanner-cli.js +1 -1
- package/dist/knowledge/examples-scanner.js +1 -1
- package/dist/knowledge/flywheel-loop.d.ts +0 -1
- package/dist/knowledge/flywheel-loop.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-migration.d.ts +1 -1
- package/dist/knowledge/index.d.ts +71 -3
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/machine-render.js +1 -1
- package/dist/knowledge/market-metrics.d.ts +12 -0
- package/dist/knowledge/market-metrics.js +1 -0
- package/dist/knowledge/market-operations.d.ts +46 -0
- package/dist/knowledge/market-operations.js +1 -0
- package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
- package/dist/knowledge/mcp-schema-audit.d.ts +22 -22
- package/dist/knowledge/mcp-schema-audit.js +1 -1
- package/dist/knowledge/onchain-constants.d.ts +2 -2
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/payment-confirm.d.ts +26 -0
- package/dist/knowledge/payment-confirm.js +1 -0
- package/dist/knowledge/payment-risk.js +1 -1
- package/dist/knowledge/payment-translation.d.ts +37 -0
- package/dist/knowledge/payment-translation.js +1 -0
- package/dist/knowledge/permission-context.d.ts +11 -0
- package/dist/knowledge/permission-context.js +1 -1
- package/dist/knowledge/permission-ledger.d.ts +11 -0
- package/dist/knowledge/permission-ledger.js +1 -1
- package/dist/knowledge/personal-confirm.d.ts +29 -0
- package/dist/knowledge/personal-confirm.js +1 -0
- package/dist/knowledge/personal-risk.js +1 -1
- package/dist/knowledge/personal-translation.d.ts +37 -0
- package/dist/knowledge/personal-translation.js +1 -0
- package/dist/knowledge/process-model.d.ts +1 -11
- package/dist/knowledge/process-model.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/progress-templates.js +1 -1
- package/dist/knowledge/progress-translation.js +1 -1
- package/dist/knowledge/proof-context.d.ts +17 -0
- package/dist/knowledge/proof-context.js +1 -0
- package/dist/knowledge/proof-ledger.d.ts +34 -0
- package/dist/knowledge/proof-ledger.js +1 -0
- package/dist/knowledge/proof-puzzle.d.ts +35 -0
- package/dist/knowledge/proof-puzzle.js +1 -0
- package/dist/knowledge/proof-templates.d.ts +22 -0
- package/dist/knowledge/proof-templates.js +1 -0
- package/dist/knowledge/registrar-confirm.d.ts +26 -0
- package/dist/knowledge/registrar-confirm.js +1 -0
- package/dist/knowledge/registrar-risk.js +1 -1
- package/dist/knowledge/registrar-translation.d.ts +37 -0
- package/dist/knowledge/registrar-translation.js +1 -0
- package/dist/knowledge/repository-context.d.ts +12 -0
- package/dist/knowledge/repository-context.js +1 -0
- package/dist/knowledge/repository-ledger.d.ts +25 -0
- package/dist/knowledge/repository-ledger.js +1 -0
- package/dist/knowledge/repository-puzzle.d.ts +30 -0
- package/dist/knowledge/repository-puzzle.js +1 -0
- package/dist/knowledge/repository-templates.d.ts +14 -0
- package/dist/knowledge/repository-templates.js +1 -0
- package/dist/knowledge/resource-confirm.d.ts +25 -0
- package/dist/knowledge/resource-confirm.js +1 -0
- package/dist/knowledge/resource-translation.d.ts +37 -0
- package/dist/knowledge/resource-translation.js +1 -0
- package/dist/knowledge/reward-context.d.ts +2 -2
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/reward-translation.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +1 -0
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/service-risk.d.ts +1 -1
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/treasury-context.d.ts +1 -1
- package/dist/knowledge/treasury-context.js +1 -1
- package/dist/knowledge/treasury-ledger.js +1 -1
- package/dist/knowledge/treasury-risk.js +1 -1
- package/dist/knowledge/universal-template.d.ts +22 -0
- package/dist/knowledge/universal-template.js +1 -0
- package/dist/knowledge/util-confirm.d.ts +24 -0
- package/dist/knowledge/util-confirm.js +1 -0
- package/dist/knowledge/util-risk.js +1 -1
- package/dist/knowledge/util-translation.d.ts +39 -0
- package/dist/knowledge/util-translation.js +1 -0
- package/dist/knowledge/workflow-guidance.d.ts +180 -0
- package/dist/knowledge/workflow-guidance.js +1 -0
- package/dist/participation/employee-kpi.d.ts +25 -0
- package/dist/participation/employee-kpi.js +1 -0
- package/dist/participation/employee-store.d.ts +16 -0
- package/dist/participation/employee-store.js +1 -0
- package/dist/participation/index.d.ts +2 -0
- package/dist/participation/index.js +1 -0
- package/dist/persona/defaults.js +1 -1
- package/dist/persona/index.d.ts +9 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/local-region.d.ts +20 -0
- package/dist/persona/local-region.js +1 -0
- package/dist/persona/model.js +1 -1
- package/dist/persona/overrides.d.ts +10 -0
- package/dist/persona/overrides.js +1 -0
- package/dist/persona/pack-personae.d.ts +11 -0
- package/dist/persona/pack-personae.js +1 -0
- package/dist/persona/strategy-intent.d.ts +20 -0
- package/dist/persona/strategy-intent.js +1 -0
- package/dist/persona/types.d.ts +3 -1
- package/dist/project/business-puzzle.d.ts +1 -1
- package/dist/project/business-puzzle.js +1 -1
- package/dist/project/deployment-doc.js +1 -1
- package/dist/project/edit-planner.js +1 -1
- package/dist/project/evaluation.d.ts +37 -1
- package/dist/project/evaluation.js +1 -1
- package/dist/project/graph-builder.d.ts +2 -2
- package/dist/project/graph-builder.js +1 -1
- package/dist/project/graph.d.ts +3 -6
- package/dist/project/handlers.d.ts +33 -2
- package/dist/project/handlers.js +1 -1
- package/dist/project/index.d.ts +1 -0
- package/dist/project/index.js +1 -1
- package/dist/project/merchant-guide.d.ts +19 -0
- package/dist/project/merchant-guide.js +1 -1
- package/dist/project/mode-actions.js +1 -1
- package/dist/project/rollback-policy.js +1 -1
- package/dist/project/semantic-assembler.d.ts +2 -2
- package/dist/project/semantic-assembler.js +1 -1
- package/dist/project/semantic-graph.d.ts +3 -5
- package/dist/project/workflow-design-assessment.d.ts +24 -0
- package/dist/project/workflow-design-assessment.js +1 -0
- package/dist/safety/confirm-gate.d.ts +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +186 -1385
- package/dist/schema/call/arbitration.d.ts +272 -1871
- package/dist/schema/call/base.d.ts +1831 -9076
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +911 -3171
- package/dist/schema/call/contact.d.ts +135 -931
- package/dist/schema/call/demand.d.ts +164 -1194
- package/dist/schema/call/guard.d.ts +298 -1140
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +459 -5403
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +137 -844
- package/dist/schema/call/payment.d.ts +74 -561
- package/dist/schema/call/permission.d.ts +335 -2791
- package/dist/schema/call/personal.d.ts +227 -1814
- package/dist/schema/call/progress.d.ts +140 -843
- package/dist/schema/call/proof.d.ts +42 -258
- package/dist/schema/call/repository.d.ts +324 -2222
- package/dist/schema/call/reward.d.ts +153 -1183
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +376 -3431
- package/dist/schema/call/treasury.d.ts +252 -2158
- package/dist/schema/common/index.d.ts +222 -697
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +18 -161
- package/dist/schema/employee/index.d.ts +99 -0
- package/dist/schema/employee/index.js +1 -0
- package/dist/schema/evaluation/index.d.ts +1035 -3918
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/index.d.ts +5 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +132 -0
- package/dist/schema/industry-pack/index.js +1 -0
- package/dist/schema/intent-radar/index.d.ts +92 -245
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/local/index.d.ts +2045 -18080
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +61 -651
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +949 -5557
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +3168 -26468
- package/dist/schema/operations.js +1 -1
- package/dist/schema/permission/index.d.ts +121 -0
- package/dist/schema/permission/index.js +1 -0
- package/dist/schema/persona/index.d.ts +469 -1820
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/project/index.d.ts +1023 -8450
- package/dist/schema/project/index.js +1 -1
- package/dist/schema/query/index.d.ts +12121 -75556
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +35 -98
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/task-status.d.ts +26 -132
- package/dist/schema/trust/index.d.ts +194 -1290
- package/dist/schema/utils/guard-parser.js +1 -1
- package/dist/schema/utils/node-parser.js +1 -1
- package/dist/schema/utils/skills-recommendation.d.ts +1 -0
- package/dist/schema/utils/skills-recommendation.js +1 -1
- package/dist/schema/workflow/index.d.ts +161 -0
- package/dist/schema/workflow/index.js +1 -0
- package/dist/schema/workspace/index.d.ts +69 -0
- package/dist/schema/workspace/index.js +1 -0
- package/dist/{schema-query → schema-query-impl}/index.js +1 -1
- package/dist/schemas/account_operation.output.json +3147 -1655
- package/dist/schemas/account_operation.schema.json +225 -218
- package/dist/schemas/bridge_operation.output.json +1168 -653
- package/dist/schemas/bridge_operation.schema.json +736 -504
- package/dist/schemas/config_operation.output.json +185 -179
- package/dist/schemas/config_operation.schema.json +21 -26
- package/dist/schemas/employee_operation.output.json +207 -0
- package/dist/schemas/employee_operation.schema.json +176 -0
- package/dist/schemas/evaluation_operation.output.json +2268 -601
- package/dist/schemas/evaluation_operation.schema.json +2919 -787
- package/dist/schemas/guard2file.output.json +58 -64
- package/dist/schemas/guard2file.schema.json +79 -81
- package/dist/schemas/index.json +41 -11
- package/dist/schemas/industry_pack_operation.output.json +594 -0
- package/dist/schemas/industry_pack_operation.schema.json +55 -0
- package/dist/schemas/intent_radar.output.json +275 -203
- package/dist/schemas/intent_radar.schema.json +124 -126
- package/dist/schemas/local_info_operation.output.json +1174 -660
- package/dist/schemas/local_info_operation.schema.json +119 -125
- package/dist/schemas/local_mark_operation.output.json +1239 -692
- package/dist/schemas/local_mark_operation.schema.json +91 -96
- package/dist/schemas/machineNode2file.output.json +63 -69
- package/dist/schemas/machineNode2file.schema.json +79 -81
- package/dist/schemas/messenger_operation.output.json +2722 -1531
- package/dist/schemas/messenger_operation.schema.json +1482 -1264
- package/dist/schemas/onchain_events.output.json +2590 -978
- package/dist/schemas/onchain_events.schema.json +117 -99
- package/dist/schemas/onchain_operations.output.json +3957 -2312
- package/dist/schemas/onchain_operations.schema.json +20799 -9285
- package/dist/schemas/onchain_operations_allocation.schema.json +171 -107
- package/dist/schemas/onchain_operations_arbitration.schema.json +233 -146
- package/dist/schemas/onchain_operations_contact.schema.json +129 -90
- package/dist/schemas/onchain_operations_demand.schema.json +170 -112
- package/dist/schemas/onchain_operations_gen_passport.schema.json +61 -646
- package/dist/schemas/onchain_operations_gen_proof.schema.json +40 -172
- package/dist/schemas/onchain_operations_guard.schema.json +3765 -294
- package/dist/schemas/onchain_operations_machine.schema.json +536 -163
- package/dist/schemas/onchain_operations_order.schema.json +126 -96
- package/dist/schemas/onchain_operations_payment.schema.json +82 -67
- package/dist/schemas/onchain_operations_permission.schema.json +331 -93
- package/dist/schemas/onchain_operations_personal.schema.json +636 -96
- package/dist/schemas/onchain_operations_progress.schema.json +125 -92
- package/dist/schemas/onchain_operations_proof.schema.json +76 -69
- package/dist/schemas/onchain_operations_repository.schema.json +636 -249
- package/dist/schemas/onchain_operations_reward.schema.json +218 -108
- package/dist/schemas/onchain_operations_service.schema.json +678 -220
- package/dist/schemas/onchain_operations_treasury.schema.json +401 -135
- package/dist/schemas/onchain_table_data.output.json +6833 -2432
- package/dist/schemas/onchain_table_data.schema.json +684 -417
- package/dist/schemas/permission_operation.output.json +173 -0
- package/dist/schemas/permission_operation.schema.json +39 -0
- package/dist/schemas/persona_operation.output.json +1568 -268
- package/dist/schemas/persona_operation.schema.json +346 -205
- package/dist/schemas/project_operation.output.json +6922 -5132
- package/dist/schemas/project_operation.schema.json +1050 -1020
- package/dist/schemas/query_task_status.output.json +195 -99
- package/dist/schemas/query_task_status.schema.json +12 -18
- package/dist/schemas/query_toolkit.output.json +18862 -14561
- package/dist/schemas/query_toolkit.schema.json +614 -522
- package/dist/schemas/schema_query.output.json +127 -129
- package/dist/schemas/schema_query.schema.json +64 -69
- package/dist/schemas/trust_score.output.json +678 -587
- package/dist/schemas/trust_score.schema.json +289 -277
- package/dist/schemas/wip_file.output.json +116 -124
- package/dist/schemas/wip_file.schema.json +142 -143
- package/dist/schemas/workflow_operation.output.json +164 -0
- package/dist/schemas/workflow_operation.schema.json +116 -0
- package/dist/schemas/workspace_operation.output.json +277 -0
- package/dist/schemas/workspace_operation.schema.json +45 -0
- package/dist/schemas/wowok_buildin_info.output.json +1682 -844
- package/dist/schemas/wowok_buildin_info.schema.json +576 -526
- package/dist/tools/handlers/bridge.d.ts +8 -1
- package/dist/tools/handlers/bridge.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/employee.d.ts +2 -0
- package/dist/tools/handlers/employee.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/file-export.js +1 -1
- package/dist/tools/handlers/industry-pack.d.ts +2 -0
- package/dist/tools/handlers/industry-pack.js +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.d.ts +2 -0
- package/dist/tools/handlers/permission.js +1 -0
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/project.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/trust.js +1 -1
- package/dist/tools/handlers/wip.js +1 -1
- package/dist/tools/handlers/workflow.d.ts +2 -0
- package/dist/tools/handlers/workflow.js +1 -0
- package/dist/tools/handlers/workspace.d.ts +4 -0
- package/dist/tools/handlers/workspace.js +1 -0
- package/dist/tools/index.d.ts +2 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/rules-hook.d.ts +1 -1
- package/dist/tools/rules-hook.js +1 -1
- package/dist/tools/shared.d.ts +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +2 -1
- package/package.json +4 -5
- package/dist/knowledge/arbitration-trust.d.ts +0 -24
- package/dist/knowledge/arbitration-trust.js +0 -1
- package/dist/schema/call/bridge-handler.d.ts +0 -8
- package/dist/schema/call/bridge-handler.js +0 -1
- package/dist/schema/sync-layer4.d.ts +0 -21
- package/dist/schema/sync-layer4.js +0 -1
- /package/dist/{schema-query → schema-query-impl}/index.d.ts +0 -0
|
@@ -1,1237 +1,2849 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://wowok.net/schemas/onchain_events.json",
|
|
3
|
+
"$id": "https://wowok.net/schemas/onchain_events.output.json",
|
|
4
4
|
"title": "On-chain Events",
|
|
5
|
-
"description": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
{
|
|
14
|
-
"type": "
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
{
|
|
5
|
+
"description": "Result of on-chain events query",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"result": {
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"data": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": {
|
|
21
21
|
"type": "object",
|
|
22
22
|
"properties": {
|
|
23
|
-
"
|
|
24
|
-
"type": "object",
|
|
25
|
-
"properties": {
|
|
26
|
-
"eventSeq": {
|
|
27
|
-
"type": [
|
|
28
|
-
"string",
|
|
29
|
-
"number"
|
|
30
|
-
],
|
|
31
|
-
"description": "Event sequence number"
|
|
32
|
-
},
|
|
33
|
-
"txDigest": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "Transaction digest"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": [
|
|
39
|
-
"eventSeq",
|
|
40
|
-
"txDigest"
|
|
41
|
-
],
|
|
42
|
-
"additionalProperties": false,
|
|
43
|
-
"description": "Event cursor"
|
|
44
|
-
},
|
|
45
|
-
"sender": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "Event sender ID"
|
|
48
|
-
},
|
|
49
|
-
"type": {
|
|
23
|
+
"eventSeq": {
|
|
50
24
|
"anyOf": [
|
|
51
25
|
{
|
|
52
|
-
"type": "string"
|
|
53
|
-
"const": "ArbEvent"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"type": "string",
|
|
57
|
-
"const": "NewOrderEvent"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "string",
|
|
61
|
-
"const": "ProgressEvent"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"type": "string",
|
|
65
|
-
"const": "DemandPresentEvent"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"type": "string",
|
|
69
|
-
"const": "DemandFeedbackEvent"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"type": "string",
|
|
73
|
-
"const": "NewEntityEvent"
|
|
26
|
+
"type": "string"
|
|
74
27
|
},
|
|
75
28
|
{
|
|
76
|
-
"type": "
|
|
29
|
+
"type": "number"
|
|
77
30
|
}
|
|
78
31
|
],
|
|
79
|
-
"description": "Event
|
|
32
|
+
"description": "Event sequence number"
|
|
80
33
|
},
|
|
81
|
-
"
|
|
34
|
+
"txDigest": {
|
|
82
35
|
"type": "string",
|
|
83
|
-
"description": "
|
|
84
|
-
},
|
|
85
|
-
"time": {
|
|
86
|
-
"type": [
|
|
87
|
-
"string",
|
|
88
|
-
"number"
|
|
89
|
-
],
|
|
90
|
-
"description": "Event occurrence time"
|
|
91
|
-
},
|
|
92
|
-
"parsedJson_raw": {
|
|
93
|
-
"description": "Raw parsed JSON data from the event"
|
|
36
|
+
"description": "Transaction digest"
|
|
94
37
|
}
|
|
95
38
|
},
|
|
96
39
|
"required": [
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"type",
|
|
100
|
-
"type_raw",
|
|
101
|
-
"time"
|
|
40
|
+
"eventSeq",
|
|
41
|
+
"txDigest"
|
|
102
42
|
],
|
|
103
43
|
"additionalProperties": false,
|
|
104
|
-
"description": "Event
|
|
44
|
+
"description": "Event cursor"
|
|
105
45
|
},
|
|
106
|
-
{
|
|
107
|
-
"type": "
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
46
|
+
"sender": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Event sender ID"
|
|
49
|
+
},
|
|
50
|
+
"type": {
|
|
51
|
+
"anyOf": [
|
|
52
|
+
{
|
|
53
|
+
"type": "string",
|
|
54
|
+
"const": "ArbEvent"
|
|
111
55
|
},
|
|
112
|
-
|
|
113
|
-
"
|
|
56
|
+
{
|
|
57
|
+
"type": "string",
|
|
58
|
+
"const": "NewOrderEvent"
|
|
114
59
|
},
|
|
115
|
-
|
|
116
|
-
"
|
|
60
|
+
{
|
|
61
|
+
"type": "string",
|
|
62
|
+
"const": "ProgressEvent"
|
|
117
63
|
},
|
|
118
|
-
|
|
119
|
-
"
|
|
64
|
+
{
|
|
65
|
+
"type": "string",
|
|
66
|
+
"const": "DemandPresentEvent"
|
|
120
67
|
},
|
|
121
|
-
|
|
122
|
-
"
|
|
68
|
+
{
|
|
69
|
+
"type": "string",
|
|
70
|
+
"const": "DemandFeedbackEvent"
|
|
123
71
|
},
|
|
124
|
-
|
|
125
|
-
"
|
|
72
|
+
{
|
|
73
|
+
"type": "string",
|
|
74
|
+
"const": "NewEntityEvent"
|
|
126
75
|
},
|
|
127
|
-
|
|
76
|
+
{
|
|
128
77
|
"type": "string",
|
|
129
|
-
"
|
|
78
|
+
"const": "ServiceEvent"
|
|
130
79
|
},
|
|
131
|
-
|
|
80
|
+
{
|
|
132
81
|
"type": "string",
|
|
133
|
-
"
|
|
82
|
+
"const": "DemandChangedEvent"
|
|
134
83
|
},
|
|
135
|
-
|
|
84
|
+
{
|
|
136
85
|
"type": "string",
|
|
137
|
-
"
|
|
86
|
+
"const": "VoteEvent"
|
|
138
87
|
},
|
|
139
|
-
|
|
88
|
+
{
|
|
140
89
|
"type": "string",
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
90
|
+
"const": "FeedbackEvent"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "string"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
97
|
+
},
|
|
98
|
+
"type_raw": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Raw event type"
|
|
101
|
+
},
|
|
102
|
+
"time": {
|
|
103
|
+
"anyOf": [
|
|
104
|
+
{
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "number"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"description": "Event occurrence time"
|
|
112
|
+
},
|
|
113
|
+
"parsedJson_raw": {
|
|
114
|
+
"description": "Raw parsed JSON data from the event"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"required": [
|
|
118
|
+
"id",
|
|
119
|
+
"sender",
|
|
120
|
+
"type",
|
|
121
|
+
"type_raw",
|
|
122
|
+
"time"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"description": "Event base information"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"id": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"eventSeq": {
|
|
134
|
+
"anyOf": [
|
|
135
|
+
{
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "number"
|
|
140
|
+
}
|
|
149
141
|
],
|
|
150
|
-
"description": "
|
|
142
|
+
"description": "Event sequence number"
|
|
143
|
+
},
|
|
144
|
+
"txDigest": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "Transaction digest"
|
|
151
147
|
}
|
|
152
148
|
},
|
|
153
149
|
"required": [
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"type",
|
|
157
|
-
"type_raw",
|
|
158
|
-
"time",
|
|
159
|
-
"arb",
|
|
160
|
-
"arbitration",
|
|
161
|
-
"order",
|
|
162
|
-
"status"
|
|
150
|
+
"eventSeq",
|
|
151
|
+
"txDigest"
|
|
163
152
|
],
|
|
164
153
|
"additionalProperties": false,
|
|
165
|
-
"description": "
|
|
154
|
+
"description": "Event cursor"
|
|
166
155
|
},
|
|
167
|
-
{
|
|
168
|
-
"type": "
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
156
|
+
"sender": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "Event sender ID"
|
|
159
|
+
},
|
|
160
|
+
"type": {
|
|
161
|
+
"anyOf": [
|
|
162
|
+
{
|
|
163
|
+
"type": "string",
|
|
164
|
+
"const": "ArbEvent"
|
|
172
165
|
},
|
|
173
|
-
|
|
174
|
-
"
|
|
166
|
+
{
|
|
167
|
+
"type": "string",
|
|
168
|
+
"const": "NewOrderEvent"
|
|
175
169
|
},
|
|
176
|
-
|
|
177
|
-
"
|
|
170
|
+
{
|
|
171
|
+
"type": "string",
|
|
172
|
+
"const": "ProgressEvent"
|
|
178
173
|
},
|
|
179
|
-
|
|
180
|
-
"
|
|
174
|
+
{
|
|
175
|
+
"type": "string",
|
|
176
|
+
"const": "DemandPresentEvent"
|
|
181
177
|
},
|
|
182
|
-
|
|
183
|
-
"
|
|
178
|
+
{
|
|
179
|
+
"type": "string",
|
|
180
|
+
"const": "DemandFeedbackEvent"
|
|
184
181
|
},
|
|
185
|
-
|
|
186
|
-
"
|
|
182
|
+
{
|
|
183
|
+
"type": "string",
|
|
184
|
+
"const": "NewEntityEvent"
|
|
187
185
|
},
|
|
188
|
-
|
|
186
|
+
{
|
|
189
187
|
"type": "string",
|
|
190
|
-
"
|
|
188
|
+
"const": "ServiceEvent"
|
|
191
189
|
},
|
|
192
|
-
|
|
190
|
+
{
|
|
193
191
|
"type": "string",
|
|
194
|
-
"
|
|
192
|
+
"const": "DemandChangedEvent"
|
|
195
193
|
},
|
|
196
|
-
|
|
197
|
-
"type":
|
|
198
|
-
|
|
199
|
-
"null"
|
|
200
|
-
],
|
|
201
|
-
"description": "Progress object ID"
|
|
194
|
+
{
|
|
195
|
+
"type": "string",
|
|
196
|
+
"const": "VoteEvent"
|
|
202
197
|
},
|
|
203
|
-
|
|
204
|
-
"type":
|
|
205
|
-
|
|
206
|
-
"null"
|
|
207
|
-
],
|
|
208
|
-
"description": "Discount object ID"
|
|
198
|
+
{
|
|
199
|
+
"type": "string",
|
|
200
|
+
"const": "FeedbackEvent"
|
|
209
201
|
},
|
|
210
|
-
|
|
211
|
-
"type":
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
202
|
+
{
|
|
203
|
+
"type": "string"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
207
|
+
},
|
|
208
|
+
"type_raw": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "Raw event type"
|
|
211
|
+
},
|
|
212
|
+
"time": {
|
|
213
|
+
"anyOf": [
|
|
214
|
+
{
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "number"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"description": "Event occurrence time"
|
|
222
|
+
},
|
|
223
|
+
"parsedJson_raw": {
|
|
224
|
+
"description": "Raw parsed JSON data from the event"
|
|
225
|
+
},
|
|
226
|
+
"arb": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"description": "Arbitration object ID"
|
|
229
|
+
},
|
|
230
|
+
"arbitration": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "Arbitration object ID"
|
|
233
|
+
},
|
|
234
|
+
"order": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"description": "Order object ID"
|
|
237
|
+
},
|
|
238
|
+
"status": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"enum": [
|
|
241
|
+
"Principal_confirming",
|
|
242
|
+
"Arbitrator_confirming",
|
|
243
|
+
"Voting",
|
|
244
|
+
"Arbitrated",
|
|
245
|
+
"Objectionable",
|
|
246
|
+
"Finished",
|
|
247
|
+
"Withdrawn"
|
|
248
|
+
],
|
|
249
|
+
"description": "Arb object status"
|
|
250
|
+
},
|
|
251
|
+
"indemnity_amount": {
|
|
252
|
+
"description": "Compensation awarded (smallest-unit, when the transition rules indemnity).",
|
|
253
|
+
"anyOf": [
|
|
254
|
+
{
|
|
255
|
+
"type": "string"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "number"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": "null"
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"compensation_time": {
|
|
266
|
+
"description": "Claim-ready time (when the transition finishes indemnity).",
|
|
267
|
+
"anyOf": [
|
|
268
|
+
{
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"type": "number"
|
|
216
273
|
},
|
|
217
|
-
|
|
218
|
-
"type":
|
|
219
|
-
|
|
220
|
-
|
|
274
|
+
{
|
|
275
|
+
"type": "null"
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"required": [
|
|
281
|
+
"id",
|
|
282
|
+
"sender",
|
|
283
|
+
"type",
|
|
284
|
+
"type_raw",
|
|
285
|
+
"time",
|
|
286
|
+
"arb",
|
|
287
|
+
"arbitration",
|
|
288
|
+
"order",
|
|
289
|
+
"status"
|
|
290
|
+
],
|
|
291
|
+
"additionalProperties": false,
|
|
292
|
+
"description": "Arbitration event"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"id": {
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"eventSeq": {
|
|
301
|
+
"anyOf": [
|
|
302
|
+
{
|
|
303
|
+
"type": "string"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"type": "number"
|
|
307
|
+
}
|
|
221
308
|
],
|
|
222
|
-
"description": "
|
|
309
|
+
"description": "Event sequence number"
|
|
310
|
+
},
|
|
311
|
+
"txDigest": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"description": "Transaction digest"
|
|
223
314
|
}
|
|
224
315
|
},
|
|
225
316
|
"required": [
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"type",
|
|
229
|
-
"type_raw",
|
|
230
|
-
"time",
|
|
231
|
-
"order",
|
|
232
|
-
"service",
|
|
233
|
-
"amount"
|
|
317
|
+
"eventSeq",
|
|
318
|
+
"txDigest"
|
|
234
319
|
],
|
|
235
320
|
"additionalProperties": false,
|
|
236
|
-
"description": "
|
|
321
|
+
"description": "Event cursor"
|
|
237
322
|
},
|
|
238
|
-
{
|
|
239
|
-
"type": "
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
"
|
|
323
|
+
"sender": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"description": "Event sender ID"
|
|
326
|
+
},
|
|
327
|
+
"type": {
|
|
328
|
+
"anyOf": [
|
|
329
|
+
{
|
|
330
|
+
"type": "string",
|
|
331
|
+
"const": "ArbEvent"
|
|
246
332
|
},
|
|
247
|
-
|
|
248
|
-
"
|
|
333
|
+
{
|
|
334
|
+
"type": "string",
|
|
335
|
+
"const": "NewOrderEvent"
|
|
249
336
|
},
|
|
250
|
-
|
|
251
|
-
"
|
|
337
|
+
{
|
|
338
|
+
"type": "string",
|
|
339
|
+
"const": "ProgressEvent"
|
|
252
340
|
},
|
|
253
|
-
|
|
254
|
-
"
|
|
341
|
+
{
|
|
342
|
+
"type": "string",
|
|
343
|
+
"const": "DemandPresentEvent"
|
|
255
344
|
},
|
|
256
|
-
|
|
257
|
-
"
|
|
345
|
+
{
|
|
346
|
+
"type": "string",
|
|
347
|
+
"const": "DemandFeedbackEvent"
|
|
258
348
|
},
|
|
259
|
-
|
|
349
|
+
{
|
|
260
350
|
"type": "string",
|
|
261
|
-
"
|
|
351
|
+
"const": "NewEntityEvent"
|
|
262
352
|
},
|
|
263
|
-
|
|
353
|
+
{
|
|
264
354
|
"type": "string",
|
|
265
|
-
"
|
|
355
|
+
"const": "ServiceEvent"
|
|
266
356
|
},
|
|
267
|
-
|
|
268
|
-
"type":
|
|
269
|
-
|
|
270
|
-
"null"
|
|
271
|
-
],
|
|
272
|
-
"description": "Task object ID"
|
|
357
|
+
{
|
|
358
|
+
"type": "string",
|
|
359
|
+
"const": "DemandChangedEvent"
|
|
273
360
|
},
|
|
274
|
-
|
|
361
|
+
{
|
|
275
362
|
"type": "string",
|
|
276
|
-
"
|
|
363
|
+
"const": "VoteEvent"
|
|
277
364
|
},
|
|
278
|
-
|
|
279
|
-
"type":
|
|
280
|
-
|
|
281
|
-
"null"
|
|
282
|
-
],
|
|
283
|
-
"description": "Forward operation name"
|
|
365
|
+
{
|
|
366
|
+
"type": "string",
|
|
367
|
+
"const": "FeedbackEvent"
|
|
284
368
|
},
|
|
285
|
-
|
|
286
|
-
"type":
|
|
287
|
-
"boolean",
|
|
288
|
-
"null"
|
|
289
|
-
],
|
|
290
|
-
"description": "Whether it is a hold operation"
|
|
369
|
+
{
|
|
370
|
+
"type": "string"
|
|
291
371
|
}
|
|
292
|
-
},
|
|
293
|
-
"required": [
|
|
294
|
-
"id",
|
|
295
|
-
"sender",
|
|
296
|
-
"type",
|
|
297
|
-
"type_raw",
|
|
298
|
-
"time",
|
|
299
|
-
"progress",
|
|
300
|
-
"machine",
|
|
301
|
-
"node"
|
|
302
372
|
],
|
|
303
|
-
"
|
|
304
|
-
"description": "Progress event"
|
|
373
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
305
374
|
},
|
|
306
|
-
{
|
|
307
|
-
"type": "
|
|
308
|
-
"
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
"
|
|
314
|
-
},
|
|
315
|
-
"type": {
|
|
316
|
-
"$ref": "#/definitions/onchain_events/properties/result/anyOf/0/properties/data/items/anyOf/0/properties/type"
|
|
375
|
+
"type_raw": {
|
|
376
|
+
"type": "string",
|
|
377
|
+
"description": "Raw event type"
|
|
378
|
+
},
|
|
379
|
+
"time": {
|
|
380
|
+
"anyOf": [
|
|
381
|
+
{
|
|
382
|
+
"type": "string"
|
|
317
383
|
},
|
|
318
|
-
|
|
319
|
-
"
|
|
384
|
+
{
|
|
385
|
+
"type": "number"
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"description": "Event occurrence time"
|
|
389
|
+
},
|
|
390
|
+
"parsedJson_raw": {
|
|
391
|
+
"description": "Raw parsed JSON data from the event"
|
|
392
|
+
},
|
|
393
|
+
"order": {
|
|
394
|
+
"type": "string",
|
|
395
|
+
"description": "Order object ID"
|
|
396
|
+
},
|
|
397
|
+
"service": {
|
|
398
|
+
"type": "string",
|
|
399
|
+
"description": "Service object ID"
|
|
400
|
+
},
|
|
401
|
+
"progress": {
|
|
402
|
+
"description": "Progress object ID",
|
|
403
|
+
"anyOf": [
|
|
404
|
+
{
|
|
405
|
+
"type": "string"
|
|
320
406
|
},
|
|
321
|
-
|
|
322
|
-
"
|
|
407
|
+
{
|
|
408
|
+
"type": "null"
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
"discount": {
|
|
413
|
+
"description": "Discount object ID",
|
|
414
|
+
"anyOf": [
|
|
415
|
+
{
|
|
416
|
+
"type": "string"
|
|
323
417
|
},
|
|
324
|
-
|
|
325
|
-
"
|
|
418
|
+
{
|
|
419
|
+
"type": "null"
|
|
420
|
+
}
|
|
421
|
+
]
|
|
422
|
+
},
|
|
423
|
+
"allocation": {
|
|
424
|
+
"description": "Allocation object ID",
|
|
425
|
+
"anyOf": [
|
|
426
|
+
{
|
|
427
|
+
"type": "string"
|
|
326
428
|
},
|
|
327
|
-
|
|
328
|
-
"type": "
|
|
329
|
-
|
|
429
|
+
{
|
|
430
|
+
"type": "null"
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
"amount": {
|
|
435
|
+
"anyOf": [
|
|
436
|
+
{
|
|
437
|
+
"type": "number"
|
|
330
438
|
},
|
|
331
|
-
|
|
332
|
-
"type":
|
|
333
|
-
|
|
334
|
-
|
|
439
|
+
{
|
|
440
|
+
"type": "string"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"description": "A coin/balance amount. Accepts three formats: (1) DISPLAY FORMAT with token symbol: \"2.5WOW\", \"10USDC\", \"0.05SUI\" — auto-converted to smallest units via the Fund Processing Layer (token precision resolved from official registry → cache → on-chain). The symbol MUST match the token's type_parameter. (2) SMALLEST UNIT (numeric string): \"10000000000\" — used as-is, no conversion. (3) SMALLEST UNIT (number): 10000000000 — used as-is (loses precision above 2^53). PRECISION RULE: for values exceeding 2^53, ALWAYS use format (1) or (2) — JS numbers lose precision. Default token: WOW (9 decimals, 1 WOW = 10^9 MIST). For custom tokens: use display format with the token's symbol, or pass smallest units directly. MONEY CONFIRMATION: all monetary fields trigger user confirmation via the Fund Processing Layer. If multiple tokens share a symbol (ambiguity), specify the full type string in type_parameter. Examples: \"2.5WOW\" (display → 2500000000), 10000000000 (number, smallest unit), \"50000000000\" (string, smallest unit). Used for: Service.sale.price, Service.compensation_fund_add balance, Treasury.deposit, Arbitration.fee, Reward.amount, stock quantities."
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"required": [
|
|
447
|
+
"id",
|
|
448
|
+
"sender",
|
|
449
|
+
"type",
|
|
450
|
+
"type_raw",
|
|
451
|
+
"time",
|
|
452
|
+
"order",
|
|
453
|
+
"service",
|
|
454
|
+
"amount"
|
|
455
|
+
],
|
|
456
|
+
"additionalProperties": false,
|
|
457
|
+
"description": "New order event"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"type": "object",
|
|
461
|
+
"properties": {
|
|
462
|
+
"id": {
|
|
463
|
+
"type": "object",
|
|
464
|
+
"properties": {
|
|
465
|
+
"eventSeq": {
|
|
466
|
+
"anyOf": [
|
|
467
|
+
{
|
|
468
|
+
"type": "string"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"type": "number"
|
|
472
|
+
}
|
|
335
473
|
],
|
|
336
|
-
"description": "
|
|
474
|
+
"description": "Event sequence number"
|
|
337
475
|
},
|
|
338
|
-
"
|
|
476
|
+
"txDigest": {
|
|
339
477
|
"type": "string",
|
|
340
|
-
"description": "
|
|
478
|
+
"description": "Transaction digest"
|
|
341
479
|
}
|
|
342
480
|
},
|
|
343
481
|
"required": [
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
"type",
|
|
347
|
-
"type_raw",
|
|
348
|
-
"time",
|
|
349
|
-
"demand",
|
|
350
|
-
"recommend"
|
|
482
|
+
"eventSeq",
|
|
483
|
+
"txDigest"
|
|
351
484
|
],
|
|
352
485
|
"additionalProperties": false,
|
|
353
|
-
"description": "Event
|
|
486
|
+
"description": "Event cursor"
|
|
354
487
|
},
|
|
355
|
-
{
|
|
356
|
-
"type": "
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
488
|
+
"sender": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"description": "Event sender ID"
|
|
491
|
+
},
|
|
492
|
+
"type": {
|
|
493
|
+
"anyOf": [
|
|
494
|
+
{
|
|
495
|
+
"type": "string",
|
|
496
|
+
"const": "ArbEvent"
|
|
360
497
|
},
|
|
361
|
-
|
|
362
|
-
"
|
|
498
|
+
{
|
|
499
|
+
"type": "string",
|
|
500
|
+
"const": "NewOrderEvent"
|
|
363
501
|
},
|
|
364
|
-
|
|
365
|
-
"
|
|
502
|
+
{
|
|
503
|
+
"type": "string",
|
|
504
|
+
"const": "ProgressEvent"
|
|
366
505
|
},
|
|
367
|
-
|
|
368
|
-
"
|
|
506
|
+
{
|
|
507
|
+
"type": "string",
|
|
508
|
+
"const": "DemandPresentEvent"
|
|
369
509
|
},
|
|
370
|
-
|
|
371
|
-
"
|
|
510
|
+
{
|
|
511
|
+
"type": "string",
|
|
512
|
+
"const": "DemandFeedbackEvent"
|
|
372
513
|
},
|
|
373
|
-
|
|
374
|
-
"
|
|
514
|
+
{
|
|
515
|
+
"type": "string",
|
|
516
|
+
"const": "NewEntityEvent"
|
|
375
517
|
},
|
|
376
|
-
|
|
518
|
+
{
|
|
377
519
|
"type": "string",
|
|
378
|
-
"
|
|
520
|
+
"const": "ServiceEvent"
|
|
379
521
|
},
|
|
380
|
-
|
|
381
|
-
"type":
|
|
382
|
-
|
|
383
|
-
"null"
|
|
384
|
-
],
|
|
385
|
-
"description": "Service object ID"
|
|
522
|
+
{
|
|
523
|
+
"type": "string",
|
|
524
|
+
"const": "DemandChangedEvent"
|
|
386
525
|
},
|
|
387
|
-
|
|
526
|
+
{
|
|
388
527
|
"type": "string",
|
|
389
|
-
"
|
|
528
|
+
"const": "VoteEvent"
|
|
390
529
|
},
|
|
391
|
-
|
|
392
|
-
"type":
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
"
|
|
530
|
+
{
|
|
531
|
+
"type": "string",
|
|
532
|
+
"const": "FeedbackEvent"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"type": "string"
|
|
397
536
|
}
|
|
398
|
-
},
|
|
399
|
-
"required": [
|
|
400
|
-
"id",
|
|
401
|
-
"sender",
|
|
402
|
-
"type",
|
|
403
|
-
"type_raw",
|
|
404
|
-
"time",
|
|
405
|
-
"demand",
|
|
406
|
-
"feedback"
|
|
407
537
|
],
|
|
408
|
-
"
|
|
409
|
-
"description": "Event of Demand object feedback to referrer"
|
|
538
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
410
539
|
},
|
|
411
|
-
{
|
|
412
|
-
"type": "
|
|
413
|
-
"
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
"
|
|
419
|
-
},
|
|
420
|
-
"type": {
|
|
421
|
-
"$ref": "#/definitions/onchain_events/properties/result/anyOf/0/properties/data/items/anyOf/0/properties/type"
|
|
422
|
-
},
|
|
423
|
-
"type_raw": {
|
|
424
|
-
"$ref": "#/definitions/onchain_events/properties/result/anyOf/0/properties/data/items/anyOf/0/properties/type_raw"
|
|
425
|
-
},
|
|
426
|
-
"time": {
|
|
427
|
-
"$ref": "#/definitions/onchain_events/properties/result/anyOf/0/properties/data/items/anyOf/0/properties/time"
|
|
540
|
+
"type_raw": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"description": "Raw event type"
|
|
543
|
+
},
|
|
544
|
+
"time": {
|
|
545
|
+
"anyOf": [
|
|
546
|
+
{
|
|
547
|
+
"type": "string"
|
|
428
548
|
},
|
|
429
|
-
|
|
430
|
-
"
|
|
549
|
+
{
|
|
550
|
+
"type": "number"
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
"description": "Event occurrence time"
|
|
554
|
+
},
|
|
555
|
+
"parsedJson_raw": {
|
|
556
|
+
"description": "Raw parsed JSON data from the event"
|
|
557
|
+
},
|
|
558
|
+
"progress": {
|
|
559
|
+
"type": "string",
|
|
560
|
+
"description": "Progress object ID"
|
|
561
|
+
},
|
|
562
|
+
"machine": {
|
|
563
|
+
"type": "string",
|
|
564
|
+
"description": "Machine object ID"
|
|
565
|
+
},
|
|
566
|
+
"task": {
|
|
567
|
+
"description": "Task object ID",
|
|
568
|
+
"anyOf": [
|
|
569
|
+
{
|
|
570
|
+
"type": "string"
|
|
431
571
|
},
|
|
432
|
-
|
|
433
|
-
"type": "
|
|
434
|
-
|
|
572
|
+
{
|
|
573
|
+
"type": "null"
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"node": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"description": "Current node name"
|
|
580
|
+
},
|
|
581
|
+
"forward": {
|
|
582
|
+
"description": "Forward operation name",
|
|
583
|
+
"anyOf": [
|
|
584
|
+
{
|
|
585
|
+
"type": "string"
|
|
435
586
|
},
|
|
436
|
-
|
|
437
|
-
"type": "
|
|
438
|
-
|
|
587
|
+
{
|
|
588
|
+
"type": "null"
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
},
|
|
592
|
+
"hold": {
|
|
593
|
+
"description": "Whether it is a hold operation",
|
|
594
|
+
"anyOf": [
|
|
595
|
+
{
|
|
596
|
+
"type": "boolean"
|
|
439
597
|
},
|
|
440
|
-
|
|
441
|
-
"type":
|
|
442
|
-
"string",
|
|
443
|
-
"null"
|
|
444
|
-
],
|
|
445
|
-
"description": "Referrer ID"
|
|
598
|
+
{
|
|
599
|
+
"type": "null"
|
|
446
600
|
}
|
|
447
|
-
|
|
448
|
-
"required": [
|
|
449
|
-
"id",
|
|
450
|
-
"sender",
|
|
451
|
-
"type",
|
|
452
|
-
"type_raw",
|
|
453
|
-
"time",
|
|
454
|
-
"address",
|
|
455
|
-
"resource"
|
|
456
|
-
],
|
|
457
|
-
"additionalProperties": false,
|
|
458
|
-
"description": "New user event"
|
|
601
|
+
]
|
|
459
602
|
}
|
|
460
|
-
]
|
|
461
|
-
},
|
|
462
|
-
"description": "Event object data"
|
|
463
|
-
},
|
|
464
|
-
"hasNextPage": {
|
|
465
|
-
"type": "boolean",
|
|
466
|
-
"description": "Whether there is a next page"
|
|
467
|
-
},
|
|
468
|
-
"nextCursor": {
|
|
469
|
-
"anyOf": [
|
|
470
|
-
{
|
|
471
|
-
"$ref": "#/definitions/onchain_events/properties/result/anyOf/0/properties/data/items/anyOf/0/properties/id"
|
|
472
603
|
},
|
|
473
|
-
|
|
474
|
-
"
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
604
|
+
"required": [
|
|
605
|
+
"id",
|
|
606
|
+
"sender",
|
|
607
|
+
"type",
|
|
608
|
+
"type_raw",
|
|
609
|
+
"time",
|
|
610
|
+
"progress",
|
|
611
|
+
"machine",
|
|
612
|
+
"node"
|
|
613
|
+
],
|
|
614
|
+
"additionalProperties": false,
|
|
615
|
+
"description": "Progress event"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"type": "object",
|
|
619
|
+
"properties": {
|
|
620
|
+
"id": {
|
|
621
|
+
"type": "object",
|
|
622
|
+
"properties": {
|
|
623
|
+
"eventSeq": {
|
|
624
|
+
"anyOf": [
|
|
625
|
+
{
|
|
626
|
+
"type": "string"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"type": "number"
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
"description": "Event sequence number"
|
|
633
|
+
},
|
|
634
|
+
"txDigest": {
|
|
635
|
+
"type": "string",
|
|
636
|
+
"description": "Transaction digest"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"required": [
|
|
640
|
+
"eventSeq",
|
|
641
|
+
"txDigest"
|
|
642
|
+
],
|
|
643
|
+
"additionalProperties": false,
|
|
644
|
+
"description": "Event cursor"
|
|
645
|
+
},
|
|
646
|
+
"sender": {
|
|
647
|
+
"type": "string",
|
|
648
|
+
"description": "Event sender ID"
|
|
649
|
+
},
|
|
650
|
+
"type": {
|
|
651
|
+
"anyOf": [
|
|
652
|
+
{
|
|
653
|
+
"type": "string",
|
|
654
|
+
"const": "ArbEvent"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"type": "string",
|
|
658
|
+
"const": "NewOrderEvent"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"type": "string",
|
|
662
|
+
"const": "ProgressEvent"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"type": "string",
|
|
666
|
+
"const": "DemandPresentEvent"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"type": "string",
|
|
670
|
+
"const": "DemandFeedbackEvent"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"type": "string",
|
|
674
|
+
"const": "NewEntityEvent"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "string",
|
|
678
|
+
"const": "ServiceEvent"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"type": "string",
|
|
682
|
+
"const": "DemandChangedEvent"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"type": "string",
|
|
686
|
+
"const": "VoteEvent"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"type": "string",
|
|
690
|
+
"const": "FeedbackEvent"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"type": "string"
|
|
694
|
+
}
|
|
695
|
+
],
|
|
696
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
697
|
+
},
|
|
698
|
+
"type_raw": {
|
|
699
|
+
"type": "string",
|
|
700
|
+
"description": "Raw event type"
|
|
701
|
+
},
|
|
702
|
+
"time": {
|
|
703
|
+
"anyOf": [
|
|
704
|
+
{
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"type": "number"
|
|
709
|
+
}
|
|
710
|
+
],
|
|
711
|
+
"description": "Event occurrence time"
|
|
712
|
+
},
|
|
713
|
+
"parsedJson_raw": {
|
|
714
|
+
"description": "Raw parsed JSON data from the event"
|
|
715
|
+
},
|
|
716
|
+
"demand": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"description": "Demand object ID"
|
|
719
|
+
},
|
|
720
|
+
"service": {
|
|
721
|
+
"description": "Service object ID",
|
|
722
|
+
"anyOf": [
|
|
723
|
+
{
|
|
724
|
+
"type": "string"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"type": "null"
|
|
728
|
+
}
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
"recommend": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"description": "Recommendation letter"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"required": [
|
|
737
|
+
"id",
|
|
738
|
+
"sender",
|
|
739
|
+
"type",
|
|
740
|
+
"type_raw",
|
|
741
|
+
"time",
|
|
742
|
+
"demand",
|
|
743
|
+
"recommend"
|
|
744
|
+
],
|
|
745
|
+
"additionalProperties": false,
|
|
746
|
+
"description": "Event of recommending service to Demand object"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"type": "object",
|
|
750
|
+
"properties": {
|
|
751
|
+
"id": {
|
|
752
|
+
"type": "object",
|
|
753
|
+
"properties": {
|
|
754
|
+
"eventSeq": {
|
|
755
|
+
"anyOf": [
|
|
756
|
+
{
|
|
757
|
+
"type": "string"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"type": "number"
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
"description": "Event sequence number"
|
|
764
|
+
},
|
|
765
|
+
"txDigest": {
|
|
766
|
+
"type": "string",
|
|
767
|
+
"description": "Transaction digest"
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
"required": [
|
|
771
|
+
"eventSeq",
|
|
772
|
+
"txDigest"
|
|
773
|
+
],
|
|
774
|
+
"additionalProperties": false,
|
|
775
|
+
"description": "Event cursor"
|
|
776
|
+
},
|
|
777
|
+
"sender": {
|
|
778
|
+
"type": "string",
|
|
779
|
+
"description": "Event sender ID"
|
|
780
|
+
},
|
|
781
|
+
"type": {
|
|
782
|
+
"anyOf": [
|
|
783
|
+
{
|
|
784
|
+
"type": "string",
|
|
785
|
+
"const": "ArbEvent"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"type": "string",
|
|
789
|
+
"const": "NewOrderEvent"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"type": "string",
|
|
793
|
+
"const": "ProgressEvent"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"type": "string",
|
|
797
|
+
"const": "DemandPresentEvent"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"type": "string",
|
|
801
|
+
"const": "DemandFeedbackEvent"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"type": "string",
|
|
805
|
+
"const": "NewEntityEvent"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"type": "string",
|
|
809
|
+
"const": "ServiceEvent"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"type": "string",
|
|
813
|
+
"const": "DemandChangedEvent"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"type": "string",
|
|
817
|
+
"const": "VoteEvent"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"type": "string",
|
|
821
|
+
"const": "FeedbackEvent"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"type": "string"
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
828
|
+
},
|
|
829
|
+
"type_raw": {
|
|
830
|
+
"type": "string",
|
|
831
|
+
"description": "Raw event type"
|
|
832
|
+
},
|
|
833
|
+
"time": {
|
|
834
|
+
"anyOf": [
|
|
835
|
+
{
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"type": "number"
|
|
840
|
+
}
|
|
841
|
+
],
|
|
842
|
+
"description": "Event occurrence time"
|
|
843
|
+
},
|
|
844
|
+
"parsedJson_raw": {
|
|
845
|
+
"description": "Raw parsed JSON data from the event"
|
|
846
|
+
},
|
|
847
|
+
"demand": {
|
|
848
|
+
"type": "string",
|
|
849
|
+
"description": "Demand object ID"
|
|
850
|
+
},
|
|
851
|
+
"service": {
|
|
852
|
+
"description": "Service object ID",
|
|
853
|
+
"anyOf": [
|
|
854
|
+
{
|
|
855
|
+
"type": "string"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"type": "null"
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
},
|
|
862
|
+
"feedback": {
|
|
863
|
+
"type": "string",
|
|
864
|
+
"description": "Feedback content"
|
|
865
|
+
},
|
|
866
|
+
"acceptance_score": {
|
|
867
|
+
"description": "Acceptance score",
|
|
868
|
+
"anyOf": [
|
|
869
|
+
{
|
|
870
|
+
"type": "number"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"type": "null"
|
|
874
|
+
}
|
|
875
|
+
]
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"required": [
|
|
879
|
+
"id",
|
|
880
|
+
"sender",
|
|
881
|
+
"type",
|
|
882
|
+
"type_raw",
|
|
883
|
+
"time",
|
|
884
|
+
"demand",
|
|
885
|
+
"feedback"
|
|
886
|
+
],
|
|
887
|
+
"additionalProperties": false,
|
|
888
|
+
"description": "Event of Demand object feedback to referrer"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {
|
|
893
|
+
"id": {
|
|
894
|
+
"type": "object",
|
|
895
|
+
"properties": {
|
|
896
|
+
"eventSeq": {
|
|
897
|
+
"anyOf": [
|
|
898
|
+
{
|
|
899
|
+
"type": "string"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "number"
|
|
903
|
+
}
|
|
904
|
+
],
|
|
905
|
+
"description": "Event sequence number"
|
|
906
|
+
},
|
|
907
|
+
"txDigest": {
|
|
908
|
+
"type": "string",
|
|
909
|
+
"description": "Transaction digest"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"required": [
|
|
913
|
+
"eventSeq",
|
|
914
|
+
"txDigest"
|
|
915
|
+
],
|
|
916
|
+
"additionalProperties": false,
|
|
917
|
+
"description": "Event cursor"
|
|
918
|
+
},
|
|
919
|
+
"sender": {
|
|
920
|
+
"type": "string",
|
|
921
|
+
"description": "Event sender ID"
|
|
922
|
+
},
|
|
923
|
+
"type": {
|
|
924
|
+
"anyOf": [
|
|
925
|
+
{
|
|
926
|
+
"type": "string",
|
|
927
|
+
"const": "ArbEvent"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"type": "string",
|
|
931
|
+
"const": "NewOrderEvent"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"type": "string",
|
|
935
|
+
"const": "ProgressEvent"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"type": "string",
|
|
939
|
+
"const": "DemandPresentEvent"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"type": "string",
|
|
943
|
+
"const": "DemandFeedbackEvent"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"type": "string",
|
|
947
|
+
"const": "NewEntityEvent"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"type": "string",
|
|
951
|
+
"const": "ServiceEvent"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"type": "string",
|
|
955
|
+
"const": "DemandChangedEvent"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"type": "string",
|
|
959
|
+
"const": "VoteEvent"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"type": "string",
|
|
963
|
+
"const": "FeedbackEvent"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"type": "string"
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
970
|
+
},
|
|
971
|
+
"type_raw": {
|
|
972
|
+
"type": "string",
|
|
973
|
+
"description": "Raw event type"
|
|
974
|
+
},
|
|
975
|
+
"time": {
|
|
976
|
+
"anyOf": [
|
|
977
|
+
{
|
|
978
|
+
"type": "string"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"type": "number"
|
|
982
|
+
}
|
|
983
|
+
],
|
|
984
|
+
"description": "Event occurrence time"
|
|
985
|
+
},
|
|
986
|
+
"parsedJson_raw": {
|
|
987
|
+
"description": "Raw parsed JSON data from the event"
|
|
988
|
+
},
|
|
989
|
+
"address": {
|
|
990
|
+
"type": "string",
|
|
991
|
+
"description": "User ID"
|
|
992
|
+
},
|
|
993
|
+
"resource": {
|
|
994
|
+
"type": "string",
|
|
995
|
+
"description": "ID mark object ID owned by user"
|
|
996
|
+
},
|
|
997
|
+
"referrer": {
|
|
998
|
+
"description": "Referrer ID",
|
|
999
|
+
"anyOf": [
|
|
1000
|
+
{
|
|
1001
|
+
"type": "string"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"type": "null"
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"required": [
|
|
1010
|
+
"id",
|
|
1011
|
+
"sender",
|
|
1012
|
+
"type",
|
|
1013
|
+
"type_raw",
|
|
1014
|
+
"time",
|
|
1015
|
+
"address",
|
|
1016
|
+
"resource"
|
|
1017
|
+
],
|
|
1018
|
+
"additionalProperties": false,
|
|
1019
|
+
"description": "New user event"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"type": "object",
|
|
1023
|
+
"properties": {
|
|
1024
|
+
"id": {
|
|
1025
|
+
"type": "object",
|
|
1026
|
+
"properties": {
|
|
1027
|
+
"eventSeq": {
|
|
1028
|
+
"anyOf": [
|
|
1029
|
+
{
|
|
1030
|
+
"type": "string"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"type": "number"
|
|
1034
|
+
}
|
|
1035
|
+
],
|
|
1036
|
+
"description": "Event sequence number"
|
|
1037
|
+
},
|
|
1038
|
+
"txDigest": {
|
|
1039
|
+
"type": "string",
|
|
1040
|
+
"description": "Transaction digest"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"required": [
|
|
1044
|
+
"eventSeq",
|
|
1045
|
+
"txDigest"
|
|
1046
|
+
],
|
|
1047
|
+
"additionalProperties": false,
|
|
1048
|
+
"description": "Event cursor"
|
|
1049
|
+
},
|
|
1050
|
+
"sender": {
|
|
1051
|
+
"type": "string",
|
|
1052
|
+
"description": "Event sender ID"
|
|
1053
|
+
},
|
|
1054
|
+
"type": {
|
|
1055
|
+
"anyOf": [
|
|
1056
|
+
{
|
|
1057
|
+
"type": "string",
|
|
1058
|
+
"const": "ArbEvent"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"const": "NewOrderEvent"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"type": "string",
|
|
1066
|
+
"const": "ProgressEvent"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"type": "string",
|
|
1070
|
+
"const": "DemandPresentEvent"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"type": "string",
|
|
1074
|
+
"const": "DemandFeedbackEvent"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"type": "string",
|
|
1078
|
+
"const": "NewEntityEvent"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"type": "string",
|
|
1082
|
+
"const": "ServiceEvent"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"type": "string",
|
|
1086
|
+
"const": "DemandChangedEvent"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"type": "string",
|
|
1090
|
+
"const": "VoteEvent"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"const": "FeedbackEvent"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"type": "string"
|
|
1098
|
+
}
|
|
1099
|
+
],
|
|
1100
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
1101
|
+
},
|
|
1102
|
+
"type_raw": {
|
|
1103
|
+
"type": "string",
|
|
1104
|
+
"description": "Raw event type"
|
|
1105
|
+
},
|
|
1106
|
+
"time": {
|
|
1107
|
+
"anyOf": [
|
|
1108
|
+
{
|
|
1109
|
+
"type": "string"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"type": "number"
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"description": "Event occurrence time"
|
|
1116
|
+
},
|
|
1117
|
+
"parsedJson_raw": {
|
|
1118
|
+
"description": "Raw parsed JSON data from the event"
|
|
1119
|
+
},
|
|
1120
|
+
"object": {
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"description": "Service object ID"
|
|
1123
|
+
},
|
|
1124
|
+
"location": {
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
"description": "Service location"
|
|
1127
|
+
},
|
|
1128
|
+
"description": {
|
|
1129
|
+
"type": "string",
|
|
1130
|
+
"description": "Service description preview (<=260 UTF-8 chars)."
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"required": [
|
|
1134
|
+
"id",
|
|
1135
|
+
"sender",
|
|
1136
|
+
"type",
|
|
1137
|
+
"type_raw",
|
|
1138
|
+
"time",
|
|
1139
|
+
"object",
|
|
1140
|
+
"location",
|
|
1141
|
+
"description"
|
|
1142
|
+
],
|
|
1143
|
+
"additionalProperties": false,
|
|
1144
|
+
"description": "Service market-opportunity event"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"type": "object",
|
|
1148
|
+
"properties": {
|
|
1149
|
+
"id": {
|
|
1150
|
+
"type": "object",
|
|
1151
|
+
"properties": {
|
|
1152
|
+
"eventSeq": {
|
|
1153
|
+
"anyOf": [
|
|
1154
|
+
{
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"type": "number"
|
|
1159
|
+
}
|
|
1160
|
+
],
|
|
1161
|
+
"description": "Event sequence number"
|
|
1162
|
+
},
|
|
1163
|
+
"txDigest": {
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"description": "Transaction digest"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
"required": [
|
|
1169
|
+
"eventSeq",
|
|
1170
|
+
"txDigest"
|
|
1171
|
+
],
|
|
1172
|
+
"additionalProperties": false,
|
|
1173
|
+
"description": "Event cursor"
|
|
1174
|
+
},
|
|
1175
|
+
"sender": {
|
|
1176
|
+
"type": "string",
|
|
1177
|
+
"description": "Event sender ID"
|
|
1178
|
+
},
|
|
1179
|
+
"type": {
|
|
1180
|
+
"anyOf": [
|
|
1181
|
+
{
|
|
1182
|
+
"type": "string",
|
|
1183
|
+
"const": "ArbEvent"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"type": "string",
|
|
1187
|
+
"const": "NewOrderEvent"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"type": "string",
|
|
1191
|
+
"const": "ProgressEvent"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"type": "string",
|
|
1195
|
+
"const": "DemandPresentEvent"
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"type": "string",
|
|
1199
|
+
"const": "DemandFeedbackEvent"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"type": "string",
|
|
1203
|
+
"const": "NewEntityEvent"
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"type": "string",
|
|
1207
|
+
"const": "ServiceEvent"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"type": "string",
|
|
1211
|
+
"const": "DemandChangedEvent"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"type": "string",
|
|
1215
|
+
"const": "VoteEvent"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"type": "string",
|
|
1219
|
+
"const": "FeedbackEvent"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"type": "string"
|
|
1223
|
+
}
|
|
1224
|
+
],
|
|
1225
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
1226
|
+
},
|
|
1227
|
+
"type_raw": {
|
|
1228
|
+
"type": "string",
|
|
1229
|
+
"description": "Raw event type"
|
|
1230
|
+
},
|
|
1231
|
+
"time": {
|
|
1232
|
+
"anyOf": [
|
|
1233
|
+
{
|
|
1234
|
+
"type": "string"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"type": "number"
|
|
1238
|
+
}
|
|
1239
|
+
],
|
|
1240
|
+
"description": "Event occurrence time"
|
|
1241
|
+
},
|
|
1242
|
+
"parsedJson_raw": {
|
|
1243
|
+
"description": "Raw parsed JSON data from the event"
|
|
1244
|
+
},
|
|
1245
|
+
"object": {
|
|
1246
|
+
"type": "string",
|
|
1247
|
+
"description": "Demand object ID"
|
|
1248
|
+
},
|
|
1249
|
+
"location": {
|
|
1250
|
+
"type": "string",
|
|
1251
|
+
"description": "Demand location"
|
|
1252
|
+
},
|
|
1253
|
+
"description": {
|
|
1254
|
+
"type": "string",
|
|
1255
|
+
"description": "Demand description preview (<=260 UTF-8 chars)."
|
|
1256
|
+
},
|
|
1257
|
+
"rewards": {
|
|
1258
|
+
"type": "array",
|
|
1259
|
+
"items": {
|
|
1260
|
+
"type": "string"
|
|
1261
|
+
},
|
|
1262
|
+
"description": "Reward object addresses (amounts read from Reward objects)."
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
"required": [
|
|
1266
|
+
"id",
|
|
1267
|
+
"sender",
|
|
1268
|
+
"type",
|
|
1269
|
+
"type_raw",
|
|
1270
|
+
"time",
|
|
1271
|
+
"object",
|
|
1272
|
+
"location",
|
|
1273
|
+
"description",
|
|
1274
|
+
"rewards"
|
|
1275
|
+
],
|
|
1276
|
+
"additionalProperties": false,
|
|
1277
|
+
"description": "Demand market-opportunity event"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"type": "object",
|
|
1281
|
+
"properties": {
|
|
1282
|
+
"id": {
|
|
1283
|
+
"type": "object",
|
|
1284
|
+
"properties": {
|
|
1285
|
+
"eventSeq": {
|
|
1286
|
+
"anyOf": [
|
|
1287
|
+
{
|
|
1288
|
+
"type": "string"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"type": "number"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"description": "Event sequence number"
|
|
1295
|
+
},
|
|
1296
|
+
"txDigest": {
|
|
1297
|
+
"type": "string",
|
|
1298
|
+
"description": "Transaction digest"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"required": [
|
|
1302
|
+
"eventSeq",
|
|
1303
|
+
"txDigest"
|
|
1304
|
+
],
|
|
1305
|
+
"additionalProperties": false,
|
|
1306
|
+
"description": "Event cursor"
|
|
1307
|
+
},
|
|
1308
|
+
"sender": {
|
|
1309
|
+
"type": "string",
|
|
1310
|
+
"description": "Event sender ID"
|
|
1311
|
+
},
|
|
1312
|
+
"type": {
|
|
1313
|
+
"anyOf": [
|
|
1314
|
+
{
|
|
1315
|
+
"type": "string",
|
|
1316
|
+
"const": "ArbEvent"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"type": "string",
|
|
1320
|
+
"const": "NewOrderEvent"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"type": "string",
|
|
1324
|
+
"const": "ProgressEvent"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"type": "string",
|
|
1328
|
+
"const": "DemandPresentEvent"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"type": "string",
|
|
1332
|
+
"const": "DemandFeedbackEvent"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"type": "string",
|
|
1336
|
+
"const": "NewEntityEvent"
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"type": "string",
|
|
1340
|
+
"const": "ServiceEvent"
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"type": "string",
|
|
1344
|
+
"const": "DemandChangedEvent"
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"type": "string",
|
|
1348
|
+
"const": "VoteEvent"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"type": "string",
|
|
1352
|
+
"const": "FeedbackEvent"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"type": "string"
|
|
1356
|
+
}
|
|
1357
|
+
],
|
|
1358
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
1359
|
+
},
|
|
1360
|
+
"type_raw": {
|
|
1361
|
+
"type": "string",
|
|
1362
|
+
"description": "Raw event type"
|
|
1363
|
+
},
|
|
1364
|
+
"time": {
|
|
1365
|
+
"anyOf": [
|
|
1366
|
+
{
|
|
1367
|
+
"type": "string"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"type": "number"
|
|
1371
|
+
}
|
|
1372
|
+
],
|
|
1373
|
+
"description": "Event occurrence time"
|
|
1374
|
+
},
|
|
1375
|
+
"parsedJson_raw": {
|
|
1376
|
+
"description": "Raw parsed JSON data from the event"
|
|
1377
|
+
},
|
|
1378
|
+
"object": {
|
|
1379
|
+
"type": "string",
|
|
1380
|
+
"description": "Arb object ID"
|
|
1381
|
+
},
|
|
1382
|
+
"voter": {
|
|
1383
|
+
"type": "string",
|
|
1384
|
+
"description": "Voter address"
|
|
1385
|
+
},
|
|
1386
|
+
"agrees": {
|
|
1387
|
+
"type": "array",
|
|
1388
|
+
"items": {
|
|
1389
|
+
"type": "number"
|
|
1390
|
+
},
|
|
1391
|
+
"description": "Supported proposition indices"
|
|
1392
|
+
},
|
|
1393
|
+
"weight": {
|
|
1394
|
+
"type": "number",
|
|
1395
|
+
"description": "Voting weight"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
"required": [
|
|
1399
|
+
"id",
|
|
1400
|
+
"sender",
|
|
1401
|
+
"type",
|
|
1402
|
+
"type_raw",
|
|
1403
|
+
"time",
|
|
1404
|
+
"object",
|
|
1405
|
+
"voter",
|
|
1406
|
+
"agrees",
|
|
1407
|
+
"weight"
|
|
1408
|
+
],
|
|
1409
|
+
"additionalProperties": false,
|
|
1410
|
+
"description": "Arbitration vote event"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"type": "object",
|
|
1414
|
+
"properties": {
|
|
1415
|
+
"id": {
|
|
1416
|
+
"type": "object",
|
|
1417
|
+
"properties": {
|
|
1418
|
+
"eventSeq": {
|
|
1419
|
+
"anyOf": [
|
|
1420
|
+
{
|
|
1421
|
+
"type": "string"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"type": "number"
|
|
1425
|
+
}
|
|
1426
|
+
],
|
|
1427
|
+
"description": "Event sequence number"
|
|
1428
|
+
},
|
|
1429
|
+
"txDigest": {
|
|
1430
|
+
"type": "string",
|
|
1431
|
+
"description": "Transaction digest"
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
"required": [
|
|
1435
|
+
"eventSeq",
|
|
1436
|
+
"txDigest"
|
|
1437
|
+
],
|
|
1438
|
+
"additionalProperties": false,
|
|
1439
|
+
"description": "Event cursor"
|
|
1440
|
+
},
|
|
1441
|
+
"sender": {
|
|
1442
|
+
"type": "string",
|
|
1443
|
+
"description": "Event sender ID"
|
|
1444
|
+
},
|
|
1445
|
+
"type": {
|
|
1446
|
+
"anyOf": [
|
|
1447
|
+
{
|
|
1448
|
+
"type": "string",
|
|
1449
|
+
"const": "ArbEvent"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"type": "string",
|
|
1453
|
+
"const": "NewOrderEvent"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"const": "ProgressEvent"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"type": "string",
|
|
1461
|
+
"const": "DemandPresentEvent"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"const": "DemandFeedbackEvent"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"const": "NewEntityEvent"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"const": "ServiceEvent"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"const": "DemandChangedEvent"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"const": "VoteEvent"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"const": "FeedbackEvent"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"type": "string"
|
|
1489
|
+
}
|
|
1490
|
+
],
|
|
1491
|
+
"description": "Event type. Supports Wowok built-in types (ArbEvent, NewOrderEvent, ProgressEvent, DemandPresentEvent, DemandFeedbackEvent, NewEntityEvent, ServiceEvent, DemandChangedEvent, VoteEvent, FeedbackEvent) or any string for generic MoveEventType (e.g., '0x2::coin::CoinEvent')"
|
|
1492
|
+
},
|
|
1493
|
+
"type_raw": {
|
|
1494
|
+
"type": "string",
|
|
1495
|
+
"description": "Raw event type"
|
|
1496
|
+
},
|
|
1497
|
+
"time": {
|
|
1498
|
+
"anyOf": [
|
|
1499
|
+
{
|
|
1500
|
+
"type": "string"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"type": "number"
|
|
1504
|
+
}
|
|
1505
|
+
],
|
|
1506
|
+
"description": "Event occurrence time"
|
|
1507
|
+
},
|
|
1508
|
+
"parsedJson_raw": {
|
|
1509
|
+
"description": "Raw parsed JSON data from the event"
|
|
1510
|
+
},
|
|
1511
|
+
"object": {
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
"description": "Arb object ID"
|
|
1514
|
+
},
|
|
1515
|
+
"feedback": {
|
|
1516
|
+
"type": "string",
|
|
1517
|
+
"description": "Feedback content"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
"required": [
|
|
1521
|
+
"id",
|
|
1522
|
+
"sender",
|
|
1523
|
+
"type",
|
|
1524
|
+
"type_raw",
|
|
1525
|
+
"time",
|
|
1526
|
+
"object",
|
|
1527
|
+
"feedback"
|
|
1528
|
+
],
|
|
1529
|
+
"additionalProperties": false,
|
|
1530
|
+
"description": "Arbitration feedback event"
|
|
1531
|
+
}
|
|
1532
|
+
]
|
|
1533
|
+
},
|
|
1534
|
+
"description": "Event object data"
|
|
1535
|
+
},
|
|
1536
|
+
"hasNextPage": {
|
|
1537
|
+
"type": "boolean",
|
|
1538
|
+
"description": "Whether there is a next page"
|
|
1539
|
+
},
|
|
1540
|
+
"nextCursor": {
|
|
1541
|
+
"description": "Next page cursor",
|
|
1542
|
+
"anyOf": [
|
|
1543
|
+
{
|
|
1544
|
+
"type": "object",
|
|
1545
|
+
"properties": {
|
|
1546
|
+
"eventSeq": {
|
|
1547
|
+
"anyOf": [
|
|
1548
|
+
{
|
|
1549
|
+
"type": "string"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"type": "number"
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
"description": "Event sequence number"
|
|
483
1556
|
},
|
|
484
|
-
{
|
|
1557
|
+
"txDigest": {
|
|
485
1558
|
"type": "string",
|
|
486
|
-
"
|
|
1559
|
+
"description": "Transaction digest"
|
|
487
1560
|
}
|
|
1561
|
+
},
|
|
1562
|
+
"required": [
|
|
1563
|
+
"eventSeq",
|
|
1564
|
+
"txDigest"
|
|
488
1565
|
],
|
|
489
|
-
"
|
|
1566
|
+
"additionalProperties": false,
|
|
1567
|
+
"description": "Event cursor"
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"type": "null"
|
|
1571
|
+
}
|
|
1572
|
+
]
|
|
1573
|
+
},
|
|
1574
|
+
"cache_expire": {
|
|
1575
|
+
"description": "Cache expiration time",
|
|
1576
|
+
"anyOf": [
|
|
1577
|
+
{
|
|
1578
|
+
"type": "number"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"type": "string",
|
|
1582
|
+
"const": "INFINITE"
|
|
490
1583
|
}
|
|
1584
|
+
]
|
|
1585
|
+
}
|
|
1586
|
+
},
|
|
1587
|
+
"required": [
|
|
1588
|
+
"data",
|
|
1589
|
+
"hasNextPage"
|
|
1590
|
+
],
|
|
1591
|
+
"additionalProperties": false,
|
|
1592
|
+
"description": "Event query result"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"type": "null"
|
|
1596
|
+
}
|
|
1597
|
+
],
|
|
1598
|
+
"description": "Event query result containing list of events and pagination info, or null if no data found"
|
|
1599
|
+
},
|
|
1600
|
+
"semantic": {
|
|
1601
|
+
"description": "Business semantic summary for the event query",
|
|
1602
|
+
"type": "object",
|
|
1603
|
+
"properties": {
|
|
1604
|
+
"intent": {
|
|
1605
|
+
"type": "string",
|
|
1606
|
+
"description": "Inferred user intent / operation goal. Constraint: snake_case string. Relation: derived from operation_type + data signals. Example: 'publish_service'"
|
|
1607
|
+
},
|
|
1608
|
+
"status": {
|
|
1609
|
+
"type": "string",
|
|
1610
|
+
"enum": [
|
|
1611
|
+
"success",
|
|
1612
|
+
"partial",
|
|
1613
|
+
"failed",
|
|
1614
|
+
"pending_input"
|
|
1615
|
+
],
|
|
1616
|
+
"description": "Business-level status (not raw tx status). 'pending_input' = needs Guard submission. Example: 'success'"
|
|
1617
|
+
},
|
|
1618
|
+
"summary": {
|
|
1619
|
+
"type": "string",
|
|
1620
|
+
"description": "One-sentence human-readable summary of what happened. AI should read this first. Example: 'Successfully published Service my-shop with Machine bound'"
|
|
1621
|
+
},
|
|
1622
|
+
"created": {
|
|
1623
|
+
"description": "Objects newly created in this operation, tagged with roles",
|
|
1624
|
+
"type": "array",
|
|
1625
|
+
"items": {
|
|
1626
|
+
"type": "object",
|
|
1627
|
+
"properties": {
|
|
1628
|
+
"id": {
|
|
1629
|
+
"type": "string",
|
|
1630
|
+
"description": "Object ID (64-hex with 0x prefix). Identifies the on-chain object. Example: '0xa1d4...'"
|
|
1631
|
+
},
|
|
1632
|
+
"name": {
|
|
1633
|
+
"description": "Local mark name if assigned, else null. Relation: resolved via local_mark_operation. Example: 'my-shop' or null",
|
|
1634
|
+
"anyOf": [
|
|
1635
|
+
{
|
|
1636
|
+
"type": "string"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"type": "null"
|
|
1640
|
+
}
|
|
1641
|
+
]
|
|
1642
|
+
},
|
|
1643
|
+
"role": {
|
|
1644
|
+
"type": "string",
|
|
1645
|
+
"enum": [
|
|
1646
|
+
"Permission",
|
|
1647
|
+
"Guard",
|
|
1648
|
+
"Machine",
|
|
1649
|
+
"Progress",
|
|
1650
|
+
"Service",
|
|
1651
|
+
"Order",
|
|
1652
|
+
"Allocation",
|
|
1653
|
+
"Arbitration",
|
|
1654
|
+
"ArbCase",
|
|
1655
|
+
"Messenger",
|
|
1656
|
+
"Contact",
|
|
1657
|
+
"Demand",
|
|
1658
|
+
"Reward",
|
|
1659
|
+
"Personal",
|
|
1660
|
+
"Repository",
|
|
1661
|
+
"Treasury",
|
|
1662
|
+
"Discount",
|
|
1663
|
+
"Payment",
|
|
1664
|
+
"Passport",
|
|
1665
|
+
"Proof",
|
|
1666
|
+
"Other"
|
|
1667
|
+
],
|
|
1668
|
+
"description": "Business role of the object in the dependency graph. Constraint: enum of 21 values. Relation: derived from objectType last segment; drives Plan/Verify Loop positioning. Example: 'Service'"
|
|
1669
|
+
},
|
|
1670
|
+
"relation": {
|
|
1671
|
+
"description": "Relationship to another object in the dependency graph",
|
|
1672
|
+
"type": "object",
|
|
1673
|
+
"properties": {
|
|
1674
|
+
"parent": {
|
|
1675
|
+
"description": "Parent object ID, if this object belongs to another (e.g. Machine belongs to Service). Example: '0x123...' or null",
|
|
1676
|
+
"anyOf": [
|
|
1677
|
+
{
|
|
1678
|
+
"type": "string"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"type": "null"
|
|
1682
|
+
}
|
|
1683
|
+
]
|
|
1684
|
+
},
|
|
1685
|
+
"relation_type": {
|
|
1686
|
+
"description": "How this object relates to its parent. Example: 'machine_of'",
|
|
1687
|
+
"type": "string",
|
|
1688
|
+
"enum": [
|
|
1689
|
+
"machine_of",
|
|
1690
|
+
"guard_of",
|
|
1691
|
+
"allocator_of",
|
|
1692
|
+
"permission_of",
|
|
1693
|
+
"progress_of",
|
|
1694
|
+
"allocation_of",
|
|
1695
|
+
"arb_of",
|
|
1696
|
+
"other"
|
|
1697
|
+
]
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"additionalProperties": false
|
|
1701
|
+
},
|
|
1702
|
+
"immutable": {
|
|
1703
|
+
"description": "Whether the object has entered an immutable state (e.g. Service published). Constraint: true after publish. Example: true",
|
|
1704
|
+
"type": "boolean"
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
"required": [
|
|
1708
|
+
"id",
|
|
1709
|
+
"role"
|
|
1710
|
+
],
|
|
1711
|
+
"additionalProperties": false,
|
|
1712
|
+
"description": "An object tagged with its business role and relationship within the object dependency graph"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"modified": {
|
|
1716
|
+
"description": "Objects mutated in this operation, tagged with roles",
|
|
1717
|
+
"type": "array",
|
|
1718
|
+
"items": {
|
|
1719
|
+
"type": "object",
|
|
1720
|
+
"properties": {
|
|
1721
|
+
"id": {
|
|
1722
|
+
"type": "string",
|
|
1723
|
+
"description": "Object ID (64-hex with 0x prefix). Identifies the on-chain object. Example: '0xa1d4...'"
|
|
1724
|
+
},
|
|
1725
|
+
"name": {
|
|
1726
|
+
"description": "Local mark name if assigned, else null. Relation: resolved via local_mark_operation. Example: 'my-shop' or null",
|
|
1727
|
+
"anyOf": [
|
|
1728
|
+
{
|
|
1729
|
+
"type": "string"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"type": "null"
|
|
1733
|
+
}
|
|
1734
|
+
]
|
|
1735
|
+
},
|
|
1736
|
+
"role": {
|
|
1737
|
+
"type": "string",
|
|
1738
|
+
"enum": [
|
|
1739
|
+
"Permission",
|
|
1740
|
+
"Guard",
|
|
1741
|
+
"Machine",
|
|
1742
|
+
"Progress",
|
|
1743
|
+
"Service",
|
|
1744
|
+
"Order",
|
|
1745
|
+
"Allocation",
|
|
1746
|
+
"Arbitration",
|
|
1747
|
+
"ArbCase",
|
|
1748
|
+
"Messenger",
|
|
1749
|
+
"Contact",
|
|
1750
|
+
"Demand",
|
|
1751
|
+
"Reward",
|
|
1752
|
+
"Personal",
|
|
1753
|
+
"Repository",
|
|
1754
|
+
"Treasury",
|
|
1755
|
+
"Discount",
|
|
1756
|
+
"Payment",
|
|
1757
|
+
"Passport",
|
|
1758
|
+
"Proof",
|
|
1759
|
+
"Other"
|
|
1760
|
+
],
|
|
1761
|
+
"description": "Business role of the object in the dependency graph. Constraint: enum of 21 values. Relation: derived from objectType last segment; drives Plan/Verify Loop positioning. Example: 'Service'"
|
|
1762
|
+
},
|
|
1763
|
+
"relation": {
|
|
1764
|
+
"description": "Relationship to another object in the dependency graph",
|
|
1765
|
+
"type": "object",
|
|
1766
|
+
"properties": {
|
|
1767
|
+
"parent": {
|
|
1768
|
+
"description": "Parent object ID, if this object belongs to another (e.g. Machine belongs to Service). Example: '0x123...' or null",
|
|
1769
|
+
"anyOf": [
|
|
1770
|
+
{
|
|
1771
|
+
"type": "string"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"type": "null"
|
|
1775
|
+
}
|
|
1776
|
+
]
|
|
1777
|
+
},
|
|
1778
|
+
"relation_type": {
|
|
1779
|
+
"description": "How this object relates to its parent. Example: 'machine_of'",
|
|
1780
|
+
"type": "string",
|
|
1781
|
+
"enum": [
|
|
1782
|
+
"machine_of",
|
|
1783
|
+
"guard_of",
|
|
1784
|
+
"allocator_of",
|
|
1785
|
+
"permission_of",
|
|
1786
|
+
"progress_of",
|
|
1787
|
+
"allocation_of",
|
|
1788
|
+
"arb_of",
|
|
1789
|
+
"other"
|
|
1790
|
+
]
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
"additionalProperties": false
|
|
1794
|
+
},
|
|
1795
|
+
"immutable": {
|
|
1796
|
+
"description": "Whether the object has entered an immutable state (e.g. Service published). Constraint: true after publish. Example: true",
|
|
1797
|
+
"type": "boolean"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
"required": [
|
|
1801
|
+
"id",
|
|
1802
|
+
"role"
|
|
1803
|
+
],
|
|
1804
|
+
"additionalProperties": false,
|
|
1805
|
+
"description": "An object tagged with its business role and relationship within the object dependency graph"
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
"released": {
|
|
1809
|
+
"description": "Fund movements in this operation, tagged with roles",
|
|
1810
|
+
"type": "array",
|
|
1811
|
+
"items": {
|
|
1812
|
+
"type": "object",
|
|
1813
|
+
"properties": {
|
|
1814
|
+
"amount": {
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"description": "Amount change as stringified integer (smallest unit). Negative=spend, positive=receive. Example: '-10000000000'"
|
|
1817
|
+
},
|
|
1818
|
+
"coinType": {
|
|
1819
|
+
"type": "string",
|
|
1820
|
+
"description": "Coin type tag (format: {address}::{module}::{struct}). Example: '0x2::wow::WOW'"
|
|
1821
|
+
},
|
|
1822
|
+
"role": {
|
|
1823
|
+
"type": "string",
|
|
1824
|
+
"enum": [
|
|
1825
|
+
"payment",
|
|
1826
|
+
"refund",
|
|
1827
|
+
"change",
|
|
1828
|
+
"compensation",
|
|
1829
|
+
"reward",
|
|
1830
|
+
"gas",
|
|
1831
|
+
"deposit",
|
|
1832
|
+
"release",
|
|
1833
|
+
"other"
|
|
1834
|
+
],
|
|
1835
|
+
"description": "Business role of this fund movement. Constraint: enum of 9 values. Relation: derived from operation context. Example: 'payment'"
|
|
1836
|
+
},
|
|
1837
|
+
"from": {
|
|
1838
|
+
"description": "Sender address if known. Example: '0xabc...' or null",
|
|
1839
|
+
"anyOf": [
|
|
1840
|
+
{
|
|
1841
|
+
"type": "string"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"type": "null"
|
|
1845
|
+
}
|
|
1846
|
+
]
|
|
1847
|
+
},
|
|
1848
|
+
"to": {
|
|
1849
|
+
"description": "Recipient address if known. Example: '0xdef...' or null",
|
|
1850
|
+
"anyOf": [
|
|
1851
|
+
{
|
|
1852
|
+
"type": "string"
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"type": "null"
|
|
1856
|
+
}
|
|
1857
|
+
]
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"required": [
|
|
1861
|
+
"amount",
|
|
1862
|
+
"coinType",
|
|
1863
|
+
"role"
|
|
1864
|
+
],
|
|
1865
|
+
"additionalProperties": false,
|
|
1866
|
+
"description": "A fund movement tagged with its business role"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
"events": {
|
|
1870
|
+
"description": "On-chain events annotated with business semantics (S-8)",
|
|
1871
|
+
"type": "array",
|
|
1872
|
+
"items": {
|
|
1873
|
+
"type": "object",
|
|
1874
|
+
"properties": {
|
|
1875
|
+
"event_type": {
|
|
1876
|
+
"type": "string",
|
|
1877
|
+
"description": "Raw on-chain event type tag. Example: '0x2::service::ServicePublishedEvent'"
|
|
1878
|
+
},
|
|
1879
|
+
"business_meaning": {
|
|
1880
|
+
"type": "string",
|
|
1881
|
+
"description": "Human-readable business meaning. Example: 'Service has been published and is now immutable'"
|
|
491
1882
|
},
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
1883
|
+
"category": {
|
|
1884
|
+
"type": "string",
|
|
1885
|
+
"enum": [
|
|
1886
|
+
"lifecycle",
|
|
1887
|
+
"state_change",
|
|
1888
|
+
"fund_flow",
|
|
1889
|
+
"permission",
|
|
1890
|
+
"guard",
|
|
1891
|
+
"other"
|
|
1892
|
+
],
|
|
1893
|
+
"description": "Business category. Constraint: enum of 6 values. Example: 'lifecycle'"
|
|
1894
|
+
},
|
|
1895
|
+
"related_object": {
|
|
1896
|
+
"description": "Object ID the event relates to, if extractable. Example: '0x123...'",
|
|
1897
|
+
"type": "string"
|
|
1898
|
+
},
|
|
1899
|
+
"side_effect": {
|
|
1900
|
+
"description": "Side effect description for AI. Example: 'Customers can now place orders against this Service'",
|
|
1901
|
+
"type": "string"
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
"required": [
|
|
1905
|
+
"event_type",
|
|
1906
|
+
"business_meaning",
|
|
1907
|
+
"category"
|
|
1908
|
+
],
|
|
1909
|
+
"additionalProperties": false,
|
|
1910
|
+
"description": "An on-chain event annotated with business semantics"
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
"next_actions": {
|
|
1914
|
+
"description": "Recommended next actions to drive the workflow forward",
|
|
1915
|
+
"type": "array",
|
|
1916
|
+
"items": {
|
|
1917
|
+
"type": "object",
|
|
1918
|
+
"properties": {
|
|
1919
|
+
"action": {
|
|
1920
|
+
"type": "string",
|
|
1921
|
+
"description": "Recommended next action. Example: 'add sales products'"
|
|
1922
|
+
},
|
|
1923
|
+
"reason": {
|
|
1924
|
+
"type": "string",
|
|
1925
|
+
"description": "Why this action is recommended. Example: 'Service has no products; customers cannot order'"
|
|
1926
|
+
},
|
|
1927
|
+
"tool": {
|
|
1928
|
+
"description": "MCP tool to use, if applicable. Example: 'onchain_operations'",
|
|
1929
|
+
"type": "string"
|
|
1930
|
+
},
|
|
1931
|
+
"prerequisite": {
|
|
1932
|
+
"description": "Condition that must hold before this action. Example: 'Service must be created first'",
|
|
1933
|
+
"type": "string"
|
|
1934
|
+
},
|
|
1935
|
+
"priority": {
|
|
1936
|
+
"type": "string",
|
|
1937
|
+
"enum": [
|
|
1938
|
+
"required",
|
|
1939
|
+
"recommended",
|
|
1940
|
+
"optional"
|
|
1941
|
+
],
|
|
1942
|
+
"description": "Priority. Constraint: enum. Example: 'required'"
|
|
1943
|
+
}
|
|
1944
|
+
},
|
|
1945
|
+
"required": [
|
|
1946
|
+
"action",
|
|
1947
|
+
"reason",
|
|
1948
|
+
"priority"
|
|
1949
|
+
],
|
|
1950
|
+
"additionalProperties": false,
|
|
1951
|
+
"description": "A recommended next action with priority and rationale"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"warnings": {
|
|
1955
|
+
"description": "Business-level warnings. Example: 'order_allocators not configured; order funds cannot be distributed'",
|
|
1956
|
+
"type": "array",
|
|
1957
|
+
"items": {
|
|
1958
|
+
"type": "string"
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"experience": {
|
|
1962
|
+
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)",
|
|
1963
|
+
"type": "object",
|
|
1964
|
+
"properties": {
|
|
1965
|
+
"advice": {
|
|
1966
|
+
"description": "Advice from past experience. Example: 'Last time you forgot to set buy_guard; add it before publishing'",
|
|
1967
|
+
"type": "string"
|
|
1968
|
+
},
|
|
1969
|
+
"avoid": {
|
|
1970
|
+
"description": "Pitfalls to avoid based on history. Example: ['Guard rejection on delivery_proof']",
|
|
1971
|
+
"type": "array",
|
|
1972
|
+
"items": {
|
|
1973
|
+
"type": "string"
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
"relevance": {
|
|
1977
|
+
"description": "Relevance score 0-1 of the matched experience. Example: 0.85",
|
|
1978
|
+
"type": "number",
|
|
1979
|
+
"minimum": 0,
|
|
1980
|
+
"maximum": 1
|
|
1981
|
+
},
|
|
1982
|
+
"matched_scenario": {
|
|
1983
|
+
"description": "Matched historical scenario. Example: 'publish_service_freelance'",
|
|
1984
|
+
"type": "string"
|
|
1985
|
+
}
|
|
1986
|
+
},
|
|
1987
|
+
"additionalProperties": false
|
|
1988
|
+
},
|
|
1989
|
+
"service_status": {
|
|
1990
|
+
"description": "Phase 2 runtime service status (populated when semantic_rich is enabled). Lets AI see active services in each response.",
|
|
1991
|
+
"type": "object",
|
|
1992
|
+
"properties": {
|
|
1993
|
+
"active": {
|
|
1994
|
+
"type": "array",
|
|
1995
|
+
"items": {
|
|
1996
|
+
"type": "string"
|
|
1997
|
+
},
|
|
1998
|
+
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','project_service','experience_layer']"
|
|
498
1999
|
},
|
|
499
|
-
{
|
|
500
|
-
"
|
|
2000
|
+
"inactive": {
|
|
2001
|
+
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness','graph_persist']",
|
|
2002
|
+
"type": "array",
|
|
2003
|
+
"items": {
|
|
2004
|
+
"type": "string"
|
|
2005
|
+
}
|
|
501
2006
|
}
|
|
2007
|
+
},
|
|
2008
|
+
"required": [
|
|
2009
|
+
"active"
|
|
502
2010
|
],
|
|
503
|
-
"
|
|
2011
|
+
"additionalProperties": false
|
|
504
2012
|
},
|
|
505
|
-
"
|
|
2013
|
+
"customer_advice": {
|
|
2014
|
+
"description": "Buyer-side advice (Phase 3 C-3.3). Populated when customer_intelligence service is enabled AND operation is order/query on a Service. Contains risk_score, recommendations, reminders, and preference_match.",
|
|
506
2015
|
"type": "object",
|
|
507
2016
|
"properties": {
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
"
|
|
2017
|
+
"risk_score": {
|
|
2018
|
+
"description": "Composite risk score 0-100 (higher = safer). Relation: from risk-assessment.ts 4-dimension scoring. Example: 75",
|
|
2019
|
+
"type": "number",
|
|
2020
|
+
"minimum": 0,
|
|
2021
|
+
"maximum": 100
|
|
511
2022
|
},
|
|
512
|
-
"
|
|
2023
|
+
"risk_level": {
|
|
2024
|
+
"description": "Risk level bucket. 'high' = strongly discourage purchase. Example: 'medium_high'",
|
|
513
2025
|
"type": "string",
|
|
514
2026
|
"enum": [
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
]
|
|
520
|
-
"description": "Business-level status (not raw tx status). 'pending_input' = needs Guard submission. Example: 'success'"
|
|
2027
|
+
"low",
|
|
2028
|
+
"medium_low",
|
|
2029
|
+
"medium_high",
|
|
2030
|
+
"high"
|
|
2031
|
+
]
|
|
521
2032
|
},
|
|
522
|
-
"
|
|
523
|
-
"type": "
|
|
524
|
-
"
|
|
2033
|
+
"recommendations": {
|
|
2034
|
+
"type": "array",
|
|
2035
|
+
"items": {
|
|
2036
|
+
"type": "string"
|
|
2037
|
+
},
|
|
2038
|
+
"description": "Actionable recommendations for the buyer. Example: ['Require merchant to configure arbitration','Negotiate refund terms via Messenger']"
|
|
525
2039
|
},
|
|
526
|
-
"
|
|
2040
|
+
"reminders": {
|
|
527
2041
|
"type": "array",
|
|
528
2042
|
"items": {
|
|
529
2043
|
"type": "object",
|
|
530
2044
|
"properties": {
|
|
531
2045
|
"id": {
|
|
532
2046
|
"type": "string",
|
|
533
|
-
"description": "
|
|
2047
|
+
"description": "Reminder rule id. Example: 'high_risk_score'"
|
|
534
2048
|
},
|
|
535
|
-
"
|
|
536
|
-
"type":
|
|
537
|
-
|
|
538
|
-
"
|
|
2049
|
+
"stage": {
|
|
2050
|
+
"type": "string",
|
|
2051
|
+
"enum": [
|
|
2052
|
+
"browse",
|
|
2053
|
+
"evaluate",
|
|
2054
|
+
"preorder",
|
|
2055
|
+
"in_progress",
|
|
2056
|
+
"complete",
|
|
2057
|
+
"after_sale"
|
|
539
2058
|
],
|
|
540
|
-
"description": "
|
|
2059
|
+
"description": "Order lifecycle stage when this reminder fires. Example: 'evaluate'"
|
|
541
2060
|
},
|
|
542
|
-
"
|
|
2061
|
+
"priority": {
|
|
543
2062
|
"type": "string",
|
|
544
2063
|
"enum": [
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
"
|
|
548
|
-
"
|
|
549
|
-
"Service",
|
|
550
|
-
"Order",
|
|
551
|
-
"Allocation",
|
|
552
|
-
"Arbitration",
|
|
553
|
-
"ArbCase",
|
|
554
|
-
"Messenger",
|
|
555
|
-
"Contact",
|
|
556
|
-
"Demand",
|
|
557
|
-
"Reward",
|
|
558
|
-
"Personal",
|
|
559
|
-
"Repository",
|
|
560
|
-
"Treasury",
|
|
561
|
-
"Discount",
|
|
562
|
-
"Other"
|
|
2064
|
+
"required",
|
|
2065
|
+
"recommended",
|
|
2066
|
+
"info",
|
|
2067
|
+
"reminder"
|
|
563
2068
|
],
|
|
564
|
-
"description": "
|
|
2069
|
+
"description": "Priority. 'required' = blocks purchase; 'recommended' = strong caution. Example: 'required'"
|
|
565
2070
|
},
|
|
566
|
-
"
|
|
567
|
-
"type": "
|
|
568
|
-
"
|
|
569
|
-
"parent": {
|
|
570
|
-
"type": [
|
|
571
|
-
"string",
|
|
572
|
-
"null"
|
|
573
|
-
],
|
|
574
|
-
"description": "Parent object ID, if this object belongs to another (e.g. Machine belongs to Service). Example: '0x123...' or null"
|
|
575
|
-
},
|
|
576
|
-
"relation_type": {
|
|
577
|
-
"type": "string",
|
|
578
|
-
"enum": [
|
|
579
|
-
"machine_of",
|
|
580
|
-
"guard_of",
|
|
581
|
-
"allocator_of",
|
|
582
|
-
"permission_of",
|
|
583
|
-
"progress_of",
|
|
584
|
-
"allocation_of",
|
|
585
|
-
"arb_of",
|
|
586
|
-
"other"
|
|
587
|
-
],
|
|
588
|
-
"description": "How this object relates to its parent. Example: 'machine_of'"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
"additionalProperties": false,
|
|
592
|
-
"description": "Relationship to another object in the dependency graph"
|
|
2071
|
+
"message": {
|
|
2072
|
+
"type": "string",
|
|
2073
|
+
"description": "Human-readable reminder message. Example: 'Composite risk score 25/100, strongly discourage purchase'"
|
|
593
2074
|
},
|
|
594
|
-
"
|
|
595
|
-
"
|
|
596
|
-
"
|
|
2075
|
+
"action": {
|
|
2076
|
+
"description": "Suggested next action. Example: 'require merchant to bind Arbitration before ordering'",
|
|
2077
|
+
"type": "string"
|
|
597
2078
|
}
|
|
598
2079
|
},
|
|
599
2080
|
"required": [
|
|
600
2081
|
"id",
|
|
601
|
-
"
|
|
2082
|
+
"stage",
|
|
2083
|
+
"priority",
|
|
2084
|
+
"message"
|
|
602
2085
|
],
|
|
603
2086
|
"additionalProperties": false,
|
|
604
|
-
"description": "
|
|
2087
|
+
"description": "A buyer-side reminder triggered at a specific order lifecycle stage (Phase 3 C-3)."
|
|
2088
|
+
},
|
|
2089
|
+
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
2090
|
+
},
|
|
2091
|
+
"preference_match": {
|
|
2092
|
+
"description": "Service-to-preference match (populated when user preferences exist). Example: {score:75, matches:[...], mismatches:[...]}",
|
|
2093
|
+
"type": "object",
|
|
2094
|
+
"properties": {
|
|
2095
|
+
"score": {
|
|
2096
|
+
"type": "number",
|
|
2097
|
+
"minimum": 0,
|
|
2098
|
+
"maximum": 100,
|
|
2099
|
+
"description": "Match score 0-100 (higher = better fit). Example: 75"
|
|
2100
|
+
},
|
|
2101
|
+
"matches": {
|
|
2102
|
+
"type": "array",
|
|
2103
|
+
"items": {
|
|
2104
|
+
"type": "string"
|
|
2105
|
+
},
|
|
2106
|
+
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
2107
|
+
},
|
|
2108
|
+
"mismatches": {
|
|
2109
|
+
"type": "array",
|
|
2110
|
+
"items": {
|
|
2111
|
+
"type": "string"
|
|
2112
|
+
},
|
|
2113
|
+
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
2114
|
+
}
|
|
605
2115
|
},
|
|
606
|
-
"
|
|
2116
|
+
"required": [
|
|
2117
|
+
"score",
|
|
2118
|
+
"matches",
|
|
2119
|
+
"mismatches"
|
|
2120
|
+
],
|
|
2121
|
+
"additionalProperties": false
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
|
+
"required": [
|
|
2125
|
+
"recommendations",
|
|
2126
|
+
"reminders"
|
|
2127
|
+
],
|
|
2128
|
+
"additionalProperties": false
|
|
2129
|
+
},
|
|
2130
|
+
"evolution_context": {
|
|
2131
|
+
"description": "Phase 4 industry evolution context (populated when industry_evolution service is enabled). Provides AI with industry health signals and evolution advice.",
|
|
2132
|
+
"type": "object",
|
|
2133
|
+
"properties": {
|
|
2134
|
+
"industry_signal": {
|
|
2135
|
+
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'",
|
|
2136
|
+
"type": "string"
|
|
607
2137
|
},
|
|
608
|
-
"
|
|
2138
|
+
"evolution_advice": {
|
|
2139
|
+
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'",
|
|
2140
|
+
"type": "string"
|
|
2141
|
+
},
|
|
2142
|
+
"confidence": {
|
|
2143
|
+
"type": "number",
|
|
2144
|
+
"minimum": 0,
|
|
2145
|
+
"maximum": 1,
|
|
2146
|
+
"description": "Confidence of the evolution context 0-1. <0.5 means no data yet. Example: 0.75"
|
|
2147
|
+
},
|
|
2148
|
+
"health_score": {
|
|
2149
|
+
"description": "Industry health score 0-100 if available. Example: 82",
|
|
2150
|
+
"type": "number",
|
|
2151
|
+
"minimum": 0,
|
|
2152
|
+
"maximum": 100
|
|
2153
|
+
},
|
|
2154
|
+
"pending_suggestions": {
|
|
2155
|
+
"description": "Count of pending industry update suggestions (filtered by role if role is set). Example: 3",
|
|
2156
|
+
"type": "integer",
|
|
2157
|
+
"minimum": 0,
|
|
2158
|
+
"maximum": 9007199254740991
|
|
2159
|
+
},
|
|
2160
|
+
"intent": {
|
|
2161
|
+
"description": "Phase 4 P4-6.C: Current business intent driving the scoring model. Absent = 'default'. Example: 'growth'",
|
|
2162
|
+
"type": "string",
|
|
2163
|
+
"enum": [
|
|
2164
|
+
"default",
|
|
2165
|
+
"growth",
|
|
2166
|
+
"retention",
|
|
2167
|
+
"compliance",
|
|
2168
|
+
"efficiency",
|
|
2169
|
+
"trust_building",
|
|
2170
|
+
"custom"
|
|
2171
|
+
]
|
|
2172
|
+
},
|
|
2173
|
+
"role_advice": {
|
|
2174
|
+
"description": "Phase 4 P4-6.C: Role-targeted advice strings (merchant/customer/prospect/supplier/collaborator/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']",
|
|
609
2175
|
"type": "array",
|
|
610
2176
|
"items": {
|
|
611
|
-
"
|
|
2177
|
+
"type": "string"
|
|
2178
|
+
}
|
|
2179
|
+
},
|
|
2180
|
+
"role": {
|
|
2181
|
+
"description": "Phase 4 P4-6.C: Role used for advice routing. Example: 'merchant'",
|
|
2182
|
+
"type": "string",
|
|
2183
|
+
"enum": [
|
|
2184
|
+
"merchant",
|
|
2185
|
+
"customer",
|
|
2186
|
+
"prospect",
|
|
2187
|
+
"supplier",
|
|
2188
|
+
"collaborator",
|
|
2189
|
+
"arbitrator"
|
|
2190
|
+
]
|
|
2191
|
+
}
|
|
2192
|
+
},
|
|
2193
|
+
"required": [
|
|
2194
|
+
"confidence"
|
|
2195
|
+
],
|
|
2196
|
+
"additionalProperties": false
|
|
2197
|
+
},
|
|
2198
|
+
"guard_advice": {
|
|
2199
|
+
"description": "Phase 5 Guard capability advice (populated when user intent involves Guard). Provides puzzle status, scene matching, suggested patterns, available queries, risk warnings, and confirmation text. AI uses this to guide Guard design dialogue (R1-R10).",
|
|
2200
|
+
"type": "object",
|
|
2201
|
+
"properties": {
|
|
2202
|
+
"current_round": {
|
|
2203
|
+
"description": "Current R1-R10 dialogue round. R1=intent, R2=table, R3=tree, R4=rely, R5=binding, R6=review, R7=CREATE, R8=test, R9=bind, R10=verify. Example: 'R3'",
|
|
2204
|
+
"type": "string",
|
|
2205
|
+
"enum": [
|
|
2206
|
+
"R1",
|
|
2207
|
+
"R2",
|
|
2208
|
+
"R3",
|
|
2209
|
+
"R4",
|
|
2210
|
+
"R5",
|
|
2211
|
+
"R6",
|
|
2212
|
+
"R7",
|
|
2213
|
+
"R8",
|
|
2214
|
+
"R9",
|
|
2215
|
+
"R10"
|
|
2216
|
+
]
|
|
2217
|
+
},
|
|
2218
|
+
"puzzle_status": {
|
|
2219
|
+
"description": "Information puzzle completeness (6 dimensions). Missing dimensions need user input before CREATE.",
|
|
2220
|
+
"type": "object",
|
|
2221
|
+
"properties": {
|
|
2222
|
+
"intent": {
|
|
2223
|
+
"type": "boolean",
|
|
2224
|
+
"description": "Intent dimension complete (action + rule + failure conditions)"
|
|
2225
|
+
},
|
|
2226
|
+
"binding": {
|
|
2227
|
+
"type": "boolean",
|
|
2228
|
+
"description": "Binding dimension complete (host object + field + circular ref)"
|
|
2229
|
+
},
|
|
2230
|
+
"data": {
|
|
2231
|
+
"type": "boolean",
|
|
2232
|
+
"description": "Data dimension complete (table entries + witnesses)"
|
|
2233
|
+
},
|
|
2234
|
+
"query": {
|
|
2235
|
+
"type": "boolean",
|
|
2236
|
+
"description": "Query dimension complete (query instructions if needed)"
|
|
2237
|
+
},
|
|
2238
|
+
"logic": {
|
|
2239
|
+
"type": "boolean",
|
|
2240
|
+
"description": "Logic dimension complete (root node returns Bool)"
|
|
2241
|
+
},
|
|
2242
|
+
"constraints": {
|
|
2243
|
+
"type": "boolean",
|
|
2244
|
+
"description": "Constraints dimension complete (10 Pitfalls checked)"
|
|
2245
|
+
}
|
|
612
2246
|
},
|
|
613
|
-
"
|
|
2247
|
+
"required": [
|
|
2248
|
+
"intent",
|
|
2249
|
+
"binding",
|
|
2250
|
+
"data",
|
|
2251
|
+
"query",
|
|
2252
|
+
"logic",
|
|
2253
|
+
"constraints"
|
|
2254
|
+
],
|
|
2255
|
+
"additionalProperties": false
|
|
2256
|
+
},
|
|
2257
|
+
"matched_scene": {
|
|
2258
|
+
"description": "Matched Guard scene id from the 8 binding scenarios ledger. Example: 'machine_forward_guard'",
|
|
2259
|
+
"type": "string"
|
|
2260
|
+
},
|
|
2261
|
+
"scene_description": {
|
|
2262
|
+
"description": "Human-readable scene description. Example: 'Workflow node forward validation (Forward.guard)'",
|
|
2263
|
+
"type": "string"
|
|
2264
|
+
},
|
|
2265
|
+
"scene_constraints": {
|
|
2266
|
+
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']",
|
|
2267
|
+
"type": "array",
|
|
2268
|
+
"items": {
|
|
2269
|
+
"type": "string"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"suggested_patterns": {
|
|
2273
|
+
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']",
|
|
2274
|
+
"type": "array",
|
|
2275
|
+
"items": {
|
|
2276
|
+
"type": "string"
|
|
2277
|
+
}
|
|
614
2278
|
},
|
|
615
|
-
"
|
|
2279
|
+
"available_queries": {
|
|
2280
|
+
"description": "Available query instructions for the current context (subset of 375 GUARDQUERY entries)",
|
|
616
2281
|
"type": "array",
|
|
617
2282
|
"items": {
|
|
618
2283
|
"type": "object",
|
|
619
2284
|
"properties": {
|
|
620
|
-
"
|
|
621
|
-
"type": "
|
|
622
|
-
"
|
|
2285
|
+
"id": {
|
|
2286
|
+
"type": "integer",
|
|
2287
|
+
"minimum": -9007199254740991,
|
|
2288
|
+
"maximum": 9007199254740991,
|
|
2289
|
+
"description": "Query instruction ID. Example: 1253"
|
|
623
2290
|
},
|
|
624
|
-
"
|
|
2291
|
+
"name": {
|
|
625
2292
|
"type": "string",
|
|
626
|
-
"description": "
|
|
2293
|
+
"description": "Query instruction name. Example: 'progress.current'"
|
|
627
2294
|
},
|
|
628
|
-
"
|
|
2295
|
+
"objectType": {
|
|
629
2296
|
"type": "string",
|
|
630
|
-
"
|
|
631
|
-
"payment",
|
|
632
|
-
"refund",
|
|
633
|
-
"change",
|
|
634
|
-
"compensation",
|
|
635
|
-
"reward",
|
|
636
|
-
"gas",
|
|
637
|
-
"deposit",
|
|
638
|
-
"release",
|
|
639
|
-
"other"
|
|
640
|
-
],
|
|
641
|
-
"description": "Business role of this fund movement. Constraint: enum of 9 values. Relation: derived from operation context. Example: 'payment'"
|
|
2297
|
+
"description": "Target object type. Example: 'Progress'"
|
|
642
2298
|
},
|
|
643
|
-
"
|
|
644
|
-
"type":
|
|
645
|
-
|
|
646
|
-
"null"
|
|
647
|
-
],
|
|
648
|
-
"description": "Sender address if known. Example: '0xabc...' or null"
|
|
2299
|
+
"returnType": {
|
|
2300
|
+
"type": "string",
|
|
2301
|
+
"description": "Return value type. Example: 'String'"
|
|
649
2302
|
},
|
|
650
|
-
"
|
|
651
|
-
"
|
|
652
|
-
|
|
653
|
-
"null"
|
|
654
|
-
],
|
|
655
|
-
"description": "Recipient address if known. Example: '0xdef...' or null"
|
|
2303
|
+
"description": {
|
|
2304
|
+
"description": "Query description",
|
|
2305
|
+
"type": "string"
|
|
656
2306
|
}
|
|
657
2307
|
},
|
|
658
2308
|
"required": [
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"
|
|
2309
|
+
"id",
|
|
2310
|
+
"name",
|
|
2311
|
+
"objectType",
|
|
2312
|
+
"returnType"
|
|
662
2313
|
],
|
|
663
2314
|
"additionalProperties": false,
|
|
664
|
-
"description": "A
|
|
665
|
-
}
|
|
666
|
-
"description": "Fund movements in this operation, tagged with roles"
|
|
2315
|
+
"description": "A Guard query instruction available for the current context (subset of GUARDQUERY 375 entries)."
|
|
2316
|
+
}
|
|
667
2317
|
},
|
|
668
|
-
"
|
|
2318
|
+
"risk_warnings": {
|
|
2319
|
+
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']",
|
|
669
2320
|
"type": "array",
|
|
670
2321
|
"items": {
|
|
671
|
-
"type": "
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
2322
|
+
"type": "string"
|
|
2323
|
+
}
|
|
2324
|
+
},
|
|
2325
|
+
"pending_questions": {
|
|
2326
|
+
"description": "Questions for the user to complete the puzzle. Example: ['Which Host Object will the Guard bind to?']",
|
|
2327
|
+
"type": "array",
|
|
2328
|
+
"items": {
|
|
2329
|
+
"type": "string"
|
|
2330
|
+
}
|
|
2331
|
+
},
|
|
2332
|
+
"confirmation_text": {
|
|
2333
|
+
"description": "Structured semantic confirmation text for user review (generated when puzzle is complete). User must explicitly confirm before CREATE.",
|
|
2334
|
+
"type": "string"
|
|
2335
|
+
},
|
|
2336
|
+
"test_result": {
|
|
2337
|
+
"description": "gen_passport static test result. Must pass before CREATE.",
|
|
2338
|
+
"type": "object",
|
|
2339
|
+
"properties": {
|
|
2340
|
+
"status": {
|
|
2341
|
+
"type": "string",
|
|
2342
|
+
"enum": [
|
|
2343
|
+
"pass",
|
|
2344
|
+
"fail",
|
|
2345
|
+
"not_tested"
|
|
2346
|
+
]
|
|
2347
|
+
},
|
|
2348
|
+
"failure_node": {
|
|
2349
|
+
"description": "Node that caused failure (if fail)",
|
|
2350
|
+
"type": "string"
|
|
2351
|
+
},
|
|
2352
|
+
"passport_id": {
|
|
2353
|
+
"description": "Generated Passport ID (if pass)",
|
|
2354
|
+
"type": "string"
|
|
2355
|
+
}
|
|
2356
|
+
},
|
|
2357
|
+
"required": [
|
|
2358
|
+
"status"
|
|
2359
|
+
],
|
|
2360
|
+
"additionalProperties": false
|
|
2361
|
+
},
|
|
2362
|
+
"risk_assessment": {
|
|
2363
|
+
"description": "Business-layer risk assessment (game theory, data source trust, logic gaps). Populated during Guard design to warn about business risks beyond syntax.",
|
|
2364
|
+
"type": "object",
|
|
2365
|
+
"properties": {
|
|
2366
|
+
"overall_risk": {
|
|
2367
|
+
"type": "string",
|
|
2368
|
+
"enum": [
|
|
2369
|
+
"critical",
|
|
2370
|
+
"high",
|
|
2371
|
+
"medium",
|
|
2372
|
+
"low",
|
|
2373
|
+
"info"
|
|
2374
|
+
],
|
|
2375
|
+
"description": "Overall risk level (highest from all risks)"
|
|
2376
|
+
},
|
|
2377
|
+
"risk_count": {
|
|
2378
|
+
"type": "integer",
|
|
2379
|
+
"minimum": -9007199254740991,
|
|
2380
|
+
"maximum": 9007199254740991,
|
|
2381
|
+
"description": "Total number of detected risks"
|
|
2382
|
+
},
|
|
2383
|
+
"critical_count": {
|
|
2384
|
+
"type": "integer",
|
|
2385
|
+
"minimum": -9007199254740991,
|
|
2386
|
+
"maximum": 9007199254740991,
|
|
2387
|
+
"description": "Number of critical risks"
|
|
2388
|
+
},
|
|
2389
|
+
"high_count": {
|
|
2390
|
+
"type": "integer",
|
|
2391
|
+
"minimum": -9007199254740991,
|
|
2392
|
+
"maximum": 9007199254740991,
|
|
2393
|
+
"description": "Number of high risks"
|
|
2394
|
+
},
|
|
2395
|
+
"needs_human_review": {
|
|
2396
|
+
"type": "boolean",
|
|
2397
|
+
"description": "Whether human review is required (critical or 2+ high risks)"
|
|
2398
|
+
},
|
|
2399
|
+
"top_risks": {
|
|
2400
|
+
"type": "array",
|
|
2401
|
+
"items": {
|
|
2402
|
+
"type": "string"
|
|
692
2403
|
},
|
|
693
|
-
"
|
|
694
|
-
|
|
695
|
-
|
|
2404
|
+
"description": "Top risk titles (critical and high, max 3)"
|
|
2405
|
+
},
|
|
2406
|
+
"stakeholder_advice": {
|
|
2407
|
+
"description": "Per-stakeholder advice. Key=stakeholder (customer/provider/arbitrator/claimant), value=advice list",
|
|
2408
|
+
"type": "object",
|
|
2409
|
+
"propertyNames": {
|
|
2410
|
+
"type": "string"
|
|
696
2411
|
},
|
|
697
|
-
"
|
|
698
|
-
"type": "
|
|
699
|
-
"
|
|
2412
|
+
"additionalProperties": {
|
|
2413
|
+
"type": "array",
|
|
2414
|
+
"items": {
|
|
2415
|
+
"type": "string"
|
|
2416
|
+
}
|
|
700
2417
|
}
|
|
701
|
-
}
|
|
702
|
-
"required": [
|
|
703
|
-
"event_type",
|
|
704
|
-
"business_meaning",
|
|
705
|
-
"category"
|
|
706
|
-
],
|
|
707
|
-
"additionalProperties": false,
|
|
708
|
-
"description": "An on-chain event annotated with business semantics"
|
|
2418
|
+
}
|
|
709
2419
|
},
|
|
710
|
-
"
|
|
2420
|
+
"required": [
|
|
2421
|
+
"overall_risk",
|
|
2422
|
+
"risk_count",
|
|
2423
|
+
"critical_count",
|
|
2424
|
+
"high_count",
|
|
2425
|
+
"needs_human_review",
|
|
2426
|
+
"top_risks"
|
|
2427
|
+
],
|
|
2428
|
+
"additionalProperties": false
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
"additionalProperties": false
|
|
2432
|
+
},
|
|
2433
|
+
"workflow_guidance": {
|
|
2434
|
+
"description": "K3 permission-aware workflow guidance: current node + ALL reachable next nodes with their operator/permission/guard + K3 recommendation. Populated when a Progress (or Order with Progress) is queried and after progress operate. AI must read this BEFORE proposing the next workflow operation.",
|
|
2435
|
+
"type": "object",
|
|
2436
|
+
"properties": {
|
|
2437
|
+
"current_node": {
|
|
2438
|
+
"type": "string",
|
|
2439
|
+
"description": "Current node of the Progress. Example: 'serving'"
|
|
2440
|
+
},
|
|
2441
|
+
"caller": {
|
|
2442
|
+
"description": "The account (name/address) this guidance is framed for (env.account). Example: 'london_guide'",
|
|
2443
|
+
"type": "string"
|
|
711
2444
|
},
|
|
712
|
-
"
|
|
2445
|
+
"options": {
|
|
713
2446
|
"type": "array",
|
|
714
2447
|
"items": {
|
|
715
2448
|
"type": "object",
|
|
716
2449
|
"properties": {
|
|
717
|
-
"
|
|
2450
|
+
"next_node": {
|
|
718
2451
|
"type": "string",
|
|
719
|
-
"description": "
|
|
2452
|
+
"description": "Target node this forward advances INTO. Example: 'serving'"
|
|
720
2453
|
},
|
|
721
|
-
"
|
|
2454
|
+
"forward": {
|
|
722
2455
|
"type": "string",
|
|
723
|
-
"description": "
|
|
2456
|
+
"description": "Forward (operation) name. Example: 'StartService'"
|
|
724
2457
|
},
|
|
725
|
-
"
|
|
726
|
-
"type": "
|
|
727
|
-
"description": "
|
|
2458
|
+
"weight": {
|
|
2459
|
+
"type": "number",
|
|
2460
|
+
"description": "Forward weight contributed toward the pair threshold. Example: 1"
|
|
728
2461
|
},
|
|
729
|
-
"
|
|
730
|
-
"type": "
|
|
731
|
-
"
|
|
2462
|
+
"operator": {
|
|
2463
|
+
"type": "object",
|
|
2464
|
+
"properties": {
|
|
2465
|
+
"kind": {
|
|
2466
|
+
"type": "string",
|
|
2467
|
+
"enum": [
|
|
2468
|
+
"order_holder",
|
|
2469
|
+
"permission_index",
|
|
2470
|
+
"named_operator"
|
|
2471
|
+
],
|
|
2472
|
+
"description": "Who can execute this forward (K3 feasibility). 'order_holder' = the Order owner (customer; forward namedOperator=''), 'permission_index' = a permission role, 'named_operator' = a specific Progress namespace operator."
|
|
2473
|
+
},
|
|
2474
|
+
"permission_index": {
|
|
2475
|
+
"description": "Permission index when kind='permission_index'. Example: 1000",
|
|
2476
|
+
"type": "integer",
|
|
2477
|
+
"minimum": -9007199254740991,
|
|
2478
|
+
"maximum": 9007199254740991
|
|
2479
|
+
},
|
|
2480
|
+
"role_name": {
|
|
2481
|
+
"description": "Resolved role display name. Example: 'merchant (permission 1000)' / 'order holder (customer)'",
|
|
2482
|
+
"type": "string"
|
|
2483
|
+
},
|
|
2484
|
+
"account_name": {
|
|
2485
|
+
"description": "Resolved local account/mark name when the operator maps to a concrete account. Example: 'london_guide'",
|
|
2486
|
+
"type": "string"
|
|
2487
|
+
},
|
|
2488
|
+
"named_operator": {
|
|
2489
|
+
"description": "NamedOperator namespace when kind='named_operator'. Example: 'delivery_team'",
|
|
2490
|
+
"type": "string"
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
"required": [
|
|
2494
|
+
"kind"
|
|
2495
|
+
],
|
|
2496
|
+
"additionalProperties": false,
|
|
2497
|
+
"description": "Who can execute this forward (which account + which permission)."
|
|
732
2498
|
},
|
|
733
|
-
"
|
|
2499
|
+
"guard": {
|
|
2500
|
+
"description": "Guard bound to the forward — acceptance condition verified BEFORE the transition. Example: 'guard_payout'",
|
|
2501
|
+
"type": "string"
|
|
2502
|
+
},
|
|
2503
|
+
"business_meaning": {
|
|
734
2504
|
"type": "string",
|
|
735
|
-
"
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
"
|
|
2505
|
+
"description": "Business meaning of advancing to this node. Example: 'Guide starts the day service'"
|
|
2506
|
+
},
|
|
2507
|
+
"gains": {
|
|
2508
|
+
"description": "Gains for the caller if this option is chosen (K3 Game G1 收益分离). Example: ['Settlement triggered — funds released to provider']",
|
|
2509
|
+
"type": "array",
|
|
2510
|
+
"items": {
|
|
2511
|
+
"type": "string"
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
"risks": {
|
|
2515
|
+
"description": "Risks for the caller if this option is chosen (K3 Game G1 风险分离). Example: ['Refund leverage lost after confirmation']",
|
|
2516
|
+
"type": "array",
|
|
2517
|
+
"items": {
|
|
2518
|
+
"type": "string"
|
|
2519
|
+
}
|
|
2520
|
+
},
|
|
2521
|
+
"consistency": {
|
|
2522
|
+
"description": "Consistency 0-100 between this option's business semantics and the caller's interests (K3 Game optimality). Higher = more aligned.",
|
|
2523
|
+
"type": "number",
|
|
2524
|
+
"minimum": 0,
|
|
2525
|
+
"maximum": 100
|
|
2526
|
+
},
|
|
2527
|
+
"recommended": {
|
|
2528
|
+
"description": "Whether this is the recommended option (highest consistency).",
|
|
2529
|
+
"type": "boolean"
|
|
741
2530
|
}
|
|
742
2531
|
},
|
|
743
2532
|
"required": [
|
|
744
|
-
"
|
|
745
|
-
"
|
|
746
|
-
"
|
|
2533
|
+
"next_node",
|
|
2534
|
+
"forward",
|
|
2535
|
+
"weight",
|
|
2536
|
+
"operator",
|
|
2537
|
+
"business_meaning"
|
|
747
2538
|
],
|
|
748
2539
|
"additionalProperties": false,
|
|
749
|
-
"description": "A
|
|
750
|
-
},
|
|
751
|
-
"description": "Recommended next actions to drive the workflow forward"
|
|
752
|
-
},
|
|
753
|
-
"warnings": {
|
|
754
|
-
"type": "array",
|
|
755
|
-
"items": {
|
|
756
|
-
"type": "string"
|
|
2540
|
+
"description": "A reachable next-node option with its operator/permission, guard, business meaning, and K3-style gains/risks/consistency."
|
|
757
2541
|
},
|
|
758
|
-
"description": "
|
|
2542
|
+
"description": "ALL reachable next-node directions (every operator/permission/guard disclosed)."
|
|
759
2543
|
},
|
|
760
|
-
"
|
|
2544
|
+
"recommendation": {
|
|
2545
|
+
"description": "Recommended option with rationale (K3 Game 意图/博弈/利益).",
|
|
761
2546
|
"type": "object",
|
|
762
2547
|
"properties": {
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
},
|
|
767
|
-
"avoid": {
|
|
768
|
-
"type": "array",
|
|
769
|
-
"items": {
|
|
770
|
-
"type": "string"
|
|
771
|
-
},
|
|
772
|
-
"description": "Pitfalls to avoid based on history. Example: ['Guard rejection on delivery_proof']"
|
|
2548
|
+
"best": {
|
|
2549
|
+
"description": "Recommended action in '<forward> → <next_node>' form. Example: 'StartService → serving'",
|
|
2550
|
+
"type": "string"
|
|
773
2551
|
},
|
|
774
|
-
"
|
|
775
|
-
"
|
|
776
|
-
"
|
|
777
|
-
"maximum": 1,
|
|
778
|
-
"description": "Relevance score 0-1 of the matched experience. Example: 0.85"
|
|
2552
|
+
"rationale": {
|
|
2553
|
+
"description": "Why this option is recommended (framed at the caller's value: gains/risks). Example: 'For the guide, advancing to serving triggers the delivery flow'",
|
|
2554
|
+
"type": "string"
|
|
779
2555
|
},
|
|
780
|
-
"
|
|
781
|
-
"
|
|
782
|
-
"
|
|
2556
|
+
"caveat": {
|
|
2557
|
+
"description": "Disclosed trade-off / opportunity cost of NOT taking another path (K3 Game G3 机会成本). Example: 'Choosing cancelled forfeits this order's settlement'",
|
|
2558
|
+
"type": "string"
|
|
783
2559
|
}
|
|
784
2560
|
},
|
|
785
|
-
"additionalProperties": false
|
|
786
|
-
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)"
|
|
2561
|
+
"additionalProperties": false
|
|
787
2562
|
},
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
"required": [
|
|
807
|
-
"active"
|
|
808
|
-
],
|
|
809
|
-
"additionalProperties": false,
|
|
810
|
-
"description": "Phase 2 runtime service status (populated when semantic_rich is enabled). Lets AI see active services in each response."
|
|
2563
|
+
"note": {
|
|
2564
|
+
"description": "Additional note (e.g. wait for the other party, entry/terminal hint).",
|
|
2565
|
+
"type": "string"
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
"required": [
|
|
2569
|
+
"current_node",
|
|
2570
|
+
"options"
|
|
2571
|
+
],
|
|
2572
|
+
"additionalProperties": false
|
|
2573
|
+
},
|
|
2574
|
+
"workflow_receipt": {
|
|
2575
|
+
"description": "K3 operate receipt: which account did what, whether the node migrated, and threshold/weight cooperation status when it did not. AI must relay this to the user after every progress operation.",
|
|
2576
|
+
"type": "object",
|
|
2577
|
+
"properties": {
|
|
2578
|
+
"account": {
|
|
2579
|
+
"type": "string",
|
|
2580
|
+
"description": "The account that executed the operation (env.account). Example: 'london_guide'"
|
|
811
2581
|
},
|
|
812
|
-
"
|
|
813
|
-
"type": "
|
|
814
|
-
"
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
"
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
2582
|
+
"action": {
|
|
2583
|
+
"type": "string",
|
|
2584
|
+
"description": "What was done. Example: 'london_guide executed StartService (paid → serving)'"
|
|
2585
|
+
},
|
|
2586
|
+
"forward": {
|
|
2587
|
+
"type": "string",
|
|
2588
|
+
"description": "Forward name executed. Example: 'StartService'"
|
|
2589
|
+
},
|
|
2590
|
+
"target_node": {
|
|
2591
|
+
"type": "string",
|
|
2592
|
+
"description": "Target node of the executed forward. Example: 'serving'"
|
|
2593
|
+
},
|
|
2594
|
+
"op": {
|
|
2595
|
+
"description": "Operation type executed.",
|
|
2596
|
+
"type": "string",
|
|
2597
|
+
"enum": [
|
|
2598
|
+
"next",
|
|
2599
|
+
"hold",
|
|
2600
|
+
"unhold",
|
|
2601
|
+
"adminUnhold"
|
|
2602
|
+
]
|
|
2603
|
+
},
|
|
2604
|
+
"migrated": {
|
|
2605
|
+
"type": "boolean",
|
|
2606
|
+
"description": "Whether the Progress migrated to the target node (true) or stayed (false — weights still accumulating toward threshold)."
|
|
2607
|
+
},
|
|
2608
|
+
"current_node": {
|
|
2609
|
+
"type": "string",
|
|
2610
|
+
"description": "Progress.current after the operation."
|
|
2611
|
+
},
|
|
2612
|
+
"threshold": {
|
|
2613
|
+
"description": "Pair threshold when NOT migrated (threshold > 0).",
|
|
2614
|
+
"type": "number"
|
|
2615
|
+
},
|
|
2616
|
+
"accumulated_weight": {
|
|
2617
|
+
"description": "Accumulated forward weight in the current session when NOT migrated.",
|
|
2618
|
+
"type": "number"
|
|
2619
|
+
},
|
|
2620
|
+
"remaining": {
|
|
2621
|
+
"description": "threshold - accumulated_weight when NOT migrated.",
|
|
2622
|
+
"type": "number"
|
|
2623
|
+
},
|
|
2624
|
+
"waiting_on": {
|
|
2625
|
+
"description": "Pending forwards + their operators when NOT migrated (K3 Game G4 — who must cooperate next).",
|
|
2626
|
+
"type": "array",
|
|
2627
|
+
"items": {
|
|
2628
|
+
"type": "object",
|
|
2629
|
+
"properties": {
|
|
2630
|
+
"forward": {
|
|
2631
|
+
"type": "string",
|
|
2632
|
+
"description": "Forward still required to reach the threshold. Example: 'GuideConfirm'"
|
|
835
2633
|
},
|
|
836
|
-
"
|
|
837
|
-
},
|
|
838
|
-
"reminders": {
|
|
839
|
-
"type": "array",
|
|
840
|
-
"items": {
|
|
2634
|
+
"operator": {
|
|
841
2635
|
"type": "object",
|
|
842
2636
|
"properties": {
|
|
843
|
-
"
|
|
844
|
-
"type": "string",
|
|
845
|
-
"description": "Reminder rule id. Example: 'high_risk_score'"
|
|
846
|
-
},
|
|
847
|
-
"stage": {
|
|
2637
|
+
"kind": {
|
|
848
2638
|
"type": "string",
|
|
849
2639
|
"enum": [
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
-
"in_progress",
|
|
854
|
-
"complete",
|
|
855
|
-
"after_sale"
|
|
2640
|
+
"order_holder",
|
|
2641
|
+
"permission_index",
|
|
2642
|
+
"named_operator"
|
|
856
2643
|
],
|
|
857
|
-
"description": "
|
|
2644
|
+
"description": "Who can execute this forward (K3 feasibility). 'order_holder' = the Order owner (customer; forward namedOperator=''), 'permission_index' = a permission role, 'named_operator' = a specific Progress namespace operator."
|
|
858
2645
|
},
|
|
859
|
-
"
|
|
860
|
-
"
|
|
861
|
-
"
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
"info",
|
|
865
|
-
"reminder"
|
|
866
|
-
],
|
|
867
|
-
"description": "Priority. 'required' = blocks purchase; 'recommended' = strong caution. Example: 'required'"
|
|
2646
|
+
"permission_index": {
|
|
2647
|
+
"description": "Permission index when kind='permission_index'. Example: 1000",
|
|
2648
|
+
"type": "integer",
|
|
2649
|
+
"minimum": -9007199254740991,
|
|
2650
|
+
"maximum": 9007199254740991
|
|
868
2651
|
},
|
|
869
|
-
"
|
|
870
|
-
"
|
|
871
|
-
"
|
|
2652
|
+
"role_name": {
|
|
2653
|
+
"description": "Resolved role display name. Example: 'merchant (permission 1000)' / 'order holder (customer)'",
|
|
2654
|
+
"type": "string"
|
|
872
2655
|
},
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"
|
|
2656
|
+
"account_name": {
|
|
2657
|
+
"description": "Resolved local account/mark name when the operator maps to a concrete account. Example: 'london_guide'",
|
|
2658
|
+
"type": "string"
|
|
2659
|
+
},
|
|
2660
|
+
"named_operator": {
|
|
2661
|
+
"description": "NamedOperator namespace when kind='named_operator'. Example: 'delivery_team'",
|
|
2662
|
+
"type": "string"
|
|
876
2663
|
}
|
|
877
2664
|
},
|
|
878
2665
|
"required": [
|
|
879
|
-
"
|
|
880
|
-
"stage",
|
|
881
|
-
"priority",
|
|
882
|
-
"message"
|
|
2666
|
+
"kind"
|
|
883
2667
|
],
|
|
884
2668
|
"additionalProperties": false,
|
|
885
|
-
"description": "
|
|
886
|
-
}
|
|
887
|
-
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
888
|
-
},
|
|
889
|
-
"preference_match": {
|
|
890
|
-
"type": "object",
|
|
891
|
-
"properties": {
|
|
892
|
-
"score": {
|
|
893
|
-
"type": "number",
|
|
894
|
-
"minimum": 0,
|
|
895
|
-
"maximum": 100,
|
|
896
|
-
"description": "Match score 0-100 (higher = better fit). Example: 75"
|
|
897
|
-
},
|
|
898
|
-
"matches": {
|
|
899
|
-
"type": "array",
|
|
900
|
-
"items": {
|
|
901
|
-
"type": "string"
|
|
902
|
-
},
|
|
903
|
-
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
904
|
-
},
|
|
905
|
-
"mismatches": {
|
|
906
|
-
"type": "array",
|
|
907
|
-
"items": {
|
|
908
|
-
"type": "string"
|
|
909
|
-
},
|
|
910
|
-
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
"required": [
|
|
914
|
-
"score",
|
|
915
|
-
"matches",
|
|
916
|
-
"mismatches"
|
|
917
|
-
],
|
|
918
|
-
"additionalProperties": false,
|
|
919
|
-
"description": "Service-to-preference match (populated when user preferences exist). Example: {score:75, matches:[...], mismatches:[...]}"
|
|
920
|
-
}
|
|
921
|
-
},
|
|
922
|
-
"required": [
|
|
923
|
-
"recommendations",
|
|
924
|
-
"reminders"
|
|
925
|
-
],
|
|
926
|
-
"additionalProperties": false,
|
|
927
|
-
"description": "Buyer-side advice (Phase 3 C-3.3). Populated when customer_intelligence service is enabled AND operation is order/query on a Service. Contains risk_score, recommendations, reminders, and preference_match."
|
|
928
|
-
},
|
|
929
|
-
"evolution_context": {
|
|
930
|
-
"type": "object",
|
|
931
|
-
"properties": {
|
|
932
|
-
"industry_signal": {
|
|
933
|
-
"type": "string",
|
|
934
|
-
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'"
|
|
935
|
-
},
|
|
936
|
-
"evolution_advice": {
|
|
937
|
-
"type": "string",
|
|
938
|
-
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'"
|
|
939
|
-
},
|
|
940
|
-
"confidence": {
|
|
941
|
-
"type": "number",
|
|
942
|
-
"minimum": 0,
|
|
943
|
-
"maximum": 1,
|
|
944
|
-
"description": "Confidence of the evolution context 0-1. <0.5 means no data yet. Example: 0.75"
|
|
945
|
-
},
|
|
946
|
-
"health_score": {
|
|
947
|
-
"type": "number",
|
|
948
|
-
"minimum": 0,
|
|
949
|
-
"maximum": 100,
|
|
950
|
-
"description": "Industry health score 0-100 if available. Example: 82"
|
|
951
|
-
},
|
|
952
|
-
"pending_suggestions": {
|
|
953
|
-
"type": "integer",
|
|
954
|
-
"minimum": 0,
|
|
955
|
-
"description": "Count of pending industry update suggestions (filtered by role if role is set). Example: 3"
|
|
956
|
-
},
|
|
957
|
-
"intent": {
|
|
958
|
-
"type": "string",
|
|
959
|
-
"enum": [
|
|
960
|
-
"default",
|
|
961
|
-
"growth",
|
|
962
|
-
"retention",
|
|
963
|
-
"compliance",
|
|
964
|
-
"efficiency",
|
|
965
|
-
"trust_building",
|
|
966
|
-
"custom"
|
|
967
|
-
],
|
|
968
|
-
"description": "Phase 4 P4-6.C: Current business intent driving the scoring model. Absent = 'default'. Example: 'growth'"
|
|
969
|
-
},
|
|
970
|
-
"role_advice": {
|
|
971
|
-
"type": "array",
|
|
972
|
-
"items": {
|
|
973
|
-
"type": "string"
|
|
974
|
-
},
|
|
975
|
-
"description": "Phase 4 P4-6.C: Role-targeted advice strings (merchant/customer/prospect/supplier/collaborator/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']"
|
|
2669
|
+
"description": "Who must execute this forward next."
|
|
2670
|
+
}
|
|
976
2671
|
},
|
|
977
|
-
"
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
"collaborator",
|
|
985
|
-
"arbitrator"
|
|
986
|
-
],
|
|
987
|
-
"description": "Phase 4 P4-6.C: Role used for advice routing. Example: 'merchant'"
|
|
988
|
-
}
|
|
989
|
-
},
|
|
990
|
-
"required": [
|
|
991
|
-
"confidence"
|
|
992
|
-
],
|
|
993
|
-
"additionalProperties": false,
|
|
994
|
-
"description": "Phase 4 industry evolution context (populated when industry_evolution service is enabled). Provides AI with industry health signals and evolution advice."
|
|
2672
|
+
"required": [
|
|
2673
|
+
"forward",
|
|
2674
|
+
"operator"
|
|
2675
|
+
],
|
|
2676
|
+
"additionalProperties": false,
|
|
2677
|
+
"description": "A forward still pending — who must act next (threshold cooperation, K3 Game G4 阈值配合)."
|
|
2678
|
+
}
|
|
995
2679
|
},
|
|
996
|
-
"
|
|
2680
|
+
"next_guidance": {
|
|
2681
|
+
"description": "Next-node guidance from the resulting current node.",
|
|
997
2682
|
"type": "object",
|
|
998
2683
|
"properties": {
|
|
999
|
-
"
|
|
1000
|
-
"type": "string",
|
|
1001
|
-
"enum": [
|
|
1002
|
-
"R1",
|
|
1003
|
-
"R2",
|
|
1004
|
-
"R3",
|
|
1005
|
-
"R4",
|
|
1006
|
-
"R5",
|
|
1007
|
-
"R6",
|
|
1008
|
-
"R7",
|
|
1009
|
-
"R8",
|
|
1010
|
-
"R9",
|
|
1011
|
-
"R10"
|
|
1012
|
-
],
|
|
1013
|
-
"description": "Current R1-R10 dialogue round. R1=intent, R2=table, R3=tree, R4=rely, R5=binding, R6=review, R7=CREATE, R8=test, R9=bind, R10=verify. Example: 'R3'"
|
|
1014
|
-
},
|
|
1015
|
-
"puzzle_status": {
|
|
1016
|
-
"type": "object",
|
|
1017
|
-
"properties": {
|
|
1018
|
-
"intent": {
|
|
1019
|
-
"type": "boolean",
|
|
1020
|
-
"description": "Intent dimension complete (action + rule + failure conditions)"
|
|
1021
|
-
},
|
|
1022
|
-
"binding": {
|
|
1023
|
-
"type": "boolean",
|
|
1024
|
-
"description": "Binding dimension complete (host object + field + circular ref)"
|
|
1025
|
-
},
|
|
1026
|
-
"data": {
|
|
1027
|
-
"type": "boolean",
|
|
1028
|
-
"description": "Data dimension complete (table entries + witnesses)"
|
|
1029
|
-
},
|
|
1030
|
-
"query": {
|
|
1031
|
-
"type": "boolean",
|
|
1032
|
-
"description": "Query dimension complete (query instructions if needed)"
|
|
1033
|
-
},
|
|
1034
|
-
"logic": {
|
|
1035
|
-
"type": "boolean",
|
|
1036
|
-
"description": "Logic dimension complete (root node returns Bool)"
|
|
1037
|
-
},
|
|
1038
|
-
"constraints": {
|
|
1039
|
-
"type": "boolean",
|
|
1040
|
-
"description": "Constraints dimension complete (10 Pitfalls checked)"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
"required": [
|
|
1044
|
-
"intent",
|
|
1045
|
-
"binding",
|
|
1046
|
-
"data",
|
|
1047
|
-
"query",
|
|
1048
|
-
"logic",
|
|
1049
|
-
"constraints"
|
|
1050
|
-
],
|
|
1051
|
-
"additionalProperties": false,
|
|
1052
|
-
"description": "Information puzzle completeness (6 dimensions). Missing dimensions need user input before CREATE."
|
|
1053
|
-
},
|
|
1054
|
-
"matched_scene": {
|
|
1055
|
-
"type": "string",
|
|
1056
|
-
"description": "Matched Guard scene id from the 8 binding scenarios ledger. Example: 'machine_forward_guard'"
|
|
1057
|
-
},
|
|
1058
|
-
"scene_description": {
|
|
2684
|
+
"current_node": {
|
|
1059
2685
|
"type": "string",
|
|
1060
|
-
"description": "
|
|
2686
|
+
"description": "Current node of the Progress. Example: 'serving'"
|
|
1061
2687
|
},
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1064
|
-
"
|
|
1065
|
-
"type": "string"
|
|
1066
|
-
},
|
|
1067
|
-
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']"
|
|
1068
|
-
},
|
|
1069
|
-
"suggested_patterns": {
|
|
1070
|
-
"type": "array",
|
|
1071
|
-
"items": {
|
|
1072
|
-
"type": "string"
|
|
1073
|
-
},
|
|
1074
|
-
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']"
|
|
2688
|
+
"caller": {
|
|
2689
|
+
"description": "The account (name/address) this guidance is framed for (env.account). Example: 'london_guide'",
|
|
2690
|
+
"type": "string"
|
|
1075
2691
|
},
|
|
1076
|
-
"
|
|
2692
|
+
"options": {
|
|
1077
2693
|
"type": "array",
|
|
1078
2694
|
"items": {
|
|
1079
2695
|
"type": "object",
|
|
1080
2696
|
"properties": {
|
|
1081
|
-
"
|
|
1082
|
-
"type": "integer",
|
|
1083
|
-
"description": "Query instruction ID. Example: 1253"
|
|
1084
|
-
},
|
|
1085
|
-
"name": {
|
|
2697
|
+
"next_node": {
|
|
1086
2698
|
"type": "string",
|
|
1087
|
-
"description": "
|
|
2699
|
+
"description": "Target node this forward advances INTO. Example: 'serving'"
|
|
1088
2700
|
},
|
|
1089
|
-
"
|
|
2701
|
+
"forward": {
|
|
1090
2702
|
"type": "string",
|
|
1091
|
-
"description": "
|
|
2703
|
+
"description": "Forward (operation) name. Example: 'StartService'"
|
|
1092
2704
|
},
|
|
1093
|
-
"
|
|
1094
|
-
"type": "
|
|
1095
|
-
"description": "
|
|
2705
|
+
"weight": {
|
|
2706
|
+
"type": "number",
|
|
2707
|
+
"description": "Forward weight contributed toward the pair threshold. Example: 1"
|
|
1096
2708
|
},
|
|
1097
|
-
"
|
|
2709
|
+
"operator": {
|
|
2710
|
+
"type": "object",
|
|
2711
|
+
"properties": {
|
|
2712
|
+
"kind": {
|
|
2713
|
+
"type": "string",
|
|
2714
|
+
"enum": [
|
|
2715
|
+
"order_holder",
|
|
2716
|
+
"permission_index",
|
|
2717
|
+
"named_operator"
|
|
2718
|
+
],
|
|
2719
|
+
"description": "Who can execute this forward (K3 feasibility). 'order_holder' = the Order owner (customer; forward namedOperator=''), 'permission_index' = a permission role, 'named_operator' = a specific Progress namespace operator."
|
|
2720
|
+
},
|
|
2721
|
+
"permission_index": {
|
|
2722
|
+
"description": "Permission index when kind='permission_index'. Example: 1000",
|
|
2723
|
+
"type": "integer",
|
|
2724
|
+
"minimum": -9007199254740991,
|
|
2725
|
+
"maximum": 9007199254740991
|
|
2726
|
+
},
|
|
2727
|
+
"role_name": {
|
|
2728
|
+
"description": "Resolved role display name. Example: 'merchant (permission 1000)' / 'order holder (customer)'",
|
|
2729
|
+
"type": "string"
|
|
2730
|
+
},
|
|
2731
|
+
"account_name": {
|
|
2732
|
+
"description": "Resolved local account/mark name when the operator maps to a concrete account. Example: 'london_guide'",
|
|
2733
|
+
"type": "string"
|
|
2734
|
+
},
|
|
2735
|
+
"named_operator": {
|
|
2736
|
+
"description": "NamedOperator namespace when kind='named_operator'. Example: 'delivery_team'",
|
|
2737
|
+
"type": "string"
|
|
2738
|
+
}
|
|
2739
|
+
},
|
|
2740
|
+
"required": [
|
|
2741
|
+
"kind"
|
|
2742
|
+
],
|
|
2743
|
+
"additionalProperties": false,
|
|
2744
|
+
"description": "Who can execute this forward (which account + which permission)."
|
|
2745
|
+
},
|
|
2746
|
+
"guard": {
|
|
2747
|
+
"description": "Guard bound to the forward — acceptance condition verified BEFORE the transition. Example: 'guard_payout'",
|
|
2748
|
+
"type": "string"
|
|
2749
|
+
},
|
|
2750
|
+
"business_meaning": {
|
|
1098
2751
|
"type": "string",
|
|
1099
|
-
"description": "
|
|
2752
|
+
"description": "Business meaning of advancing to this node. Example: 'Guide starts the day service'"
|
|
2753
|
+
},
|
|
2754
|
+
"gains": {
|
|
2755
|
+
"description": "Gains for the caller if this option is chosen (K3 Game G1 收益分离). Example: ['Settlement triggered — funds released to provider']",
|
|
2756
|
+
"type": "array",
|
|
2757
|
+
"items": {
|
|
2758
|
+
"type": "string"
|
|
2759
|
+
}
|
|
2760
|
+
},
|
|
2761
|
+
"risks": {
|
|
2762
|
+
"description": "Risks for the caller if this option is chosen (K3 Game G1 风险分离). Example: ['Refund leverage lost after confirmation']",
|
|
2763
|
+
"type": "array",
|
|
2764
|
+
"items": {
|
|
2765
|
+
"type": "string"
|
|
2766
|
+
}
|
|
2767
|
+
},
|
|
2768
|
+
"consistency": {
|
|
2769
|
+
"description": "Consistency 0-100 between this option's business semantics and the caller's interests (K3 Game optimality). Higher = more aligned.",
|
|
2770
|
+
"type": "number",
|
|
2771
|
+
"minimum": 0,
|
|
2772
|
+
"maximum": 100
|
|
2773
|
+
},
|
|
2774
|
+
"recommended": {
|
|
2775
|
+
"description": "Whether this is the recommended option (highest consistency).",
|
|
2776
|
+
"type": "boolean"
|
|
1100
2777
|
}
|
|
1101
2778
|
},
|
|
1102
2779
|
"required": [
|
|
1103
|
-
"
|
|
1104
|
-
"
|
|
1105
|
-
"
|
|
1106
|
-
"
|
|
2780
|
+
"next_node",
|
|
2781
|
+
"forward",
|
|
2782
|
+
"weight",
|
|
2783
|
+
"operator",
|
|
2784
|
+
"business_meaning"
|
|
1107
2785
|
],
|
|
1108
2786
|
"additionalProperties": false,
|
|
1109
|
-
"description": "A
|
|
1110
|
-
},
|
|
1111
|
-
"description": "Available query instructions for the current context (subset of 375 GUARDQUERY entries)"
|
|
1112
|
-
},
|
|
1113
|
-
"risk_warnings": {
|
|
1114
|
-
"type": "array",
|
|
1115
|
-
"items": {
|
|
1116
|
-
"type": "string"
|
|
1117
|
-
},
|
|
1118
|
-
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']"
|
|
1119
|
-
},
|
|
1120
|
-
"pending_questions": {
|
|
1121
|
-
"type": "array",
|
|
1122
|
-
"items": {
|
|
1123
|
-
"type": "string"
|
|
2787
|
+
"description": "A reachable next-node option with its operator/permission, guard, business meaning, and K3-style gains/risks/consistency."
|
|
1124
2788
|
},
|
|
1125
|
-
"description": "
|
|
1126
|
-
},
|
|
1127
|
-
"confirmation_text": {
|
|
1128
|
-
"type": "string",
|
|
1129
|
-
"description": "Structured semantic confirmation text for user review (generated when puzzle is complete). User must explicitly confirm before CREATE."
|
|
2789
|
+
"description": "ALL reachable next-node directions (every operator/permission/guard disclosed)."
|
|
1130
2790
|
},
|
|
1131
|
-
"
|
|
2791
|
+
"recommendation": {
|
|
2792
|
+
"description": "Recommended option with rationale (K3 Game 意图/博弈/利益).",
|
|
1132
2793
|
"type": "object",
|
|
1133
2794
|
"properties": {
|
|
1134
|
-
"
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1137
|
-
"pass",
|
|
1138
|
-
"fail",
|
|
1139
|
-
"not_tested"
|
|
1140
|
-
]
|
|
2795
|
+
"best": {
|
|
2796
|
+
"description": "Recommended action in '<forward> → <next_node>' form. Example: 'StartService → serving'",
|
|
2797
|
+
"type": "string"
|
|
1141
2798
|
},
|
|
1142
|
-
"
|
|
1143
|
-
"
|
|
1144
|
-
"
|
|
2799
|
+
"rationale": {
|
|
2800
|
+
"description": "Why this option is recommended (framed at the caller's value: gains/risks). Example: 'For the guide, advancing to serving triggers the delivery flow'",
|
|
2801
|
+
"type": "string"
|
|
1145
2802
|
},
|
|
1146
|
-
"
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
2803
|
+
"caveat": {
|
|
2804
|
+
"description": "Disclosed trade-off / opportunity cost of NOT taking another path (K3 Game G3 机会成本). Example: 'Choosing cancelled forfeits this order's settlement'",
|
|
2805
|
+
"type": "string"
|
|
1149
2806
|
}
|
|
1150
2807
|
},
|
|
1151
|
-
"
|
|
1152
|
-
"status"
|
|
1153
|
-
],
|
|
1154
|
-
"additionalProperties": false,
|
|
1155
|
-
"description": "gen_passport static test result. Must pass before CREATE."
|
|
2808
|
+
"additionalProperties": false
|
|
1156
2809
|
},
|
|
1157
|
-
"
|
|
1158
|
-
"
|
|
1159
|
-
"
|
|
1160
|
-
"overall_risk": {
|
|
1161
|
-
"type": "string",
|
|
1162
|
-
"enum": [
|
|
1163
|
-
"critical",
|
|
1164
|
-
"high",
|
|
1165
|
-
"medium",
|
|
1166
|
-
"low",
|
|
1167
|
-
"info"
|
|
1168
|
-
],
|
|
1169
|
-
"description": "Overall risk level (highest from all risks)"
|
|
1170
|
-
},
|
|
1171
|
-
"risk_count": {
|
|
1172
|
-
"type": "integer",
|
|
1173
|
-
"description": "Total number of detected risks"
|
|
1174
|
-
},
|
|
1175
|
-
"critical_count": {
|
|
1176
|
-
"type": "integer",
|
|
1177
|
-
"description": "Number of critical risks"
|
|
1178
|
-
},
|
|
1179
|
-
"high_count": {
|
|
1180
|
-
"type": "integer",
|
|
1181
|
-
"description": "Number of high risks"
|
|
1182
|
-
},
|
|
1183
|
-
"needs_human_review": {
|
|
1184
|
-
"type": "boolean",
|
|
1185
|
-
"description": "Whether human review is required (critical or 2+ high risks)"
|
|
1186
|
-
},
|
|
1187
|
-
"top_risks": {
|
|
1188
|
-
"type": "array",
|
|
1189
|
-
"items": {
|
|
1190
|
-
"type": "string"
|
|
1191
|
-
},
|
|
1192
|
-
"description": "Top risk titles (critical and high, max 3)"
|
|
1193
|
-
},
|
|
1194
|
-
"stakeholder_advice": {
|
|
1195
|
-
"type": "object",
|
|
1196
|
-
"additionalProperties": {
|
|
1197
|
-
"type": "array",
|
|
1198
|
-
"items": {
|
|
1199
|
-
"type": "string"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
"description": "Per-stakeholder advice. Key=stakeholder (customer/provider/arbitrator/claimant), value=advice list"
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
"required": [
|
|
1206
|
-
"overall_risk",
|
|
1207
|
-
"risk_count",
|
|
1208
|
-
"critical_count",
|
|
1209
|
-
"high_count",
|
|
1210
|
-
"needs_human_review",
|
|
1211
|
-
"top_risks"
|
|
1212
|
-
],
|
|
1213
|
-
"additionalProperties": false,
|
|
1214
|
-
"description": "Business-layer risk assessment (game theory, data source trust, logic gaps). Populated during Guard design to warn about business risks beyond syntax."
|
|
2810
|
+
"note": {
|
|
2811
|
+
"description": "Additional note (e.g. wait for the other party, entry/terminal hint).",
|
|
2812
|
+
"type": "string"
|
|
1215
2813
|
}
|
|
1216
2814
|
},
|
|
1217
|
-
"
|
|
1218
|
-
|
|
2815
|
+
"required": [
|
|
2816
|
+
"current_node",
|
|
2817
|
+
"options"
|
|
2818
|
+
],
|
|
2819
|
+
"additionalProperties": false
|
|
2820
|
+
},
|
|
2821
|
+
"note": {
|
|
2822
|
+
"description": "Additional note.",
|
|
2823
|
+
"type": "string"
|
|
1219
2824
|
}
|
|
1220
2825
|
},
|
|
1221
2826
|
"required": [
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
2827
|
+
"account",
|
|
2828
|
+
"action",
|
|
2829
|
+
"forward",
|
|
2830
|
+
"target_node",
|
|
2831
|
+
"migrated",
|
|
2832
|
+
"current_node"
|
|
1225
2833
|
],
|
|
1226
|
-
"additionalProperties": false
|
|
1227
|
-
"description": "Business semantic summary for the event query"
|
|
2834
|
+
"additionalProperties": false
|
|
1228
2835
|
}
|
|
1229
2836
|
},
|
|
1230
2837
|
"required": [
|
|
1231
|
-
"
|
|
2838
|
+
"intent",
|
|
2839
|
+
"status",
|
|
2840
|
+
"summary"
|
|
1232
2841
|
],
|
|
1233
|
-
"additionalProperties": false
|
|
1234
|
-
"description": "Result of on-chain events query"
|
|
2842
|
+
"additionalProperties": false
|
|
1235
2843
|
}
|
|
1236
|
-
}
|
|
2844
|
+
},
|
|
2845
|
+
"required": [
|
|
2846
|
+
"result"
|
|
2847
|
+
],
|
|
2848
|
+
"additionalProperties": false
|
|
1237
2849
|
}
|