{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-buyside-enterprise-solutions/json-schema/bloomberg-buyside-enterprise-solutions-allocation-response-schema.json",
  "title": "AllocationResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-buyside-enterprise-solutions-allocations-api-openapi.yml#/components/schemas/AllocationResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Allocation identifier"
    },
    "executionId": {
      "type": "string"
    },
    "portfolioId": {
      "type": "string"
    },
    "security": {
      "type": "string"
    },
    "side": {
      "type": "string"
    },
    "quantity": {
      "type": "number"
    },
    "price": {
      "type": "number"
    },
    "commission": {
      "type": "number"
    },
    "netAmount": {
      "type": "number"
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "CONFIRMED",
        "SETTLED",
        "REJECTED"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}