Files
agent-call/docs/contracts/mock-profile.json
T

55 lines
2.1 KiB
JSON

{
"profile_version": "1.0.0",
"mode": "mock",
"provider_modes": {
"saas": "mock",
"database": "sqlite",
"rabbitmq": "memory",
"sip": "mock",
"asterisk": "mock",
"asr": "mock",
"llm": "mock",
"tts": "mock",
"oss": "mock",
"cloud": "fake-cli"
},
"versions": {"schema": "1.0", "service": "0.1.0", "seed": "mock-2026-09-11"},
"limits": {
"admission_window_s": 30,
"ring_timeout_ms": 30000,
"max_call_duration_ms": 180000,
"max_mq_bytes": 262144,
"max_queue_messages": 1000,
"max_http_bytes": 65536,
"recording_max_bytes": 16777216,
"replay_retention_s": 604800,
"upload_ttl_s": 300,
"global_concurrency": 6,
"global_cps": 3,
"tenant_concurrency": 2,
"tenant_cps": 1,
"cell_capacity": 4,
"turns": 2,
"hold_ms": 0
},
"random_seed": 7,
"tenants": [
{"tenant_id": "tenant-demo", "tenant_key": "tenant-demo-key", "enabled": true},
{"tenant_id": "tenant-b", "tenant_key": "tenant.b", "enabled": true},
{"tenant_id": "tenant-c", "tenant_key": "tenant#c", "enabled": true}
],
"tasks": [
{"task_id": "task-demo", "tenant_id": "tenant-demo", "state": "running", "revision": 1},
{"task_id": "task-b", "tenant_id": "tenant-b", "state": "running", "revision": 1},
{"task_id": "task-c", "tenant_id": "tenant-c", "state": "running", "revision": 1}
],
"routes": [{"route_policy_id": "route_policy_test", "trunk_id": "trunk-mock", "egress_pool_id": "egress-mock", "dial_prefix": "7089", "allowed": true}],
"caller_profiles": [{"caller_profile_id": "caller_profile_test", "display": "BD93205882", "allowed": true}],
"agents": [{"agent_version_id": "agent_v1", "immutable": true, "llm": "mock", "tts": "mock", "asr": "mock"}],
"cells": [
{"cell_id": "cell-a", "capacity": 4, "egress_pool_id": "egress-mock", "ari_mode": "mock"},
{"cell_id": "cell-b", "capacity": 4, "egress_pool_id": "egress-mock", "ari_mode": "mock"}
],
"failure_scenarios": ["success", "busy", "no_answer", "ai_timeout", "ari_disconnect", "upload_missing", "upload_bad_checksum", "broker_outage", "clock_jump"]
}