Raw schema
{
"type": "object",
"properties": {
"payout": {
"type": "object",
"required": [
"destination",
"amount_minor",
"currency"
],
"properties": {
"payout_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"beneficiary_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"destination": {
"anyOf": [
{
"type": "object",
"required": [
"scheme",
"iban"
],
"properties": {
"scheme": {
"type": "string",
"const": "iban"
},
"iban": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"bic": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"routing_number",
"account_number"
],
"properties": {
"scheme": {
"type": "string",
"const": "us_bank"
},
"routing_number": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"account_number": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"network",
"address"
],
"properties": {
"scheme": {
"type": "string",
"const": "evm"
},
"network": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"address": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"namespace",
"value"
],
"properties": {
"scheme": {
"type": "string",
"const": "opaque"
},
"namespace": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 600,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
}
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,29}$",
"description": "Positive minor-unit integer amount as a decimal digit string, parsed via BigInt."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217-shaped currency code, uppercase ASCII letters only. Not validated against a live registry."
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"rail": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"purpose_code": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
"trusted_baseline": {
"anyOf": [
{
"type": "object",
"required": [
"destination"
],
"properties": {
"beneficiary_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217-shaped currency code, uppercase ASCII letters only. Not validated against a live registry."
},
"rail": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"expected_amount_minor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,29}$",
"description": "Positive minor-unit integer amount as a decimal digit string, parsed via BigInt."
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"purpose_code": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"destination": {
"anyOf": [
{
"type": "object",
"required": [
"scheme",
"iban"
],
"properties": {
"scheme": {
"type": "string",
"const": "iban"
},
"iban": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"bic": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"routing_number",
"account_number"
],
"properties": {
"scheme": {
"type": "string",
"const": "us_bank"
},
"routing_number": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"account_number": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"network",
"address"
],
"properties": {
"scheme": {
"type": "string",
"const": "evm"
},
"network": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"address": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"namespace",
"value"
],
"properties": {
"scheme": {
"type": "string",
"const": "opaque"
},
"namespace": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 600,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"destination_fingerprint",
"fingerprint_scheme"
],
"properties": {
"beneficiary_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217-shaped currency code, uppercase ASCII letters only. Not validated against a live registry."
},
"rail": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"expected_amount_minor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,29}$",
"description": "Positive minor-unit integer amount as a decimal digit string, parsed via BigInt."
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"purpose_code": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"destination_fingerprint": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$",
"description": "SHA-256 fingerprint, exactly \"sha256:\" followed by 64 lowercase hex characters."
},
"fingerprint_scheme": {
"type": "string",
"const": "payout_destination_v1"
}
},
"additionalProperties": false
}
]
},
"history": {
"type": "object",
"required": [
"entries",
"completeness"
],
"properties": {
"entries": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"payout_fingerprint"
],
"properties": {
"payout_fingerprint": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$",
"description": "SHA-256 fingerprint, exactly \"sha256:\" followed by 64 lowercase hex characters."
},
"occurred_at": {
"type": "string",
"maxLength": 64,
"description": "RFC3339 timestamp. Evidence metadata only — never independently verified for freshness."
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"beneficiary_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"destination",
"amount_minor",
"currency"
],
"properties": {
"destination": {
"anyOf": [
{
"type": "object",
"required": [
"scheme",
"iban"
],
"properties": {
"scheme": {
"type": "string",
"const": "iban"
},
"iban": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"bic": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"routing_number",
"account_number"
],
"properties": {
"scheme": {
"type": "string",
"const": "us_bank"
},
"routing_number": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"account_number": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"network",
"address"
],
"properties": {
"scheme": {
"type": "string",
"const": "evm"
},
"network": {
"type": "string",
"minLength": 1,
"maxLength": 40,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"address": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"scheme",
"namespace",
"value"
],
"properties": {
"scheme": {
"type": "string",
"const": "opaque"
},
"namespace": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 600,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
}
},
"additionalProperties": false
}
]
},
"amount_minor": {
"type": "string",
"pattern": "^[1-9][0-9]{0,29}$",
"description": "Positive minor-unit integer amount as a decimal digit string, parsed via BigInt."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217-shaped currency code, uppercase ASCII letters only. Not validated against a live registry."
},
"reference": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"beneficiary_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
},
"occurred_at": {
"type": "string",
"maxLength": 64,
"description": "RFC3339 timestamp. Evidence metadata only — never independently verified for freshness."
}
},
"additionalProperties": false
}
]
},
"maxItems": 500
},
"completeness": {
"anyOf": [
{
"type": "string",
"const": "complete"
},
{
"type": "string",
"const": "partial"
}
]
},
"window_start": {
"type": "string",
"maxLength": 64,
"description": "RFC3339 timestamp. Evidence metadata only — never independently verified for freshness."
},
"window_end": {
"type": "string",
"maxLength": 64,
"description": "RFC3339 timestamp. Evidence metadata only — never independently verified for freshness."
}
},
"additionalProperties": false
},
"policy": {
"type": "object",
"properties": {
"require_trusted_destination": {
"type": "boolean"
},
"destination_change_action": {
"anyOf": [
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"beneficiary_change_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"currency_change_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"rail_change_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"bic_change_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"reference_change_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"purpose_code_change_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"first_seen_destination_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"exact_duplicate_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"duplicate_reference_action": {
"anyOf": [
{
"type": "string",
"const": "ignore"
},
{
"type": "string",
"const": "review"
},
{
"type": "string",
"const": "block"
}
]
},
"max_amount_minor": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,29})$",
"description": "Nonnegative minor-unit integer amount as a decimal digit string, parsed via BigInt."
},
"expected_amount_tolerance_minor": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,29})$",
"description": "Nonnegative minor-unit integer amount as a decimal digit string, parsed via BigInt."
},
"expected_amount_tolerance_bps": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"allowed_currencies": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217-shaped currency code, uppercase ASCII letters only. Not validated against a live registry."
},
"maxItems": 100
},
"allowed_destination_schemes": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"const": "iban"
},
{
"type": "string",
"const": "us_bank"
},
{
"type": "string",
"const": "evm"
},
{
"type": "string",
"const": "opaque"
}
]
},
"maxItems": 4
},
"require_evm_checksum": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"required": [
"payout"
],
"additionalProperties": false
}