changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "ynab_create_transactions",
- "type": "string"
- },
- "dry_run": {
- "const": true,
- "type": "boolean"
- },
- "note": {
- "type": "string"
- },
- "summary": {
- "additionalProperties": false,
- "properties": {
- "accounts_affected": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "categories_affected": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "date_range": {
- "additionalProperties": false,
- "properties": {
- "earliest": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "latest": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "earliest",
- "latest"
- ],
- "type": "object"
- },
- "total_amount": {
- "type": "number"
- },
- "total_transactions": {
- "type": "number"
- }
- },
- "required": [
- "total_transactions",
- "total_amount",
- "accounts_affected",
- "categories_affected"
- ],
- "type": "object"
- },
- "transactions_preview": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "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": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "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"
- ]
- },
- "request_index": {
- "type": "number"
- },
- "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",
- "request_index"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "validation": {
- "const": "passed",
- "type": "string"
- }
- },
- "required": [
- "dry_run",
- "action",
- "validation",
- "summary",
- "transactions_preview",
- "note"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "duplicate_import_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "mode": {
- "enum": [
- "full",
- "summary",
- "ids_only"
- ],
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "correlation_key": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "error_code": {
- "type": "string"
- },
- "request_index": {
- "type": "number"
- },
- "status": {
- "enum": [
- "created",
- "duplicate",
- "updated",
- "failed"
- ],
- "type": "string"
- },
- "transaction_id": {
- "type": "string"
- }
- },
- "required": [
- "request_index",
- "status",
- "correlation_key"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "results_omitted": {
- "type": "boolean"
- },
- "server_knowledge": {
- "type": "number"
- },
- "success": {
- "type": "boolean"
- },
- "summary": {
- "additionalProperties": false,
- "properties": {
- "created": {
- "type": "number"
- },
- "duplicates": {
- "type": "number"
- },
- "failed": {
- "type": "number"
- },
- "total_requested": {
- "type": "number"
- },
- "updated": {
- "type": "number"
- }
- },
- "required": [
- "total_requested",
- "failed"
- ],
- "type": "object"
- },
- "transactions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "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": [
- "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": [
- "id",
- "amount",
- "deleted",
- "date",
- "account_id",
- "cleared",
- "approved"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "success",
- "summary",
- "results"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "ynab_create_transactions",
+ "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"
+ },
+ "note": {
+ "type": "string"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "accounts_affected": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "categories_affected": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "date_range": {
+ "additionalProperties": false,
+ "properties": {
+ "earliest": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "latest": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "earliest",
+ "latest"
+ ],
+ "type": "object"
+ },
+ "total_amount": {
+ "type": "number"
+ },
+ "total_transactions": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_transactions",
+ "total_amount",
+ "accounts_affected",
+ "categories_affected"
+ ],
+ "type": "object"
+ },
+ "transactions_preview": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "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": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "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"
+ ]
+ },
+ "request_index": {
+ "type": "number"
+ },
+ "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",
+ "request_index"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "validation": {
+ "const": "passed",
+ "type": "string"
+ },
+ "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",
+ "validation",
+ "summary",
+ "transactions_preview",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "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"
+ },
+ "duplicate_import_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "full",
+ "summary",
+ "ids_only"
+ ],
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "correlation_key": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "error_code": {
+ "type": "string"
+ },
+ "request_index": {
+ "type": "number"
+ },
+ "status": {
+ "enum": [
+ "created",
+ "duplicate",
+ "updated",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "transaction_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "request_index",
+ "status",
+ "correlation_key"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "results_omitted": {
+ "type": "boolean"
+ },
+ "server_knowledge": {
+ "type": "number"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "created": {
+ "type": "number"
+ },
+ "duplicates": {
+ "type": "number"
+ },
+ "failed": {
+ "type": "number"
+ },
+ "total_requested": {
+ "type": "number"
+ },
+ "updated": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_requested",
+ "failed"
+ ],
+ "type": "object"
+ },
+ "transactions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "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": [
+ "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": [
+ "id",
+ "amount",
+ "deleted",
+ "date",
+ "account_id",
+ "cleared",
+ "approved"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "success",
+ "summary",
+ "results"
+ ],
+ "type": "object"
+ }
+]