{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/journalize-dev/json-schema/journalize-dev-directive-write-response-schema.json",
  "title": "DirectiveWriteResponse",
  "description": "Mirrors ledger.SubmitResult field-for-field, plus one addition\nbelow that ISN'T part of that mirror.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/journalize-dev-openapi.json#/components/schemas/DirectiveWriteResponse",
  "properties": {
    "accepted": {
      "type": "boolean",
      "title": "Accepted"
    },
    "errors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Errors"
    },
    "directive_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Directive Id"
    },
    "date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Date"
    },
    "free_writes_remaining": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Free Writes Remaining"
    }
  },
  "type": "object",
  "required": [
    "accepted"
  ]
}