{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AbstractMempoolTransaction",
  "description": "Abstract transaction. This schema makes up all properties common between all Stacks 2.0 transaction types",
  "type": "object",
  "allOf": [
    {
      "$ref": "../transactions/base-transaction.schema.json"
    },
    {
      "required": [
        "tx_status",
        "receipt_time",
        "receipt_time_iso"
      ],
      "additionalProperties": false,
      "properties": {
        "tx_status": {
          "type": "string",
          "description": "Status of the transaction in the mempool. Can be pending in the mempool. Or dropped from the mempool from being replaced by a transaction with the same nonce but a higher fee, replaced by a transaction with the same nonce but in the canonical fork, the transaction is too expensive to include in a block, or because it became stale.",
          "$ref": "./transaction-status.schema.json"
        },
        "receipt_time": {
          "type": "number",
          "description": "A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node."
        },
        "receipt_time_iso": {
          "type": "string",
          "description": "An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node."
        }
      }
    }
  ]
}
