{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/forwardai/main/json-schema/forwardai-balance-sheet-report-schema.json",
  "title": "BalanceSheetReport",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forwardai-precise-api-openapi.yml#/components/schemas/BalanceSheetReport",
  "type": "object",
  "properties": {
    "assets": {
      "type": "object",
      "properties": {
        "currentAssets": {
          "type": "object",
          "properties": {
            "bank": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            },
            "accountsReceivable": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            },
            "otherCurrentAssets": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            },
            "total": {
              "type": "number"
            }
          }
        },
        "nonCurrentAssets": {
          "type": "object",
          "properties": {
            "fixedAssets": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            }
          }
        },
        "otherAssets": {
          "type": "object",
          "properties": {
            "accounts": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "account": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    }
                  },
                  "amount": {
                    "type": "number"
                  }
                }
              }
            },
            "total": {
              "type": "number"
            }
          }
        },
        "total": {
          "type": "number"
        }
      }
    },
    "liabilities": {
      "type": "object",
      "properties": {
        "currentLiabilities": {
          "type": "object",
          "properties": {
            "accountsPayable": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            },
            "creditCard": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            },
            "otherCurrentLiabilities": {
              "type": "object",
              "properties": {
                "accounts": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "account": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "amount": {
                        "type": "number"
                      }
                    }
                  }
                },
                "total": {
                  "type": "number"
                }
              }
            },
            "total": {
              "type": "number"
            }
          }
        },
        "longTermLiabilities": {
          "type": "object",
          "properties": {
            "accounts": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "account": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    }
                  },
                  "amount": {
                    "type": "number"
                  }
                }
              }
            },
            "total": {
              "type": "number"
            }
          }
        },
        "total": {
          "type": "number"
        }
      }
    },
    "equity": {
      "type": "object",
      "properties": {
        "accounts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "account": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                }
              },
              "amount": {
                "type": "number"
              }
            }
          }
        },
        "total": {
          "type": "number"
        }
      }
    }
  }
}