{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fixsim-com/json-schema/fixsim-com-executions-out-schema.json",
  "title": "ExecutionsOut",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fixsim-com-openapi.json#/components/schemas/ExecutionsOut",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "symbol": {
      "type": [
        "string",
        "null"
      ]
    },
    "side": {
      "type": [
        "string",
        "null"
      ]
    },
    "execId": {
      "type": [
        "string",
        "null"
      ]
    },
    "clOrdId": {
      "type": [
        "string",
        "null"
      ]
    },
    "createTime": {
      "type": "string",
      "format": "date-time"
    },
    "lastModified": {
      "type": "string",
      "format": "date-time"
    },
    "fixMessage": {
      "type": [
        "string",
        "null"
      ]
    },
    "instance": {
      "type": [
        "string",
        "null"
      ]
    },
    "session": {
      "type": [
        "string",
        "null"
      ]
    },
    "senderComp": {
      "type": [
        "string",
        "null"
      ]
    },
    "targetComp": {
      "type": [
        "string",
        "null"
      ]
    },
    "orderId": {
      "type": [
        "string",
        "null"
      ]
    },
    "execTransType": {
      "type": [
        "string",
        "null"
      ]
    },
    "execType": {
      "type": [
        "string",
        "null"
      ]
    },
    "orderStatus": {
      "type": [
        "string",
        "null"
      ]
    },
    "securityID": {
      "type": [
        "string",
        "null"
      ]
    },
    "securityIDSource": {
      "type": [
        "string",
        "null"
      ]
    },
    "leaves": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "cumQty": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "lastPrice": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "lastShares": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "avgPx": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "limit": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "orderType": {
      "type": [
        "string",
        "null"
      ]
    },
    "dontKnow": {
      "$ref": "#/$defs/DontKnow"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "DontKnow": {
      "type": "object",
      "properties": {
        "reason": {
          "type": [
            "string",
            "null"
          ],
          "description": "FIX tag 127 (DKReason) — single-char code (A/B/C/D/E/F/Z)."
        },
        "receivedTime": {
          "type": "string",
          "description": "When the DontKnowTrade was received by FIXSIM.",
          "format": "date-time"
        },
        "text": {
          "type": [
            "string",
            "null"
          ],
          "description": "FIX tag 58 (Text) free-form description from the counterparty."
        },
        "fixMessage": {
          "type": [
            "string",
            "null"
          ],
          "description": "Raw FIX bytes of the inbound DontKnowTrade for audit / dispute resolution."
        }
      },
      "additionalProperties": false,
      "description": "DontKnowTrade (FIX msgtype 35=Q) capture for an outbound ExecutionReport\r\nthat the counterparty rejected. Surfaced as a nested object on\r\nFIXSimWeb.Models.API.ExecutionsOut; the parent omits the property entirely when\r\nno DK has been received, so legacy clients see byte-identical responses\r\nfor the no-DK case."
    }
  }
}