@wowok/agent-mcp 3.1.0 → 3.1.3
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/index.d.ts +3 -9
- package/dist/customer/index.js +1 -1
- package/dist/customer/industry-risks.d.ts +3 -17
- package/dist/customer/industry-risks.js +1 -1
- package/dist/customer/types.d.ts +1 -165
- package/dist/customer/types.js +1 -1
- package/dist/customer/user-preferences.d.ts +0 -49
- package/dist/customer/user-preferences.js +1 -1
- package/dist/evaluation/arbitration-game.js +1 -1
- package/dist/evaluation/architecture.spec.d.ts +1 -0
- package/dist/evaluation/architecture.spec.js +1 -0
- package/dist/evaluation/builtins/graph-service.d.ts +16 -0
- package/dist/evaluation/builtins/graph-service.js +1 -0
- package/dist/evaluation/builtins/graph-service.spec.d.ts +1 -0
- package/dist/evaluation/builtins/graph-service.spec.js +1 -0
- package/dist/evaluation/builtins/index.d.ts +1 -1
- package/dist/evaluation/builtins/index.js +1 -1
- package/dist/evaluation/builtins/purity.spec.d.ts +1 -0
- package/dist/evaluation/builtins/purity.spec.js +1 -0
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/facets/catalog.d.ts +19 -0
- package/dist/evaluation/facets/catalog.js +1 -0
- package/dist/evaluation/guard-scan.d.ts +10 -0
- package/dist/evaluation/guard-scan.js +1 -0
- package/dist/evaluation/location-match.js +1 -1
- package/dist/evaluation/standards.d.ts +31 -0
- package/dist/evaluation/standards.js +1 -0
- package/dist/evaluation/standards.spec.d.ts +1 -0
- package/dist/evaluation/standards.spec.js +1 -0
- package/dist/evaluation/types.d.ts +9 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/industry-layers.d.ts +6 -5
- package/dist/extensions/industry-layers.js +1 -1
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/goal/GoalClassifier.js +1 -1
- package/dist/graph/onchain/analyze.d.ts +16 -3
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/analyze.spec.js +1 -1
- package/dist/graph/onchain/dataplane.d.ts +1 -1
- package/dist/graph/onchain/dataplane.js +1 -1
- package/dist/graph/onchain/edge-batch.spec.d.ts +1 -0
- package/dist/graph/onchain/edge-batch.spec.js +1 -0
- package/dist/graph/onchain/edge-schema.d.ts +11 -3
- package/dist/graph/onchain/edge-schema.js +1 -1
- package/dist/graph/onchain/entity-profile.spec.d.ts +1 -0
- package/dist/graph/onchain/entity-profile.spec.js +1 -0
- package/dist/graph/onchain/event-history.spec.d.ts +1 -0
- package/dist/graph/onchain/event-history.spec.js +1 -0
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/extract-deep.spec.d.ts +1 -0
- package/dist/graph/onchain/extract-deep.spec.js +1 -0
- package/dist/graph/onchain/extract.d.ts +11 -3
- package/dist/graph/onchain/extract.js +1 -1
- package/dist/graph/onchain/facet-projection.d.ts +99 -0
- package/dist/graph/onchain/facet-projection.js +1 -0
- package/dist/graph/onchain/facet-projection.spec.d.ts +1 -0
- package/dist/graph/onchain/facet-projection.spec.js +1 -0
- package/dist/graph/onchain/facts.d.ts +103 -0
- package/dist/graph/onchain/facts.js +1 -0
- package/dist/graph/onchain/facts.spec.d.ts +1 -0
- package/dist/graph/onchain/facts.spec.js +1 -0
- package/dist/graph/onchain/field-manifest.d.ts +29 -0
- package/dist/graph/onchain/field-manifest.js +1 -0
- package/dist/graph/onchain/field-manifest.spec.d.ts +1 -0
- package/dist/graph/onchain/field-manifest.spec.js +1 -0
- package/dist/graph/onchain/fixtures.d.ts +80 -0
- package/dist/graph/onchain/fixtures.js +1 -0
- package/dist/graph/onchain/fixtures.spec.d.ts +1 -0
- package/dist/graph/onchain/fixtures.spec.js +1 -0
- package/dist/graph/onchain/index.d.ts +8 -2
- package/dist/graph/onchain/index.js +1 -1
- package/dist/graph/onchain/interest.js +1 -1
- package/dist/graph/onchain/label-lint.spec.d.ts +1 -0
- package/dist/graph/onchain/label-lint.spec.js +1 -0
- package/dist/graph/onchain/names.d.ts +23 -0
- package/dist/graph/onchain/names.js +1 -0
- package/dist/graph/onchain/names.spec.d.ts +1 -0
- package/dist/graph/onchain/names.spec.js +1 -0
- package/dist/graph/onchain/onchain.spec.js +1 -1
- package/dist/graph/onchain/proposal-graph.d.ts +11 -0
- package/dist/graph/onchain/proposal-graph.js +1 -0
- package/dist/graph/onchain/proposal-graph.spec.d.ts +1 -0
- package/dist/graph/onchain/proposal-graph.spec.js +1 -0
- package/dist/graph/onchain/sdk-batch.d.ts +5 -1
- package/dist/graph/onchain/sdk-batch.js +1 -1
- package/dist/graph/onchain/sdk-dataplane.js +1 -1
- package/dist/graph/onchain/strategy.d.ts +16 -0
- package/dist/graph/onchain/strategy.js +1 -1
- package/dist/graph/onchain/strategy.spec.js +1 -1
- package/dist/graph/onchain/table-ledger.spec.d.ts +1 -0
- package/dist/graph/onchain/table-ledger.spec.js +1 -0
- package/dist/graph/onchain/types.d.ts +51 -11
- package/dist/graph/onchain/viewport.d.ts +1 -0
- package/dist/graph/onchain/viewport.js +1 -1
- package/dist/harness/index.d.ts +1 -5
- package/dist/harness/index.js +1 -1
- package/dist/harness/verify.d.ts +6 -1
- package/dist/harness/verify.js +1 -1
- package/dist/index.js +1 -1
- package/dist/knowledge/allocation-ledger.d.ts +2 -0
- package/dist/knowledge/allocation-ledger.js +1 -1
- package/dist/knowledge/allocation-puzzle.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +2 -3
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/arb-risk.d.ts +0 -1
- package/dist/knowledge/arb-risk.js +1 -1
- package/dist/knowledge/arbitration-risk.d.ts +0 -2
- package/dist/knowledge/arbitration-risk.js +1 -1
- package/dist/knowledge/baselines/evaluation-baselines.json +79 -0
- package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +1 -0
- package/dist/knowledge/baselines/guard-lint-baseline.spec.js +1 -0
- package/dist/knowledge/baselines/risk-baselines.spec.d.ts +1 -0
- package/dist/knowledge/baselines/risk-baselines.spec.js +1 -0
- package/dist/knowledge/baselines/risk-cases.d.ts +8 -0
- package/dist/knowledge/baselines/risk-cases.js +1 -0
- package/dist/knowledge/bridge-risk.d.ts +0 -1
- package/dist/knowledge/bridge-risk.js +1 -1
- package/dist/knowledge/contact-risk.d.ts +0 -1
- package/dist/knowledge/contact-risk.js +1 -1
- package/dist/knowledge/contract-invariants.d.ts +1 -0
- package/dist/knowledge/contract-invariants.js +1 -1
- package/dist/knowledge/demand-risk.d.ts +0 -1
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-eval.d.ts +15 -0
- package/dist/knowledge/guard-eval.js +1 -0
- package/dist/knowledge/guard-eval.spec.d.ts +1 -0
- package/dist/knowledge/guard-eval.spec.js +1 -0
- package/dist/knowledge/guard-field-cognition.d.ts +48 -0
- package/dist/knowledge/guard-field-cognition.js +1 -0
- package/dist/knowledge/guard-lint.d.ts +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-risk.d.ts +4 -19
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/index.d.ts +42 -43
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-rule-node.d.ts +7 -0
- package/dist/knowledge/industry-rule-node.js +1 -0
- package/dist/knowledge/industry-strategy.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-risk.d.ts +0 -6
- package/dist/knowledge/machine-risk.js +1 -1
- package/dist/knowledge/order-risk.d.ts +1 -9
- package/dist/knowledge/order-risk.js +1 -1
- package/dist/knowledge/payment-risk.d.ts +0 -1
- package/dist/knowledge/payment-risk.js +1 -1
- package/dist/knowledge/permission-risk.d.ts +0 -3
- package/dist/knowledge/permission-risk.js +1 -1
- package/dist/knowledge/personal-risk.d.ts +0 -1
- package/dist/knowledge/personal-risk.js +1 -1
- package/dist/knowledge/progress-risk.d.ts +0 -2
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/proof-risk.d.ts +0 -1
- package/dist/knowledge/proof-risk.js +1 -1
- package/dist/knowledge/puzzle-projections.d.ts +11 -0
- package/dist/knowledge/puzzle-projections.js +1 -0
- package/dist/knowledge/recipient-constraint.d.ts +6 -1
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/registrar-risk.d.ts +0 -1
- package/dist/knowledge/registrar-risk.js +1 -1
- package/dist/knowledge/repository-risk.d.ts +0 -1
- package/dist/knowledge/repository-risk.js +1 -1
- package/dist/knowledge/resource-risk.d.ts +0 -1
- package/dist/knowledge/resource-risk.js +1 -1
- package/dist/knowledge/reward-risk.d.ts +1 -5
- package/dist/knowledge/reward-risk.js +1 -1
- package/dist/knowledge/rule-node-analyzers.d.ts +43 -0
- package/dist/knowledge/rule-node-analyzers.js +1 -0
- package/dist/knowledge/rule-node-analyzers.spec.d.ts +1 -0
- package/dist/knowledge/rule-node-analyzers.spec.js +1 -0
- package/dist/knowledge/rule-outcome.d.ts +5 -0
- package/dist/knowledge/rule-outcome.js +1 -0
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/service-allocator-audit-node.d.ts +3 -0
- package/dist/knowledge/service-allocator-audit-node.js +1 -0
- package/dist/knowledge/service-risk-node.js +1 -1
- package/dist/knowledge/service-risk.d.ts +0 -3
- 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-risk.d.ts +2 -3
- package/dist/knowledge/treasury-risk.js +1 -1
- package/dist/knowledge/util-risk.d.ts +0 -1
- package/dist/knowledge/util-risk.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +2 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/facet-profile.d.ts +33 -0
- package/dist/persona/facet-profile.js +1 -0
- package/dist/persona/model.d.ts +2 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/strategy-intent.js +1 -1
- package/dist/persona/topology-focus.d.ts +2 -2
- package/dist/persona/topology-focus.js +1 -1
- package/dist/persona/types.d.ts +12 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/facet-money.d.ts +22 -0
- package/dist/playbooks/service-build/facet-money.js +1 -0
- package/dist/playbooks/service-build/facet-money.spec.d.ts +1 -0
- package/dist/playbooks/service-build/facet-money.spec.js +1 -0
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.d.ts +3 -0
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +27 -27
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/pipeline-actions.d.ts +2 -2
- package/dist/playbooks/service-build/pipeline-actions.js +1 -1
- package/dist/playbooks/service-build/risk-aggregator.d.ts +2 -1
- package/dist/playbooks/service-build/risk-aggregator.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +4 -9
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +1 -0
- package/dist/playbooks/service-build/topology-evaluation.spec.js +1 -0
- package/dist/playbooks/service-build/topology-query.d.ts +13 -2
- package/dist/playbooks/service-build/topology-query.js +1 -1
- package/dist/review/arb.d.ts +0 -2
- package/dist/review/arb.js +1 -1
- package/dist/review/order.d.ts +0 -1
- package/dist/review/order.js +1 -1
- package/dist/role/profiles.js +1 -1
- package/dist/rules.d.ts +1 -2
- package/dist/rules.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/safety/preview.js +1 -1
- package/dist/schema/call/base.d.ts +3372 -668
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/receipt.d.ts +28 -0
- package/dist/schema/call/receipt.js +1 -0
- package/dist/schema/call/semantic-customer-advice.spec.d.ts +1 -0
- package/dist/schema/call/semantic-customer-advice.spec.js +1 -0
- package/dist/schema/call/semantic.d.ts +5 -2
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +289 -211
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +1 -1
- package/dist/schema/goal/planning.d.ts +2 -2
- package/dist/schema/index.d.ts +0 -1
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +1 -1
- package/dist/schema/keeper/index.d.ts +1 -1
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/operations.d.ts +28 -10
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +24 -24
- package/dist/schema/query/bi.d.ts +629 -14
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +9 -9
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workspace/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +10 -10
- package/dist/schemas/account_operation.schema.json +3 -3
- package/dist/schemas/bridge_operation.output.json +10 -10
- package/dist/schemas/evaluation_operation.output.json +697 -169
- package/dist/schemas/evaluation_operation.schema.json +5 -434
- package/dist/schemas/index.json +1 -7
- package/dist/schemas/keeper_operation.output.json +10 -10
- package/dist/schemas/local_history_operation.output.json +10 -10
- package/dist/schemas/local_info_operation.output.json +10 -10
- package/dist/schemas/local_mark_operation.output.json +10 -10
- package/dist/schemas/messenger_operation.output.json +10 -10
- package/dist/schemas/monitor_events.output.json +10 -10
- package/dist/schemas/monitor_subscription.output.json +10 -10
- package/dist/schemas/onchain_events.output.json +11 -11
- package/dist/schemas/onchain_operations.output.json +6369 -3736
- package/dist/schemas/onchain_operations.schema.json +48 -48
- package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
- package/dist/schemas/onchain_operations_arbitration.schema.json +3 -3
- package/dist/schemas/onchain_operations_contact.schema.json +2 -2
- package/dist/schemas/onchain_operations_demand.schema.json +2 -2
- package/dist/schemas/onchain_operations_machine.schema.json +2 -2
- package/dist/schemas/onchain_operations_order.schema.json +2 -2
- package/dist/schemas/onchain_operations_payment.schema.json +2 -2
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +2 -2
- package/dist/schemas/onchain_operations_repository.schema.json +2 -2
- package/dist/schemas/onchain_operations_reward.schema.json +6 -6
- package/dist/schemas/onchain_operations_service.schema.json +8 -8
- package/dist/schemas/onchain_operations_treasury.schema.json +10 -10
- package/dist/schemas/onchain_table_data.output.json +78 -84
- package/dist/schemas/query_toolkit.output.json +1087 -254
- package/dist/schemas/query_toolkit.schema.json +65 -3
- package/dist/strategy/collectors.js +1 -1
- package/dist/strategy/metrics.js +1 -1
- package/dist/task/playbook.js +1 -1
- package/dist/tools/handlers/bridge.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/dispatch-expectations.d.ts +3 -0
- package/dist/tools/handlers/dispatch-expectations.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/evaluation.d.ts +2 -0
- package/dist/tools/registry/evaluation.js +1 -0
- package/dist/tools/registry/monitor.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/shared.d.ts +0 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +4 -3
- package/dist/customer/customer-advice.d.ts +0 -32
- package/dist/customer/customer-advice.js +0 -1
- package/dist/customer/info-puzzle.d.ts +0 -146
- package/dist/customer/info-puzzle.js +0 -1
- package/dist/customer/order-strategy.d.ts +0 -17
- package/dist/customer/order-strategy.js +0 -1
- package/dist/customer/preorder-compare.d.ts +0 -24
- package/dist/customer/preorder-compare.js +0 -1
- package/dist/customer/reminder-system.d.ts +0 -42
- package/dist/customer/reminder-system.js +0 -1
- package/dist/customer/risk-assessment.d.ts +0 -13
- package/dist/customer/risk-assessment.js +0 -1
- package/dist/evaluation/builtins/service-risk.d.ts +0 -7
- package/dist/evaluation/builtins/service-risk.js +0 -1
- package/dist/knowledge/trust-metrics.d.ts +0 -66
- package/dist/knowledge/trust-metrics.js +0 -1
- package/dist/schema/trust/index.d.ts +0 -334
- package/dist/schema/trust/index.js +0 -1
- package/dist/schemas/trust_score.output.json +0 -847
- package/dist/schemas/trust_score.schema.json +0 -364
- package/dist/tools/handlers/trust.d.ts +0 -16
- package/dist/tools/handlers/trust.js +0 -1
- package/dist/tools/registry/trust.d.ts +0 -2
- package/dist/tools/registry/trust.js +0 -1
|
@@ -1,847 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://wowok.net/schemas/trust_score.output.json",
|
|
4
|
-
"title": "Trust Score - Service Risk & Trust Assessment",
|
|
5
|
-
"description": "Proactively query the trust score (0-100, 5 dimensions) and risk assessment (4 dimensions, 100-point) of a Service object. Parameters: service (required), order_amount (optional), depth (optional: browse/evaluate/preorder).",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"result": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"properties": {
|
|
11
|
-
"service_id": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "The Service object ID or local_mark that was evaluated."
|
|
14
|
-
},
|
|
15
|
-
"service_name": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "Service display name (falls back to service_id if unnamed)."
|
|
18
|
-
},
|
|
19
|
-
"service_basics": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"properties": {
|
|
22
|
-
"bPublished": {
|
|
23
|
-
"type": "boolean",
|
|
24
|
-
"description": "Whether the Service is published (open for orders)."
|
|
25
|
-
},
|
|
26
|
-
"bPaused": {
|
|
27
|
-
"type": "boolean",
|
|
28
|
-
"description": "Whether the Service is temporarily paused."
|
|
29
|
-
},
|
|
30
|
-
"sales_count": {
|
|
31
|
-
"type": "integer",
|
|
32
|
-
"minimum": 0,
|
|
33
|
-
"maximum": 9007199254740991,
|
|
34
|
-
"description": "Number of active (non-suspended) sale entries."
|
|
35
|
-
},
|
|
36
|
-
"has_machine": {
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"description": "Whether a Machine workflow is attached."
|
|
39
|
-
},
|
|
40
|
-
"has_buy_guard": {
|
|
41
|
-
"type": "boolean",
|
|
42
|
-
"description": "Whether a buy-side Guard is configured."
|
|
43
|
-
},
|
|
44
|
-
"has_um_contact": {
|
|
45
|
-
"type": "boolean",
|
|
46
|
-
"description": "Whether a Messenger (um) contact is configured."
|
|
47
|
-
},
|
|
48
|
-
"arbitrations_count": {
|
|
49
|
-
"type": "integer",
|
|
50
|
-
"minimum": 0,
|
|
51
|
-
"maximum": 9007199254740991,
|
|
52
|
-
"description": "Number of arbitration entries attached to the Service."
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"required": [
|
|
56
|
-
"bPublished",
|
|
57
|
-
"bPaused",
|
|
58
|
-
"sales_count",
|
|
59
|
-
"has_machine",
|
|
60
|
-
"has_buy_guard",
|
|
61
|
-
"has_um_contact",
|
|
62
|
-
"arbitrations_count"
|
|
63
|
-
],
|
|
64
|
-
"additionalProperties": false,
|
|
65
|
-
"description": "Service snapshot — basic on-chain state."
|
|
66
|
-
},
|
|
67
|
-
"trust_score": {
|
|
68
|
-
"type": "object",
|
|
69
|
-
"properties": {
|
|
70
|
-
"score": {
|
|
71
|
-
"type": "number",
|
|
72
|
-
"minimum": 0,
|
|
73
|
-
"maximum": 100,
|
|
74
|
-
"description": "Overall trust score (0-100, higher = more trustworthy)."
|
|
75
|
-
},
|
|
76
|
-
"level": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"enum": [
|
|
79
|
-
"high_risk",
|
|
80
|
-
"caution",
|
|
81
|
-
"moderate",
|
|
82
|
-
"trusted"
|
|
83
|
-
],
|
|
84
|
-
"description": "Trust level label derived from the score."
|
|
85
|
-
},
|
|
86
|
-
"summary": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"description": "One-line human-readable trust summary."
|
|
89
|
-
},
|
|
90
|
-
"warnings": {
|
|
91
|
-
"type": "array",
|
|
92
|
-
"items": {
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"description": "Trust warnings (e.g. low arbitration dimension score)."
|
|
96
|
-
},
|
|
97
|
-
"findings": {
|
|
98
|
-
"type": "array",
|
|
99
|
-
"items": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"properties": {
|
|
102
|
-
"kind": {
|
|
103
|
-
"type": "string",
|
|
104
|
-
"description": "Finding kind (e.g. fund_safety_missing, shell_merchant)."
|
|
105
|
-
},
|
|
106
|
-
"severity": {
|
|
107
|
-
"type": "string",
|
|
108
|
-
"enum": [
|
|
109
|
-
"critical",
|
|
110
|
-
"warning",
|
|
111
|
-
"info"
|
|
112
|
-
],
|
|
113
|
-
"description": "Finding severity."
|
|
114
|
-
},
|
|
115
|
-
"message": {
|
|
116
|
-
"type": "string",
|
|
117
|
-
"description": "Human-readable finding message."
|
|
118
|
-
},
|
|
119
|
-
"deduction": {
|
|
120
|
-
"type": "number",
|
|
121
|
-
"description": "Score deduction applied to the additive total (0-100)."
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"required": [
|
|
125
|
-
"kind",
|
|
126
|
-
"severity",
|
|
127
|
-
"message",
|
|
128
|
-
"deduction"
|
|
129
|
-
],
|
|
130
|
-
"additionalProperties": false
|
|
131
|
-
},
|
|
132
|
-
"description": "Major-recognition findings (recent arbitration payouts, verified dislike, shell merchant, …) — independent of the additive score."
|
|
133
|
-
},
|
|
134
|
-
"breakdown": {
|
|
135
|
-
"type": "array",
|
|
136
|
-
"items": {
|
|
137
|
-
"type": "object",
|
|
138
|
-
"properties": {
|
|
139
|
-
"score": {
|
|
140
|
-
"type": "number",
|
|
141
|
-
"description": "Dimension score achieved."
|
|
142
|
-
},
|
|
143
|
-
"maxScore": {
|
|
144
|
-
"type": "number",
|
|
145
|
-
"description": "Dimension max possible score."
|
|
146
|
-
},
|
|
147
|
-
"description": {
|
|
148
|
-
"type": "string",
|
|
149
|
-
"description": "Dimension name / description."
|
|
150
|
-
},
|
|
151
|
-
"humanReadable": {
|
|
152
|
-
"type": "string",
|
|
153
|
-
"description": "Human-readable dimension explanation."
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"required": [
|
|
157
|
-
"score",
|
|
158
|
-
"maxScore",
|
|
159
|
-
"description",
|
|
160
|
-
"humanReadable"
|
|
161
|
-
],
|
|
162
|
-
"additionalProperties": false
|
|
163
|
-
},
|
|
164
|
-
"description": "5-dimension breakdown: arbitration / reviews / fulfillment / fund_safety / transparency."
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"required": [
|
|
168
|
-
"score",
|
|
169
|
-
"level",
|
|
170
|
-
"summary",
|
|
171
|
-
"warnings",
|
|
172
|
-
"findings",
|
|
173
|
-
"breakdown"
|
|
174
|
-
],
|
|
175
|
-
"additionalProperties": false,
|
|
176
|
-
"description": "ServiceTrustScore — 0-100 score across 5 trust dimensions."
|
|
177
|
-
},
|
|
178
|
-
"order_amount": {
|
|
179
|
-
"type": "string",
|
|
180
|
-
"description": "Order amount used for fund-safety assessment, in smallest token unit (bigint as string)."
|
|
181
|
-
},
|
|
182
|
-
"depth": {
|
|
183
|
-
"type": "string",
|
|
184
|
-
"enum": [
|
|
185
|
-
"browse",
|
|
186
|
-
"evaluate",
|
|
187
|
-
"preorder"
|
|
188
|
-
],
|
|
189
|
-
"description": "Actual InfoPuzzle collection depth used (defaults to 'evaluate')."
|
|
190
|
-
},
|
|
191
|
-
"risk_score": {
|
|
192
|
-
"description": "RiskScore — present only when depth >= 'evaluate'.",
|
|
193
|
-
"type": "object",
|
|
194
|
-
"properties": {
|
|
195
|
-
"total": {
|
|
196
|
-
"type": "number",
|
|
197
|
-
"minimum": 0,
|
|
198
|
-
"maximum": 100,
|
|
199
|
-
"description": "Overall risk score (0-100, higher = riskier)."
|
|
200
|
-
},
|
|
201
|
-
"level": {
|
|
202
|
-
"type": "string",
|
|
203
|
-
"enum": [
|
|
204
|
-
"low",
|
|
205
|
-
"medium_low",
|
|
206
|
-
"medium_high",
|
|
207
|
-
"high"
|
|
208
|
-
],
|
|
209
|
-
"description": "Risk level label derived from the total score."
|
|
210
|
-
},
|
|
211
|
-
"red_flags": {
|
|
212
|
-
"type": "array",
|
|
213
|
-
"items": {
|
|
214
|
-
"type": "string"
|
|
215
|
-
},
|
|
216
|
-
"description": "Critical risk red flags detected."
|
|
217
|
-
},
|
|
218
|
-
"advice": {
|
|
219
|
-
"type": "array",
|
|
220
|
-
"items": {
|
|
221
|
-
"type": "string"
|
|
222
|
-
},
|
|
223
|
-
"description": "Risk mitigation advice."
|
|
224
|
-
},
|
|
225
|
-
"dimensions": {
|
|
226
|
-
"type": "array",
|
|
227
|
-
"items": {
|
|
228
|
-
"type": "object",
|
|
229
|
-
"properties": {
|
|
230
|
-
"name": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"enum": [
|
|
233
|
-
"workflow",
|
|
234
|
-
"fund",
|
|
235
|
-
"trust",
|
|
236
|
-
"behavior"
|
|
237
|
-
],
|
|
238
|
-
"description": "Risk dimension name."
|
|
239
|
-
},
|
|
240
|
-
"score": {
|
|
241
|
-
"type": "number",
|
|
242
|
-
"description": "Dimension score achieved."
|
|
243
|
-
},
|
|
244
|
-
"max_score": {
|
|
245
|
-
"type": "number",
|
|
246
|
-
"description": "Dimension max possible score."
|
|
247
|
-
},
|
|
248
|
-
"checks": {
|
|
249
|
-
"type": "array",
|
|
250
|
-
"items": {
|
|
251
|
-
"type": "object",
|
|
252
|
-
"properties": {
|
|
253
|
-
"id": {
|
|
254
|
-
"type": "string",
|
|
255
|
-
"description": "Check identifier."
|
|
256
|
-
},
|
|
257
|
-
"dimension": {
|
|
258
|
-
"type": "string",
|
|
259
|
-
"enum": [
|
|
260
|
-
"workflow",
|
|
261
|
-
"fund",
|
|
262
|
-
"trust",
|
|
263
|
-
"behavior"
|
|
264
|
-
],
|
|
265
|
-
"description": "Dimension this check belongs to."
|
|
266
|
-
},
|
|
267
|
-
"description": {
|
|
268
|
-
"type": "string",
|
|
269
|
-
"description": "Check description."
|
|
270
|
-
},
|
|
271
|
-
"weight": {
|
|
272
|
-
"type": "number",
|
|
273
|
-
"description": "Check weight within its dimension (percentage)."
|
|
274
|
-
},
|
|
275
|
-
"passed": {
|
|
276
|
-
"type": "boolean",
|
|
277
|
-
"description": "Whether the check passed."
|
|
278
|
-
},
|
|
279
|
-
"advice": {
|
|
280
|
-
"description": "Advice when the check failed.",
|
|
281
|
-
"type": "string"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
"required": [
|
|
285
|
-
"id",
|
|
286
|
-
"dimension",
|
|
287
|
-
"description",
|
|
288
|
-
"weight",
|
|
289
|
-
"passed"
|
|
290
|
-
],
|
|
291
|
-
"additionalProperties": false
|
|
292
|
-
},
|
|
293
|
-
"description": "Individual risk checks within this dimension."
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"required": [
|
|
297
|
-
"name",
|
|
298
|
-
"score",
|
|
299
|
-
"max_score",
|
|
300
|
-
"checks"
|
|
301
|
-
],
|
|
302
|
-
"additionalProperties": false
|
|
303
|
-
},
|
|
304
|
-
"description": "4-dimension breakdown: workflow / fund / trust / behavior."
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
"required": [
|
|
308
|
-
"total",
|
|
309
|
-
"level",
|
|
310
|
-
"red_flags",
|
|
311
|
-
"advice",
|
|
312
|
-
"dimensions"
|
|
313
|
-
],
|
|
314
|
-
"additionalProperties": false
|
|
315
|
-
},
|
|
316
|
-
"info_puzzle": {
|
|
317
|
-
"description": "InfoPuzzle summary — present only when depth >= 'evaluate'.",
|
|
318
|
-
"type": "object",
|
|
319
|
-
"properties": {
|
|
320
|
-
"completeness": {
|
|
321
|
-
"type": "number",
|
|
322
|
-
"minimum": 0,
|
|
323
|
-
"maximum": 1,
|
|
324
|
-
"description": "InfoPuzzle completeness ratio (0-1)."
|
|
325
|
-
},
|
|
326
|
-
"gaps": {
|
|
327
|
-
"type": "array",
|
|
328
|
-
"items": {
|
|
329
|
-
"type": "string"
|
|
330
|
-
},
|
|
331
|
-
"description": "Missing key puzzle pieces."
|
|
332
|
-
},
|
|
333
|
-
"assembled_at": {
|
|
334
|
-
"type": "number",
|
|
335
|
-
"description": "Assembly timestamp (ms since epoch)."
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
"required": [
|
|
339
|
-
"completeness",
|
|
340
|
-
"gaps",
|
|
341
|
-
"assembled_at"
|
|
342
|
-
],
|
|
343
|
-
"additionalProperties": false
|
|
344
|
-
},
|
|
345
|
-
"preorder_advice": {
|
|
346
|
-
"description": "PreorderAdvice (GLM6/94 §3) — present only when depth = 'preorder'. AI presents evidence and options; the USER decides whether to order.",
|
|
347
|
-
"type": "object",
|
|
348
|
-
"properties": {
|
|
349
|
-
"confidence": {
|
|
350
|
-
"type": "object",
|
|
351
|
-
"properties": {
|
|
352
|
-
"score": {
|
|
353
|
-
"type": "number",
|
|
354
|
-
"minimum": 0,
|
|
355
|
-
"maximum": 100,
|
|
356
|
-
"description": "Composite order confidence (0-100, higher = safer to order)."
|
|
357
|
-
},
|
|
358
|
-
"base": {
|
|
359
|
-
"type": "number",
|
|
360
|
-
"description": "Base confidence = 100 - risk.total."
|
|
361
|
-
},
|
|
362
|
-
"user_adjustment": {
|
|
363
|
-
"type": "number",
|
|
364
|
-
"description": "User-controllable adjustment from user_metrics (±cap)."
|
|
365
|
-
},
|
|
366
|
-
"preference_nudge": {
|
|
367
|
-
"type": "number",
|
|
368
|
-
"description": "Preference-match nudge (±5, only when preferences were provided)."
|
|
369
|
-
},
|
|
370
|
-
"explanation": {
|
|
371
|
-
"type": "string",
|
|
372
|
-
"description": "Transparent breakdown of the confidence components."
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
"required": [
|
|
376
|
-
"score",
|
|
377
|
-
"base",
|
|
378
|
-
"user_adjustment",
|
|
379
|
-
"preference_nudge",
|
|
380
|
-
"explanation"
|
|
381
|
-
],
|
|
382
|
-
"additionalProperties": false,
|
|
383
|
-
"description": "ConfidenceScore — user-controllable composite order confidence."
|
|
384
|
-
},
|
|
385
|
-
"industry": {
|
|
386
|
-
"description": "Industry used for the industry-specific risk checks (explicit input or inferred).",
|
|
387
|
-
"type": "string",
|
|
388
|
-
"enum": [
|
|
389
|
-
"freelance",
|
|
390
|
-
"rental",
|
|
391
|
-
"education",
|
|
392
|
-
"travel",
|
|
393
|
-
"subscription",
|
|
394
|
-
"retail"
|
|
395
|
-
]
|
|
396
|
-
},
|
|
397
|
-
"strategies": {
|
|
398
|
-
"type": "array",
|
|
399
|
-
"items": {
|
|
400
|
-
"type": "object",
|
|
401
|
-
"properties": {
|
|
402
|
-
"scenario": {
|
|
403
|
-
"type": "string",
|
|
404
|
-
"enum": [
|
|
405
|
-
"info_asymmetry",
|
|
406
|
-
"fund_safety",
|
|
407
|
-
"refund_dispute",
|
|
408
|
-
"arbitration_fairness",
|
|
409
|
-
"pricing",
|
|
410
|
-
"delivery_sla",
|
|
411
|
-
"quality_verification",
|
|
412
|
-
"after_sales"
|
|
413
|
-
],
|
|
414
|
-
"description": "Game scenario detected from the puzzle."
|
|
415
|
-
},
|
|
416
|
-
"merchant_tactic": {
|
|
417
|
-
"type": "string",
|
|
418
|
-
"description": "Merchant's potential tactic in this scenario."
|
|
419
|
-
},
|
|
420
|
-
"user_strategy": {
|
|
421
|
-
"type": "string",
|
|
422
|
-
"description": "Recommended user-side strategy (protection/mitigation)."
|
|
423
|
-
},
|
|
424
|
-
"nash_equilibrium": {
|
|
425
|
-
"type": "string",
|
|
426
|
-
"description": "Win-win equilibrium the strategy pushes toward."
|
|
427
|
-
},
|
|
428
|
-
"confidence": {
|
|
429
|
-
"type": "number",
|
|
430
|
-
"minimum": 0,
|
|
431
|
-
"maximum": 1,
|
|
432
|
-
"description": "Strategy confidence (0-1)."
|
|
433
|
-
},
|
|
434
|
-
"fallback": {
|
|
435
|
-
"description": "Alternative when the user rejects the main strategy.",
|
|
436
|
-
"type": "string"
|
|
437
|
-
},
|
|
438
|
-
"rationale": {
|
|
439
|
-
"type": "string",
|
|
440
|
-
"description": "Trigger-condition explanation from puzzle evidence."
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
"required": [
|
|
444
|
-
"scenario",
|
|
445
|
-
"merchant_tactic",
|
|
446
|
-
"user_strategy",
|
|
447
|
-
"nash_equilibrium",
|
|
448
|
-
"confidence",
|
|
449
|
-
"rationale"
|
|
450
|
-
],
|
|
451
|
-
"additionalProperties": false
|
|
452
|
-
},
|
|
453
|
-
"description": "Top merchant-vs-user game strategies (user side, max 3)."
|
|
454
|
-
},
|
|
455
|
-
"preference_match": {
|
|
456
|
-
"description": "PreferenceMatchResult — present when preferences (input or profile) were available.",
|
|
457
|
-
"type": "object",
|
|
458
|
-
"properties": {
|
|
459
|
-
"score": {
|
|
460
|
-
"type": "number",
|
|
461
|
-
"minimum": 0,
|
|
462
|
-
"maximum": 100,
|
|
463
|
-
"description": "Preference match score (0-100)."
|
|
464
|
-
},
|
|
465
|
-
"matches": {
|
|
466
|
-
"type": "array",
|
|
467
|
-
"items": {
|
|
468
|
-
"type": "string"
|
|
469
|
-
},
|
|
470
|
-
"description": "Aspects matching the user's preferences."
|
|
471
|
-
},
|
|
472
|
-
"mismatches": {
|
|
473
|
-
"type": "array",
|
|
474
|
-
"items": {
|
|
475
|
-
"type": "string"
|
|
476
|
-
},
|
|
477
|
-
"description": "Aspects mismatching the user's preferences."
|
|
478
|
-
},
|
|
479
|
-
"warnings": {
|
|
480
|
-
"type": "array",
|
|
481
|
-
"items": {
|
|
482
|
-
"type": "string"
|
|
483
|
-
},
|
|
484
|
-
"description": "Match warnings (e.g. budget stretch)."
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
"required": [
|
|
488
|
-
"score",
|
|
489
|
-
"matches",
|
|
490
|
-
"mismatches",
|
|
491
|
-
"warnings"
|
|
492
|
-
],
|
|
493
|
-
"additionalProperties": false
|
|
494
|
-
},
|
|
495
|
-
"preference_issues": {
|
|
496
|
-
"description": "Validation issues found in the merged preferences (e.g. budget min > max).",
|
|
497
|
-
"type": "array",
|
|
498
|
-
"items": {
|
|
499
|
-
"type": "string"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
"industry_risks": {
|
|
503
|
-
"description": "IndustryRiskResult — industry pain-point checks (needs met / risks triggered).",
|
|
504
|
-
"type": "object",
|
|
505
|
-
"properties": {
|
|
506
|
-
"score_adjustment": {
|
|
507
|
-
"type": "number",
|
|
508
|
-
"description": "Industry risk adjustment applied to the base risk score (-10 to +10)."
|
|
509
|
-
},
|
|
510
|
-
"summary": {
|
|
511
|
-
"type": "string",
|
|
512
|
-
"description": "Industry risk assessment summary."
|
|
513
|
-
},
|
|
514
|
-
"checks": {
|
|
515
|
-
"type": "array",
|
|
516
|
-
"items": {
|
|
517
|
-
"type": "object",
|
|
518
|
-
"properties": {
|
|
519
|
-
"id": {
|
|
520
|
-
"type": "string",
|
|
521
|
-
"description": "Check identifier."
|
|
522
|
-
},
|
|
523
|
-
"dimension": {
|
|
524
|
-
"type": "string",
|
|
525
|
-
"enum": [
|
|
526
|
-
"workflow",
|
|
527
|
-
"fund",
|
|
528
|
-
"trust",
|
|
529
|
-
"behavior"
|
|
530
|
-
],
|
|
531
|
-
"description": "Dimension this check belongs to."
|
|
532
|
-
},
|
|
533
|
-
"description": {
|
|
534
|
-
"type": "string",
|
|
535
|
-
"description": "Check description."
|
|
536
|
-
},
|
|
537
|
-
"weight": {
|
|
538
|
-
"type": "number",
|
|
539
|
-
"description": "Check weight within its dimension (percentage)."
|
|
540
|
-
},
|
|
541
|
-
"passed": {
|
|
542
|
-
"type": "boolean",
|
|
543
|
-
"description": "Whether the check passed."
|
|
544
|
-
},
|
|
545
|
-
"advice": {
|
|
546
|
-
"description": "Advice when the check failed.",
|
|
547
|
-
"type": "string"
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
"required": [
|
|
551
|
-
"id",
|
|
552
|
-
"dimension",
|
|
553
|
-
"description",
|
|
554
|
-
"weight",
|
|
555
|
-
"passed"
|
|
556
|
-
],
|
|
557
|
-
"additionalProperties": false
|
|
558
|
-
},
|
|
559
|
-
"description": "Industry-specific risk checks."
|
|
560
|
-
},
|
|
561
|
-
"unmet_needs": {
|
|
562
|
-
"type": "array",
|
|
563
|
-
"items": {
|
|
564
|
-
"type": "object",
|
|
565
|
-
"properties": {
|
|
566
|
-
"id": {
|
|
567
|
-
"type": "string",
|
|
568
|
-
"description": "Need identifier."
|
|
569
|
-
},
|
|
570
|
-
"tier": {
|
|
571
|
-
"type": "string",
|
|
572
|
-
"enum": [
|
|
573
|
-
"common",
|
|
574
|
-
"personalized",
|
|
575
|
-
"advanced"
|
|
576
|
-
],
|
|
577
|
-
"description": "Need tier."
|
|
578
|
-
},
|
|
579
|
-
"description": {
|
|
580
|
-
"type": "string",
|
|
581
|
-
"description": "Need description."
|
|
582
|
-
},
|
|
583
|
-
"advice": {
|
|
584
|
-
"description": "Advice for fulfilling the need.",
|
|
585
|
-
"type": "string"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
"required": [
|
|
589
|
-
"id",
|
|
590
|
-
"tier",
|
|
591
|
-
"description"
|
|
592
|
-
],
|
|
593
|
-
"additionalProperties": false
|
|
594
|
-
},
|
|
595
|
-
"description": "Industry needs not satisfied by this Service."
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
"required": [
|
|
599
|
-
"score_adjustment",
|
|
600
|
-
"summary",
|
|
601
|
-
"checks",
|
|
602
|
-
"unmet_needs"
|
|
603
|
-
],
|
|
604
|
-
"additionalProperties": false
|
|
605
|
-
},
|
|
606
|
-
"reminders": {
|
|
607
|
-
"type": "array",
|
|
608
|
-
"items": {
|
|
609
|
-
"type": "object",
|
|
610
|
-
"properties": {
|
|
611
|
-
"id": {
|
|
612
|
-
"type": "string",
|
|
613
|
-
"description": "Reminder rule identifier."
|
|
614
|
-
},
|
|
615
|
-
"stage": {
|
|
616
|
-
"type": "string",
|
|
617
|
-
"enum": [
|
|
618
|
-
"browse",
|
|
619
|
-
"evaluate",
|
|
620
|
-
"preorder",
|
|
621
|
-
"in_progress",
|
|
622
|
-
"complete",
|
|
623
|
-
"after_sale"
|
|
624
|
-
],
|
|
625
|
-
"description": "Workflow stage this reminder belongs to."
|
|
626
|
-
},
|
|
627
|
-
"priority": {
|
|
628
|
-
"type": "string",
|
|
629
|
-
"enum": [
|
|
630
|
-
"required",
|
|
631
|
-
"recommended",
|
|
632
|
-
"info",
|
|
633
|
-
"reminder"
|
|
634
|
-
],
|
|
635
|
-
"description": "Priority: required = blocking, recommended = strongly suggested."
|
|
636
|
-
},
|
|
637
|
-
"message": {
|
|
638
|
-
"type": "string",
|
|
639
|
-
"description": "Human-readable reminder message."
|
|
640
|
-
},
|
|
641
|
-
"action": {
|
|
642
|
-
"description": "Suggested follow-up action, if any.",
|
|
643
|
-
"type": "string"
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
"required": [
|
|
647
|
-
"id",
|
|
648
|
-
"stage",
|
|
649
|
-
"priority",
|
|
650
|
-
"message"
|
|
651
|
-
],
|
|
652
|
-
"additionalProperties": false
|
|
653
|
-
},
|
|
654
|
-
"description": "Transaction-safety reminders at the preorder stage (sorted, capped)."
|
|
655
|
-
},
|
|
656
|
-
"blocking_reminders": {
|
|
657
|
-
"type": "array",
|
|
658
|
-
"items": {
|
|
659
|
-
"type": "object",
|
|
660
|
-
"properties": {
|
|
661
|
-
"id": {
|
|
662
|
-
"type": "string",
|
|
663
|
-
"description": "Reminder rule identifier."
|
|
664
|
-
},
|
|
665
|
-
"stage": {
|
|
666
|
-
"type": "string",
|
|
667
|
-
"enum": [
|
|
668
|
-
"browse",
|
|
669
|
-
"evaluate",
|
|
670
|
-
"preorder",
|
|
671
|
-
"in_progress",
|
|
672
|
-
"complete",
|
|
673
|
-
"after_sale"
|
|
674
|
-
],
|
|
675
|
-
"description": "Workflow stage this reminder belongs to."
|
|
676
|
-
},
|
|
677
|
-
"priority": {
|
|
678
|
-
"type": "string",
|
|
679
|
-
"enum": [
|
|
680
|
-
"required",
|
|
681
|
-
"recommended",
|
|
682
|
-
"info",
|
|
683
|
-
"reminder"
|
|
684
|
-
],
|
|
685
|
-
"description": "Priority: required = blocking, recommended = strongly suggested."
|
|
686
|
-
},
|
|
687
|
-
"message": {
|
|
688
|
-
"type": "string",
|
|
689
|
-
"description": "Human-readable reminder message."
|
|
690
|
-
},
|
|
691
|
-
"action": {
|
|
692
|
-
"description": "Suggested follow-up action, if any.",
|
|
693
|
-
"type": "string"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
"required": [
|
|
697
|
-
"id",
|
|
698
|
-
"stage",
|
|
699
|
-
"priority",
|
|
700
|
-
"message"
|
|
701
|
-
],
|
|
702
|
-
"additionalProperties": false
|
|
703
|
-
},
|
|
704
|
-
"description": "Blocking (priority=required) reminders — resolve these before ordering."
|
|
705
|
-
},
|
|
706
|
-
"summary": {
|
|
707
|
-
"type": "string",
|
|
708
|
-
"description": "AI-ready paragraph summarizing the whole preorder report."
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
"required": [
|
|
712
|
-
"confidence",
|
|
713
|
-
"strategies",
|
|
714
|
-
"reminders",
|
|
715
|
-
"blocking_reminders",
|
|
716
|
-
"summary"
|
|
717
|
-
],
|
|
718
|
-
"additionalProperties": false
|
|
719
|
-
},
|
|
720
|
-
"comparison": {
|
|
721
|
-
"description": "Deterministic multi-service comparison (GLM6/94 L6) — present only when depth='preorder' and compare_with is provided. Per-metric bests ONLY, no overall ranking — the buyer decides.",
|
|
722
|
-
"type": "object",
|
|
723
|
-
"properties": {
|
|
724
|
-
"rows": {
|
|
725
|
-
"type": "array",
|
|
726
|
-
"items": {
|
|
727
|
-
"type": "object",
|
|
728
|
-
"properties": {
|
|
729
|
-
"service_id": {
|
|
730
|
-
"type": "string"
|
|
731
|
-
},
|
|
732
|
-
"service_name": {
|
|
733
|
-
"type": "string"
|
|
734
|
-
},
|
|
735
|
-
"error": {
|
|
736
|
-
"description": "Per-service evaluation failure (row excluded from best-per-metric).",
|
|
737
|
-
"type": "string"
|
|
738
|
-
},
|
|
739
|
-
"industry": {
|
|
740
|
-
"type": "string",
|
|
741
|
-
"enum": [
|
|
742
|
-
"freelance",
|
|
743
|
-
"rental",
|
|
744
|
-
"education",
|
|
745
|
-
"travel",
|
|
746
|
-
"subscription",
|
|
747
|
-
"retail"
|
|
748
|
-
]
|
|
749
|
-
},
|
|
750
|
-
"confidence": {
|
|
751
|
-
"description": "Order confidence 0-100 (higher = safer).",
|
|
752
|
-
"type": "number"
|
|
753
|
-
},
|
|
754
|
-
"risk_total": {
|
|
755
|
-
"description": "Risk score 0-100 (lower = safer).",
|
|
756
|
-
"type": "number"
|
|
757
|
-
},
|
|
758
|
-
"risk_level": {
|
|
759
|
-
"type": "string"
|
|
760
|
-
},
|
|
761
|
-
"trust_score": {
|
|
762
|
-
"description": "Trust score 0-100 (higher = more trustworthy).",
|
|
763
|
-
"type": "number"
|
|
764
|
-
},
|
|
765
|
-
"trust_level": {
|
|
766
|
-
"type": "string"
|
|
767
|
-
},
|
|
768
|
-
"preference_match": {
|
|
769
|
-
"description": "Preference match 0-100 (higher = better fit).",
|
|
770
|
-
"type": "number"
|
|
771
|
-
},
|
|
772
|
-
"reputation_like_ratio": {
|
|
773
|
-
"description": "likes/(likes+dislikes); 1 when no votes.",
|
|
774
|
-
"type": "number"
|
|
775
|
-
},
|
|
776
|
-
"reputation_votes": {
|
|
777
|
-
"type": "number"
|
|
778
|
-
},
|
|
779
|
-
"red_flags_count": {
|
|
780
|
-
"type": "number"
|
|
781
|
-
},
|
|
782
|
-
"blocking_reminders_count": {
|
|
783
|
-
"type": "number"
|
|
784
|
-
},
|
|
785
|
-
"info_gaps_count": {
|
|
786
|
-
"type": "number"
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
"required": [
|
|
790
|
-
"service_id",
|
|
791
|
-
"service_name"
|
|
792
|
-
],
|
|
793
|
-
"additionalProperties": false
|
|
794
|
-
},
|
|
795
|
-
"description": "One row per evaluated service (primary first, then compare_with candidates)."
|
|
796
|
-
},
|
|
797
|
-
"best_per_metric": {
|
|
798
|
-
"type": "object",
|
|
799
|
-
"propertyNames": {
|
|
800
|
-
"type": "string"
|
|
801
|
-
},
|
|
802
|
-
"additionalProperties": {
|
|
803
|
-
"type": "array",
|
|
804
|
-
"items": {
|
|
805
|
-
"type": "string"
|
|
806
|
-
}
|
|
807
|
-
},
|
|
808
|
-
"description": "metric name → service_ids with the best value (ties all listed). Per-metric ONLY."
|
|
809
|
-
},
|
|
810
|
-
"evaluated_metrics": {
|
|
811
|
-
"type": "array",
|
|
812
|
-
"items": {
|
|
813
|
-
"type": "string"
|
|
814
|
-
},
|
|
815
|
-
"description": "Metrics actually compared (skipped when fewer than 2 rows have data)."
|
|
816
|
-
},
|
|
817
|
-
"note": {
|
|
818
|
-
"type": "string",
|
|
819
|
-
"description": "Neutrality note: no overall ranking; metric weights belong to the buyer."
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
|
-
"required": [
|
|
823
|
-
"rows",
|
|
824
|
-
"best_per_metric",
|
|
825
|
-
"evaluated_metrics",
|
|
826
|
-
"note"
|
|
827
|
-
],
|
|
828
|
-
"additionalProperties": false
|
|
829
|
-
}
|
|
830
|
-
},
|
|
831
|
-
"required": [
|
|
832
|
-
"service_id",
|
|
833
|
-
"service_name",
|
|
834
|
-
"service_basics",
|
|
835
|
-
"trust_score",
|
|
836
|
-
"order_amount",
|
|
837
|
-
"depth"
|
|
838
|
-
],
|
|
839
|
-
"additionalProperties": false,
|
|
840
|
-
"description": "Trust score result. Contains: trust_score (ServiceTrustScore), risk_score (RiskScore, when depth >= evaluate), info_puzzle summary, preorder_advice (PreorderAdvice, when depth = preorder), comparison (PreorderComparison, when depth = preorder and compare_with given), and service_basics snapshot."
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
"required": [
|
|
844
|
-
"result"
|
|
845
|
-
],
|
|
846
|
-
"additionalProperties": false
|
|
847
|
-
}
|