{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fixsim-com/json-schema/fixsim-com-order-single-out-schema.json",
  "title": "OrderSingleOut",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fixsim-com-openapi.json#/components/schemas/OrderSingleOut",
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "format": "double"
    },
    "symbol": {
      "type": [
        "string",
        "null"
      ]
    },
    "side": {
      "type": "integer",
      "format": "int32"
    },
    "orderQty": {
      "type": "number",
      "format": "double"
    },
    "qtyRemaining": {
      "type": "number",
      "format": "double"
    },
    "clOrdId": {
      "type": [
        "string",
        "null"
      ]
    },
    "orderStatusCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "fixMessage": {
      "type": [
        "string",
        "null"
      ]
    },
    "instance": {
      "type": [
        "string",
        "null"
      ]
    },
    "session": {
      "type": [
        "string",
        "null"
      ]
    },
    "acknowledgedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "filledDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "tif": {
      "type": [
        "string",
        "null"
      ]
    },
    "expireTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "msgAuditTrailFlag": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "auditTrails": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/MsgAuditTrail"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "MsgAuditTrail": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "parentId": {
          "type": "number",
          "format": "double"
        },
        "createTime": {
          "type": "string",
          "format": "date-time"
        },
        "session": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "messageType": {
          "type": [
            "string",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        },
        "senderCompId": {
          "type": [
            "string",
            "null"
          ]
        },
        "targetCompId": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}