addedInput schema / properties / mandate / oneOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agent_key": {
+ "maxLength": 256,
+ "minLength": 50,
+ "type": "string"
+ },
+ "approval_path": {
+ "enum": [
+ "wallet_signature",
+ "broker_attestation"
+ ]
+ },
+ "assets": {
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_.:-]+$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "broker": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 256,
+ "minLength": 50,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "key"
+ ],
+ "type": "object"
+ },
+ "daily_loss_cap": {
+ "maximum": 1000000000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "daily_reset": {
+ "const": "00:00 UTC"
+ },
+ "mandate_id": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "max_leverage_milli": {
+ "maximum": 100000,
+ "minimum": 1000,
+ "type": "integer"
+ },
+ "order_types": {
+ "items": {
+ "enum": [
+ "limit",
+ "market",
+ "reduce-only"
+ ]
+ },
+ "maxItems": 16,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "position_caps": {
+ "additionalProperties": false,
+ "properties": {
+ "per_asset": {
+ "additionalProperties": {
+ "maximum": 1000000000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "maxProperties": 16,
+ "minProperties": 1,
+ "propertyNames": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_.:-]+$",
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "total": {
+ "maximum": 1000000000000,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "per_asset",
+ "total"
+ ],
+ "type": "object"
+ },
+ "previous_fingerprint": {
+ "anyOf": [
+ {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "principal": {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_.:-]+$",
+ "type": "string"
+ },
+ "wallet": {
+ "pattern": "^0x[0-9a-fA-F]{40}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "account_id",
+ "wallet"
+ ],
+ "type": "object"
+ },
+ "profile": {
+ "const": "trading"
+ },
+ "usage": {
+ "enum": [
+ "operational",
+ "synthetic"
+ ]
+ },
+ "valid_from": {
+ "maximum": 4102444800,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "valid_to": {
+ "maximum": 4102444800,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "venues": {
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_.:-]+$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "version": {
+ "maximum": 10000,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "mandate_id",
+ "version",
+ "previous_fingerprint",
+ "principal",
+ "approval_path",
+ "agent_key",
+ "broker",
+ "venues",
+ "assets",
+ "max_leverage_milli",
+ "position_caps",
+ "daily_loss_cap",
+ "daily_reset",
+ "order_types",
+ "valid_from",
+ "valid_to",
+ "usage",
+ "profile"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agent_key": {
+ "maxLength": 256,
+ "minLength": 50,
+ "type": "string"
+ },
+ "approval_path": {
+ "enum": [
+ "wallet_signature",
+ "broker_attestation"
+ ]
+ },
+ "asset": {
+ "const": "USDC"
+ },
+ "broker": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 256,
+ "minLength": 50,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "key"
+ ],
+ "type": "object"
+ },
+ "daily_reset": {
+ "const": "00:00 UTC"
+ },
+ "daily_withdrawal_cap": {
+ "maximum": 1000000000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "destination_allowlist": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "pattern": "^0x[0-9a-f]{40}$",
+ "type": "string"
+ },
+ "network": {
+ "pattern": "^(paper|eip155:[1-9][0-9]{0,12})$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "network",
+ "address"
+ ],
+ "type": "object"
+ },
+ "maxItems": 32,
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "dual_approval": {
+ "additionalProperties": false,
+ "properties": {
+ "principal_wallets": {
+ "items": {
+ "pattern": "^0x[0-9a-f]{40}$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "minItems": 2,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "threshold": {
+ "maximum": 1000000000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "threshold",
+ "principal_wallets"
+ ],
+ "type": "object"
+ },
+ "mandate_id": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "per_transaction_cap": {
+ "maximum": 1000000000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "previous_fingerprint": {
+ "anyOf": [
+ {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "principal": {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_.:-]+$",
+ "type": "string"
+ },
+ "wallet": {
+ "pattern": "^0x[0-9a-fA-F]{40}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "account_id",
+ "wallet"
+ ],
+ "type": "object"
+ },
+ "profile": {
+ "const": "treasury"
+ },
+ "usage": {
+ "enum": [
+ "operational",
+ "synthetic"
+ ]
+ },
+ "valid_from": {
+ "maximum": 4102444800,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "valid_to": {
+ "maximum": 4102444800,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "version": {
+ "maximum": 10000,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "mandate_id",
+ "version",
+ "previous_fingerprint",
+ "principal",
+ "approval_path",
+ "agent_key",
+ "broker",
+ "valid_from",
+ "valid_to",
+ "usage",
+ "daily_reset",
+ "profile",
+ "asset",
+ "destination_allowlist",
+ "per_transaction_cap",
+ "daily_withdrawal_cap",
+ "dual_approval"
+ ],
+ "type": "object"
+ }
+]
removedInput schema / properties / mandate / properties
Removed value: -{
- "agent_key": {
- "maxLength": 256,
- "minLength": 50,
- "type": "string"
- },
- "approval_path": {
- "enum": [
- "wallet_signature",
- "broker_attestation"
- ]
- },
- "assets": {
- "items": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_.:-]+$",
- "type": "string"
- },
- "maxItems": 16,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "broker": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "key": {
- "maxLength": 256,
- "minLength": 50,
- "type": "string"
- }
- },
- "required": [
- "id",
- "key"
- ],
- "type": "object"
- },
- "daily_loss_cap": {
- "maximum": 1000000000000,
- "minimum": 1,
- "type": "integer"
- },
- "daily_reset": {
- "const": "00:00 UTC"
- },
- "mandate_id": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "max_leverage_milli": {
- "maximum": 100000,
- "minimum": 1000,
- "type": "integer"
- },
- "order_types": {
- "items": {
- "enum": [
- "limit",
- "market",
- "reduce-only"
- ]
- },
- "maxItems": 16,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "position_caps": {
- "additionalProperties": false,
- "properties": {
- "per_asset": {
- "additionalProperties": {
- "maximum": 1000000000000,
- "minimum": 1,
- "type": "integer"
- },
- "maxProperties": 16,
- "minProperties": 1,
- "propertyNames": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_.:-]+$",
- "type": "string"
- },
- "type": "object"
- },
- "total": {
- "maximum": 1000000000000,
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "per_asset",
- "total"
- ],
- "type": "object"
- },
- "previous_fingerprint": {
- "anyOf": [
- {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "principal": {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_.:-]+$",
- "type": "string"
- },
- "wallet": {
- "pattern": "^0x[0-9a-fA-F]{40}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "account_id",
- "wallet"
- ],
- "type": "object"
- },
- "usage": {
- "enum": [
- "operational",
- "synthetic"
- ]
- },
- "valid_from": {
- "maximum": 4102444800,
- "minimum": 1,
- "type": "integer"
- },
- "valid_to": {
- "maximum": 4102444800,
- "minimum": 1,
- "type": "integer"
- },
- "venues": {
- "items": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_.:-]+$",
- "type": "string"
- },
- "maxItems": 16,
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "version": {
- "maximum": 10000,
- "minimum": 1,
- "type": "integer"
- }
-}