{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/base_transaction",
  "title": "base_transaction",
  "description": "Base class for all transaction types in the ledger service",
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/components/schemas/transaction_status",
      "description": "The status of the transaction"
    },
    "token": {
      "type": "string",
      "description": "Unique identifier for the transaction",
      "format": "uuid"
    },
    "created": {
      "type": "string",
      "description": "ISO 8601 timestamp of when the transaction was created",
      "format": "date-time"
    },
    "updated": {
      "type": "string",
      "description": "ISO 8601 timestamp of when the transaction was last updated",
      "format": "date-time"
    }
  },
  "required": [
    "status",
    "token",
    "created",
    "updated"
  ]
}