{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/scribe-handwritten/main/json-schema/scribe-handwritten-transaction-resource-schema.json",
  "title": "Transaction Resource",
  "description": "Transaction resource model",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scribe-handwritten-openapi.json#/components/schemas/TransactionResource",
  "properties": {
    "id": {
      "type": "integer"
    },
    "amount": {
      "type": "number",
      "format": "float"
    },
    "wallet_balance": {
      "type": "number",
      "format": "float"
    },
    "status": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "payment_method": {
      "type": "string"
    },
    "online_transaction_id": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "type": "object"
}