{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-buyside-enterprise-solutions/json-schema/bloomberg-buyside-enterprise-solutions-historical-data-request-schema.json",
  "title": "HistoricalDataRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-buyside-enterprise-solutions-historical-data-api-openapi.yml#/components/schemas/HistoricalDataRequest",
  "type": "object",
  "required": [
    "securities",
    "fields",
    "startDate",
    "endDate"
  ],
  "properties": {
    "securities": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of security identifiers",
      "minItems": 1,
      "maxItems": 50
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of Bloomberg field mnemonics",
      "minItems": 1,
      "maxItems": 25
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "Start date for historical range (YYYY-MM-DD)"
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "End date for historical range (YYYY-MM-DD)"
    },
    "periodicity": {
      "type": "string",
      "enum": [
        "DAILY",
        "WEEKLY",
        "MONTHLY",
        "QUARTERLY",
        "SEMI_ANNUALLY",
        "YEARLY"
      ],
      "default": "DAILY",
      "description": "Frequency of data points"
    },
    "adjustmentNormal": {
      "type": "boolean",
      "default": false,
      "description": "Adjust for normal cash dividends"
    },
    "adjustmentAbnormal": {
      "type": "boolean",
      "default": false,
      "description": "Adjust for abnormal cash dividends"
    },
    "adjustmentSplit": {
      "type": "boolean",
      "default": true,
      "description": "Adjust for stock splits"
    },
    "currency": {
      "type": "string",
      "description": "Override currency for price fields (ISO 4217)"
    }
  }
}