changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "ynab_create_receipt_split_transaction",
- "type": "string"
- },
- "dry_run": {
- "const": true,
- "type": "boolean"
- },
- "receipt_summary": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category_id": {
- "type": "string"
- },
- "category_name": {
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "memo": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "quantity": {
- "type": "number"
- }
- },
- "required": [
- "name",
- "amount"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "subtotal": {
- "type": "number"
- },
- "tax": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "category_id",
- "items",
- "subtotal",
- "tax",
- "total"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "subtotal": {
- "type": "number"
- },
- "tax": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "subtotal",
- "tax",
- "total",
- "categories"
- ],
- "type": "object"
- },
- "subtransactions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "amount"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "transaction_preview": {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "type": "string"
- },
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "approved": {
- "type": "boolean"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "cleared": {
- "enum": [
- "cleared",
- "uncleared",
- "reconciled"
- ],
- "type": "string"
- },
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "debt_transaction_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "flag_color": {
- "anyOf": [
- {
- "enum": [
- "red",
- "orange",
- "yellow",
- "green",
- "blue",
- "purple"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "flag_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_payee_name_original": {
- "type": [
- "string",
- "null"
- ]
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "parent_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "subtransactions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "deleted": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "amount"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "enum": [
- "transaction",
- "subtransaction"
- ],
- "type": "string"
- }
- },
- "required": [
- "amount",
- "date",
- "account_id"
- ],
- "type": "object"
- }
- },
- "required": [
- "dry_run",
- "action",
- "transaction_preview",
- "receipt_summary",
- "subtransactions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "receipt_summary": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category_id": {
- "type": "string"
- },
- "category_name": {
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "memo": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "quantity": {
- "type": "number"
- }
- },
- "required": [
- "name",
- "amount"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "subtotal": {
- "type": "number"
- },
- "tax": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "category_id",
- "items",
- "subtotal",
- "tax",
- "total"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "subtotal": {
- "type": "number"
- },
- "tax": {
- "type": "number"
- },
- "total": {
- "type": "number"
- }
- },
- "required": [
- "subtotal",
- "tax",
- "total",
- "categories"
- ],
- "type": "object"
- },
- "transaction": {
- "additionalProperties": false,
- "properties": {
- "account_balance": {
- "type": "number"
- },
- "account_cleared_balance": {
- "type": "number"
- },
- "account_id": {
- "type": "string"
- },
- "account_name": {
- "type": "string"
- },
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "approved": {
- "type": "boolean"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "cleared": {
- "type": "string"
- },
- "date": {
- "type": "string"
- },
- "debt_transaction_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "deleted": {
- "type": "boolean"
- },
- "flag_color": {
- "type": [
- "string",
- "null"
- ]
- },
- "flag_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "type": "string"
- },
- "import_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "import_payee_name_original": {
- "type": [
- "string",
- "null"
- ]
- },
- "matched_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "parent_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "subtransactions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "description": "Amount in decimal currency units",
- "type": "number"
- },
- "amount_currency": {
- "type": "number"
- },
- "amount_formatted": {
- "type": [
- "string",
- "null"
- ]
- },
- "amount_milliunits": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "category_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "category_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "deleted": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- },
- "memo": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "payee_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "scheduled_transaction_id": {
- "type": "string"
- },
- "transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "transaction_id",
- "amount",
- "deleted"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "transaction_id": {
- "type": "string"
- },
- "transfer_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "transfer_transaction_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "enum": [
- "transaction",
- "subtransaction"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "amount",
- "deleted",
- "date",
- "account_id",
- "cleared",
- "approved"
- ],
- "type": "object"
- }
- },
- "required": [
- "transaction",
- "receipt_summary"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "ynab_create_receipt_split_transaction",
+ "type": "string"
+ },
+ "confirmation_expires_at": {
+ "description": "Preview only: when confirmation_token expires (ISO 8601).",
+ "format": "date-time",
+ "type": "string"
+ },
+ "confirmation_token": {
+ "description": "Preview only: single-use token that executes this exact request when passed back as confirmation_token.",
+ "type": "string"
+ },
+ "dry_run": {
+ "const": true,
+ "type": "boolean"
+ },
+ "receipt_summary": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category_id": {
+ "type": "string"
+ },
+ "category_name": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "memo": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "quantity": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "tax": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "category_id",
+ "items",
+ "subtotal",
+ "tax",
+ "total"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "tax": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "subtotal",
+ "tax",
+ "total",
+ "categories"
+ ],
+ "type": "object"
+ },
+ "subtransactions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "transaction_preview": {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "type": "string"
+ },
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "approved": {
+ "type": "boolean"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cleared": {
+ "enum": [
+ "cleared",
+ "uncleared",
+ "reconciled"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "debt_transaction_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "flag_color": {
+ "anyOf": [
+ {
+ "enum": [
+ "red",
+ "orange",
+ "yellow",
+ "green",
+ "blue",
+ "purple"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "flag_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_payee_name_original": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "parent_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "subtransactions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "transaction",
+ "subtransaction"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "date",
+ "account_id"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "count": {
+ "type": "number"
+ },
+ "message": {
+ "type": "string"
+ },
+ "sample_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "code",
+ "count",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "dry_run",
+ "action",
+ "transaction_preview",
+ "receipt_summary",
+ "subtransactions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "confirmation_expires_at": {
+ "description": "Preview only: when confirmation_token expires (ISO 8601).",
+ "format": "date-time",
+ "type": "string"
+ },
+ "confirmation_token": {
+ "description": "Preview only: single-use token that executes this exact request when passed back as confirmation_token.",
+ "type": "string"
+ },
+ "receipt_summary": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "category_id": {
+ "type": "string"
+ },
+ "category_name": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "memo": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "quantity": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "amount"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "tax": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "category_id",
+ "items",
+ "subtotal",
+ "tax",
+ "total"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "tax": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "subtotal",
+ "tax",
+ "total",
+ "categories"
+ ],
+ "type": "object"
+ },
+ "transaction": {
+ "additionalProperties": false,
+ "properties": {
+ "account_balance": {
+ "type": "number"
+ },
+ "account_cleared_balance": {
+ "type": "number"
+ },
+ "account_id": {
+ "type": "string"
+ },
+ "account_name": {
+ "type": "string"
+ },
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "approved": {
+ "type": "boolean"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cleared": {
+ "type": "string"
+ },
+ "date": {
+ "type": "string"
+ },
+ "debt_transaction_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "flag_color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "flag_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "import_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "import_payee_name_original": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "matched_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "parent_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "subtransactions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "description": "Amount in decimal currency units",
+ "type": "number"
+ },
+ "amount_currency": {
+ "type": "number"
+ },
+ "amount_formatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "amount_milliunits": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "category_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "memo": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payee_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "scheduled_transaction_id": {
+ "type": "string"
+ },
+ "transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "transaction_id",
+ "amount",
+ "deleted"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "transaction_id": {
+ "type": "string"
+ },
+ "transfer_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transfer_transaction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "transaction",
+ "subtransaction"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "amount",
+ "deleted",
+ "date",
+ "account_id",
+ "cleared",
+ "approved"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "transaction",
+ "receipt_summary"
+ ],
+ "type": "object"
+ }
+]