{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/equity-rank-com/json-schema/equity-rank-com-txn-create-schema.json",
  "title": "TxnCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/equity-rank-com-money-api-openapi.yml#/components/schemas/TxnCreate",
  "properties": {
    "account_id": {
      "type": "string",
      "format": "uuid",
      "title": "Account Id"
    },
    "txn_date": {
      "type": "string",
      "title": "Txn Date"
    },
    "amount": {
      "type": "number",
      "title": "Amount"
    },
    "payee": {
      "type": "string",
      "maxLength": 120,
      "title": "Payee",
      "default": ""
    },
    "note": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "category_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Category Id"
    },
    "is_transfer": {
      "type": "boolean",
      "title": "Is Transfer",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "account_id",
    "txn_date",
    "amount"
  ]
}