{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reservoir/json-schema/reservoir-post-order-v4-response-schema.json",
  "title": "postOrderV4Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reservoir-manage-orders-api-openapi.yml#/components/schemas/postOrderV4Response",
  "type": "object",
  "properties": {
    "results": {
      "$ref": "#/$defs/results"
    }
  },
  "$defs": {
    "Model513": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string"
        },
        "orderId": {
          "type": "string"
        },
        "orderIndex": {
          "type": "number"
        },
        "crossPostingOrderId": {
          "type": "string",
          "description": "Only available when posting to external orderbook. Can be used to retrieve the status of a cross-post order."
        },
        "crossPostingOrderStatus": {
          "type": "string",
          "description": "Current cross-post order status. Responses are `pending`, `posted`, or `failed`."
        }
      }
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Model513"
      }
    }
  }
}