{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wagyu-xyz/json-schema/wagyu-xyz-swap-order-schema.json",
  "title": "SwapOrder",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wagyu-xyz-openapi.json#/components/schemas/SwapOrder",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string"
    },
    "product": {
      "type": "string",
      "enum": [
        "swap"
      ]
    },
    "status": {
      "$ref": "#/$defs/OrderStatus"
    },
    "asset": {
      "$ref": "#/$defs/BridgeAssetKey"
    },
    "direction": {
      "$ref": "#/$defs/BridgeDirection"
    },
    "chainId": {
      "anyOf": [
        {
          "$ref": "#/$defs/ChainId"
        },
        {
          "type": "null"
        }
      ]
    },
    "toAddress": {
      "type": "string"
    },
    "depositAddress": {
      "type": "string"
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "fromChainId": {
      "$ref": "#/$defs/ChainId"
    },
    "depositChainId": {
      "$ref": "#/$defs/ChainId"
    },
    "fromToken": {
      "type": "string"
    },
    "depositToken": {
      "type": "string"
    },
    "fromTokenSymbol": {
      "type": "string"
    },
    "depositTokenSymbol": {
      "type": "string"
    },
    "fromTokenDecimals": {
      "$ref": "#/$defs/TokenDecimals"
    },
    "depositTokenDecimals": {
      "$ref": "#/$defs/TokenDecimals"
    },
    "fromAmount": {
      "$ref": "#/$defs/AtomicAmount"
    },
    "depositAmount": {
      "$ref": "#/$defs/AtomicAmount"
    },
    "toChainId": {
      "$ref": "#/$defs/ChainId"
    },
    "toToken": {
      "type": "string"
    },
    "toTokenSymbol": {
      "type": "string"
    },
    "toTokenDecimals": {
      "$ref": "#/$defs/TokenDecimals"
    },
    "expectedOutput": {
      "type": "string"
    },
    "depositTxHash": {
      "type": [
        "string",
        "null"
      ]
    },
    "receivingTxHash": {
      "type": [
        "string",
        "null"
      ]
    },
    "sessionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "refundAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "refundRequestedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "expiresAt": {
      "type": "string"
    },
    "amountUsd": {
      "type": "number"
    },
    "bonusStage": {
      "type": "string",
      "enum": [
        "none",
        "coinflip"
      ]
    },
    "coinflipRequested": {
      "type": "boolean"
    },
    "fundingProvider": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "privy"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "integratorFeeUsd": {
      "type": [
        "number",
        "null"
      ]
    },
    "customerState": {
      "$ref": "#/$defs/CustomerOrderState"
    },
    "confirmations": {
      "type": "number"
    },
    "requiredConfirmations": {
      "type": "number"
    },
    "depositObserved": {
      "type": "boolean"
    },
    "errorMessage": {
      "type": [
        "string",
        "null"
      ]
    },
    "actualOutput": {
      "description": "What the customer received, in atomic units of `deliveredToken` when present, otherwise of `toToken`. Only on completed orders.",
      "type": "string"
    },
    "deliveredToken": {
      "type": "object",
      "properties": {
        "chainId": {
          "$ref": "#/$defs/ChainId"
        },
        "token": {
          "type": "string"
        },
        "symbol": {
          "type": "string"
        },
        "decimals": {
          "$ref": "#/$defs/TokenDecimals"
        }
      },
      "required": [
        "chainId",
        "token",
        "symbol",
        "decimals"
      ],
      "additionalProperties": false,
      "description": "Present only when the order completed in a different asset than `toToken`; `actualOutput` is then denominated in this token."
    },
    "coinflipLost": {
      "type": "boolean"
    },
    "hasReview": {
      "type": "boolean"
    },
    "refundRecovery": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "wrong_chain",
                "source",
                "table_deposit"
              ]
            },
            "phase": {
              "type": "string",
              "enum": [
                "address_required",
                "requested",
                "in_progress"
              ]
            },
            "chainId": {
              "$ref": "#/$defs/ChainId"
            },
            "asset": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "native",
                    "erc20",
                    "spl"
                  ]
                },
                "token": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "symbol": {
                  "type": "string"
                },
                "decimals": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/TokenDecimals"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "type",
                "token",
                "symbol",
                "decimals"
              ],
              "additionalProperties": false
            },
            "amountAtomic": {
              "type": "string"
            },
            "requestedAt": {
              "type": [
                "string",
                "null"
              ]
            },
            "suggestedAddress": {
              "description": "An address the order already has on file for this chain (for table_deposit, the table's payout address), offered as the prefill while phase is address_required. An offer only: nothing is sent to it until it is submitted.",
              "type": "string"
            },
            "destination": {
              "description": "Where the refund goes once that is decided (phase requested or in_progress). source is customer when someone submitted the address, sender when the refund returns to the wallet the deposit came from without anyone having to submit one.",
              "type": "object",
              "properties": {
                "address": {
                  "type": "string"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "customer",
                    "sender"
                  ]
                }
              },
              "required": [
                "address",
                "source"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "kind",
            "phase",
            "chainId",
            "asset",
            "amountAtomic",
            "requestedAt"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "rewards": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "earned",
            "not_eligible"
          ]
        },
        "wagyuEarned": {
          "type": "number"
        },
        "wagyuBonusEarned": {
          "type": "number"
        },
        "wagyuCompensation": {
          "type": "number",
          "minimum": 0
        },
        "wagyuTotalEarned": {
          "type": "number"
        },
        "policyKey": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "status",
        "wagyuEarned",
        "wagyuBonusEarned",
        "wagyuTotalEarned",
        "policyKey"
      ],
      "additionalProperties": false
    },
    "depositAddressForms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DepositAddressForm"
      }
    },
    "sourceDepositAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "observedDepositTxHash": {
      "type": "string"
    },
    "observedDepositAmount": {
      "$ref": "#/$defs/AtomicAmount"
    },
    "fundedExpectedOutput": {
      "$ref": "#/$defs/AtomicAmount"
    },
    "refund": {
      "type": "object",
      "properties": {
        "txHash": {
          "type": "string"
        },
        "chainId": {
          "$ref": "#/$defs/ChainId"
        },
        "toAddress": {
          "type": "string"
        }
      },
      "required": [
        "txHash",
        "chainId",
        "toAddress"
      ],
      "additionalProperties": false
    },
    "coinflip": {
      "anyOf": [
        {
          "$ref": "#/$defs/CoinflipState"
        },
        {
          "type": "null"
        }
      ]
    },
    "twap": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwapExecution"
        },
        {
          "type": "null"
        }
      ]
    },
    "route": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string"
            },
            "tool": {
              "type": "string"
            },
            "txHash": {
              "type": [
                "string",
                "null"
              ]
            },
            "toChainId": {
              "$ref": "#/$defs/ChainId"
            },
            "status": {
              "$ref": "#/$defs/RouteLegStatus"
            },
            "statusMessage": {
              "type": [
                "string",
                "null"
              ]
            },
            "trackerUrl": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uri"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "provider",
            "tool",
            "txHash",
            "toChainId",
            "status",
            "statusMessage"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "routing": {
      "$ref": "#/$defs/OrderRouting"
    },
    "hlFills": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HyperliquidFill"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "hlFillsStatus": {
      "$ref": "#/$defs/HyperliquidFillStatus"
    },
    "hlFillsNextCursor": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[1-9]\\d{0,18}$"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "orderId",
    "product",
    "status",
    "chainId",
    "toAddress",
    "depositAddress",
    "createdAt",
    "updatedAt",
    "fromChainId",
    "depositChainId",
    "fromToken",
    "depositToken",
    "fromTokenSymbol",
    "depositTokenSymbol",
    "fromTokenDecimals",
    "depositTokenDecimals",
    "fromAmount",
    "depositAmount",
    "toChainId",
    "toToken",
    "toTokenSymbol",
    "toTokenDecimals",
    "customerState",
    "errorMessage",
    "coinflipLost",
    "hasReview"
  ],
  "additionalProperties": false,
  "$defs": {
    "AtomicAmount": {
      "type": "string",
      "pattern": "^0*[1-9][0-9]*$",
      "description": "Positive base-10 integer in the asset’s atomic unit."
    },
    "AtomicBalance": {
      "type": "string",
      "pattern": "^0*[0-9]+$",
      "description": "Non-negative base-10 integer in the asset’s atomic unit."
    },
    "BridgeAssetKey": {
      "type": "string",
      "enum": [
        "xmr",
        "trx",
        "zec"
      ],
      "description": "Registered native-bridge asset key, never a display symbol."
    },
    "BridgeDirection": {
      "type": "string",
      "enum": [
        "deposit",
        "withdraw"
      ],
      "description": "deposit mints the wrapped asset from a native-coin deposit; withdraw returns the native coin against the wrapped asset."
    },
    "ChainId": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Non-negative integer chain identifier."
    },
    "CoinflipPoolAsset": {
      "type": "string",
      "enum": [
        "xmr",
        "btc",
        "sol",
        "eth",
        "zec"
      ],
      "description": "Coinflip-table pool asset key, never a display symbol."
    },
    "CoinflipState": {
      "type": "object",
      "properties": {
        "eligible": {
          "type": "boolean"
        },
        "accepted": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "seedHash": {
          "type": "string"
        },
        "clientSeed": {
          "type": "string"
        },
        "assetSymbol": {
          "type": "string"
        },
        "assetKey": {
          "$ref": "#/$defs/StakeAssetKey"
        },
        "result": {
          "type": "number"
        },
        "won": {
          "type": "boolean"
        },
        "serverSeed": {
          "type": "string"
        },
        "resolvedAt": {
          "type": "string"
        },
        "side": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "cow",
                "milk"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "currentRound": {
          "type": "number"
        },
        "currentMultiplier": {
          "type": "number"
        },
        "finalMultiplier": {
          "type": [
            "number",
            "null"
          ]
        },
        "finalWon": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "rounds": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "round": {
                "type": "number"
              },
              "serverSeed": {
                "type": "string"
              },
              "serverSeedHash": {
                "type": "string"
              },
              "clientSeed": {
                "type": "string"
              },
              "side": {
                "type": "string",
                "enum": [
                  "cow",
                  "milk"
                ]
              },
              "result": {
                "type": "number"
              },
              "won": {
                "type": "boolean"
              },
              "resolvedAt": {
                "type": "string"
              },
              "stakeAtomic": {
                "$ref": "#/$defs/AtomicAmount"
              },
              "balanceAfterAtomic": {
                "$ref": "#/$defs/AtomicBalance"
              }
            },
            "required": [
              "round"
            ],
            "additionalProperties": false
          }
        },
        "policy": {
          "type": "object",
          "properties": {
            "edgePercent": {
              "type": "number"
            },
            "milkWinBelow": {
              "type": "number"
            },
            "cowWinAbove": {
              "type": "number"
            },
            "winChancePercent": {
              "type": "number"
            },
            "maxWalletFractionPercent": {
              "type": "number"
            },
            "maxPayoutAtomic": {
              "$ref": "#/$defs/AtomicAmount"
            }
          },
          "required": [
            "edgePercent",
            "milkWinBelow",
            "cowWinAbove",
            "winChancePercent"
          ],
          "additionalProperties": false
        },
        "decisionDeadline": {
          "type": "string"
        },
        "mode": {
          "type": "string",
          "enum": [
            "session"
          ]
        },
        "balanceAtomic": {
          "$ref": "#/$defs/AtomicBalance"
        },
        "creditedInAtomic": {
          "$ref": "#/$defs/AtomicBalance"
        },
        "wageredAtomic": {
          "$ref": "#/$defs/AtomicBalance"
        },
        "minBetAtomic": {
          "$ref": "#/$defs/AtomicBalance"
        },
        "maxBetAtomic": {
          "$ref": "#/$defs/AtomicBalance"
        },
        "wagyuPoints": {
          "type": "number"
        },
        "refusal": {
          "type": "string",
          "enum": [
            "not_a_positive_amount",
            "above_balance",
            "below_minimum",
            "below_payout_minimum",
            "above_exposure_cap",
            "limits_unavailable"
          ]
        },
        "pendingTopUp": {
          "type": "object",
          "properties": {
            "atomic": {
              "$ref": "#/$defs/AtomicAmount"
            },
            "confirmations": {
              "type": "number"
            },
            "requiredConfirmations": {
              "type": "number"
            }
          },
          "required": [
            "atomic",
            "confirmations",
            "requiredConfirmations"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "eligible",
        "accepted",
        "seedHash",
        "clientSeed"
      ],
      "additionalProperties": false
    },
    "CustomerOrderState": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "awaiting_deposit"
              ]
            },
            "notice": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "below_expected"
                      ]
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "below_minimum"
                      ]
                    },
                    "minimumDepositAmount": {
                      "$ref": "#/$defs/AtomicAmount"
                    }
                  },
                  "required": [
                    "kind",
                    "minimumDepositAmount"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "processing"
              ]
            },
            "stage": {
              "type": "string",
              "enum": [
                "processing",
                "confirming",
                "routing",
                "trading",
                "sending",
                "refunding"
              ]
            },
            "notice": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "checking"
                  ]
                }
              },
              "required": [
                "kind"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "kind",
            "stage"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "action_required"
              ]
            },
            "action": {
              "type": "string",
              "enum": [
                "coinflip",
                "refund_address",
                "payout_address"
              ]
            }
          },
          "required": [
            "kind",
            "action"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "paused"
              ]
            },
            "reason": {
              "type": "string",
              "enum": [
                "preparing_refund",
                "below_minimum"
              ]
            },
            "minimumDepositAmount": {
              "$ref": "#/$defs/AtomicAmount"
            }
          },
          "required": [
            "kind",
            "reason"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "completed"
              ]
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "refunded"
              ]
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "expired"
              ]
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "failed"
              ]
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        }
      ],
      "description": "Authoritative customer display/action state. Clients must not infer lifecycle from status or resource presence."
    },
    "DepositAddressForm": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "shielded",
            "transparent"
          ]
        },
        "address": {
          "type": "string"
        }
      },
      "required": [
        "kind",
        "address"
      ],
      "additionalProperties": false
    },
    "HyperliquidFill": {
      "type": "object",
      "properties": {
        "tradeId": {
          "type": "string",
          "pattern": "^\\d+$"
        },
        "coin": {
          "type": "string",
          "pattern": "^@\\d+$"
        },
        "txHash": {
          "type": "string",
          "minLength": 66,
          "maxLength": 66,
          "pattern": "^0x(?!0{64}$)[0-9a-fA-F]{64}$"
        },
        "time": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "side": {
          "type": "string",
          "enum": [
            "Buy",
            "Sell"
          ]
        },
        "price": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "size": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "value": {
          "type": "number",
          "minimum": 0
        },
        "fee": {
          "type": "number"
        },
        "feeToken": {
          "type": "string",
          "minLength": 1
        },
        "twapId": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "time",
        "side",
        "price",
        "size",
        "value",
        "fee",
        "feeToken"
      ],
      "additionalProperties": false
    },
    "HyperliquidFillStatus": {
      "type": "string",
      "enum": [
        "pending",
        "complete",
        "incomplete"
      ]
    },
    "OrderRouting": {
      "type": "object",
      "properties": {
        "topology": {
          "type": "string",
          "enum": [
            "single",
            "parallel"
          ]
        },
        "branchCount": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "phase": {
          "type": "string",
          "enum": [
            "preparing",
            "executing",
            "recovering",
            "settled",
            "attention",
            "unavailable"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "done",
            "partial",
            "failed",
            "unavailable"
          ]
        },
        "branches": {
          "type": "object",
          "properties": {
            "total": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "completed": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "pending": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "attention": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "total",
            "completed",
            "pending",
            "attention"
          ],
          "additionalProperties": false
        },
        "routes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteLeg"
          }
        }
      },
      "required": [
        "topology",
        "branchCount",
        "phase",
        "status",
        "branches",
        "routes"
      ],
      "additionalProperties": false
    },
    "OrderStatus": {
      "type": "string",
      "enum": [
        "awaiting_deposit",
        "awaiting_hxmr",
        "awaiting_trx1",
        "awaiting_zec1",
        "awaiting_xmr1",
        "processing",
        "completed",
        "failed",
        "expired",
        "refunded",
        "needs_review"
      ]
    },
    "RouteLeg": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "minLength": 1
        },
        "tool": {
          "type": "string",
          "minLength": 1
        },
        "txHash": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "fromChainId": {
          "anyOf": [
            {
              "$ref": "#/$defs/ChainId"
            },
            {
              "type": "null"
            }
          ]
        },
        "toChainId": {
          "anyOf": [
            {
              "$ref": "#/$defs/ChainId"
            },
            {
              "type": "null"
            }
          ]
        },
        "attempt": {
          "anyOf": [
            {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "$ref": "#/$defs/RouteLegStatus"
        },
        "statusMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "trackerUrl": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "provider",
        "tool",
        "txHash",
        "fromChainId",
        "toChainId",
        "attempt",
        "status",
        "statusMessage"
      ],
      "additionalProperties": false
    },
    "RouteLegStatus": {
      "type": "string",
      "enum": [
        "pending",
        "done",
        "refunded",
        "failed",
        "partial",
        "unavailable"
      ]
    },
    "StakeAssetKey": {
      "anyOf": [
        {
          "$ref": "#/$defs/BridgeAssetKey"
        },
        {
          "$ref": "#/$defs/CoinflipPoolAsset"
        }
      ],
      "description": "Asset a coinflip was staked in: a table pool asset or a bridge asset."
    },
    "TokenDecimals": {
      "type": "integer",
      "minimum": 0,
      "maximum": 36
    },
    "TwapExecution": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "enum": [
            true
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "running",
            "completed",
            "failed"
          ]
        },
        "side": {
          "type": "string",
          "enum": [
            "buy",
            "sell"
          ]
        },
        "filledPercent": {
          "type": "number"
        },
        "chunksCompleted": {
          "type": "number"
        },
        "chunksTotal": {
          "type": "number"
        },
        "estimatedTimeRemainingMs": {
          "type": "number"
        },
        "estimatedTimeRemaining": {
          "type": "string"
        },
        "startedAt": {
          "type": "string"
        },
        "expectedCompleteAt": {
          "type": "string"
        },
        "completedAt": {
          "type": "string"
        }
      },
      "required": [
        "enabled",
        "status",
        "filledPercent",
        "chunksCompleted",
        "chunksTotal",
        "startedAt"
      ],
      "additionalProperties": false
    }
  }
}