Skip to main content
Glama

Tokenbooks - crypto and fiat accounting and payments

Get Request Status

get_request_status
Read-onlyIdempotent

Check the status of any queued background work — report generation, wallet sync, rule application, or a transaction change — using the requestId returned when it was queued. Works for every request kind; there is no separate report-status tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestIdYesRequest ID returned by the call that queued the work (e.g. incremental_sync, full_resync, request_report_export)
portfolioRefNoPortfolio exact name or slug
workspaceRefYesWorkspace exact name or slug
transactionIdNoOptional transaction ID that caused the async request, for agent context

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
typeNo
errorNo
resultNo
statusYes
outcomeNo
subjectNo
progressNo
createdAtYes
requestIdYes
updatedAtNo
finishedOnNo
appProgressNo
completedAtNo
returnValueNo
progressPercentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "appProgress": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "completed": {
      -            "type": "number"
      -          },
      -          "total": {
      -            "type": "number"
      -          },
      -          "transactionsSynced": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "completed",
      -          "total",
      -          "transactionsSynced"
      -        ],
      -        "type": "object"
      -      },
      -      "completedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "type": "string"
      -              },
      -              "details": {
      -                "additionalProperties": {},
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              "message": {
      -                "type": "string"
      -              },
      -              "requestId": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "requestId"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "error"
      -        ],
      -        "type": "object"
      -      },
      -      "finishedOn": {
      -        "type": "number"
      -      },
      -      "kind": {
      -        "const": "job",
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "classificationState": {
      -            "type": "string"
      -          },
      -          "errorTypes": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "hasError": {
      -            "type": "boolean"
      -          },
      -          "operationType": {
      -            "type": "string"
      -          },
      -          "suggestedAction": {},
      -          "transactionId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "const": "portfolio_transaction",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "transactionId",
      -          "hasError",
      -          "errorTypes",
      -          "suggestedAction"
      -        ],
      -        "type": "object"
      -      },
      -      "progress": {
      -        "type": "number"
      -      },
      -      "requestId": {
      -        "type": "string"
      -      },
      -      "result": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "downloadUrl": {
      -            "type": "string"
      -          },
      -          "fileSize": {
      -            "type": "number"
      -          },
      -          "format": {
      -            "enum": [
      -              "xlsx",
      -              "pdf",
      -              "json"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "downloadUrl",
      -          "fileSize",
      -          "format"
      -        ],
      -        "type": "object"
      -      },
      -      "returnValue": {},
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "active",
      -          "delayed",
      -          "completed",
      -          "failed"
      -        ],
      -        "type": "string"
      -      },
      -      "subject": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "commandType": {
      -            "type": "string"
      -          },
      -          "kind": {
      -            "const": "portfolio_transaction",
      -            "type": "string"
      -          },
      -          "transactionId": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "transactionId"
      -        ],
      -        "type": "object"
      -      },
      -      "type": {
      -        "enum": [
      -          "sync",
      -          "export",
      -          "recompute",
      -          "reclassify"
      -        ],
      -        "type": "string"
      -      },
      -      "updatedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestId",
      -      "type",
      -      "status",
      -      "progress",
      -      "createdAt",
      -      "updatedAt",
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "type": "string"
      -              },
      -              "details": {
      -                "additionalProperties": {},
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              "message": {
      -                "type": "string"
      -              },
      -              "requestId": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "requestId"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "error"
      -        ],
      -        "type": "object"
      -      },
      -      "kind": {
      -        "const": "report",
      -        "type": "string"
      -      },
      -      "progressPercent": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "requestId": {
      -        "type": "string"
      -      },
      -      "result": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "totals": {},
      -              "type": {
      -                "const": "totals",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "totals"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "totals": {},
      -              "type": {
      -                "const": "full",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "totals"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "rows": {},
      -              "totals": {},
      -              "totalsOnly": {
      -                "type": "boolean"
      -              },
      -              "type": {
      -                "const": "json",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "rows",
      -              "totals"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "processing",
      -          "completed",
      -          "failed"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "progressPercent",
      -      "createdAt",
      -      "kind",
      -      "requestId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "appProgress": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completed": {
      +            "type": "number"
      +          },
      +          "total": {
      +            "type": "number"
      +          },
      +          "transactionsSynced": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "completed",
      +          "total",
      +          "transactionsSynced"
      +        ],
      +        "type": "object"
      +      },
      +      "completedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "details": {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              "message": {
      +                "type": "string"
      +              },
      +              "requestId": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "requestId"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      },
      +      "finishedOn": {
      +        "type": "number"
      +      },
      +      "kind": {
      +        "const": "job",
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "classificationState": {
      +            "type": "string"
      +          },
      +          "errorTypes": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "hasError": {
      +            "type": "boolean"
      +          },
      +          "operationType": {
      +            "type": "string"
      +          },
      +          "suggestedAction": {},
      +          "transactionId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "const": "portfolio_transaction",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "transactionId",
      +          "hasError",
      +          "errorTypes",
      +          "suggestedAction"
      +        ],
      +        "type": "object"
      +      },
      +      "progress": {
      +        "type": "number"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "result": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "downloadUrl": {
      +            "type": "string"
      +          },
      +          "fileSize": {
      +            "type": "number"
      +          },
      +          "format": {
      +            "enum": [
      +              "xlsx",
      +              "pdf",
      +              "json"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "downloadUrl",
      +          "fileSize",
      +          "format"
      +        ],
      +        "type": "object"
      +      },
      +      "returnValue": {},
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "active",
      +          "delayed",
      +          "completed",
      +          "failed"
      +        ],
      +        "type": "string"
      +      },
      +      "subject": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "commandType": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "portfolio_transaction",
      +            "type": "string"
      +          },
      +          "transactionId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "transactionId"
      +        ],
      +        "type": "object"
      +      },
      +      "type": {
      +        "enum": [
      +          "sync",
      +          "export",
      +          "recompute",
      +          "reclassify"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestId",
      +      "type",
      +      "status",
      +      "progress",
      +      "createdAt",
      +      "updatedAt",
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "completedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "details": {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              "message": {
      +                "type": "string"
      +              },
      +              "requestId": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "requestId"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      },
      +      "kind": {
      +        "const": "report",
      +        "type": "string"
      +      },
      +      "progressPercent": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "result": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "totals": {},
      +              "type": {
      +                "const": "totals",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "totals"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "downloadUrl": {
      +                "type": "string"
      +              },
      +              "totals": {},
      +              "type": {
      +                "const": "full",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "totals"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "rows": {},
      +              "totals": {},
      +              "totalsOnly": {
      +                "type": "boolean"
      +              },
      +              "type": {
      +                "const": "json",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "rows",
      +              "totals"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "processing",
      +          "completed",
      +          "failed"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "progressPercent",
      +      "createdAt",
      +      "kind",
      +      "requestId"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "downloadUrl": {
      -        "type": "string"
      -      },
      -      "fileSize": {
      -        "type": "number"
      -      },
      -      "format": {
      -        "enum": [
      -          "xlsx",
      -          "pdf",
      -          "json"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "downloadUrl",
      -      "fileSize",
      -      "format"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "oneOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "totals": {},
      -          "type": {
      -            "const": "totals",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "totals"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "totals": {},
      -          "type": {
      -            "const": "full",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "totals"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "rows": {},
      -          "totals": {},
      -          "totalsOnly": {
      -            "type": "boolean"
      -          },
      -          "type": {
      -            "const": "json",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "rows",
      -          "totals"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "downloadUrl": {
      +        "type": "string"
      +      },
      +      "fileSize": {
      +        "type": "number"
      +      },
      +      "format": {
      +        "enum": [
      +          "xlsx",
      +          "pdf",
      +          "json"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "downloadUrl",
      +      "fileSize",
      +      "format"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "totals": {},
      +          "type": {
      +            "const": "totals",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "totals"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "downloadUrl": {
      +            "type": "string"
      +          },
      +          "totals": {},
      +          "type": {
      +            "const": "full",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "totals"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "rows": {},
      +          "totals": {},
      +          "totalsOnly": {
      +            "type": "boolean"
      +          },
      +          "type": {
      +            "const": "json",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "rows",
      +          "totals"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  }
      +]
  2. Changed2 schema fields changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "appProgress": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "completed": {
      -            "type": "number"
      -          },
      -          "total": {
      -            "type": "number"
      -          },
      -          "transactionsSynced": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "completed",
      -          "total",
      -          "transactionsSynced"
      -        ],
      -        "type": "object"
      -      },
      -      "completedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "type": "string"
      -              },
      -              "details": {
      -                "additionalProperties": {},
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              "message": {
      -                "type": "string"
      -              },
      -              "requestId": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "requestId"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "error"
      -        ],
      -        "type": "object"
      -      },
      -      "finishedOn": {
      -        "type": "number"
      -      },
      -      "kind": {
      -        "const": "job",
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "classificationState": {
      -            "type": "string"
      -          },
      -          "errorTypes": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "hasError": {
      -            "type": "boolean"
      -          },
      -          "operationType": {
      -            "type": "string"
      -          },
      -          "suggestedAction": {},
      -          "transactionId": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "const": "portfolio_transaction",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "transactionId",
      -          "hasError",
      -          "errorTypes",
      -          "suggestedAction"
      -        ],
      -        "type": "object"
      -      },
      -      "progress": {
      -        "type": "number"
      -      },
      -      "requestId": {
      -        "type": "string"
      -      },
      -      "result": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "downloadUrl": {
      -            "type": "string"
      -          },
      -          "fileSize": {
      -            "type": "number"
      -          },
      -          "format": {
      -            "enum": [
      -              "xlsx",
      -              "pdf",
      -              "json"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "downloadUrl",
      -          "fileSize",
      -          "format"
      -        ],
      -        "type": "object"
      -      },
      -      "returnValue": {},
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "active",
      -          "delayed",
      -          "completed",
      -          "failed"
      -        ],
      -        "type": "string"
      -      },
      -      "subject": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "commandType": {
      -            "type": "string"
      -          },
      -          "kind": {
      -            "const": "portfolio_transaction",
      -            "type": "string"
      -          },
      -          "transactionId": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "kind",
      -          "transactionId"
      -        ],
      -        "type": "object"
      -      },
      -      "type": {
      -        "enum": [
      -          "sync",
      -          "export",
      -          "recompute",
      -          "reclassify"
      -        ],
      -        "type": "string"
      -      },
      -      "updatedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "requestId",
      -      "type",
      -      "status",
      -      "progress",
      -      "createdAt",
      -      "updatedAt",
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "error": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "code": {
      -                "type": "string"
      -              },
      -              "details": {
      -                "additionalProperties": {},
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              "message": {
      -                "type": "string"
      -              },
      -              "requestId": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "code",
      -              "message",
      -              "requestId"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "error"
      -        ],
      -        "type": "object"
      -      },
      -      "kind": {
      -        "const": "report",
      -        "type": "string"
      -      },
      -      "progressPercent": {
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "requestId": {
      -        "type": "string"
      -      },
      -      "result": {
      -        "oneOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "totals": {
      -                "oneOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "capitalGains": {
      -                        "type": "string"
      -                      },
      -                      "capitalLosses": {
      -                        "type": "string"
      -                      },
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryExpense": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "profit-and-loss",
      -                        "type": "string"
      -                      },
      -                      "totalExpensesAndLosses": {
      -                        "type": "string"
      -                      },
      -                      "totalRevenue": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalRevenue",
      -                      "ordinaryIncome",
      -                      "capitalGains",
      -                      "totalExpensesAndLosses",
      -                      "ordinaryExpense",
      -                      "capitalLosses",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "capitalGains": {
      -                        "type": "string"
      -                      },
      -                      "capitalLosses": {
      -                        "type": "string"
      -                      },
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryExpense": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "consolidated-profit-and-loss",
      -                        "type": "string"
      -                      },
      -                      "totalExpensesAndLosses": {
      -                        "type": "string"
      -                      },
      -                      "totalRevenue": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalRevenue",
      -                      "ordinaryIncome",
      -                      "capitalGains",
      -                      "totalExpensesAndLosses",
      -                      "ordinaryExpense",
      -                      "capitalLosses",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netWorth": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "balance-sheet",
      -                        "type": "string"
      -                      },
      -                      "totalAssets": {
      -                        "type": "string"
      -                      },
      -                      "totalEquity": {
      -                        "type": "string"
      -                      },
      -                      "totalLiabilities": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalAssets",
      -                      "totalLiabilities",
      -                      "totalEquity",
      -                      "netWorth"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netWorth": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "consolidated-balance-sheet",
      -                        "type": "string"
      -                      },
      -                      "totalAssets": {
      -                        "type": "string"
      -                      },
      -                      "totalEquity": {
      -                        "type": "string"
      -                      },
      -                      "totalLiabilities": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalAssets",
      -                      "totalLiabilities",
      -                      "totalEquity",
      -                      "netWorth"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "income-expense",
      -                        "type": "string"
      -                      },
      -                      "totalExpense": {
      -                        "type": "string"
      -                      },
      -                      "totalIncome": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalIncome",
      -                      "totalExpense",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "percentGainOrLoss": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "gains-losses",
      -                        "type": "string"
      -                      },
      -                      "totalCostBasis": {
      -                        "type": "string"
      -                      },
      -                      "totalGainOrLoss": {
      -                        "type": "string"
      -                      },
      -                      "totalProceeds": {
      -                        "type": "string"
      -                      },
      -                      "tradeCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalProceeds",
      -                      "totalCostBasis",
      -                      "totalGainOrLoss",
      -                      "percentGainOrLoss",
      -                      "tradeCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "accountCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "difference": {
      -                        "type": "string"
      -                      },
      -                      "isBalanced": {
      -                        "type": "boolean"
      -                      },
      -                      "reportType": {
      -                        "const": "trial-balance",
      -                        "type": "string"
      -                      },
      -                      "subTotals": {
      -                        "additionalProperties": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "credit": {
      -                              "type": "string"
      -                            },
      -                            "debit": {
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "debit",
      -                            "credit"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "propertyNames": {
      -                          "type": "string"
      -                        },
      -                        "type": "object"
      -                      },
      -                      "totalCredits": {
      -                        "type": "string"
      -                      },
      -                      "totalDebits": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalDebits",
      -                      "totalCredits",
      -                      "difference",
      -                      "isBalanced",
      -                      "accountCount",
      -                      "subTotals"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "statement",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "transactions",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "journal-entries",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "cost-basis-ledger",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "payment-requests",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "portfolio-conversion-workbook-template",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "type": {
      -                "const": "totals",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "totals"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "totals": {
      -                "oneOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "capitalGains": {
      -                        "type": "string"
      -                      },
      -                      "capitalLosses": {
      -                        "type": "string"
      -                      },
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryExpense": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "profit-and-loss",
      -                        "type": "string"
      -                      },
      -                      "totalExpensesAndLosses": {
      -                        "type": "string"
      -                      },
      -                      "totalRevenue": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalRevenue",
      -                      "ordinaryIncome",
      -                      "capitalGains",
      -                      "totalExpensesAndLosses",
      -                      "ordinaryExpense",
      -                      "capitalLosses",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "capitalGains": {
      -                        "type": "string"
      -                      },
      -                      "capitalLosses": {
      -                        "type": "string"
      -                      },
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryExpense": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "consolidated-profit-and-loss",
      -                        "type": "string"
      -                      },
      -                      "totalExpensesAndLosses": {
      -                        "type": "string"
      -                      },
      -                      "totalRevenue": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalRevenue",
      -                      "ordinaryIncome",
      -                      "capitalGains",
      -                      "totalExpensesAndLosses",
      -                      "ordinaryExpense",
      -                      "capitalLosses",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netWorth": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "balance-sheet",
      -                        "type": "string"
      -                      },
      -                      "totalAssets": {
      -                        "type": "string"
      -                      },
      -                      "totalEquity": {
      -                        "type": "string"
      -                      },
      -                      "totalLiabilities": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalAssets",
      -                      "totalLiabilities",
      -                      "totalEquity",
      -                      "netWorth"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netWorth": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "consolidated-balance-sheet",
      -                        "type": "string"
      -                      },
      -                      "totalAssets": {
      -                        "type": "string"
      -                      },
      -                      "totalEquity": {
      -                        "type": "string"
      -                      },
      -                      "totalLiabilities": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalAssets",
      -                      "totalLiabilities",
      -                      "totalEquity",
      -                      "netWorth"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "income-expense",
      -                        "type": "string"
      -                      },
      -                      "totalExpense": {
      -                        "type": "string"
      -                      },
      -                      "totalIncome": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalIncome",
      -                      "totalExpense",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "percentGainOrLoss": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "gains-losses",
      -                        "type": "string"
      -                      },
      -                      "totalCostBasis": {
      -                        "type": "string"
      -                      },
      -                      "totalGainOrLoss": {
      -                        "type": "string"
      -                      },
      -                      "totalProceeds": {
      -                        "type": "string"
      -                      },
      -                      "tradeCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalProceeds",
      -                      "totalCostBasis",
      -                      "totalGainOrLoss",
      -                      "percentGainOrLoss",
      -                      "tradeCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "accountCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "difference": {
      -                        "type": "string"
      -                      },
      -                      "isBalanced": {
      -                        "type": "boolean"
      -                      },
      -                      "reportType": {
      -                        "const": "trial-balance",
      -                        "type": "string"
      -                      },
      -                      "subTotals": {
      -                        "additionalProperties": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "credit": {
      -                              "type": "string"
      -                            },
      -                            "debit": {
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "debit",
      -                            "credit"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "propertyNames": {
      -                          "type": "string"
      -                        },
      -                        "type": "object"
      -                      },
      -                      "totalCredits": {
      -                        "type": "string"
      -                      },
      -                      "totalDebits": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalDebits",
      -                      "totalCredits",
      -                      "difference",
      -                      "isBalanced",
      -                      "accountCount",
      -                      "subTotals"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "statement",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "transactions",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "journal-entries",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "cost-basis-ledger",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "payment-requests",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "portfolio-conversion-workbook-template",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "type": {
      -                "const": "full",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "totals"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "rows": {},
      -              "totals": {
      -                "oneOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "capitalGains": {
      -                        "type": "string"
      -                      },
      -                      "capitalLosses": {
      -                        "type": "string"
      -                      },
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryExpense": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "profit-and-loss",
      -                        "type": "string"
      -                      },
      -                      "totalExpensesAndLosses": {
      -                        "type": "string"
      -                      },
      -                      "totalRevenue": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalRevenue",
      -                      "ordinaryIncome",
      -                      "capitalGains",
      -                      "totalExpensesAndLosses",
      -                      "ordinaryExpense",
      -                      "capitalLosses",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "capitalGains": {
      -                        "type": "string"
      -                      },
      -                      "capitalLosses": {
      -                        "type": "string"
      -                      },
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryExpense": {
      -                        "type": "string"
      -                      },
      -                      "ordinaryIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "consolidated-profit-and-loss",
      -                        "type": "string"
      -                      },
      -                      "totalExpensesAndLosses": {
      -                        "type": "string"
      -                      },
      -                      "totalRevenue": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalRevenue",
      -                      "ordinaryIncome",
      -                      "capitalGains",
      -                      "totalExpensesAndLosses",
      -                      "ordinaryExpense",
      -                      "capitalLosses",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netWorth": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "balance-sheet",
      -                        "type": "string"
      -                      },
      -                      "totalAssets": {
      -                        "type": "string"
      -                      },
      -                      "totalEquity": {
      -                        "type": "string"
      -                      },
      -                      "totalLiabilities": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalAssets",
      -                      "totalLiabilities",
      -                      "totalEquity",
      -                      "netWorth"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netWorth": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "consolidated-balance-sheet",
      -                        "type": "string"
      -                      },
      -                      "totalAssets": {
      -                        "type": "string"
      -                      },
      -                      "totalEquity": {
      -                        "type": "string"
      -                      },
      -                      "totalLiabilities": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalAssets",
      -                      "totalLiabilities",
      -                      "totalEquity",
      -                      "netWorth"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "netIncome": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "income-expense",
      -                        "type": "string"
      -                      },
      -                      "totalExpense": {
      -                        "type": "string"
      -                      },
      -                      "totalIncome": {
      -                        "type": "string"
      -                      },
      -                      "transactionCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalIncome",
      -                      "totalExpense",
      -                      "netIncome",
      -                      "transactionCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "percentGainOrLoss": {
      -                        "type": "string"
      -                      },
      -                      "reportType": {
      -                        "const": "gains-losses",
      -                        "type": "string"
      -                      },
      -                      "totalCostBasis": {
      -                        "type": "string"
      -                      },
      -                      "totalGainOrLoss": {
      -                        "type": "string"
      -                      },
      -                      "totalProceeds": {
      -                        "type": "string"
      -                      },
      -                      "tradeCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalProceeds",
      -                      "totalCostBasis",
      -                      "totalGainOrLoss",
      -                      "percentGainOrLoss",
      -                      "tradeCount"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "accountCount": {
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "difference": {
      -                        "type": "string"
      -                      },
      -                      "isBalanced": {
      -                        "type": "boolean"
      -                      },
      -                      "reportType": {
      -                        "const": "trial-balance",
      -                        "type": "string"
      -                      },
      -                      "subTotals": {
      -                        "additionalProperties": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "credit": {
      -                              "type": "string"
      -                            },
      -                            "debit": {
      -                              "type": "string"
      -                            }
      -                          },
      -                          "required": [
      -                            "debit",
      -                            "credit"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "propertyNames": {
      -                          "type": "string"
      -                        },
      -                        "type": "object"
      -                      },
      -                      "totalCredits": {
      -                        "type": "string"
      -                      },
      -                      "totalDebits": {
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType",
      -                      "totalDebits",
      -                      "totalCredits",
      -                      "difference",
      -                      "isBalanced",
      -                      "accountCount",
      -                      "subTotals"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "statement",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "transactions",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "journal-entries",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "cost-basis-ledger",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "payment-requests",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "reportType": {
      -                        "const": "portfolio-conversion-workbook-template",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "reportType"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "totalsOnly": {
      -                "type": "boolean"
      -              },
      -              "type": {
      -                "const": "json",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "type",
      -              "rows",
      -              "totals"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "pending",
      -          "processing",
      -          "completed",
      -          "failed"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "progressPercent",
      -      "createdAt",
      -      "kind",
      -      "requestId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "appProgress": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completed": {
      +            "type": "number"
      +          },
      +          "total": {
      +            "type": "number"
      +          },
      +          "transactionsSynced": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "completed",
      +          "total",
      +          "transactionsSynced"
      +        ],
      +        "type": "object"
      +      },
      +      "completedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "details": {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              "message": {
      +                "type": "string"
      +              },
      +              "requestId": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "requestId"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      },
      +      "finishedOn": {
      +        "type": "number"
      +      },
      +      "kind": {
      +        "const": "job",
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "classificationState": {
      +            "type": "string"
      +          },
      +          "errorTypes": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "hasError": {
      +            "type": "boolean"
      +          },
      +          "operationType": {
      +            "type": "string"
      +          },
      +          "suggestedAction": {},
      +          "transactionId": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "const": "portfolio_transaction",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "transactionId",
      +          "hasError",
      +          "errorTypes",
      +          "suggestedAction"
      +        ],
      +        "type": "object"
      +      },
      +      "progress": {
      +        "type": "number"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "result": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "downloadUrl": {
      +            "type": "string"
      +          },
      +          "fileSize": {
      +            "type": "number"
      +          },
      +          "format": {
      +            "enum": [
      +              "xlsx",
      +              "pdf",
      +              "json"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "downloadUrl",
      +          "fileSize",
      +          "format"
      +        ],
      +        "type": "object"
      +      },
      +      "returnValue": {},
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "active",
      +          "delayed",
      +          "completed",
      +          "failed"
      +        ],
      +        "type": "string"
      +      },
      +      "subject": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "commandType": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "const": "portfolio_transaction",
      +            "type": "string"
      +          },
      +          "transactionId": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "kind",
      +          "transactionId"
      +        ],
      +        "type": "object"
      +      },
      +      "type": {
      +        "enum": [
      +          "sync",
      +          "export",
      +          "recompute",
      +          "reclassify"
      +        ],
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "requestId",
      +      "type",
      +      "status",
      +      "progress",
      +      "createdAt",
      +      "updatedAt",
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "completedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "details": {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              "message": {
      +                "type": "string"
      +              },
      +              "requestId": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message",
      +              "requestId"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "error"
      +        ],
      +        "type": "object"
      +      },
      +      "kind": {
      +        "const": "report",
      +        "type": "string"
      +      },
      +      "progressPercent": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "result": {
      +        "oneOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "totals": {},
      +              "type": {
      +                "const": "totals",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "totals"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "totals": {},
      +              "type": {
      +                "const": "full",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "totals"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "rows": {},
      +              "totals": {},
      +              "totalsOnly": {
      +                "type": "boolean"
      +              },
      +              "type": {
      +                "const": "json",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "rows",
      +              "totals"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "pending",
      +          "processing",
      +          "completed",
      +          "failed"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "progressPercent",
      +      "createdAt",
      +      "kind",
      +      "requestId"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "downloadUrl": {
      -        "type": "string"
      -      },
      -      "fileSize": {
      -        "type": "number"
      -      },
      -      "format": {
      -        "enum": [
      -          "xlsx",
      -          "pdf",
      -          "json"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "downloadUrl",
      -      "fileSize",
      -      "format"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "oneOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "totals": {
      -            "oneOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capitalGains": {
      -                    "type": "string"
      -                  },
      -                  "capitalLosses": {
      -                    "type": "string"
      -                  },
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryExpense": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "profit-and-loss",
      -                    "type": "string"
      -                  },
      -                  "totalExpensesAndLosses": {
      -                    "type": "string"
      -                  },
      -                  "totalRevenue": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalRevenue",
      -                  "ordinaryIncome",
      -                  "capitalGains",
      -                  "totalExpensesAndLosses",
      -                  "ordinaryExpense",
      -                  "capitalLosses",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capitalGains": {
      -                    "type": "string"
      -                  },
      -                  "capitalLosses": {
      -                    "type": "string"
      -                  },
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryExpense": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "consolidated-profit-and-loss",
      -                    "type": "string"
      -                  },
      -                  "totalExpensesAndLosses": {
      -                    "type": "string"
      -                  },
      -                  "totalRevenue": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalRevenue",
      -                  "ordinaryIncome",
      -                  "capitalGains",
      -                  "totalExpensesAndLosses",
      -                  "ordinaryExpense",
      -                  "capitalLosses",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netWorth": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "balance-sheet",
      -                    "type": "string"
      -                  },
      -                  "totalAssets": {
      -                    "type": "string"
      -                  },
      -                  "totalEquity": {
      -                    "type": "string"
      -                  },
      -                  "totalLiabilities": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalAssets",
      -                  "totalLiabilities",
      -                  "totalEquity",
      -                  "netWorth"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netWorth": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "consolidated-balance-sheet",
      -                    "type": "string"
      -                  },
      -                  "totalAssets": {
      -                    "type": "string"
      -                  },
      -                  "totalEquity": {
      -                    "type": "string"
      -                  },
      -                  "totalLiabilities": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalAssets",
      -                  "totalLiabilities",
      -                  "totalEquity",
      -                  "netWorth"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "income-expense",
      -                    "type": "string"
      -                  },
      -                  "totalExpense": {
      -                    "type": "string"
      -                  },
      -                  "totalIncome": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalIncome",
      -                  "totalExpense",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "percentGainOrLoss": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "gains-losses",
      -                    "type": "string"
      -                  },
      -                  "totalCostBasis": {
      -                    "type": "string"
      -                  },
      -                  "totalGainOrLoss": {
      -                    "type": "string"
      -                  },
      -                  "totalProceeds": {
      -                    "type": "string"
      -                  },
      -                  "tradeCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalProceeds",
      -                  "totalCostBasis",
      -                  "totalGainOrLoss",
      -                  "percentGainOrLoss",
      -                  "tradeCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "accountCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "difference": {
      -                    "type": "string"
      -                  },
      -                  "isBalanced": {
      -                    "type": "boolean"
      -                  },
      -                  "reportType": {
      -                    "const": "trial-balance",
      -                    "type": "string"
      -                  },
      -                  "subTotals": {
      -                    "additionalProperties": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "credit": {
      -                          "type": "string"
      -                        },
      -                        "debit": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "debit",
      -                        "credit"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "propertyNames": {
      -                      "type": "string"
      -                    },
      -                    "type": "object"
      -                  },
      -                  "totalCredits": {
      -                    "type": "string"
      -                  },
      -                  "totalDebits": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalDebits",
      -                  "totalCredits",
      -                  "difference",
      -                  "isBalanced",
      -                  "accountCount",
      -                  "subTotals"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "statement",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "transactions",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "journal-entries",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "cost-basis-ledger",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "payment-requests",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "portfolio-conversion-workbook-template",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "type": {
      -            "const": "totals",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "totals"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "totals": {
      -            "oneOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capitalGains": {
      -                    "type": "string"
      -                  },
      -                  "capitalLosses": {
      -                    "type": "string"
      -                  },
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryExpense": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "profit-and-loss",
      -                    "type": "string"
      -                  },
      -                  "totalExpensesAndLosses": {
      -                    "type": "string"
      -                  },
      -                  "totalRevenue": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalRevenue",
      -                  "ordinaryIncome",
      -                  "capitalGains",
      -                  "totalExpensesAndLosses",
      -                  "ordinaryExpense",
      -                  "capitalLosses",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capitalGains": {
      -                    "type": "string"
      -                  },
      -                  "capitalLosses": {
      -                    "type": "string"
      -                  },
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryExpense": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "consolidated-profit-and-loss",
      -                    "type": "string"
      -                  },
      -                  "totalExpensesAndLosses": {
      -                    "type": "string"
      -                  },
      -                  "totalRevenue": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalRevenue",
      -                  "ordinaryIncome",
      -                  "capitalGains",
      -                  "totalExpensesAndLosses",
      -                  "ordinaryExpense",
      -                  "capitalLosses",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netWorth": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "balance-sheet",
      -                    "type": "string"
      -                  },
      -                  "totalAssets": {
      -                    "type": "string"
      -                  },
      -                  "totalEquity": {
      -                    "type": "string"
      -                  },
      -                  "totalLiabilities": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalAssets",
      -                  "totalLiabilities",
      -                  "totalEquity",
      -                  "netWorth"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netWorth": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "consolidated-balance-sheet",
      -                    "type": "string"
      -                  },
      -                  "totalAssets": {
      -                    "type": "string"
      -                  },
      -                  "totalEquity": {
      -                    "type": "string"
      -                  },
      -                  "totalLiabilities": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalAssets",
      -                  "totalLiabilities",
      -                  "totalEquity",
      -                  "netWorth"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "income-expense",
      -                    "type": "string"
      -                  },
      -                  "totalExpense": {
      -                    "type": "string"
      -                  },
      -                  "totalIncome": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalIncome",
      -                  "totalExpense",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "percentGainOrLoss": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "gains-losses",
      -                    "type": "string"
      -                  },
      -                  "totalCostBasis": {
      -                    "type": "string"
      -                  },
      -                  "totalGainOrLoss": {
      -                    "type": "string"
      -                  },
      -                  "totalProceeds": {
      -                    "type": "string"
      -                  },
      -                  "tradeCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalProceeds",
      -                  "totalCostBasis",
      -                  "totalGainOrLoss",
      -                  "percentGainOrLoss",
      -                  "tradeCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "accountCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "difference": {
      -                    "type": "string"
      -                  },
      -                  "isBalanced": {
      -                    "type": "boolean"
      -                  },
      -                  "reportType": {
      -                    "const": "trial-balance",
      -                    "type": "string"
      -                  },
      -                  "subTotals": {
      -                    "additionalProperties": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "credit": {
      -                          "type": "string"
      -                        },
      -                        "debit": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "debit",
      -                        "credit"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "propertyNames": {
      -                      "type": "string"
      -                    },
      -                    "type": "object"
      -                  },
      -                  "totalCredits": {
      -                    "type": "string"
      -                  },
      -                  "totalDebits": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalDebits",
      -                  "totalCredits",
      -                  "difference",
      -                  "isBalanced",
      -                  "accountCount",
      -                  "subTotals"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "statement",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "transactions",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "journal-entries",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "cost-basis-ledger",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "payment-requests",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "portfolio-conversion-workbook-template",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "type": {
      -            "const": "full",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "totals"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "rows": {},
      -          "totals": {
      -            "oneOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capitalGains": {
      -                    "type": "string"
      -                  },
      -                  "capitalLosses": {
      -                    "type": "string"
      -                  },
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryExpense": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "profit-and-loss",
      -                    "type": "string"
      -                  },
      -                  "totalExpensesAndLosses": {
      -                    "type": "string"
      -                  },
      -                  "totalRevenue": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalRevenue",
      -                  "ordinaryIncome",
      -                  "capitalGains",
      -                  "totalExpensesAndLosses",
      -                  "ordinaryExpense",
      -                  "capitalLosses",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "capitalGains": {
      -                    "type": "string"
      -                  },
      -                  "capitalLosses": {
      -                    "type": "string"
      -                  },
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryExpense": {
      -                    "type": "string"
      -                  },
      -                  "ordinaryIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "consolidated-profit-and-loss",
      -                    "type": "string"
      -                  },
      -                  "totalExpensesAndLosses": {
      -                    "type": "string"
      -                  },
      -                  "totalRevenue": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalRevenue",
      -                  "ordinaryIncome",
      -                  "capitalGains",
      -                  "totalExpensesAndLosses",
      -                  "ordinaryExpense",
      -                  "capitalLosses",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netWorth": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "balance-sheet",
      -                    "type": "string"
      -                  },
      -                  "totalAssets": {
      -                    "type": "string"
      -                  },
      -                  "totalEquity": {
      -                    "type": "string"
      -                  },
      -                  "totalLiabilities": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalAssets",
      -                  "totalLiabilities",
      -                  "totalEquity",
      -                  "netWorth"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netWorth": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "consolidated-balance-sheet",
      -                    "type": "string"
      -                  },
      -                  "totalAssets": {
      -                    "type": "string"
      -                  },
      -                  "totalEquity": {
      -                    "type": "string"
      -                  },
      -                  "totalLiabilities": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalAssets",
      -                  "totalLiabilities",
      -                  "totalEquity",
      -                  "netWorth"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "netIncome": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "income-expense",
      -                    "type": "string"
      -                  },
      -                  "totalExpense": {
      -                    "type": "string"
      -                  },
      -                  "totalIncome": {
      -                    "type": "string"
      -                  },
      -                  "transactionCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalIncome",
      -                  "totalExpense",
      -                  "netIncome",
      -                  "transactionCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "percentGainOrLoss": {
      -                    "type": "string"
      -                  },
      -                  "reportType": {
      -                    "const": "gains-losses",
      -                    "type": "string"
      -                  },
      -                  "totalCostBasis": {
      -                    "type": "string"
      -                  },
      -                  "totalGainOrLoss": {
      -                    "type": "string"
      -                  },
      -                  "totalProceeds": {
      -                    "type": "string"
      -                  },
      -                  "tradeCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalProceeds",
      -                  "totalCostBasis",
      -                  "totalGainOrLoss",
      -                  "percentGainOrLoss",
      -                  "tradeCount"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "accountCount": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "difference": {
      -                    "type": "string"
      -                  },
      -                  "isBalanced": {
      -                    "type": "boolean"
      -                  },
      -                  "reportType": {
      -                    "const": "trial-balance",
      -                    "type": "string"
      -                  },
      -                  "subTotals": {
      -                    "additionalProperties": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "credit": {
      -                          "type": "string"
      -                        },
      -                        "debit": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "debit",
      -                        "credit"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "propertyNames": {
      -                      "type": "string"
      -                    },
      -                    "type": "object"
      -                  },
      -                  "totalCredits": {
      -                    "type": "string"
      -                  },
      -                  "totalDebits": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType",
      -                  "totalDebits",
      -                  "totalCredits",
      -                  "difference",
      -                  "isBalanced",
      -                  "accountCount",
      -                  "subTotals"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "statement",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "transactions",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "journal-entries",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "cost-basis-ledger",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "payment-requests",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "reportType": {
      -                    "const": "portfolio-conversion-workbook-template",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "reportType"
      -                ],
      -                "type": "object"
      -              }
      -            ]
      -          },
      -          "totalsOnly": {
      -            "type": "boolean"
      -          },
      -          "type": {
      -            "const": "json",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "rows",
      -          "totals"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "downloadUrl": {
      +        "type": "string"
      +      },
      +      "fileSize": {
      +        "type": "number"
      +      },
      +      "format": {
      +        "enum": [
      +          "xlsx",
      +          "pdf",
      +          "json"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "downloadUrl",
      +      "fileSize",
      +      "format"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "oneOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "totals": {},
      +          "type": {
      +            "const": "totals",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "totals"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "totals": {},
      +          "type": {
      +            "const": "full",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "totals"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "rows": {},
      +          "totals": {},
      +          "totalsOnly": {
      +            "type": "boolean"
      +          },
      +          "type": {
      +            "const": "json",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "rows",
      +          "totals"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "oneOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "appProgress": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "completed": {
      +              "type": "number"
      +            },
      +            "total": {
      +              "type": "number"
      +            },
      +            "transactionsSynced": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "completed",
      +            "total",
      +            "transactionsSynced"
      +          ],
      +          "type": "object"
      +        },
      +        "completedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "createdAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "error": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "error": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "details": {
      +                  "additionalProperties": {},
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "requestId": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "message",
      +                "requestId"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "error"
      +          ],
      +          "type": "object"
      +        },
      +        "finishedOn": {
      +          "type": "number"
      +        },
      +        "kind": {
      +          "const": "job",
      +          "type": "string"
      +        },
      +        "outcome": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "classificationState": {
      +              "type": "string"
      +            },
      +            "errorTypes": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "hasError": {
      +              "type": "boolean"
      +            },
      +            "operationType": {
      +              "type": "string"
      +            },
      +            "suggestedAction": {},
      +            "transactionId": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "portfolio_transaction",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "transactionId",
      +            "hasError",
      +            "errorTypes",
      +            "suggestedAction"
      +          ],
      +          "type": "object"
      +        },
      +        "progress": {
      +          "type": "number"
      +        },
      +        "requestId": {
      +          "type": "string"
      +        },
      +        "result": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "downloadUrl": {
      +              "type": "string"
      +            },
      +            "fileSize": {
      +              "type": "number"
      +            },
      +            "format": {
      +              "enum": [
      +                "xlsx",
      +                "pdf",
      +                "json"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "downloadUrl",
      +            "fileSize",
      +            "format"
      +          ],
      +          "type": "object"
      +        },
      +        "returnValue": {},
      +        "status": {
      +          "enum": [
      +            "pending",
      +            "active",
      +            "delayed",
      +            "completed",
      +            "failed"
      +          ],
      +          "type": "string"
      +        },
      +        "subject": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "commandType": {
      +              "type": "string"
      +            },
      +            "kind": {
      +              "const": "portfolio_transaction",
      +              "type": "string"
      +            },
      +            "transactionId": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "transactionId"
      +          ],
      +          "type": "object"
      +        },
      +        "type": {
      +          "enum": [
      +            "sync",
      +            "export",
      +            "recompute",
      +            "reclassify"
      +          ],
      +          "type": "string"
      +        },
      +        "updatedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "requestId",
      +        "type",
      +        "status",
      +        "progress",
      +        "createdAt",
      +        "updatedAt",
      +        "kind"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "completedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "createdAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "error": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "error": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "details": {
      +                  "additionalProperties": {},
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "requestId": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "message",
      +                "requestId"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "error"
      +          ],
      +          "type": "object"
      +        },
      +        "kind": {
      +          "const": "report",
      +          "type": "string"
      +        },
      +        "progressPercent": {
      +          "maximum": 100,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "requestId": {
      +          "type": "string"
      +        },
      +        "result": {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "totals": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "income-expense",
      +                          "type": "string"
      +                        },
      +                        "totalExpense": {
      +                          "type": "string"
      +                        },
      +                        "totalIncome": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalIncome",
      +                        "totalExpense",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "percentGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "gains-losses",
      +                          "type": "string"
      +                        },
      +                        "totalCostBasis": {
      +                          "type": "string"
      +                        },
      +                        "totalGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "totalProceeds": {
      +                          "type": "string"
      +                        },
      +                        "tradeCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalProceeds",
      +                        "totalCostBasis",
      +                        "totalGainOrLoss",
      +                        "percentGainOrLoss",
      +                        "tradeCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "accountCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "difference": {
      +                          "type": "string"
      +                        },
      +                        "isBalanced": {
      +                          "type": "boolean"
      +                        },
      +                        "reportType": {
      +                          "const": "trial-balance",
      +                          "type": "string"
      +                        },
      +                        "subTotals": {
      +                          "additionalProperties": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "credit": {
      +                                "type": "string"
      +                              },
      +                              "debit": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "debit",
      +                              "credit"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "totalCredits": {
      +                          "type": "string"
      +                        },
      +                        "totalDebits": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalDebits",
      +                        "totalCredits",
      +                        "difference",
      +                        "isBalanced",
      +                        "accountCount",
      +                        "subTotals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "statement",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "transactions",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "journal-entries",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "cost-basis-ledger",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "payment-requests",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "portfolio-conversion-workbook-template",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": {
      +                  "const": "totals",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "totals"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "totals": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "income-expense",
      +                          "type": "string"
      +                        },
      +                        "totalExpense": {
      +                          "type": "string"
      +                        },
      +                        "totalIncome": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalIncome",
      +                        "totalExpense",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "percentGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "gains-losses",
      +                          "type": "string"
      +                        },
      +                        "totalCostBasis": {
      +                          "type": "string"
      +                        },
      +                        "totalGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "totalProceeds": {
      +                          "type": "string"
      +                        },
      +                        "tradeCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalProceeds",
      +                        "totalCostBasis",
      +                        "totalGainOrLoss",
      +                        "percentGainOrLoss",
      +                        "tradeCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "accountCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "difference": {
      +                          "type": "string"
      +                        },
      +                        "isBalanced": {
      +                          "type": "boolean"
      +                        },
      +                        "reportType": {
      +                          "const": "trial-balance",
      +                          "type": "string"
      +                        },
      +                        "subTotals": {
      +                          "additionalProperties": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "credit": {
      +                                "type": "string"
      +                              },
      +                              "debit": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "debit",
      +                              "credit"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "totalCredits": {
      +                          "type": "string"
      +                        },
      +                        "totalDebits": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalDebits",
      +                        "totalCredits",
      +                        "difference",
      +                        "isBalanced",
      +                        "accountCount",
      +                        "subTotals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "statement",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "transactions",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "journal-entries",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "cost-basis-ledger",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "payment-requests",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "portfolio-conversion-workbook-template",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": {
      +                  "const": "full",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "totals"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "rows": {},
      +                "totals": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "income-expense",
      +                          "type": "string"
      +                        },
      +                        "totalExpense": {
      +                          "type": "string"
      +                        },
      +                        "totalIncome": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalIncome",
      +                        "totalExpense",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "percentGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "gains-losses",
      +                          "type": "string"
      +                        },
      +                        "totalCostBasis": {
      +                          "type": "string"
      +                        },
      +                        "totalGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "totalProceeds": {
      +                          "type": "string"
      +                        },
      +                        "tradeCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalProceeds",
      +                        "totalCostBasis",
      +                        "totalGainOrLoss",
      +                        "percentGainOrLoss",
      +                        "tradeCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "accountCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "difference": {
      +                          "type": "string"
      +                        },
      +                        "isBalanced": {
      +                          "type": "boolean"
      +                        },
      +                        "reportType": {
      +                          "const": "trial-balance",
      +                          "type": "string"
      +                        },
      +                        "subTotals": {
      +                          "additionalProperties": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "credit": {
      +                                "type": "string"
      +                              },
      +                              "debit": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "debit",
      +                              "credit"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "totalCredits": {
      +                          "type": "string"
      +                        },
      +                        "totalDebits": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalDebits",
      +                        "totalCredits",
      +                        "difference",
      +                        "isBalanced",
      +                        "accountCount",
      +                        "subTotals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "statement",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "transactions",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "journal-entries",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "cost-basis-ledger",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "payment-requests",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "portfolio-conversion-workbook-template",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "totalsOnly": {
      +                  "type": "boolean"
      +                },
      +                "type": {
      +                  "const": "json",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "rows",
      +                "totals"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "status": {
      +          "enum": [
      +            "pending",
      +            "processing",
      +            "completed",
      +            "failed"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "status",
      +        "progressPercent",
      +        "createdAt",
      +        "kind",
      +        "requestId"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "properties": {
      +    "appProgress": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "completed": {
      +          "type": "number"
      +        },
      +        "total": {
      +          "type": "number"
      +        },
      +        "transactionsSynced": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "completed",
      +        "total",
      +        "transactionsSynced"
      +      ],
      +      "type": "object"
      +    },
      +    "completedAt": {
      +      "anyOf": [
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    "createdAt": {
      +      "anyOf": [
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    "error": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "error": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "details": {
      +                  "additionalProperties": {},
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "requestId": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "message",
      +                "requestId"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "error"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "error": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "details": {
      +                  "additionalProperties": {},
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "requestId": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "message",
      +                "requestId"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "error"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "finishedOn": {
      +      "type": "number"
      +    },
      +    "kind": {
      +      "enum": [
      +        "job",
      +        "report"
      +      ],
      +      "type": "string"
      +    },
      +    "outcome": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "classificationState": {
      +          "type": "string"
      +        },
      +        "errorTypes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "hasError": {
      +          "type": "boolean"
      +        },
      +        "operationType": {
      +          "type": "string"
      +        },
      +        "suggestedAction": {},
      +        "transactionId": {
      +          "type": "string"
      +        },
      +        "type": {
      +          "const": "portfolio_transaction",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "transactionId",
      +        "hasError",
      +        "errorTypes",
      +        "suggestedAction"
      +      ],
      +      "type": "object"
      +    },
      +    "progress": {
      +      "type": "number"
      +    },
      +    "progressPercent": {
      +      "maximum": 100,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "requestId": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "string"
      +        }
      +      ]
      +    },
      +    "result": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "downloadUrl": {
      +              "type": "string"
      +            },
      +            "fileSize": {
      +              "type": "number"
      +            },
      +            "format": {
      +              "enum": [
      +                "xlsx",
      +                "pdf",
      +                "json"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "downloadUrl",
      +            "fileSize",
      +            "format"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "oneOf": [
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "totals": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "income-expense",
      +                          "type": "string"
      +                        },
      +                        "totalExpense": {
      +                          "type": "string"
      +                        },
      +                        "totalIncome": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalIncome",
      +                        "totalExpense",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "percentGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "gains-losses",
      +                          "type": "string"
      +                        },
      +                        "totalCostBasis": {
      +                          "type": "string"
      +                        },
      +                        "totalGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "totalProceeds": {
      +                          "type": "string"
      +                        },
      +                        "tradeCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalProceeds",
      +                        "totalCostBasis",
      +                        "totalGainOrLoss",
      +                        "percentGainOrLoss",
      +                        "tradeCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "accountCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "difference": {
      +                          "type": "string"
      +                        },
      +                        "isBalanced": {
      +                          "type": "boolean"
      +                        },
      +                        "reportType": {
      +                          "const": "trial-balance",
      +                          "type": "string"
      +                        },
      +                        "subTotals": {
      +                          "additionalProperties": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "credit": {
      +                                "type": "string"
      +                              },
      +                              "debit": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "debit",
      +                              "credit"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "totalCredits": {
      +                          "type": "string"
      +                        },
      +                        "totalDebits": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalDebits",
      +                        "totalCredits",
      +                        "difference",
      +                        "isBalanced",
      +                        "accountCount",
      +                        "subTotals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "statement",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "transactions",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "journal-entries",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "cost-basis-ledger",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "payment-requests",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "portfolio-conversion-workbook-template",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": {
      +                  "const": "totals",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "totals"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "totals": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "income-expense",
      +                          "type": "string"
      +                        },
      +                        "totalExpense": {
      +                          "type": "string"
      +                        },
      +                        "totalIncome": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalIncome",
      +                        "totalExpense",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "percentGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "gains-losses",
      +                          "type": "string"
      +                        },
      +                        "totalCostBasis": {
      +                          "type": "string"
      +                        },
      +                        "totalGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "totalProceeds": {
      +                          "type": "string"
      +                        },
      +                        "tradeCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalProceeds",
      +                        "totalCostBasis",
      +                        "totalGainOrLoss",
      +                        "percentGainOrLoss",
      +                        "tradeCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "accountCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "difference": {
      +                          "type": "string"
      +                        },
      +                        "isBalanced": {
      +                          "type": "boolean"
      +                        },
      +                        "reportType": {
      +                          "const": "trial-balance",
      +                          "type": "string"
      +                        },
      +                        "subTotals": {
      +                          "additionalProperties": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "credit": {
      +                                "type": "string"
      +                              },
      +                              "debit": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "debit",
      +                              "credit"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "totalCredits": {
      +                          "type": "string"
      +                        },
      +                        "totalDebits": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalDebits",
      +                        "totalCredits",
      +                        "difference",
      +                        "isBalanced",
      +                        "accountCount",
      +                        "subTotals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "statement",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "transactions",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "journal-entries",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "cost-basis-ledger",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "payment-requests",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "portfolio-conversion-workbook-template",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "type": {
      +                  "const": "full",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "totals"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "rows": {},
      +                "totals": {
      +                  "oneOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "capitalGains": {
      +                          "type": "string"
      +                        },
      +                        "capitalLosses": {
      +                          "type": "string"
      +                        },
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryExpense": {
      +                          "type": "string"
      +                        },
      +                        "ordinaryIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-profit-and-loss",
      +                          "type": "string"
      +                        },
      +                        "totalExpensesAndLosses": {
      +                          "type": "string"
      +                        },
      +                        "totalRevenue": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalRevenue",
      +                        "ordinaryIncome",
      +                        "capitalGains",
      +                        "totalExpensesAndLosses",
      +                        "ordinaryExpense",
      +                        "capitalLosses",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netWorth": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "consolidated-balance-sheet",
      +                          "type": "string"
      +                        },
      +                        "totalAssets": {
      +                          "type": "string"
      +                        },
      +                        "totalEquity": {
      +                          "type": "string"
      +                        },
      +                        "totalLiabilities": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalAssets",
      +                        "totalLiabilities",
      +                        "totalEquity",
      +                        "netWorth"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "netIncome": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "income-expense",
      +                          "type": "string"
      +                        },
      +                        "totalExpense": {
      +                          "type": "string"
      +                        },
      +                        "totalIncome": {
      +                          "type": "string"
      +                        },
      +                        "transactionCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalIncome",
      +                        "totalExpense",
      +                        "netIncome",
      +                        "transactionCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "percentGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "reportType": {
      +                          "const": "gains-losses",
      +                          "type": "string"
      +                        },
      +                        "totalCostBasis": {
      +                          "type": "string"
      +                        },
      +                        "totalGainOrLoss": {
      +                          "type": "string"
      +                        },
      +                        "totalProceeds": {
      +                          "type": "string"
      +                        },
      +                        "tradeCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalProceeds",
      +                        "totalCostBasis",
      +                        "totalGainOrLoss",
      +                        "percentGainOrLoss",
      +                        "tradeCount"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "accountCount": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "difference": {
      +                          "type": "string"
      +                        },
      +                        "isBalanced": {
      +                          "type": "boolean"
      +                        },
      +                        "reportType": {
      +                          "const": "trial-balance",
      +                          "type": "string"
      +                        },
      +                        "subTotals": {
      +                          "additionalProperties": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "credit": {
      +                                "type": "string"
      +                              },
      +                              "debit": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "debit",
      +                              "credit"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "totalCredits": {
      +                          "type": "string"
      +                        },
      +                        "totalDebits": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType",
      +                        "totalDebits",
      +                        "totalCredits",
      +                        "difference",
      +                        "isBalanced",
      +                        "accountCount",
      +                        "subTotals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "statement",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "transactions",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "journal-entries",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "cost-basis-ledger",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "payment-requests",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "reportType": {
      +                          "const": "portfolio-conversion-workbook-template",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "reportType"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  ]
      +                },
      +                "totalsOnly": {
      +                  "type": "boolean"
      +                },
      +                "type": {
      +                  "const": "json",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "type",
      +                "rows",
      +                "totals"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        }
      +      ]
      +    },
      +    "returnValue": {},
      +    "status": {
      +      "enum": [
      +        "pending",
      +        "active",
      +        "delayed",
      +        "completed",
      +        "failed",
      +        "processing"
      +      ],
      +      "type": "string"
      +    },
      +    "subject": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "commandType": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "const": "portfolio_transaction",
      +          "type": "string"
      +        },
      +        "transactionId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "transactionId"
      +      ],
      +      "type": "object"
      +    },
      +    "type": {
      +      "enum": [
      +        "sync",
      +        "export",
      +        "recompute",
      +        "reclassify"
      +      ],
      +      "type": "string"
      +    },
      +    "updatedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "requestId",
      +    "status",
      +    "createdAt",
      +    "kind"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering the safety profile. The description adds useful context about the requestId and the universality of request kinds, but does not disclose additional behavioral details such as response semantics or polling behavior. This is adequate but not exceptionally transparent beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler; the core action and required identifier are front-loaded, followed by a scope-clarifying statement. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for tool selection and invocation: it names the exact resource, the key identifier, the full range of request kinds, and confirms there is no separate report-status tool. The output schema and annotations cover return values and safety, so nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents each parameter well, including examples for requestId. The description reinforces that the requestId comes from the original queuing call but adds little parameter meaning beyond what the schema provides; it reaches the baseline expected for fully covered schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Check the status of any queued background work' via a requestId, and gives concrete examples (report generation, wallet sync, rule application, transaction change). It also clarifies scope with 'Works for every request kind; there is no separate report-status tool,' which helps distinguish it from other tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly establishes when to use the tool: after work has been queued and a requestId has been returned. It also preemptively rules out looking for a report-status tool, though it does not explicitly contrast this with sibling get_sync_status, so it stops short of a full when-not/alternative guide.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources