Server definition
- Hash
- sha256:96cdf9ca37a9abb108ac101abb565dd54f1d33e1e525ccadb41cebfd8af11094
- What it is
- What a remote MCP server returned when asked what it offers: 18 tools
The blob, as servednamed by its sha256
{
"instructions": "tools/list shows the tools registered for this server. The catalog server registers list_apis, search_endpoints, describe_endpoint, call_endpoint, and contact_us; every MCP server registers contact_us for support. Discovery tools return catalog information (APIs, endpoints, schemas, prices). Paid tools and call_endpoint wrap the existing POST APIs. Use an account API key when available, or pay as you go when a call returns payment terms in the tool result. Retry with the payment in params._meta[\"x402/payment\"], or send payment-signature. Pay-as-you-go settlement happens only after a successful result. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.",
"tools": [
{
"description": "Measure how concentrated caller-supplied agent, outlet, and operator activity is. Docs: https://www.brainiac.software/api/agent-networks/agent-concentration-risk Keywords: entities, outages, top counts, top_counts, analyses, dependency rankings, dependency_rankings, outage scenarios, outage_scenarios, explanations, Measure agent concentration risk, agent concentration risk.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"entities": {
"description": "entities, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"kind": {
"description": "kind, string, one of agent, outlet, operator. Required.",
"enum": [
"agent",
"outlet",
"operator"
],
"type": "string"
},
"replacement_capacity": {
"description": "replacement capacity, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"revenue": {
"description": "transaction volume, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"segments": {
"description": "segments, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"dimension": {
"description": "dimension, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"label": {
"description": "label, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"dimension",
"label"
],
"type": "object"
},
"type": "array"
},
"transaction_value": {
"description": "transaction volume, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transaction_volume": {
"description": "transaction volume, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"kind",
"transaction_volume",
"transaction_value",
"revenue"
],
"type": "object"
},
"type": "array"
},
"outages": {
"description": "outages, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"unavailable_ids": {
"description": "unavailable ids, array. Required.",
"items": {
"description": "item, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"unavailable_ids"
],
"type": "object"
},
"type": "array"
},
"top_counts": {
"description": "top counts, array. Optional.",
"items": {
"description": "item, integer, from 1 to 100. Required.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"type": "array"
}
},
"required": [
"entities"
],
"type": "object"
},
"name": "agent-networks_agent-concentration-risk",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"analyses": {
"description": "analyses. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"concentration_ratios": {
"description": "concentration_ratios. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"entity_ids": {
"description": "entity_ids. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"formula": {
"description": "formula. String.",
"type": "string"
},
"share_bps": {
"description": "share_bps. Number.",
"type": "number"
},
"top_n": {
"description": "top_n. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"dependency_ranking": {
"description": "dependency_ranking. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"entity_id": {
"description": "entity_id. String.",
"type": "string"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"share_bps": {
"description": "share_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"entity_count": {
"description": "entity_count. Number.",
"type": "number"
},
"hhi": {
"description": "hhi. Number.",
"type": "number"
},
"hhi_formula": {
"description": "hhi_formula. String.",
"type": "string"
},
"metric": {
"description": "metric. String.",
"type": "string"
},
"total": {
"description": "total. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"dependency_rankings": {
"description": "dependency_rankings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"metric": {
"description": "metric. String.",
"type": "string"
},
"ranking": {
"description": "ranking. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"entity_id": {
"description": "entity_id. String.",
"type": "string"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"share_bps": {
"description": "share_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"outage_scenarios": {
"description": "outage_scenarios. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"affected_revenue": {
"description": "affected_revenue. Number.",
"type": "number"
},
"affected_transaction_value": {
"description": "affected_transaction_value. Number.",
"type": "number"
},
"affected_transaction_volume": {
"description": "affected_transaction_volume. Number.",
"type": "number"
},
"affected_volume_share_bps": {
"description": "affected_volume_share_bps. Number.",
"type": "number"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"formula": {
"description": "formula. String.",
"type": "string"
},
"outage_id": {
"description": "outage_id. String.",
"type": "string"
},
"remaining_entity_count": {
"description": "remaining_entity_count. Number.",
"type": "number"
},
"replacement_capacity": {
"description": "replacement_capacity. Number.",
"type": "number"
},
"replacement_capacity_required": {
"description": "replacement_capacity_required. Number.",
"type": "number"
},
"replacement_shortfall": {
"description": "replacement_shortfall. Number.",
"type": "number"
},
"unavailable_ids": {
"description": "unavailable_ids. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"top_counts": {
"description": "top_counts. Array.",
"items": {
"description": "item. Number.",
"type": "number"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Package caller-supplied agent and operator records into a chronological evidence timeline for financial disputes. Docs: https://www.brainiac.software/api/agent-networks/agent-dispute-evidence Keywords: dispute, records, dispute id, dispute_id, agent id, agent_id, currency, disputed amount, disputed_amount, timeline, inconsistencies, missing evidence, missing_evidence, disputed amount breakdown, disputed_amount_breakdown.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"dispute": {
"description": "dispute, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"categories": {
"description": "categories, array. Required.",
"items": {
"description": "item, string, one of balance, commission, reversal, cash_deposit, settlement_deduction, other. Required.",
"enum": [
"balance",
"commission",
"reversal",
"cash_deposit",
"settlement_deduction",
"other"
],
"type": "string"
},
"type": "array"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"detail": {
"description": "detail, string, length 1 to 1000. Optional.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"disputed_amount": {
"description": "disputed amount, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"opened_at": {
"description": "opened at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
}
},
"required": [
"id",
"agent_id",
"currency",
"disputed_amount",
"opened_at",
"categories"
],
"type": "object"
},
"records": {
"description": "records, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"at": {
"description": "opened at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"balance": {
"description": "balance, integer, from -9007199254740991 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"detail": {
"description": "detail, string, length 1 to 500. Optional.",
"maxLength": 500,
"minLength": 1,
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"kind": {
"description": "kind, string, one of transaction, balance_snapshot, commission, settlement, cash_deposit, reversal. Required.",
"enum": [
"transaction",
"balance_snapshot",
"commission",
"settlement",
"cash_deposit",
"reversal",
"adjustment",
"note"
],
"type": "string"
},
"reference": {
"description": "reference, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"at",
"kind"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"dispute",
"records"
],
"type": "object"
},
"name": "agent-networks_agent-dispute-evidence",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"dispute_id": {
"description": "dispute_id. String.",
"type": "string"
},
"disputed_amount": {
"description": "disputed_amount. Number.",
"type": "number"
},
"disputed_amount_breakdown": {
"description": "disputed_amount_breakdown. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"category": {
"description": "category. String.",
"type": "string"
},
"record_count": {
"description": "record_count. Number.",
"type": "number"
},
"record_ids": {
"description": "record_ids. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"signed_amount_total": {
"description": "signed_amount_total. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"inconsistencies": {
"description": "inconsistencies. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"classification": {
"description": "classification. String.",
"type": "string"
},
"code": {
"description": "code. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"expected_balance": {
"description": "expected_balance. Number.",
"type": "number"
},
"explained_movement": {
"description": "explained_movement. Number.",
"type": "number"
},
"from_balance": {
"description": "from_balance. Number.",
"type": "number"
},
"from_record_id": {
"description": "from_record_id. String.",
"type": "string"
},
"to_balance": {
"description": "to_balance. Number.",
"type": "number"
},
"to_record_id": {
"description": "to_record_id. String.",
"type": "string"
},
"unexplained_delta": {
"description": "unexplained_delta. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"missing_evidence": {
"description": "missing_evidence. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"resolution_report": {
"additionalProperties": {},
"description": "resolution_report. Object.",
"properties": {
"inconsistency_count": {
"description": "inconsistency_count. Number.",
"type": "number"
},
"missing_evidence_count": {
"description": "missing_evidence_count. Number.",
"type": "number"
},
"status": {
"description": "status. String.",
"type": "string"
},
"summary": {
"description": "summary. String.",
"type": "string"
},
"verified_fact_count": {
"description": "verified_fact_count. Number.",
"type": "number"
}
},
"type": "object"
},
"timeline": {
"description": "timeline. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"at": {
"description": "at. String.",
"type": "string"
},
"balance": {
"description": "balance. Number.",
"type": "number"
},
"classification": {
"description": "classification. String.",
"type": "string"
},
"id": {
"description": "id. String.",
"type": "string"
},
"kind": {
"description": "kind. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Plan note and coin acquisitions so agents can fulfil caller-supplied cash-in and cash-out amounts. Docs: https://www.brainiac.software/api/agent-networks/cash-denomination-optimization Keywords: denominations, agents, transactions, replenishment, recommended denominations, recommended_denominations, fulfilment, change shortages, change_shortages, excess denominations, excess_denominations, explanations, Optimize cash denominations, cash denomination optimization.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agents": {
"description": "agents, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"inventory": {
"description": "inventory, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"quantity": {
"description": "quantity, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"value": {
"description": "value, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"value",
"quantity"
],
"type": "object"
},
"type": "array"
},
"minimum_reserves": {
"description": "minimum reserves, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"quantity": {
"description": "quantity, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"value": {
"description": "value, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"value",
"quantity"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"currency",
"inventory"
],
"type": "object"
},
"type": "array"
},
"denominations": {
"description": "denominations, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"value": {
"description": "value, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"currency",
"value"
],
"type": "object"
},
"type": "array"
},
"replenishment": {
"description": "replenishment, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"max_quantity": {
"description": "quantity, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"value": {
"description": "value, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"agent_id",
"value",
"max_quantity"
],
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "quantity, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"direction": {
"description": "direction, string, one of in, out. Required.",
"enum": [
"in",
"out"
],
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"tender": {
"description": "tender, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"agent_id",
"direction",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"denominations",
"agents",
"transactions"
],
"type": "object"
},
"name": "agent-networks_cash-denomination-optimization",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"agents": {
"description": "agents. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"acquired_cash": {
"description": "acquired_cash. Number.",
"type": "number"
},
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"formulas": {
"additionalProperties": {},
"description": "formulas. Object.",
"properties": {
"acquire": {
"description": "acquire. String.",
"type": "string"
},
"deposit": {
"description": "deposit. String.",
"type": "string"
},
"dispense": {
"description": "dispense. String.",
"type": "string"
},
"minimum_cash_required": {
"description": "minimum_cash_required. String.",
"type": "string"
}
},
"type": "object"
},
"fully_feasible": {
"description": "fully_feasible. Boolean.",
"type": "boolean"
},
"minimum_cash_required": {
"description": "minimum_cash_required. Number.",
"type": "number"
},
"projected_cash": {
"description": "projected_cash. Number.",
"type": "number"
},
"projected_inventory": {
"description": "projected_inventory. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"recommended_acquisitions": {
"description": "recommended_acquisitions. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"action": {
"description": "action. String.",
"type": "string"
},
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"starting_cash": {
"description": "starting_cash. Number.",
"type": "number"
},
"starting_inventory": {
"description": "starting_inventory. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"transactions_fulfilled": {
"description": "transactions_fulfilled. Number.",
"type": "number"
},
"transactions_total": {
"description": "transactions_total. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"change_shortages": {
"description": "change_shortages. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"excess_denominations": {
"description": "excess_denominations. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"fulfilment": {
"description": "fulfilment. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"composition": {
"description": "composition. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"dispensed": {
"description": "dispensed. Number.",
"type": "number"
},
"fulfilled": {
"description": "fulfilled. Boolean.",
"type": "boolean"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"recommended_denominations": {
"description": "recommended_denominations. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"action": {
"description": "action. String.",
"type": "string"
},
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Build capacitated cash replenishment routes for caller-supplied outlets, depots, and vehicles. Docs: https://www.brainiac.software/api/agent-networks/cash-replenishment-route-plan Keywords: outlets, depots, vehicles, distances, minutes per distance unit, distance basis, distance_basis, routes, unserved outlets, unserved_outlets, totals, explanations, Plan cash replenishment routes, cash replenishment route plan.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"depots": {
"description": "depots, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"latitude": {
"description": "latitude, number, from -90 to 90. Optional.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"description": "longitude, number, from -180 to 180. Optional.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"id"
],
"type": "object"
},
"type": "array"
},
"distances": {
"description": "distances, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"distance": {
"description": "distance, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"from_id": {
"description": "from id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"to_id": {
"description": "to id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"from_id",
"to_id",
"distance"
],
"type": "object"
},
"type": "array"
},
"minutes_per_distance_unit": {
"description": "minutes per distance unit, integer, from 0 to 60. Optional.",
"maximum": 60,
"minimum": 0,
"type": "integer"
},
"outlets": {
"description": "outlets, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"delivery_cost": {
"description": "delivery cost, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"latitude": {
"description": "latitude, number, from -90 to 90. Optional.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"description": "longitude, number, from -180 to 180. Optional.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"replenishment_amount": {
"description": "replenishment amount, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"service_minutes": {
"description": "service minutes, integer, from 0 to 100800. Optional.",
"maximum": 100800,
"minimum": 0,
"type": "integer"
},
"window_end_minute": {
"description": "window end minute, integer, from 0 to 100800. Optional.",
"maximum": 100800,
"minimum": 0,
"type": "integer"
},
"window_start_minute": {
"description": "window start minute, integer, from 0 to 100800. Optional.",
"maximum": 100800,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"replenishment_amount"
],
"type": "object"
},
"type": "array"
},
"vehicles": {
"description": "vehicles, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"capacity": {
"description": "capacity, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"cost_per_distance_unit": {
"description": "cost per distance unit, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"depot_id": {
"description": "depot id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"due_minute": {
"description": "due minute, integer, from 0 to 100800. Optional.",
"maximum": 100800,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"max_route_distance": {
"description": "max route distance, integer, from 1 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"max_stops": {
"description": "max stops, integer, from 1 to 500. Optional.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"ready_minute": {
"description": "ready minute, integer, from 0 to 100800. Optional.",
"maximum": 100800,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"depot_id",
"capacity"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"outlets",
"depots",
"vehicles"
],
"type": "object"
},
"name": "agent-networks_cash-replenishment-route-plan",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"distance_basis": {
"additionalProperties": {},
"description": "distance_basis. Object.",
"properties": {
"straight_line_pairs": {
"description": "straight_line_pairs. Number.",
"type": "number"
},
"supplied_pairs": {
"description": "supplied_pairs. Number.",
"type": "number"
},
"unit": {
"description": "unit. String.",
"type": "string"
}
},
"type": "object"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"routes": {
"description": "routes. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"capacity": {
"description": "capacity. Number.",
"type": "number"
},
"capacity_utilization_bps": {
"description": "capacity_utilization_bps. Number.",
"type": "number"
},
"delivery_cost": {
"description": "delivery_cost. Number.",
"type": "number"
},
"depot_id": {
"description": "depot_id. String.",
"type": "string"
},
"return_leg_distance": {
"description": "return_leg_distance. Number.",
"type": "number"
},
"return_leg_distance_source": {
"description": "return_leg_distance_source. String.",
"type": "string"
},
"stop_delivery_cost": {
"description": "stop_delivery_cost. Number.",
"type": "number"
},
"stops": {
"description": "stops. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"cash_allocated": {
"description": "cash_allocated. Number.",
"type": "number"
},
"cumulative_cash": {
"description": "cumulative_cash. Number.",
"type": "number"
},
"cumulative_distance": {
"description": "cumulative_distance. Number.",
"type": "number"
},
"leg_distance": {
"description": "leg_distance. Number.",
"type": "number"
},
"leg_distance_source": {
"description": "leg_distance_source. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"sequence": {
"description": "sequence. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"total_cash": {
"description": "total_cash. Number.",
"type": "number"
},
"total_distance": {
"description": "total_distance. Number.",
"type": "number"
},
"travel_cost": {
"description": "travel_cost. Number.",
"type": "number"
},
"vehicle_id": {
"description": "vehicle_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"totals": {
"additionalProperties": {},
"description": "totals. Object.",
"properties": {
"cash_delivered": {
"description": "cash_delivered. Number.",
"type": "number"
},
"delivery_cost": {
"description": "delivery_cost. Number.",
"type": "number"
},
"outlets_served": {
"description": "outlets_served. Number.",
"type": "number"
},
"outlets_unserved": {
"description": "outlets_unserved. Number.",
"type": "number"
},
"route_count": {
"description": "route_count. Number.",
"type": "number"
},
"total_distance": {
"description": "total_distance. Number.",
"type": "number"
}
},
"type": "object"
},
"unserved_outlets": {
"description": "unserved_outlets. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"reasons": {
"description": "reasons. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"replenishment_amount": {
"description": "replenishment_amount. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Project caller-supplied outlet cash over the requested days. Docs: https://www.brainiac.software/api/agent-networks/cash-shortage-analysis Keywords: start date, period days, outlets, transactions, demand, schedules, replenishment, projected balances, projected_balances, shortage dates, shortage_dates, affected outlets, affected_outlets, minimum replenishment, minimum_replenishment.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"demand": {
"description": "demand, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"cash_out": {
"description": "amount, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "date, string. Optional.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"weekday": {
"description": "weekday, integer, from 0 to 6. Optional.",
"maximum": 6,
"minimum": 0,
"type": "integer"
}
},
"required": [
"outlet_id",
"cash_out"
],
"type": "object"
},
"type": "array"
},
"outlets": {
"description": "outlets, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"cash_balance": {
"description": "cash balance, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"minimum_balance": {
"description": "minimum balance, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"cash_balance"
],
"type": "object"
},
"type": "array"
},
"period_days": {
"description": "period days, integer, from 1 to 90. Required.",
"maximum": 90,
"minimum": 1,
"type": "integer"
},
"replenishment": {
"description": "replenishment, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "date, string. Optional.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"every_days": {
"description": "every days, integer, from 1 to 90. Optional.",
"maximum": 90,
"minimum": 1,
"type": "integer"
},
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"weekday": {
"description": "weekday, integer, from 0 to 6. Optional.",
"maximum": 6,
"minimum": 0,
"type": "integer"
}
},
"required": [
"outlet_id",
"amount"
],
"type": "object"
},
"type": "array"
},
"schedules": {
"description": "schedules, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"weekday": {
"description": "weekday, integer, from 0 to 6. Required.",
"maximum": 6,
"minimum": 0,
"type": "integer"
}
},
"required": [
"outlet_id",
"weekday"
],
"type": "object"
},
"type": "array"
},
"start_date": {
"description": "start date, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"transactions": {
"description": "transactions, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "start date, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"direction": {
"description": "direction, string, one of in, out. Required.",
"enum": [
"in",
"out"
],
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"outlet_id",
"date",
"direction",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"start_date",
"period_days",
"outlets"
],
"type": "object"
},
"name": "agent-networks_cash-shortage-analysis",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"affected_outlets": {
"description": "affected_outlets. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"first_shortage_date": {
"description": "first_shortage_date. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"shortage_amount": {
"description": "shortage_amount. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"assumptions": {
"description": "assumptions. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"assumption": {
"description": "assumption. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"minimum_replenishment": {
"description": "minimum_replenishment. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"projected_balances": {
"description": "projected_balances. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"cash_balance": {
"description": "cash_balance. Number.",
"type": "number"
},
"cash_in": {
"description": "cash_in. Number.",
"type": "number"
},
"cash_out": {
"description": "cash_out. Number.",
"type": "number"
},
"date": {
"description": "date. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"replenishment": {
"description": "replenishment. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"shortage_dates": {
"description": "shortage_dates. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"date": {
"description": "date. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"shortage_amount": {
"description": "shortage_amount. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Compare caller-supplied transactions with dated agent agreements and commission payments. Docs: https://www.brainiac.software/api/agent-networks/commission-leakage Keywords: agents, rules, agreements, transactions, payments, expected commissions, expected_commissions, payments applied, payments_applied, discrepancies, responsible transactions, responsible_transactions, by agent, by_agent, total financial exposure.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agents": {
"description": "agents, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"currency"
],
"type": "object"
},
"type": "array"
},
"agreements": {
"description": "agreements, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"effective_from": {
"description": "effective from, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"effective_to": {
"description": "effective to, string. Optional.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"rule_id": {
"description": "rule id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"agent_id",
"rule_id",
"effective_from"
],
"type": "object"
},
"type": "array"
},
"payments": {
"description": "payments, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "effective from, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"transaction_id": {
"description": "transaction id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"agent_id",
"amount",
"date"
],
"type": "object"
},
"type": "array"
},
"rules": {
"description": "rules, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cap": {
"description": "cap, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"kind": {
"description": "kind, string, one of fixed, percent, tiered, capped. Required.",
"enum": [
"fixed",
"percent",
"tiered",
"capped"
],
"type": "string"
},
"rate_bps": {
"description": "rate bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"tiers": {
"description": "tiers, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"rate_bps": {
"description": "rate bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"up_to": {
"description": "up to, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"transaction_types": {
"description": "transaction types, array. Optional.",
"items": {
"description": "item, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"kind"
],
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "effective from, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type_id": {
"description": "type id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"agent_id",
"type_id",
"amount",
"date"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"agents",
"rules",
"agreements",
"transactions",
"payments"
],
"type": "object"
},
"name": "agent-networks_commission-leakage",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"by_agent": {
"description": "by_agent. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"expected": {
"description": "expected. Number.",
"type": "number"
},
"exposure": {
"description": "exposure. Number.",
"type": "number"
},
"overpaid": {
"description": "overpaid. Number.",
"type": "number"
},
"paid": {
"description": "paid. Number.",
"type": "number"
},
"unpaid": {
"description": "unpaid. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"discrepancies": {
"description": "discrepancies. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"agreement_id": {
"description": "agreement_id. String.",
"type": "string"
},
"date": {
"description": "date. String.",
"type": "string"
},
"expected": {
"description": "expected. Number.",
"type": "number"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"overpaid": {
"description": "overpaid. Number.",
"type": "number"
},
"paid": {
"description": "paid. Number.",
"type": "number"
},
"rule_id": {
"description": "rule_id. String.",
"type": "string"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
},
"type_id": {
"description": "type_id. String.",
"type": "string"
},
"unpaid": {
"description": "unpaid. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"expected_commissions": {
"description": "expected_commissions. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"agreement_id": {
"description": "agreement_id. String.",
"type": "string"
},
"date": {
"description": "date. String.",
"type": "string"
},
"expected": {
"description": "expected. Number.",
"type": "number"
},
"position": {
"description": "position. Number.",
"type": "number"
},
"rule_id": {
"description": "rule_id. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
},
"steps": {
"description": "steps. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"commission": {
"description": "commission. Number.",
"type": "number"
},
"index": {
"description": "index. Number.",
"type": "number"
},
"position": {
"description": "position. Number.",
"type": "number"
},
"rate_bps": {
"description": "rate_bps. Number.",
"type": "number"
},
"step": {
"description": "step. String.",
"type": "string"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
},
"type_id": {
"description": "type_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"payments_applied": {
"description": "payments_applied. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"allocation": {
"description": "allocation. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"payment_id": {
"description": "payment_id. String.",
"type": "string"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"responsible_transactions": {
"description": "responsible_transactions. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"agreement_id": {
"description": "agreement_id. String.",
"type": "string"
},
"date": {
"description": "date. String.",
"type": "string"
},
"expected": {
"description": "expected. Number.",
"type": "number"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"overpaid": {
"description": "overpaid. Number.",
"type": "number"
},
"paid": {
"description": "paid. Number.",
"type": "number"
},
"rule_id": {
"description": "rule_id. String.",
"type": "string"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
},
"type_id": {
"description": "type_id. String.",
"type": "string"
},
"unpaid": {
"description": "unpaid. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"total_financial_exposure": {
"description": "total_financial_exposure. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"currency": {
"description": "currency. String.",
"type": "string"
},
"exposure": {
"description": "exposure. Number.",
"type": "number"
},
"overpaid": {
"description": "overpaid. Number.",
"type": "number"
},
"unpaid": {
"description": "unpaid. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Classify caller-supplied outlets as active, declining, temporarily inactive, permanently inactive, seasonal, suspended, closed, never active, or not yet active. Docs: https://www.brainiac.software/api/agent-networks/dormant-outlet-detect Keywords: as of date, outlets, transactions, inactive days threshold, permanent days threshold, decline bps threshold, baseline days, recent days, schedules, status records, as_of_date, thresholds, inactive outlets, inactive_outlets, requiring investigation.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"as_of_date": {
"description": "as of date, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"baseline_days": {
"description": "baseline days, integer, from 1 to 3660. Optional.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"decline_bps_threshold": {
"description": "decline bps threshold, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"inactive_days_threshold": {
"description": "inactive days threshold, integer, from 1 to 3660. Optional.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"outlets": {
"description": "outlets, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"activation_date": {
"description": "activation date, string. Optional.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"expected_transactions_per_active_day": {
"description": "expected transactions per active day, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"type": "array"
},
"permanent_days_threshold": {
"description": "permanent days threshold, integer, from 1 to 3660. Optional.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"recent_days": {
"description": "recent days, integer, from 1 to 3660. Optional.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"schedules": {
"description": "schedules, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"weekday": {
"description": "weekday, integer, from 0 to 6. Required.",
"maximum": 6,
"minimum": 0,
"type": "integer"
}
},
"required": [
"outlet_id",
"weekday"
],
"type": "object"
},
"type": "array"
},
"status_records": {
"description": "status records, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"end_date": {
"description": "end date, string. Optional.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"kind": {
"description": "kind, string, one of closure, suspension, seasonal. Required.",
"enum": [
"closure",
"suspension",
"seasonal"
],
"type": "string"
},
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"start_date": {
"description": "as of date, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"outlet_id",
"kind",
"start_date"
],
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"count": {
"description": "count, integer, from 1 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"date": {
"description": "as of date, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"outlet_id": {
"description": "outlet id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"outlet_id",
"date"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"as_of_date",
"outlets",
"transactions"
],
"type": "object"
},
"name": "agent-networks_dormant-outlet-detect",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"as_of_date": {
"description": "as_of_date. String.",
"type": "string"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"inactive_outlets": {
"description": "inactive_outlets. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"active_status_kinds": {
"description": "active_status_kinds. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"baseline_volume": {
"description": "baseline_volume. Number.",
"type": "number"
},
"classification": {
"description": "classification. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"inactivity_start_date": {
"description": "inactivity_start_date. String.",
"type": "string"
},
"last_transaction_date": {
"description": "last_transaction_date. String.",
"type": "string"
},
"open_days_without_activity": {
"description": "open_days_without_activity. Number.",
"type": "number"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"recent_volume": {
"description": "recent_volume. Number.",
"type": "number"
},
"requires_investigation": {
"description": "requires_investigation. Boolean.",
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"outlets": {
"description": "outlets. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"active_status_kinds": {
"description": "active_status_kinds. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"activity_decline_bps": {
"description": "activity_decline_bps. Number.",
"type": "number"
},
"baseline_volume": {
"description": "baseline_volume. Number.",
"type": "number"
},
"classification": {
"description": "classification. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"last_transaction_date": {
"description": "last_transaction_date. String.",
"type": "string"
},
"open_days_without_activity": {
"description": "open_days_without_activity. Number.",
"type": "number"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"recent_volume": {
"description": "recent_volume. Number.",
"type": "number"
},
"requires_investigation": {
"description": "requires_investigation. Boolean.",
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"requiring_investigation": {
"description": "requiring_investigation. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"active_status_kinds": {
"description": "active_status_kinds. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"activity_decline_bps": {
"description": "activity_decline_bps. Number.",
"type": "number"
},
"baseline_volume": {
"description": "baseline_volume. Number.",
"type": "number"
},
"classification": {
"description": "classification. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"last_transaction_date": {
"description": "last_transaction_date. String.",
"type": "string"
},
"open_days_without_activity": {
"description": "open_days_without_activity. Number.",
"type": "number"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"recent_volume": {
"description": "recent_volume. Number.",
"type": "number"
},
"requires_investigation": {
"description": "requires_investigation. Boolean.",
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"thresholds": {
"additionalProperties": {},
"description": "thresholds. Object.",
"properties": {
"baseline_days": {
"description": "baseline_days. Number.",
"type": "number"
},
"decline_bps_threshold": {
"description": "decline_bps_threshold. Number.",
"type": "number"
},
"inactive_days_threshold": {
"description": "inactive_days_threshold. Number.",
"type": "number"
},
"permanent_days_threshold": {
"description": "permanent_days_threshold. Number.",
"type": "number"
},
"recent_days": {
"description": "recent_days. Number.",
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
{
"description": "Investigate customer disputes where a charge is claimed against a failed, reversed, or pending agent transaction. Docs: https://www.brainiac.software/api/agent-networks/failed-transaction-dispute Keywords: dispute, events, receipts, reversals, dispute id, dispute_id, transaction id, transaction_id, currency, customer claimed amount, customer_claimed_amount, timeline, conflicting evidence, conflicting_evidence, missing lifecycle events.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"dispute": {
"description": "dispute, object. Required.",
"properties": {
"claimed_at": {
"description": "claimed at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"customer_claimed_amount": {
"description": "customer claimed amount, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"customer_detail": {
"description": "customer detail, string, length 1 to 1000. Optional.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"transaction_id": {
"description": "transaction id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"transaction_id",
"customer_claimed_amount",
"currency",
"claimed_at"
],
"type": "object"
},
"events": {
"description": "events, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"at": {
"description": "claimed at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"detail": {
"description": "detail, string, length 1 to 500. Optional.",
"maxLength": 500,
"minLength": 1,
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"provider_code": {
"description": "provider code, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"source": {
"description": "source, string, one of provider, agent, customer, system. Optional.",
"enum": [
"provider",
"agent",
"customer",
"system"
],
"type": "string"
},
"transaction_id": {
"description": "transaction id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type": {
"description": "type, string, one of initiated, authorized, provider_response, pending, failed, reversed. Required.",
"enum": [
"initiated",
"authorized",
"provider_response",
"pending",
"failed",
"reversed",
"settled",
"receipt_issued",
"customer_claim",
"agent_note"
],
"type": "string"
}
},
"required": [
"id",
"transaction_id",
"at",
"type"
],
"type": "object"
},
"type": "array"
},
"receipts": {
"description": "receipts, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "customer claimed amount, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"issued_at": {
"description": "claimed at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"status": {
"description": "status, string, one of issued, void. Optional.",
"enum": [
"issued",
"void"
],
"type": "string"
},
"transaction_id": {
"description": "transaction id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"transaction_id",
"amount",
"issued_at"
],
"type": "object"
},
"type": "array"
},
"reversals": {
"description": "reversals, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "customer claimed amount, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"reversed_at": {
"description": "claimed at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"status": {
"description": "status, string, one of posted, pending, failed. Optional.",
"enum": [
"posted",
"pending",
"failed"
],
"type": "string"
},
"transaction_id": {
"description": "transaction id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"transaction_id",
"amount",
"reversed_at"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"dispute",
"events"
],
"type": "object"
},
"name": "agent-networks_failed-transaction-dispute",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"assessment": {
"description": "assessment. String.",
"type": "string"
},
"assessment_evidence": {
"description": "assessment_evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"conflicting_evidence": {
"description": "conflicting_evidence. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"receipt_ids": {
"description": "receipt_ids. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"customer_claimed_amount": {
"description": "customer_claimed_amount. Number.",
"type": "number"
},
"dispute_id": {
"description": "dispute_id. String.",
"type": "string"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"missing_lifecycle_events": {
"description": "missing_lifecycle_events. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"possible_duplicate_charges": {
"description": "possible_duplicate_charges. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"reversal_inconsistencies": {
"description": "reversal_inconsistencies. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"timeline": {
"description": "timeline. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"at": {
"description": "at. String.",
"type": "string"
},
"classification": {
"description": "classification. String.",
"type": "string"
},
"id": {
"description": "id. String.",
"type": "string"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"source": {
"description": "source. String.",
"type": "string"
},
"type": {
"description": "type. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Reconcile caller-supplied opening and closing cash with every cash-in, cash-out, commission, fee, reversal, and adjustment. Docs: https://www.brainiac.software/api/agent-networks/float-loss-attribution Keywords: agents, transactions, expected closing balances, expected_closing_balances, unexplained discrepancies, unexplained_discrepancies, discrepancy breakdown, discrepancy_breakdown, Attribute agent float loss, float loss attribution.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agents": {
"description": "agents, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"closing_balance": {
"description": "opening balance, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"expected_balance": {
"description": "expected balance, integer, from -9007199254740991 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"opening_balance": {
"description": "opening balance, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"id",
"opening_balance",
"closing_balance"
],
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "opening balance, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"category": {
"description": "category, string, one of cash_in, cash_out, commission, fee, reversal, adjustment. Required.",
"enum": [
"cash_in",
"cash_out",
"commission",
"fee",
"reversal",
"adjustment"
],
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"reverses": {
"description": "reverses, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"agent_id",
"category",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"agents",
"transactions"
],
"type": "object"
},
"name": "agent-networks_float-loss-attribution",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"discrepancy_breakdown": {
"description": "discrepancy_breakdown. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"category": {
"description": "category. String.",
"type": "string"
},
"signed_amount": {
"description": "signed_amount. Number.",
"type": "number"
},
"transaction_ids": {
"description": "transaction_ids. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"expected_closing_balances": {
"description": "expected_closing_balances. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"expected_closing_balance": {
"description": "expected_closing_balance. Number.",
"type": "number"
},
"opening_balance": {
"description": "opening_balance. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"category": {
"description": "category. String.",
"type": "string"
},
"id": {
"description": "id. String.",
"type": "string"
},
"signed_amount": {
"description": "signed_amount. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"unexplained_discrepancies": {
"description": "unexplained_discrepancies. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"closing_balance": {
"description": "closing_balance. Number.",
"type": "number"
},
"expected_closing_balance": {
"description": "expected_closing_balance. Number.",
"type": "number"
},
"opening_balance": {
"description": "opening_balance. Number.",
"type": "number"
},
"supplied_expected_balance": {
"description": "supplied_expected_balance. Number.",
"type": "number"
},
"supplied_variance": {
"description": "supplied_variance. Number.",
"type": "number"
},
"unexplained_amount": {
"description": "unexplained_amount. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Propose the cheapest cash transfers that lift every agent to its minimum float after expected demand. Docs: https://www.brainiac.software/api/agent-networks/float-rebalancing Keywords: agents, transfer costs, transfer limits, budget, proposed transfers, proposed_transfers, projected balances, projected_balances, remaining shortages, remaining_shortages, excess balances, excess_balances, total transfer cost, total_transfer_cost, feasibility.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agents": {
"description": "agents, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"cash_balance": {
"description": "cash balance, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"expected_demand": {
"description": "expected demand, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"maximum_float": {
"description": "maximum float, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"minimum_float": {
"description": "cash balance, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"currency",
"cash_balance",
"minimum_float"
],
"type": "object"
},
"type": "array"
},
"budget": {
"description": "budget, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transfer_costs": {
"description": "transfer costs, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"cost_per_unit": {
"description": "cash balance, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"from_agent_id": {
"description": "from agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"to_agent_id": {
"description": "to agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"from_agent_id",
"to_agent_id",
"cost_per_unit"
],
"type": "object"
},
"type": "array"
},
"transfer_limits": {
"description": "transfer limits, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"from_agent_id": {
"description": "from agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"max_amount": {
"description": "cash balance, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"to_agent_id": {
"description": "to agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"from_agent_id",
"to_agent_id",
"max_amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"agents",
"transfer_costs"
],
"type": "object"
},
"name": "agent-networks_float-rebalancing",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"excess_balances": {
"description": "excess_balances. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"above_maximum": {
"description": "above_maximum. Number.",
"type": "number"
},
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"feasibility": {
"description": "feasibility. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"currency": {
"description": "currency. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"feasible": {
"description": "feasible. Boolean.",
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"projected_balances": {
"description": "projected_balances. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"cash_balance": {
"description": "cash_balance. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"expected_demand": {
"description": "expected_demand. Number.",
"type": "number"
},
"minimum_float": {
"description": "minimum_float. Number.",
"type": "number"
},
"projected_after": {
"description": "projected_after. Number.",
"type": "number"
},
"projected_before": {
"description": "projected_before. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"proposed_transfers": {
"description": "proposed_transfers. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"cost": {
"description": "cost. Number.",
"type": "number"
},
"cost_per_unit": {
"description": "cost_per_unit. Number.",
"type": "number"
},
"from_agent_id": {
"description": "from_agent_id. String.",
"type": "string"
},
"to_agent_id": {
"description": "to_agent_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"remaining_shortages": {
"description": "remaining_shortages. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"total_transfer_cost": {
"description": "total_transfer_cost. Number.",
"type": "number"
}
},
"type": "object"
}
},
{
"description": "Calculate the cost of holding cash and electronic float for the supplied period. Docs: https://www.brainiac.software/api/agent-networks/liquidity-cost-analysis Keywords: period days, agents, annualization days, cost of capital bps, funding costs, replenishments, collections, transfer fees, idle periods, period_days, annualization_days, lines, by agent, by_agent, by currency.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agents": {
"description": "agents, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"cash_float": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_of_capital_bps": {
"description": "cost of capital bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"electronic_float": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"funding_rate_bps": {
"description": "funding rate bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"transaction_count": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"currency",
"cash_float",
"electronic_float",
"transaction_count"
],
"type": "object"
},
"type": "array"
},
"annualization_days": {
"description": "annualization days, integer, from 1 to 3660. Optional.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"collections": {
"description": "collections, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"agent_id",
"amount",
"cost"
],
"type": "object"
},
"type": "array"
},
"cost_of_capital_bps": {
"description": "cost of capital bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"funding_costs": {
"description": "funding costs, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"agent_id",
"amount"
],
"type": "object"
},
"type": "array"
},
"idle_periods": {
"description": "idle periods, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"days": {
"description": "days, integer, from 1 to 3660. Required.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
}
},
"required": [
"agent_id",
"amount",
"days"
],
"type": "object"
},
"type": "array"
},
"period_days": {
"description": "period days, integer, from 1 to 3660. Required.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"replenishments": {
"description": "replenishments, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"agent_id",
"amount",
"cost"
],
"type": "object"
},
"type": "array"
},
"transfer_fees": {
"description": "transfer fees, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "cash float, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"agent_id",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"period_days",
"agents"
],
"type": "object"
},
"name": "agent-networks_liquidity-cost-analysis",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"annualization_days": {
"description": "annualization_days. Number.",
"type": "number"
},
"by_agent": {
"description": "by_agent. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"actual_cost": {
"description": "actual_cost. Number.",
"type": "number"
},
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"collection_cost": {
"description": "collection_cost. Number.",
"type": "number"
},
"cost_per_transaction": {
"description": "cost_per_transaction. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"formula": {
"description": "formula. String.",
"type": "string"
},
"funding_cost": {
"description": "funding_cost. Number.",
"type": "number"
},
"idle_capital_cost": {
"description": "idle_capital_cost. Number.",
"type": "number"
},
"opportunity_cost": {
"description": "opportunity_cost. Number.",
"type": "number"
},
"replenishment_cost": {
"description": "replenishment_cost. Number.",
"type": "number"
},
"total_liquidity_cost": {
"description": "total_liquidity_cost. Number.",
"type": "number"
},
"transaction_count": {
"description": "transaction_count. Number.",
"type": "number"
},
"transfer_fee_cost": {
"description": "transfer_fee_cost. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"by_currency": {
"description": "by_currency. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"actual_cost": {
"description": "actual_cost. Number.",
"type": "number"
},
"collection_cost": {
"description": "collection_cost. Number.",
"type": "number"
},
"cost_per_transaction": {
"description": "cost_per_transaction. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"formula": {
"description": "formula. String.",
"type": "string"
},
"funding_cost": {
"description": "funding_cost. Number.",
"type": "number"
},
"idle_capital_cost": {
"description": "idle_capital_cost. Number.",
"type": "number"
},
"opportunity_cost": {
"description": "opportunity_cost. Number.",
"type": "number"
},
"replenishment_cost": {
"description": "replenishment_cost. Number.",
"type": "number"
},
"total_liquidity_cost": {
"description": "total_liquidity_cost. Number.",
"type": "number"
},
"transaction_count": {
"description": "transaction_count. Number.",
"type": "number"
},
"transfer_fee_cost": {
"description": "transfer_fee_cost. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"formulas": {
"description": "formulas. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"lines": {
"description": "lines. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"amount": {
"description": "amount. Number.",
"type": "number"
},
"category": {
"description": "category. String.",
"type": "string"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"formula": {
"description": "formula. String.",
"type": "string"
},
"intermediates": {
"additionalProperties": {},
"description": "intermediates. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"annualization_days": {
"description": "annualization_days. Number.",
"type": "number"
},
"cash_float": {
"description": "cash_float. Number.",
"type": "number"
},
"electronic_float": {
"description": "electronic_float. Number.",
"type": "number"
},
"funding_rate_bps": {
"description": "funding_rate_bps. Number.",
"type": "number"
},
"numerator": {
"description": "numerator. Number.",
"type": "number"
},
"period_days": {
"description": "period_days. Number.",
"type": "number"
},
"total_float": {
"description": "total_float. Number.",
"type": "number"
}
},
"type": "object"
},
"nature": {
"description": "nature. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"period_days": {
"description": "period_days. Number.",
"type": "number"
}
},
"type": "object"
}
},
{
"description": "Distribute caller-supplied demand across outlets that share the demand location, support the service type, and have operating hours in the interval. Docs: https://www.brainiac.software/api/agent-networks/outlet-capacity-allocation Keywords: outlets, demand, service level targets, allocations, utilization, overloaded outlets, overloaded_outlets, unused capacity, unused_capacity, unmet demand, unmet_demand, service levels, service_levels, capacity required, capacity_required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"demand": {
"description": "demand, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"interval_id": {
"description": "interval id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"location_id": {
"description": "location id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"service_type": {
"description": "service type, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"transactions": {
"description": "transactions, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"location_id",
"interval_id",
"service_type",
"transactions"
],
"type": "object"
},
"type": "array"
},
"outlets": {
"description": "outlets, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"capacity_per_hour": {
"description": "capacity per hour, integer, from 1 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"location_id": {
"description": "location id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"operating_hours": {
"description": "operating hours, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"hours": {
"description": "hours, integer, from 0 to 24. Required.",
"maximum": 24,
"minimum": 0,
"type": "integer"
},
"interval_id": {
"description": "interval id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"interval_id",
"hours"
],
"type": "object"
},
"type": "array"
},
"service_types": {
"description": "service types, array. Required.",
"items": {
"description": "item, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type": "array"
},
"staff_capacity_per_hour": {
"description": "staff capacity per hour, integer, from 1 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"staff_count": {
"description": "staff count, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"location_id",
"service_types",
"capacity_per_hour",
"operating_hours"
],
"type": "object"
},
"type": "array"
},
"service_level_targets": {
"description": "service level targets, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"fulfil_bps": {
"description": "fulfil bps, integer, from 0 to 1000000. Required.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"interval_id": {
"description": "interval id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"location_id": {
"description": "location id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"service_type": {
"description": "service type, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"fulfil_bps"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"outlets",
"demand"
],
"type": "object"
},
"name": "agent-networks_outlet-capacity-allocation",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"allocations": {
"description": "allocations. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"demand_id": {
"description": "demand_id. String.",
"type": "string"
},
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"service_type": {
"description": "service_type. String.",
"type": "string"
},
"transactions": {
"description": "transactions. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"capacity_required": {
"description": "capacity_required. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"capacity_required": {
"description": "capacity_required. Number.",
"type": "number"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"overloaded_outlets": {
"description": "overloaded_outlets. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"allocated": {
"description": "allocated. Number.",
"type": "number"
},
"capacity": {
"description": "capacity. Number.",
"type": "number"
},
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"overload": {
"description": "overload. Number.",
"type": "number"
},
"overloaded": {
"description": "overloaded. Boolean.",
"type": "boolean"
},
"unused_capacity": {
"description": "unused_capacity. Number.",
"type": "number"
},
"utilization_bps": {
"description": "utilization_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"service_levels": {
"description": "service_levels. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"achieved_bps": {
"description": "achieved_bps. Number.",
"type": "number"
},
"allocated_transactions": {
"description": "allocated_transactions. Number.",
"type": "number"
},
"capacity_required": {
"description": "capacity_required. Number.",
"type": "number"
},
"demand_transactions": {
"description": "demand_transactions. Number.",
"type": "number"
},
"formula": {
"description": "formula. String.",
"type": "string"
},
"fulfil_bps": {
"description": "fulfil_bps. Number.",
"type": "number"
},
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
},
"met": {
"description": "met. Boolean.",
"type": "boolean"
},
"target_transactions": {
"description": "target_transactions. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"unmet_demand": {
"description": "unmet_demand. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"demand_id": {
"description": "demand_id. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
},
"service_type": {
"description": "service_type. String.",
"type": "string"
},
"transactions": {
"description": "transactions. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"unused_capacity": {
"description": "unused_capacity. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"unused_capacity": {
"description": "unused_capacity. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"utilization": {
"description": "utilization. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"allocated": {
"description": "allocated. Number.",
"type": "number"
},
"capacity": {
"description": "capacity. Number.",
"type": "number"
},
"interval_id": {
"description": "interval_id. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"overload": {
"description": "overload. Number.",
"type": "number"
},
"overloaded": {
"description": "overloaded. Boolean.",
"type": "boolean"
},
"unused_capacity": {
"description": "unused_capacity. Number.",
"type": "number"
},
"utilization_bps": {
"description": "utilization_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Compare caller-supplied outlet productivity inside peer groups of category:currency. Docs: https://www.brainiac.software/api/agent-networks/outlet-performance-benchmark Keywords: outlets, rankings, peer groups, peer_groups, explanations, Benchmark outlet performance, outlet performance benchmark, Agent Network Float.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"outlets": {
"description": "outlets, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"active_days": {
"description": "active days, integer, from 1 to 3660. Optional.",
"maximum": 3660,
"minimum": 1,
"type": "integer"
},
"cash_available": {
"description": "cash available, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cash_capacity": {
"description": "cash capacity, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"category": {
"description": "category, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"commission": {
"description": "transaction count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"operating_cost": {
"description": "transaction count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"operating_hours": {
"description": "operating hours, integer, from 1 to 100000. Optional.",
"maximum": 100000,
"minimum": 1,
"type": "integer"
},
"transaction_count": {
"description": "transaction count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transaction_value": {
"description": "transaction count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"currency",
"transaction_count",
"transaction_value",
"commission",
"operating_cost"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"outlets"
],
"type": "object"
},
"name": "agent-networks_outlet-performance-benchmark",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"outlets": {
"description": "outlets. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"active_days": {
"description": "active_days. Number.",
"type": "number"
},
"average_transaction_value": {
"description": "average_transaction_value. Number.",
"type": "number"
},
"cash_available": {
"description": "cash_available. Number.",
"type": "number"
},
"cash_capacity": {
"description": "cash_capacity. Number.",
"type": "number"
},
"category": {
"description": "category. String.",
"type": "string"
},
"commission": {
"description": "commission. Number.",
"type": "number"
},
"commission_per_transaction": {
"description": "commission_per_transaction. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"formulas": {
"additionalProperties": {},
"description": "formulas. Object.",
"properties": {
"average_transaction_value": {
"description": "average_transaction_value. String.",
"type": "string"
},
"commission_per_transaction": {
"description": "commission_per_transaction. String.",
"type": "string"
},
"operating_cost_per_transaction": {
"description": "operating_cost_per_transaction. String.",
"type": "string"
},
"productivity_rank": {
"description": "productivity_rank. String.",
"type": "string"
},
"productivity_score": {
"description": "productivity_score. String.",
"type": "string"
},
"revenue_per_operating_hour": {
"description": "revenue_per_operating_hour. String.",
"type": "string"
},
"transactions_per_active_day": {
"description": "transactions_per_active_day. String.",
"type": "string"
},
"utilization_bps": {
"description": "utilization_bps. String.",
"type": "string"
}
},
"type": "object"
},
"metric_count": {
"description": "metric_count. Number.",
"type": "number"
},
"metric_ranks": {
"additionalProperties": {},
"description": "metric_ranks. Object.",
"properties": {
"average_transaction_value": {
"description": "average_transaction_value. Number.",
"type": "number"
},
"commission_per_transaction": {
"description": "commission_per_transaction. Number.",
"type": "number"
},
"operating_cost_per_transaction": {
"description": "operating_cost_per_transaction. Number.",
"type": "number"
},
"revenue_per_operating_hour_or_commission": {
"description": "revenue_per_operating_hour_or_commission. Number.",
"type": "number"
},
"transactions_per_active_day_or_count": {
"description": "transactions_per_active_day_or_count. Number.",
"type": "number"
},
"utilization_bps": {
"description": "utilization_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"operating_cost": {
"description": "operating_cost. Number.",
"type": "number"
},
"operating_cost_per_transaction": {
"description": "operating_cost_per_transaction. Number.",
"type": "number"
},
"operating_hours": {
"description": "operating_hours. Number.",
"type": "number"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"peer_averages": {
"additionalProperties": {},
"description": "peer_averages. Object.",
"properties": {
"average_transaction_value": {
"description": "average_transaction_value. Number.",
"type": "number"
},
"commission": {
"description": "commission. Number.",
"type": "number"
},
"commission_per_transaction": {
"description": "commission_per_transaction. Number.",
"type": "number"
},
"operating_cost_per_transaction": {
"description": "operating_cost_per_transaction. Number.",
"type": "number"
},
"revenue_per_operating_hour": {
"description": "revenue_per_operating_hour. Number.",
"type": "number"
},
"transaction_count": {
"description": "transaction_count. Number.",
"type": "number"
},
"transactions_per_active_day": {
"description": "transactions_per_active_day. Number.",
"type": "number"
},
"utilization_bps": {
"description": "utilization_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"peer_group": {
"description": "peer_group. String.",
"type": "string"
},
"peer_size": {
"description": "peer_size. Number.",
"type": "number"
},
"productivity_rank": {
"description": "productivity_rank. Number.",
"type": "number"
},
"productivity_score": {
"description": "productivity_score. Number.",
"type": "number"
},
"revenue_per_operating_hour": {
"description": "revenue_per_operating_hour. Number.",
"type": "number"
},
"transaction_count": {
"description": "transaction_count. Number.",
"type": "number"
},
"transaction_value": {
"description": "transaction_value. Number.",
"type": "number"
},
"transactions_per_active_day": {
"description": "transactions_per_active_day. Number.",
"type": "number"
},
"utilization_bps": {
"description": "utilization_bps. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"peer_groups": {
"description": "peer_groups. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"outlet_ids": {
"description": "outlet_ids. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"peer_group": {
"description": "peer_group. String.",
"type": "string"
},
"size": {
"description": "size. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"rankings": {
"description": "rankings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"category": {
"description": "category. String.",
"type": "string"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"outlet_id": {
"description": "outlet_id. String.",
"type": "string"
},
"peer_group": {
"description": "peer_group. String.",
"type": "string"
},
"productivity_rank": {
"description": "productivity_rank. Number.",
"type": "number"
},
"productivity_score": {
"description": "productivity_score. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Reconcile caller-supplied agent transactions against provider settlement statement rows. Docs: https://www.brainiac.software/api/agent-networks/settlement-reconciliation Keywords: transactions, settlements, matched, missing settlements, missing_settlements, unmatched credits, unmatched_credits, duplicate entries, duplicate_entries, amount discrepancies, amount_discrepancies, fee discrepancies, fee_discrepancies, ambiguous matches, ambiguous_matches.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"settlements": {
"description": "settlements, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"fee": {
"description": "fee, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"kind": {
"description": "kind, string, one of settlement, credit, fee, adjustment. Optional.",
"enum": [
"settlement",
"credit",
"fee",
"adjustment"
],
"type": "string"
},
"reference": {
"description": "reference, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"settled_at": {
"description": "occurred at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"transaction_id": {
"description": "transaction id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"amount",
"currency",
"settled_at"
],
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"amount": {
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"fee": {
"description": "fee, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"occurred_at": {
"description": "occurred at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"settlement_reference": {
"description": "settlement reference, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"amount",
"currency",
"occurred_at"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"transactions",
"settlements"
],
"type": "object"
},
"name": "agent-networks_settlement-reconciliation",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"ambiguous_matches": {
"description": "ambiguous_matches. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount_delta": {
"description": "amount_delta. Number.",
"type": "number"
},
"basis": {
"description": "basis. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"fee_delta": {
"description": "fee_delta. Number.",
"type": "number"
},
"settlement_id": {
"description": "settlement_id. String.",
"type": "string"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"amount_discrepancies": {
"description": "amount_discrepancies. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount_delta": {
"description": "amount_delta. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"settlement_amount": {
"description": "settlement_amount. Number.",
"type": "number"
},
"settlement_id": {
"description": "settlement_id. String.",
"type": "string"
},
"transaction_amount": {
"description": "transaction_amount. Number.",
"type": "number"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"duplicate_entries": {
"description": "duplicate_entries. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"fee_discrepancies": {
"description": "fee_discrepancies. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"currency": {
"description": "currency. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"fee_delta": {
"description": "fee_delta. Number.",
"type": "number"
},
"settlement_fee": {
"description": "settlement_fee. Number.",
"type": "number"
},
"settlement_id": {
"description": "settlement_id. String.",
"type": "string"
},
"transaction_fee": {
"description": "transaction_fee. Number.",
"type": "number"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"matched": {
"description": "matched. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount_delta": {
"description": "amount_delta. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"fee_delta": {
"description": "fee_delta. Number.",
"type": "number"
},
"match_basis": {
"description": "match_basis. String.",
"type": "string"
},
"settlement_amount": {
"description": "settlement_amount. Number.",
"type": "number"
},
"settlement_fee": {
"description": "settlement_fee. Number.",
"type": "number"
},
"settlement_id": {
"description": "settlement_id. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
},
"transaction_amount": {
"description": "transaction_amount. Number.",
"type": "number"
},
"transaction_fee": {
"description": "transaction_fee. Number.",
"type": "number"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"missing_settlements": {
"description": "missing_settlements. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"occurred_at": {
"description": "occurred_at. String.",
"type": "string"
},
"transaction_id": {
"description": "transaction_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"additionalProperties": {},
"description": "summary. Object.",
"properties": {
"absolute_amount_gap": {
"description": "absolute_amount_gap. Number.",
"type": "number"
},
"absolute_fee_gap": {
"description": "absolute_fee_gap. Number.",
"type": "number"
},
"ambiguous_matches": {
"description": "ambiguous_matches. Number.",
"type": "number"
},
"amount_discrepancies": {
"description": "amount_discrepancies. Number.",
"type": "number"
},
"fee_discrepancies": {
"description": "fee_discrepancies. Number.",
"type": "number"
},
"matched": {
"description": "matched. Number.",
"type": "number"
},
"missing_settlements": {
"description": "missing_settlements. Number.",
"type": "number"
},
"settlements": {
"description": "settlements. Number.",
"type": "number"
},
"transactions": {
"description": "transactions. Number.",
"type": "number"
},
"unmatched_credits": {
"description": "unmatched_credits. Number.",
"type": "number"
}
},
"type": "object"
},
"unmatched_credits": {
"description": "unmatched_credits. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"settled_at": {
"description": "settled_at. String.",
"type": "string"
},
"settlement_id": {
"description": "settlement_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Audit consecutive agent shifts for cash and electronic-float handovers. Docs: https://www.brainiac.software/api/agent-networks/shift-handover-audit Keywords: shifts, handovers, shift audits, shift_audits, unexplained discrepancies, unexplained_discrepancies, missing handovers, missing_handovers, handover findings, handover_findings, inconsistent adjustments, inconsistent_adjustments, summary, explanations, Audit shift cash handovers.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"handovers": {
"description": "handovers, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"cash_handed": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"float_handed": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"from_shift_id": {
"description": "from shift id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"recorded_at": {
"description": "recorded at, string. Optional.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"to_shift_id": {
"description": "to shift id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"from_shift_id",
"to_shift_id",
"cash_handed",
"float_handed"
],
"type": "object"
},
"type": "array"
},
"shifts": {
"description": "shifts, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"adjustments": {
"description": "adjustments, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"kind": {
"description": "kind, string, one of cash, float. Required.",
"enum": [
"cash",
"float"
],
"type": "string"
},
"reason": {
"description": "reason, string, length 1 to 240. Optional.",
"maxLength": 240,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"kind",
"amount"
],
"type": "object"
},
"type": "array"
},
"agent_id": {
"description": "agent id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"cash_count": {
"description": "cash count, integer, from -9007199254740991 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"closing_cash": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"closing_float": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"electronic_float_balance": {
"description": "electronic float balance, integer, from -9007199254740991 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"ended_at": {
"description": "started at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"opening_cash": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"opening_float": {
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"started_at": {
"description": "started at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"transaction_cash_in": {
"description": "transaction cash in, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transaction_cash_out": {
"description": "transaction cash out, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transaction_float_in": {
"description": "transaction float in, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transaction_float_out": {
"description": "transaction float out, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"agent_id",
"started_at",
"ended_at",
"opening_cash",
"closing_cash",
"opening_float",
"closing_float"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"shifts"
],
"type": "object"
},
"name": "agent-networks_shift-handover-audit",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"handover_findings": {
"description": "handover_findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"cash_handed": {
"description": "cash_handed. Number.",
"type": "number"
},
"cash_vs_from_closing_delta": {
"description": "cash_vs_from_closing_delta. Number.",
"type": "number"
},
"float_handed": {
"description": "float_handed. Number.",
"type": "number"
},
"float_vs_from_closing_delta": {
"description": "float_vs_from_closing_delta. Number.",
"type": "number"
},
"from_closing_cash": {
"description": "from_closing_cash. Number.",
"type": "number"
},
"from_closing_float": {
"description": "from_closing_float. Number.",
"type": "number"
},
"from_shift_id": {
"description": "from_shift_id. String.",
"type": "string"
},
"handover_id": {
"description": "handover_id. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
},
"to_opening_cash": {
"description": "to_opening_cash. Number.",
"type": "number"
},
"to_opening_cash_vs_handed_delta": {
"description": "to_opening_cash_vs_handed_delta. Number.",
"type": "number"
},
"to_opening_float": {
"description": "to_opening_float. Number.",
"type": "number"
},
"to_opening_float_vs_handed_delta": {
"description": "to_opening_float_vs_handed_delta. Number.",
"type": "number"
},
"to_shift_id": {
"description": "to_shift_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"inconsistent_adjustments": {
"description": "inconsistent_adjustments. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"cash_count": {
"description": "cash_count. Number.",
"type": "number"
},
"closing_cash": {
"description": "closing_cash. Number.",
"type": "number"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"kind": {
"description": "kind. String.",
"type": "string"
},
"shift_id": {
"description": "shift_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"missing_handovers": {
"description": "missing_handovers. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"from_shift_id": {
"description": "from_shift_id. String.",
"type": "string"
},
"to_shift_id": {
"description": "to_shift_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"shift_audits": {
"description": "shift_audits. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"actual_cash": {
"description": "actual_cash. Number.",
"type": "number"
},
"actual_float": {
"description": "actual_float. Number.",
"type": "number"
},
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"cash_delta": {
"description": "cash_delta. Number.",
"type": "number"
},
"closing_cash": {
"description": "closing_cash. Number.",
"type": "number"
},
"closing_cash_delta": {
"description": "closing_cash_delta. Number.",
"type": "number"
},
"closing_float": {
"description": "closing_float. Number.",
"type": "number"
},
"closing_float_delta": {
"description": "closing_float_delta. Number.",
"type": "number"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"expected_cash": {
"description": "expected_cash. Number.",
"type": "number"
},
"expected_float": {
"description": "expected_float. Number.",
"type": "number"
},
"float_delta": {
"description": "float_delta. Number.",
"type": "number"
},
"shift_id": {
"description": "shift_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"additionalProperties": {},
"description": "summary. Object.",
"properties": {
"handovers": {
"description": "handovers. Number.",
"type": "number"
},
"inconsistent_handovers": {
"description": "inconsistent_handovers. Number.",
"type": "number"
},
"missing_handovers": {
"description": "missing_handovers. Number.",
"type": "number"
},
"shifts": {
"description": "shifts. Number.",
"type": "number"
},
"shifts_with_unexplained_discrepancies": {
"description": "shifts_with_unexplained_discrepancies. Number.",
"type": "number"
}
},
"type": "object"
},
"unexplained_discrepancies": {
"description": "unexplained_discrepancies. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"cash_delta": {
"description": "cash_delta. Number.",
"type": "number"
},
"closing_cash_delta": {
"description": "closing_cash_delta. Number.",
"type": "number"
},
"closing_float_delta": {
"description": "closing_float_delta. Number.",
"type": "number"
},
"evidence": {
"description": "evidence. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"float_delta": {
"description": "float_delta. Number.",
"type": "number"
},
"shift_id": {
"description": "shift_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "Quantify agent terminal outages using supplied availability intervals, historical day totals, and optional per-hour averages. Docs: https://www.brainiac.software/api/agent-networks/terminal-downtime-impact Keywords: terminals, outages, history, averages, outage impacts, outage_impacts, downtime ranking, downtime_ranking, restoration priority, restoration_priority, affected agents, affected_agents, summary, explanations, Measure terminal downtime impact.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"averages": {
"description": "averages, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"average_transaction_value": {
"description": "average transaction value, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"commission_bps": {
"description": "commission bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"terminal_id": {
"description": "terminal id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"transactions_per_hour": {
"description": "transaction count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"terminal_id",
"transactions_per_hour"
],
"type": "object"
},
"type": "array"
},
"history": {
"description": "history, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"active_minutes": {
"description": "active minutes, integer, from 1 to 1440. Optional.",
"maximum": 1440,
"minimum": 1,
"type": "integer"
},
"commission": {
"description": "commission, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"date": {
"description": "date, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"terminal_id": {
"description": "terminal id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"transaction_count": {
"description": "transaction count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"transaction_value": {
"description": "transaction value, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"terminal_id",
"date",
"transaction_count"
],
"type": "object"
},
"type": "array"
},
"outages": {
"description": "outages, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"ended_at": {
"description": "started at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"started_at": {
"description": "started at, string. Required.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"type": "string"
},
"terminal_id": {
"description": "terminal id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"terminal_id",
"started_at",
"ended_at"
],
"type": "object"
},
"type": "array"
},
"terminals": {
"description": "terminals, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"agent_id": {
"description": "agent id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"location_id": {
"description": "location id, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"terminals",
"outages"
],
"type": "object"
},
"name": "agent-networks_terminal-downtime-impact",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"affected_agents": {
"description": "affected_agents. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"downtime_ranking": {
"description": "downtime_ranking. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"downtime_minutes": {
"description": "downtime_minutes. Number.",
"type": "number"
},
"estimated_lost_commission": {
"description": "estimated_lost_commission. Number.",
"type": "number"
},
"estimated_lost_transactions": {
"description": "estimated_lost_transactions. Number.",
"type": "number"
},
"estimated_lost_value": {
"description": "estimated_lost_value. Number.",
"type": "number"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
},
"outage_count": {
"description": "outage_count. Number.",
"type": "number"
},
"priority_score": {
"description": "priority_score. Number.",
"type": "number"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"explanations": {
"description": "explanations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"outage_impacts": {
"description": "outage_impacts. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"downtime_minutes": {
"description": "downtime_minutes. Number.",
"type": "number"
},
"ended_at": {
"description": "ended_at. String.",
"type": "string"
},
"estimate_basis": {
"description": "estimate_basis. String.",
"type": "string"
},
"estimated_lost_commission": {
"description": "estimated_lost_commission. Number.",
"type": "number"
},
"estimated_lost_transactions": {
"description": "estimated_lost_transactions. Number.",
"type": "number"
},
"estimated_lost_value": {
"description": "estimated_lost_value. Number.",
"type": "number"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
},
"measured_commission": {
"description": "measured_commission. Number.",
"type": "number"
},
"measured_transaction_count": {
"description": "measured_transaction_count. Number.",
"type": "number"
},
"measured_transaction_value": {
"description": "measured_transaction_value. Number.",
"type": "number"
},
"measurement_basis": {
"description": "measurement_basis. String.",
"type": "string"
},
"outage_id": {
"description": "outage_id. String.",
"type": "string"
},
"priority_score": {
"description": "priority_score. Number.",
"type": "number"
},
"started_at": {
"description": "started_at. String.",
"type": "string"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"restoration_priority": {
"description": "restoration_priority. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"agent_id": {
"description": "agent_id. String.",
"type": "string"
},
"location_id": {
"description": "location_id. String.",
"type": "string"
},
"priority_score": {
"description": "priority_score. Number.",
"type": "number"
},
"rank": {
"description": "rank. Number.",
"type": "number"
},
"reason": {
"description": "reason. String.",
"type": "string"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"additionalProperties": {},
"description": "summary. Object.",
"properties": {
"estimated_lost_commission": {
"description": "estimated_lost_commission. Number.",
"type": "number"
},
"estimated_lost_transactions": {
"description": "estimated_lost_transactions. Number.",
"type": "number"
},
"estimated_lost_value": {
"description": "estimated_lost_value. Number.",
"type": "number"
},
"outages": {
"description": "outages. Number.",
"type": "number"
},
"terminals": {
"description": "terminals. Number.",
"type": "number"
},
"total_downtime_minutes": {
"description": "total_downtime_minutes. Number.",
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
{
"description": "Score caller-supplied payment terminals from transaction counts, values, fee rules, revenue shares, and operating costs. Docs: https://www.brainiac.software/api/agent-networks/terminal-profitability Keywords: terminals, transaction types, transactions, revenue by type, revenue_by_type, total revenue, total_revenue, operating costs, operating_costs, net profit, net_profit, ranking, Score terminal profitability, terminal profitability.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"terminals": {
"description": "terminals, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"costs": {
"description": "costs, object. Optional.",
"properties": {
"connectivity": {
"description": "connectivity, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"equipment": {
"description": "equipment, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"maintenance": {
"description": "maintenance, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"other": {
"description": "other, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"rent": {
"description": "rent, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"currency": {
"description": "currency, string. Required.",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"currency"
],
"type": "object"
},
"type": "array"
},
"transaction_types": {
"description": "transaction types, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"fee": {
"description": "fee, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"kind": {
"description": "kind, string, one of fixed, percent, tiered. Required.",
"enum": [
"fixed",
"percent",
"tiered"
],
"type": "string"
},
"rate_bps": {
"description": "rate bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"tiers": {
"description": "tiers, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"rate_bps": {
"description": "rate bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"up_to": {
"description": "up to, integer, from 0 to 9007199254740991. Optional.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"kind"
],
"type": "object"
},
"id": {
"description": "id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"revenue_share_bps": {
"description": "revenue share bps, integer, from 0 to 1000000. Optional.",
"maximum": 1000000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"fee"
],
"type": "object"
},
"type": "array"
},
"transactions": {
"description": "transactions, array. Required.",
"items": {
"description": "item, object. Required.",
"properties": {
"count": {
"description": "count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"terminal_id": {
"description": "terminal id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"type_id": {
"description": "type id, string, length 1 to 120. Required.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"value": {
"description": "count, integer, from 0 to 9007199254740991. Required.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"terminal_id",
"type_id",
"count",
"value"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"terminals",
"transaction_types",
"transactions"
],
"type": "object"
},
"name": "agent-networks_terminal-profitability",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"net_profit": {
"description": "net_profit. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"break_even_count": {
"description": "break_even_count. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"profit_margin_bps": {
"description": "profit_margin_bps. Number.",
"type": "number"
},
"revenue_per_transaction": {
"description": "revenue_per_transaction. Number.",
"type": "number"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
},
"transaction_count": {
"description": "transaction_count. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"operating_costs": {
"description": "operating_costs. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"connectivity": {
"description": "connectivity. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"equipment": {
"description": "equipment. Number.",
"type": "number"
},
"maintenance": {
"description": "maintenance. Number.",
"type": "number"
},
"other": {
"description": "other. Number.",
"type": "number"
},
"rent": {
"description": "rent. Number.",
"type": "number"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
},
"total": {
"description": "total. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"ranking": {
"description": "ranking. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"currency": {
"description": "currency. String.",
"type": "string"
},
"net_profit": {
"description": "net_profit. Number.",
"type": "number"
},
"rank": {
"description": "rank. Number.",
"type": "number"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"revenue_by_type": {
"description": "revenue_by_type. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"count": {
"description": "count. Number.",
"type": "number"
},
"fee_before_share": {
"description": "fee_before_share. Number.",
"type": "number"
},
"fee_steps": {
"description": "fee_steps. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"count": {
"description": "count. Number.",
"type": "number"
},
"fee": {
"description": "fee. Number.",
"type": "number"
},
"step": {
"description": "step. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"revenue": {
"description": "revenue. Number.",
"type": "number"
},
"revenue_share_bps": {
"description": "revenue_share_bps. Number.",
"type": "number"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
},
"type_id": {
"description": "type_id. String.",
"type": "string"
},
"value": {
"description": "value. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"total_revenue": {
"description": "total_revenue. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"currency": {
"description": "currency. String.",
"type": "string"
},
"terminal_id": {
"description": "terminal_id. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
{
"description": "How to contact BRAINIAC.software support: email, page URL, what to include in a message, and what not to send. Free. Does not send email.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "contact_us",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"doNotSend": {
"description": "What not to email.",
"items": {
"type": "string"
},
"type": "array"
},
"email": {
"description": "Support email address.",
"type": "string"
},
"include": {
"description": "What to include when writing support.",
"items": {
"type": "string"
},
"type": "array"
},
"page": {
"description": "Contact Us page URL.",
"type": "string"
},
"topics": {
"description": "Common support topics.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"email",
"page",
"include",
"doNotSend",
"topics"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:96cdf9ca37a9abb108ac101abb565dd54f1d33e1e525ccadb41cebfd8af11094 | sha256sum