{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/journalize-dev/json-schema/journalize-dev-export-response-schema.json",
  "title": "ExportResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/journalize-dev-export-api-openapi.yml#/components/schemas/ExportResponse",
  "properties": {
    "accepted": {
      "type": "boolean",
      "title": "Accepted"
    },
    "doc": {
      "anyOf": [
        {
          "$ref": "#/$defs/ExportDoc"
        },
        {
          "type": "null"
        }
      ]
    },
    "errors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Errors"
    },
    "free_reports_remaining": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Free Reports Remaining"
    }
  },
  "type": "object",
  "required": [
    "accepted"
  ],
  "$defs": {
    "ExportDoc": {
      "properties": {
        "beancount_text": {
          "type": "string",
          "title": "Beancount Text"
        }
      },
      "type": "object",
      "required": [
        "beancount_text"
      ],
      "title": "ExportDoc"
    }
  }
}