changedInput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "x402"
- ]
- },
- "credits": {
- "$ref": "#/$defs/credits"
- },
- "customer_postal_code": {
- "$ref": "#/$defs/customer_postal_code"
- },
- "customer_region": {
- "$ref": "#/$defs/customer_region"
- },
- "customer_subdivision": {
- "$ref": "#/$defs/customer_subdivision"
- },
- "financial_principal": {
- "$ref": "#/$defs/financial_principal"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "principal_source": {
- "$ref": "#/$defs/principal_source"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- },
- "route": {
- "enum": [
- "algo",
- "usdc",
- "sibidz"
- ]
- },
- "terms_hash": {
- "$ref": "#/$defs/terms_hash"
- },
- "terms_version": {
- "$ref": "#/$defs/terms_version"
- }
- },
- "required": [
- "action",
- "request_id",
- "route",
- "credits",
- "max_fee"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "fiat"
- ]
- },
- "amount": {
- "pattern": "^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,2})?$",
- "type": "string"
- },
- "customer_postal_code": {
- "$ref": "#/$defs/customer_postal_code"
- },
- "customer_region": {
- "$ref": "#/$defs/customer_region"
- },
- "customer_subdivision": {
- "$ref": "#/$defs/customer_subdivision"
- },
- "destination_account_id": {
- "$ref": "#/$defs/request_id"
- },
- "financial_principal": {
- "$ref": "#/$defs/financial_principal"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "method": {
- "enum": [
- "thb_international",
- "thb_promptpay",
- "gbp_international",
- "gbp_local",
- "usd_international",
- "usd_domestic"
- ]
- },
- "principal_source": {
- "$ref": "#/$defs/principal_source"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- },
- "terms_hash": {
- "$ref": "#/$defs/terms_hash"
- },
- "terms_version": {
- "type": "string"
- }
- },
- "required": [
- "request_id",
- "method",
- "amount",
- "accept_terms",
- "terms_version",
- "terms_hash",
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "fiat_sent"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "operation_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "operation_id",
- "request_id",
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "export"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "month": {
- "pattern": "^(20[0-9]{2}|[3-9][0-9]{3})-(0[1-9]|1[0-2])$",
- "type": "string"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "month",
- "request_id",
- "action",
- "max_fee"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "invoice"
- ]
- },
- "credits": {
- "$ref": "#/$defs/credits"
- },
- "customer_postal_code": {
- "$ref": "#/$defs/customer_postal_code"
- },
- "customer_region": {
- "$ref": "#/$defs/customer_region"
- },
- "customer_subdivision": {
- "$ref": "#/$defs/customer_subdivision"
- },
- "financial_principal": {
- "$ref": "#/$defs/financial_principal"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "principal_source": {
- "$ref": "#/$defs/principal_source"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- },
- "route": {
- "$ref": "#/$defs/route"
- },
- "terms_hash": {
- "$ref": "#/$defs/terms_hash"
- },
- "terms_version": {
- "$ref": "#/$defs/terms_version"
- }
- },
- "required": [
- "action",
- "request_id",
- "route",
- "credits"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "deposit"
- ]
- },
- "customer_postal_code": {
- "$ref": "#/$defs/customer_postal_code"
- },
- "customer_region": {
- "$ref": "#/$defs/customer_region"
- },
- "customer_subdivision": {
- "$ref": "#/$defs/customer_subdivision"
- },
- "financial_principal": {
- "$ref": "#/$defs/financial_principal"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "principal_source": {
- "$ref": "#/$defs/principal_source"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "route": {
- "$ref": "#/$defs/route"
- },
- "terms_hash": {
- "$ref": "#/$defs/terms_hash"
- },
- "terms_version": {
- "$ref": "#/$defs/terms_version"
- }
- },
- "required": [
- "action",
- "request_id",
- "route"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "intent": {
- "enum": [
- "withdraw"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "principal",
- "destination",
- "action",
- "intent",
- "request_id",
- "source_account_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "principal",
- "destination"
- ]
- },
- {
- "properties": {
- "destination": false,
- "entry_id": false,
- "intent": {
- "enum": [
- "transfer"
- ]
- },
- "label": false,
- "ledger_account_id": false,
- "principal": false,
- "purpose": false
- },
- "required": [
- "amount",
- "recipient_profile_id"
- ]
- },
- {
- "properties": {
- "intent": {
- "enum": [
- "create_account"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "intent",
- "request_id",
- "purpose",
- "label",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "purpose"
- ]
- },
- {
- "properties": {
- "intent": {
- "enum": [
- "select_account"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "intent",
- "request_id",
- "purpose",
- "ledger_account_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "purpose",
- "ledger_account_id"
- ]
- },
- {
- "properties": {
- "intent": {
- "enum": [
- "evidence"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "intent",
- "request_id",
- "entry_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "entry_id"
- ]
- }
- ],
- "properties": {
- "action": {
- "enum": [
- "prepare"
- ]
- },
- "amount": {
- "$ref": "#/$defs/principal"
- },
- "destination": {
- "type": "string"
- },
- "destination_account_id": {
- "$ref": "#/$defs/request_id"
- },
- "entry_id": {
- "$ref": "#/$defs/request_id"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "intent": {},
- "label": {
- "$ref": "#/$defs/label"
- },
- "ledger_account_id": {
- "$ref": "#/$defs/request_id"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "principal": {
- "$ref": "#/$defs/principal"
- },
- "purpose": {
- "enum": [
- "grant",
- "normal"
- ]
- },
- "recipient_profile_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "source_account_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "intent",
- "request_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "approve": false,
- "authority_digest": {
- "$ref": "#/$defs/terms_hash"
- },
- "intent": {
- "enum": [
- "top_up"
- ]
- },
- "operation_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- },
- "terms_sha256": false
- },
- "required": [
- "terms_version",
- "terms_hash",
- "accept_terms"
- ]
- },
- {
- "properties": {
- "approve": false,
- "authority_digest": {
- "$ref": "#/$defs/terms_hash"
- },
- "intent": {
- "enum": [
- "withdraw"
- ]
- },
- "operation_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "terms_hash": false
- },
- "required": [
- "terms_version",
- "terms_sha256",
- "accept_terms"
- ]
- },
- {
- "properties": {
- "authority_digest": {
- "$ref": "#/$defs/terms_hash"
- },
- "intent": {
- "enum": [
- "transfer",
- "create_account",
- "select_account",
- "evidence"
- ]
- },
- "operation_id": {
- "$ref": "#/$defs/operation_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "intent",
- "request_id",
- "operation_id",
- "authority_digest",
- "approve",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "approve"
- ]
- }
- ],
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "confirm"
- ]
- },
- "approve": {
- "enum": [
- true
- ]
- },
- "authority_digest": {},
- "customer_postal_code": {
- "$ref": "#/$defs/customer_postal_code"
- },
- "customer_region": {
- "$ref": "#/$defs/customer_region"
- },
- "customer_subdivision": {
- "$ref": "#/$defs/customer_subdivision"
- },
- "financial_principal": {
- "$ref": "#/$defs/financial_principal"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "intent": {},
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "operation_id": {},
- "principal_source": {
- "$ref": "#/$defs/principal_source"
- },
- "request_id": {},
- "terms_hash": {
- "$ref": "#/$defs/terms_hash"
- },
- "terms_sha256": {
- "$ref": "#/$defs/terms_hash"
- },
- "terms_version": {
- "$ref": "#/$defs/label"
- }
- },
- "required": [
- "action",
- "intent",
- "request_id",
- "operation_id",
- "authority_digest"
- ],
- "type": "object"
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "continue"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "operation_id": {
- "$ref": "#/$defs/operation_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "step": {
- "enum": [
- "sent"
- ]
- }
- },
- "required": [
- "action",
- "step",
- "request_id",
- "operation_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "continue"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "operation_id": {
- "$ref": "#/$defs/operation_id"
- },
- "payment": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "event_index": {
- "maximum": 4294967295,
- "minimum": 0,
- "type": "integer"
- },
- "inner_path": {
- "items": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "maxItems": 16,
- "type": "array"
- },
- "kind": {
- "enum": [
- "transaction"
- ]
- },
- "round": {
- "$ref": "#/$defs/principal"
- },
- "transaction_id": {
- "pattern": "^(?:[A-Z2-7]{52}|(?:0x)?[a-fA-F0-9]{64})$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "transaction_id"
- ],
- "type": "object"
- }
- ]
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "step": {
- "enum": [
- "payment"
- ]
- }
- },
- "required": [
- "action",
- "step",
- "request_id",
- "operation_id",
- "payment"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "decision": {
- "enum": [
- "partial_take",
- "continue_requote"
- ]
- },
- "expected_revision": {
- "pattern": "^\\d+$",
- "type": "string"
- }
- },
- "propertyNames": {
- "enum": [
- "operation_id",
- "expected_revision",
- "decision",
- "min_net",
- "accept",
- "action",
- "step",
- "request_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "min_net",
- "accept"
- ]
- },
- {
- "properties": {
- "confirm_destination": false,
- "decision": {
- "enum": [
- "renew_btc"
- ]
- },
- "destination": false,
- "expected_revision": {
- "pattern": "^\\d+$",
- "type": "string"
- },
- "fee_payer": false,
- "max_network_fee": false,
- "obligation_id": false
- },
- "required": [
- "valuation_id",
- "gross_cap",
- "min_net",
- "accept"
- ]
- },
- {
- "properties": {
- "accept": false,
- "decision": {
- "enum": [
- "return_original"
- ]
- },
- "expected_revision": {
- "$ref": "#/$defs/max_network_fee"
- },
- "gross_cap": false,
- "min_net": false,
- "valuation_id": false
- },
- "required": [
- "destination",
- "confirm_destination",
- "fee_payer",
- "max_network_fee"
- ]
- }
- ],
- "properties": {
- "accept": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "continue"
- ]
- },
- "confirm_destination": {
- "enum": [
- true
- ]
- },
- "decision": {},
- "destination": {
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- },
- "expected_revision": {},
- "fee_payer": {
- "enum": [
- "company"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "gross_cap": {
- "pattern": "^[1-9]\\d*$",
- "type": "string"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "max_network_fee": {
- "$ref": "#/$defs/max_network_fee"
- },
- "min_net": {
- "pattern": "^[1-9]\\d*$",
- "type": "string"
- },
- "obligation_id": {
- "$ref": "#/$defs/request_id"
- },
- "operation_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "step": {
- "enum": [
- "recovery"
- ]
- },
- "valuation_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "operation_id",
- "expected_revision",
- "decision",
- "action",
- "step",
- "request_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "continue"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "operation_id": {
- "$ref": "#/$defs/operation_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- },
- "step": {
- "enum": [
- "link",
- "revoke_link"
- ]
- }
- },
- "required": [
- "action",
- "step",
- "operation_id",
- "request_id"
- ],
- "type": "object"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "cancel"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "operation_id": {
- "$ref": "#/$defs/operation_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id_2"
- }
- },
- "required": [
- "action",
- "operation_id",
- "request_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "x402"
+ ]
+ },
+ "credits": {
+ "$ref": "#/$defs/credits"
+ },
+ "customer_postal_code": {
+ "$ref": "#/$defs/customer_postal_code"
+ },
+ "customer_region": {
+ "$ref": "#/$defs/customer_region"
+ },
+ "customer_subdivision": {
+ "$ref": "#/$defs/customer_subdivision"
+ },
+ "financial_principal": {
+ "$ref": "#/$defs/financial_principal"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "principal_source": {
+ "$ref": "#/$defs/principal_source"
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "route": {
+ "enum": [
+ "algo",
+ "usdc",
+ "sibidz"
+ ]
+ },
+ "terms_hash": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "terms_version": {
+ "$ref": "#/$defs/terms_version"
+ }
+ },
+ "required": [
+ "action",
+ "request_id",
+ "route",
+ "credits",
+ "max_fee"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "fiat"
+ ]
+ },
+ "amount": {
+ "pattern": "^(?:0|[1-9]\\d{0,8})(?:\\.\\d{1,2})?$",
+ "type": "string"
+ },
+ "customer_postal_code": {
+ "$ref": "#/$defs/customer_postal_code"
+ },
+ "customer_region": {
+ "$ref": "#/$defs/customer_region"
+ },
+ "customer_subdivision": {
+ "$ref": "#/$defs/customer_subdivision"
+ },
+ "destination_account_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "financial_principal": {
+ "$ref": "#/$defs/financial_principal"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "method": {
+ "enum": [
+ "thb_international",
+ "thb_promptpay",
+ "gbp_international",
+ "gbp_local",
+ "usd_international",
+ "usd_domestic"
+ ]
+ },
+ "principal_source": {
+ "$ref": "#/$defs/principal_source"
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "terms_hash": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "terms_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "request_id",
+ "method",
+ "amount",
+ "accept_terms",
+ "terms_version",
+ "terms_hash",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "fiat_sent"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "operation_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ }
+ },
+ "required": [
+ "operation_id",
+ "request_id",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "minProperties": 4,
+ "properties": {
+ "action": {
+ "enum": [
+ "export"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "month": {
+ "pattern": "^(20[0-9]{2}|[3-9][0-9]{3})-(0[1-9]|1[0-2])$",
+ "type": "string"
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "invoice"
+ ]
+ },
+ "credits": {
+ "$ref": "#/$defs/credits"
+ },
+ "customer_postal_code": {
+ "$ref": "#/$defs/customer_postal_code"
+ },
+ "customer_region": {
+ "$ref": "#/$defs/customer_region"
+ },
+ "customer_subdivision": {
+ "$ref": "#/$defs/customer_subdivision"
+ },
+ "financial_principal": {
+ "$ref": "#/$defs/financial_principal"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "principal_source": {
+ "$ref": "#/$defs/principal_source"
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "route": {
+ "$ref": "#/$defs/route"
+ },
+ "terms_hash": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "terms_version": {
+ "$ref": "#/$defs/terms_version"
+ }
+ },
+ "required": [
+ "action",
+ "request_id",
+ "route",
+ "credits"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "deposit"
+ ]
+ },
+ "customer_postal_code": {
+ "$ref": "#/$defs/customer_postal_code"
+ },
+ "customer_region": {
+ "$ref": "#/$defs/customer_region"
+ },
+ "customer_subdivision": {
+ "$ref": "#/$defs/customer_subdivision"
+ },
+ "financial_principal": {
+ "$ref": "#/$defs/financial_principal"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "principal_source": {
+ "$ref": "#/$defs/principal_source"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "route": {
+ "$ref": "#/$defs/route"
+ },
+ "terms_hash": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "terms_version": {
+ "$ref": "#/$defs/terms_version"
+ }
+ },
+ "required": [
+ "action",
+ "request_id",
+ "route"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "intent": {
+ "enum": [
+ "withdraw"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "principal",
+ "destination",
+ "action",
+ "intent",
+ "request_id",
+ "source_account_id",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "principal",
+ "destination"
+ ]
+ },
+ {
+ "properties": {
+ "destination": false,
+ "entry_id": false,
+ "intent": {
+ "enum": [
+ "transfer"
+ ]
+ },
+ "label": false,
+ "principal": false,
+ "purpose": false
+ },
+ "required": [
+ "amount",
+ "recipient_profile_id"
+ ]
+ },
+ {
+ "properties": {
+ "intent": {
+ "enum": [
+ "create_account"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "action",
+ "intent",
+ "request_id",
+ "purpose",
+ "label",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "purpose"
+ ]
+ },
+ {
+ "properties": {
+ "intent": {
+ "enum": [
+ "evidence"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "action",
+ "intent",
+ "request_id",
+ "entry_id",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "entry_id"
+ ]
+ }
+ ],
+ "properties": {
+ "action": {
+ "enum": [
+ "prepare"
+ ]
+ },
+ "amount": {
+ "$ref": "#/$defs/round"
+ },
+ "destination": {
+ "type": "string"
+ },
+ "destination_account_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "entry_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "intent": {},
+ "label": {
+ "$ref": "#/$defs/label"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "principal": {
+ "$ref": "#/$defs/round"
+ },
+ "purpose": {
+ "enum": [
+ "grant",
+ "normal"
+ ]
+ },
+ "recipient_profile_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "source_account_id": {
+ "$ref": "#/$defs/entry_id"
+ }
+ },
+ "required": [
+ "action",
+ "intent",
+ "request_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "approve": false,
+ "authority_digest": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "intent": {
+ "enum": [
+ "top_up"
+ ]
+ },
+ "operation_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "terms_sha256": false
+ },
+ "required": [
+ "terms_version",
+ "terms_hash",
+ "accept_terms"
+ ]
+ },
+ {
+ "properties": {
+ "approve": false,
+ "authority_digest": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "intent": {
+ "enum": [
+ "withdraw"
+ ]
+ },
+ "operation_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "terms_hash": false
+ },
+ "required": [
+ "terms_version",
+ "terms_sha256",
+ "accept_terms"
+ ]
+ },
+ {
+ "properties": {
+ "authority_digest": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "intent": {
+ "enum": [
+ "transfer",
+ "create_account",
+ "evidence"
+ ]
+ },
+ "operation_id": {
+ "$ref": "#/$defs/operation_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "action",
+ "intent",
+ "request_id",
+ "operation_id",
+ "authority_digest",
+ "approve",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "approve"
+ ]
+ }
+ ],
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "confirm"
+ ]
+ },
+ "approve": {
+ "enum": [
+ true
+ ]
+ },
+ "authority_digest": {},
+ "customer_postal_code": {
+ "$ref": "#/$defs/customer_postal_code"
+ },
+ "customer_region": {
+ "$ref": "#/$defs/customer_region"
+ },
+ "customer_subdivision": {
+ "$ref": "#/$defs/customer_subdivision"
+ },
+ "financial_principal": {
+ "$ref": "#/$defs/financial_principal"
+ },
+ "intent": {},
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "operation_id": {},
+ "principal_source": {
+ "$ref": "#/$defs/principal_source"
+ },
+ "request_id": {},
+ "terms_hash": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "terms_sha256": {
+ "$ref": "#/$defs/terms_hash"
+ },
+ "terms_version": {
+ "$ref": "#/$defs/label"
+ }
+ },
+ "required": [
+ "action",
+ "intent",
+ "request_id",
+ "operation_id",
+ "authority_digest"
+ ],
+ "type": "object"
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "continue"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "operation_id": {
+ "$ref": "#/$defs/operation_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "step": {
+ "enum": [
+ "sent"
+ ]
+ }
+ },
+ "required": [
+ "action",
+ "step",
+ "request_id",
+ "operation_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "continue"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "operation_id": {
+ "$ref": "#/$defs/operation_id"
+ },
+ "payment": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "event_index": {
+ "maximum": 4294967295,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "inner_path": {
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "transaction"
+ ]
+ },
+ "round": {
+ "$ref": "#/$defs/round"
+ },
+ "transaction_id": {
+ "pattern": "^(?:[A-Z2-7]{52}|(?:0x)?[a-fA-F0-9]{64})$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "transaction_id"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "step": {
+ "enum": [
+ "payment"
+ ]
+ }
+ },
+ "required": [
+ "action",
+ "step",
+ "request_id",
+ "operation_id",
+ "payment"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "decision": {
+ "enum": [
+ "partial_take",
+ "continue_requote"
+ ]
+ },
+ "expected_revision": {
+ "pattern": "^\\d+$",
+ "type": "string"
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "operation_id",
+ "expected_revision",
+ "decision",
+ "min_net",
+ "accept",
+ "action",
+ "step",
+ "request_id",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "min_net",
+ "accept"
+ ]
+ },
+ {
+ "properties": {
+ "confirm_destination": false,
+ "decision": {
+ "enum": [
+ "renew_btc"
+ ]
+ },
+ "destination": false,
+ "expected_revision": {
+ "pattern": "^\\d+$",
+ "type": "string"
+ },
+ "fee_payer": false,
+ "max_network_fee": false,
+ "obligation_id": false
+ },
+ "required": [
+ "valuation_id",
+ "gross_cap",
+ "min_net",
+ "accept"
+ ]
+ },
+ {
+ "properties": {
+ "accept": false,
+ "decision": {
+ "enum": [
+ "return_original"
+ ]
+ },
+ "expected_revision": {
+ "$ref": "#/$defs/max_network_fee"
+ },
+ "gross_cap": false,
+ "min_net": false,
+ "valuation_id": false
+ },
+ "required": [
+ "destination",
+ "confirm_destination",
+ "fee_payer",
+ "max_network_fee"
+ ]
+ }
+ ],
+ "properties": {
+ "accept": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "continue"
+ ]
+ },
+ "confirm_destination": {
+ "enum": [
+ true
+ ]
+ },
+ "decision": {},
+ "destination": {
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ },
+ "expected_revision": {},
+ "fee_payer": {
+ "enum": [
+ "company"
+ ]
+ },
+ "gross_cap": {
+ "pattern": "^[1-9]\\d*$",
+ "type": "string"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "max_network_fee": {
+ "$ref": "#/$defs/max_network_fee"
+ },
+ "min_net": {
+ "pattern": "^[1-9]\\d*$",
+ "type": "string"
+ },
+ "obligation_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "operation_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "step": {
+ "enum": [
+ "recovery"
+ ]
+ },
+ "valuation_id": {
+ "$ref": "#/$defs/entry_id"
+ }
+ },
+ "required": [
+ "operation_id",
+ "expected_revision",
+ "decision",
+ "action",
+ "step",
+ "request_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "continue"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "operation_id": {
+ "$ref": "#/$defs/operation_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "step": {
+ "enum": [
+ "link",
+ "revoke_link"
+ ]
+ }
+ },
+ "required": [
+ "action",
+ "step",
+ "operation_id",
+ "request_id"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "cancel"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "operation_id": {
+ "$ref": "#/$defs/operation_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ }
+ },
+ "required": [
+ "action",
+ "operation_id",
+ "request_id"
+ ],
+ "type": "object"
+ }
+]