Raw schema
{
"type": "object",
"properties": {
"account": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The factor account's 0x address (open_account returns it). Accounts are found by address, never by agentId."
},
"desks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"desk": {
"type": "string",
"enum": [
"treasury",
"runway",
"portfolio",
"sweep"
]
},
"adapter": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "A 0x address."
},
"approved": {
"type": "boolean"
},
"perMoveUsd": {
"type": [
"string",
"number"
],
"description": "Dollars, like \"500\"."
},
"perDayUsd": {
"type": [
"string",
"number"
],
"description": "Dollars, like \"500\"."
}
},
"required": [
"approved"
],
"additionalProperties": false
}
},
"payees": {
"type": "array",
"items": {
"type": "object",
"properties": {
"payee": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "A 0x address."
},
"stealth": {
"type": "string",
"description": "Instead of an address: a stealth meta-address (st:eth:0x<spending key><viewing key>) or the 0x address that registered one in the ERC-6538 registry. The money goes to a fresh one-time address and an ERC-5564 announcement is added last."
},
"dailyCapUsd": {
"type": [
"string",
"number"
],
"description": "Dollars, like \"500\"."
}
},
"required": [
"dailyCapUsd"
],
"additionalProperties": false
}
},
"claims": {
"type": "array",
"items": {
"type": "object",
"properties": {
"target": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "A 0x address."
},
"data": {
"type": "string",
"description": "The exact 0x calldata of the claim call, at most 1,024 bytes."
},
"approved": {
"type": "boolean"
}
},
"required": [
"target",
"data",
"approved"
],
"additionalProperties": false
}
},
"weekLossPct": {
"type": [
"string",
"number"
],
"description": "The owner's own limit on what the factor's moves may lose together over 7 UTC days, as a percent of the account's value (0.01 to 10); the factor is held to the lower of it and its mandate's. 0 removes it."
},
"paused": {
"type": "boolean",
"description": "true pauses the factor: it cannot act until unpaused. Owner actions are never paused."
},
"auth": {
"type": "object",
"description": "The account owner's signed request: sign the text account_request_message returns (EIP-191 personal_sign) with the owner's own key; it must recover to owner(), so a contract-wallet owner cannot use these tools yet. Good for five minutes; issued may be at most 30 seconds ahead.",
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "A 0x address."
},
"issued": {
"type": "string",
"description": "The ISO 8601 UTC time in the signed text."
},
"signature": {
"type": "string",
"description": "0x signature over the text."
}
},
"required": [
"wallet",
"issued",
"signature"
],
"additionalProperties": false
}
},
"required": [
"account",
"auth"
],
"additionalProperties": false
}