{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-buyside-enterprise-solutions/json-schema/bloomberg-buyside-enterprise-solutions-execution-schema.json",
  "title": "Execution",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-buyside-enterprise-solutions-executions-api-openapi.yml#/components/schemas/Execution",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique execution identifier"
    },
    "orderId": {
      "type": "string",
      "description": "Associated order identifier"
    },
    "security": {
      "type": "string",
      "description": "Bloomberg security identifier"
    },
    "side": {
      "type": "string",
      "enum": [
        "BUY",
        "SELL",
        "SHORT_SELL",
        "BUY_TO_COVER"
      ]
    },
    "quantity": {
      "type": "number",
      "description": "Executed quantity"
    },
    "price": {
      "type": "number",
      "description": "Execution price"
    },
    "commission": {
      "type": "number",
      "description": "Commission amount"
    },
    "fees": {
      "type": "number",
      "description": "Exchange and regulatory fees"
    },
    "netAmount": {
      "type": "number",
      "description": "Net settlement amount"
    },
    "currency": {
      "type": "string",
      "description": "Execution currency (ISO 4217)"
    },
    "broker": {
      "type": "string",
      "description": "Executing broker"
    },
    "venue": {
      "type": "string",
      "description": "Execution venue or exchange"
    },
    "settlementDate": {
      "type": "string",
      "format": "date",
      "description": "Expected settlement date"
    },
    "executedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Execution timestamp"
    }
  }
}