{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forwardai/json-schema/forwardai-manual-journal-response-schema.json",
  "title": "ManualJournalResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forwardai-journal-entries-api-openapi.yml#/components/schemas/ManualJournalResponse",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "refNumber": {
        "type": "string"
      },
      "type": {
        "type": "string"
      },
      "date": {
        "type": "string"
      },
      "lines": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "contact": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            },
            "account": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            },
            "description": {
              "type": "string"
            },
            "debit": {
              "type": "number"
            },
            "credit": {
              "type": "number"
            }
          }
        }
      },
      "isReconciled": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string"
      },
      "updatedAt": {
        "type": "string"
      }
    }
  }
}