> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve metadata for the latest named report.

> Selects the latest available report matching the named report, portfolio, optional PnL lookback, and
live-schedule flag within the current caller's access. This is a lookup, not a report launch. Report,
portfolio, market-data, restriction, caller, organisation, and time-zone context is validated or selected
for the authenticated caller.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json post /api/Report/GetReportMetaDataFromName
openapi: 3.0.4
info:
  title: Derivitec Api 1.0
  version: '1.0'
servers:
  - url: https://api.riskportal.activeviam.com
security:
  - oauth2: []
  - apikey: []
tags:
  - name: AdminUser
  - name: AtotiReport
  - name: AtotiSession
  - name: BloombergOAuth
  - name: Bond
  - name: BondYieldCurvePage
  - name: BookAccess
  - name: Books
  - name: Commodity
  - name: Counterparties
  - name: Currencies
  - name: Equity
  - name: EquityDividend
  - name: EquityPage
  - name: FeatureFlag
  - name: Fx
  - name: FxPage
  - name: GroupAccess
  - name: Home
  - name: LegacyPosition
  - name: MarketData
  - name: MarketDataProvider
  - name: MarketDataProviderAccess
  - name: Meta
  - name: Notification
  - name: Organisation
  - name: PnLReport
  - name: PortfolioAccess
  - name: Portfolios
  - name: Position
  - name: PositionFilter
  - name: PricingEnvironment
  - name: PricingEnvironmentAccess
  - name: RateAsset
  - name: RateAssetPage
  - name: Report
  - name: ReportDefinition
  - name: ReportHistoryLauncherQuery
  - name: ReportLauncher
  - name: ReportQuery
  - name: ReportQueryViewUser
  - name: ReportRestriction
  - name: ReportView
  - name: RiskReport
  - name: Tradable
  - name: TradeBooking
  - name: User
  - name: VarReport
  - name: VarReportQuery
  - name: YieldCurvePage
paths:
  /api/Report/GetReportMetaDataFromName:
    post:
      tags:
        - Report
      summary: Retrieve metadata for the latest named report.
      description: >-
        Selects the latest available report matching the named report,
        portfolio, optional PnL lookback, and

        live-schedule flag within the current caller's access. This is a lookup,
        not a report launch. Report,

        portfolio, market-data, restriction, caller, organisation, and time-zone
        context is validated or selected

        for the authenticated caller.
      operationId: GetReportMetaDataFromName
      requestBody:
        description: >-
          The body containing required `ReportName` and `PortfolioName`;
          optional `PortfolioType`, `ReportingCurrency`, accessible
          `MarketDataEnvironmentNames`, `PnlLookback` (`Daily`, `MonthToDate`,
          `QuarterToDate`, `YearToDate`, or `Annual`), and
          `LiveScheduledReport`, which defaults to `false`.
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ApiReportMetaDataFromNameRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/ApiReportMetaDataFromNameRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ApiReportMetaDataFromNameRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ApiReportMetaDataFromNameRequest'
      responses:
        '200':
          description: >-
            Returns metadata for the selected report and the
            Bloomberg-authorisation-failure indicator, with lookup failures in
            the response envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiReportMetaDataResponse'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    ApiReportMetaDataFromNameRequest:
      required:
        - $type
      type: object
      properties:
        report_name:
          type: string
          description: >-
            Organisation-scoped name of the report definition to use. The value
            must not be null or empty.
          nullable: true
          example: Daily risk overview
        reporting_currency:
          type: string
          description: >-
            Currency in which report values are expressed. When null, the
            service uses the caller's configured reporting currency or USD.
          nullable: true
          example: USD
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments to use for the report. The list is
            empty by default.
          nullable: true
        portfolio_name:
          type: string
          description: >-
            Name of the portfolio to select. The value must not be null or
            empty.
          nullable: true
          example: Example portfolio
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category used to resolve the requested portfolio. It may
            be omitted when the portfolio name resolves unambiguously.
          nullable: true
        pnl_lookback:
          enum:
            - daily
            - month_to_date
            - quarter_to_date
            - year_to_date
            - annual
          type: string
          description: Optional predefined P&L lookback selection.
          nullable: true
        live_scheduled_report:
          type: boolean
          description: >-
            Whether the latest-row request addresses the exposed live
            scheduled-report mode.
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Reports.ApiReportMetaDataFromNameRequest,
              Derivitec.Web.Core
      additionalProperties: false
      description: Additional selectors for resolving report metadata from a report name.
    ApiReportMetaDataResponse:
      required:
        - $type
      type: object
      properties:
        is_success:
          type: boolean
          description: >-
            Whether the operation completed successfully. The default is `true`;
            error outcomes set it to `false`.
          example: true
        error_messages:
          type: array
          items:
            type: string
          description: >-
            Messages explaining operation-level failures. The collection is
            empty by default.
          nullable: true
        report_meta_data:
          $ref: '#/components/schemas/ReportMetaData'
        bloomberg_authorisation_failure:
          type: boolean
          description: >-
            Whether report metadata records a Bloomberg market-data
            authorisation failure.
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Reports.ApiReportMetaDataResponse,
              Derivitec.Web.Core
      additionalProperties: false
      description: Metadata and market-data authorisation state returned for a report run.
    ReportMetaData:
      description: Metadata describing a report run and its recorded state.
      discriminator:
        propertyName: $type
        mapping:
          Derivitec.Web.Core.ReportMetaData.ReportMetaData, Derivitec.Web.Core: '#/components/schemas/ReportMetaDataMintlifyShape'
          Derivitec.Web.Core.ReportMetaData.PnlReportMetaData, Derivitec.Web.Core: '#/components/schemas/PnlReportMetaData'
          Derivitec.Web.Core.ReportMetaData.RiskReportMetaData, Derivitec.Web.Core: '#/components/schemas/RiskReportMetaData'
          Derivitec.Web.Core.ReportMetaData.VarHistoricalPnlReportMetaData, Derivitec.Web.Core: '#/components/schemas/VarHistoricalPnlReportMetaData'
      oneOf:
        - $ref: '#/components/schemas/ReportMetaDataMintlifyShape'
        - $ref: '#/components/schemas/PnlReportMetaData'
        - $ref: '#/components/schemas/RiskReportMetaData'
        - $ref: '#/components/schemas/VarHistoricalPnlReportMetaData'
    ReportMetaDataMintlifyShape:
      required:
        - $type
      type: object
      properties:
        created_by_user_id:
          type: string
          description: Opaque identifier of the user recorded as creating the report run.
          nullable: true
        id:
          type: string
          description: Opaque identifier of the report run.
          nullable: true
        portfolio_id:
          type: integer
          description: Opaque identifier of the portfolio associated with the report run.
          format: int32
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category recorded for the report run or saved launcher
            item.
        portfolio_name:
          type: string
          description: >-
            Portfolio name associated with the report run or saved launcher
            item.
          nullable: true
        report_definition_id:
          type: string
          description: Opaque identifier for the report definition.
          nullable: true
        report_description:
          type: string
          description: Description associated with the report definition.
          nullable: true
        reporting_currency:
          type: string
          description: >-
            Currency used to express monetary report values; the code format is
            not constrained here.
          nullable: true
        report_name:
          type: string
          description: >-
            Name of the report definition associated with the run, schedule,
            restriction, or launcher item.
          nullable: true
        report_view:
          $ref: '#/components/schemas/GridReportView'
        status:
          enum:
            - started
            - pending
            - succeeded
            - failed
            - warning
            - not_set
          type: string
          description: Lifecycle state recorded for the report run or scheduled item.
        status_message:
          type: string
          description: >-
            Human-readable diagnostic associated with the recorded report or
            schedule state.
          nullable: true
        time_completed:
          type: string
          description: >-
            Timestamp recorded when report processing completed; no time-zone
            convention is established here.
          format: date-time
        time_launched:
          type: string
          description: >-
            Timestamp recorded when the report run was launched; no time-zone
            convention is established here.
          format: date-time
        time_positions_loaded:
          type: string
          description: Timestamp recorded when position data were loaded for the report.
          format: date-time
        re_ingestion_time_stamp:
          type: string
          description: >-
            Optional timestamp recorded when an existing report was made
            available again; no time-zone convention is established here.
          format: date-time
          nullable: true
        time_live_data_requested:
          type: string
          description: Timestamp recorded for the report's live-market-data request.
          format: date-time
        time_risk_completed:
          type: string
          description: Timestamp recorded when report risk results completed.
          format: date-time
        time_saved:
          type: string
          description: >-
            Timestamp recorded when the report result was saved; no time-zone
            convention is established here.
          format: date-time
        time_started:
          type: string
          description: >-
            Timestamp recorded when report processing started; no time-zone
            convention is established here.
          format: date-time
        eids:
          type: array
          items:
            type: string
          description: Access-context identifiers recorded with report metadata.
          nullable: true
        organisation_id:
          type: string
          description: Opaque identifier of the organisation recorded with the report.
          nullable: true
        is_real_time_market_data:
          type: boolean
          description: Whether the recorded report used real-time market data.
        is_loaded_into_druid:
          type: boolean
          description: Whether the report has reached the recorded data-availability stage.
        time_druid_loaded:
          type: string
          description: Timestamp recorded for a report data-availability stage.
          format: date-time
        error_summary:
          $ref: '#/components/schemas/MarketDataErrorSummary'
        position_import_errors:
          type: array
          items:
            $ref: '#/components/schemas/PositionImportError'
          description: Position-import errors recorded with the report.
          nullable: true
        market_data_provider_ids:
          type: array
          items:
            type: string
          description: >-
            Opaque identifiers of market-data providers associated with the
            report run.
          nullable: true
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments associated with the report run or
            saved launcher item.
          nullable: true
        primary_market_data_environment_name:
          type: string
          description: >-
            Primary market-data environment name recorded for presenting this
            report.
          nullable: true
        user_id:
          type: string
          description: Opaque identifier of the user recorded with the report run.
          nullable: true
        report_run_type:
          enum:
            - on_demand
            - scheduled
            - live
          type: string
          description: 'How the report run was initiated: on demand, scheduled, or live.'
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportMetaData.ReportMetaData,
              Derivitec.Web.Core
      additionalProperties: false
      description: Metadata describing a report run and its recorded state.
    PnlReportMetaData:
      required:
        - $type
      type: object
      properties:
        created_by_user_id:
          type: string
          description: Opaque identifier of the user recorded as creating the report run.
          nullable: true
        id:
          type: string
          description: Opaque identifier of the report run.
          nullable: true
        portfolio_id:
          type: integer
          description: Opaque identifier of the portfolio associated with the report run.
          format: int32
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category recorded for the report run or saved launcher
            item.
        portfolio_name:
          type: string
          description: >-
            Portfolio name associated with the report run or saved launcher
            item.
          nullable: true
        report_definition_id:
          type: string
          description: Opaque identifier for the report definition.
          nullable: true
        report_description:
          type: string
          description: Description associated with the report definition.
          nullable: true
        reporting_currency:
          type: string
          description: >-
            Currency used to express monetary report values; the code format is
            not constrained here.
          nullable: true
        report_name:
          type: string
          description: >-
            Name of the report definition associated with the run, schedule,
            restriction, or launcher item.
          nullable: true
        report_view:
          $ref: '#/components/schemas/GridReportView'
        status:
          enum:
            - started
            - pending
            - succeeded
            - failed
            - warning
            - not_set
          type: string
          description: Lifecycle state recorded for the report run or scheduled item.
        status_message:
          type: string
          description: >-
            Human-readable diagnostic associated with the recorded report or
            schedule state.
          nullable: true
        time_completed:
          type: string
          description: >-
            Timestamp recorded when report processing completed; no time-zone
            convention is established here.
          format: date-time
        time_launched:
          type: string
          description: >-
            Timestamp recorded when the report run was launched; no time-zone
            convention is established here.
          format: date-time
        time_positions_loaded:
          type: string
          description: Timestamp recorded when position data were loaded for the report.
          format: date-time
        re_ingestion_time_stamp:
          type: string
          description: >-
            Optional timestamp recorded when an existing report was made
            available again; no time-zone convention is established here.
          format: date-time
          nullable: true
        time_live_data_requested:
          type: string
          description: Timestamp recorded for the report's live-market-data request.
          format: date-time
        time_risk_completed:
          type: string
          description: Timestamp recorded when report risk results completed.
          format: date-time
        time_saved:
          type: string
          description: >-
            Timestamp recorded when the report result was saved; no time-zone
            convention is established here.
          format: date-time
        time_started:
          type: string
          description: >-
            Timestamp recorded when report processing started; no time-zone
            convention is established here.
          format: date-time
        eids:
          type: array
          items:
            type: string
          description: Access-context identifiers recorded with report metadata.
          nullable: true
        organisation_id:
          type: string
          description: Opaque identifier of the organisation recorded with the report.
          nullable: true
        is_real_time_market_data:
          type: boolean
          description: Whether the recorded report used real-time market data.
        is_loaded_into_druid:
          type: boolean
          description: Whether the report has reached the recorded data-availability stage.
        time_druid_loaded:
          type: string
          description: Timestamp recorded for a report data-availability stage.
          format: date-time
        error_summary:
          $ref: '#/components/schemas/MarketDataErrorSummary'
        position_import_errors:
          type: array
          items:
            $ref: '#/components/schemas/PositionImportError'
          description: Position-import errors recorded with the report.
          nullable: true
        market_data_provider_ids:
          type: array
          items:
            type: string
          description: >-
            Opaque identifiers of market-data providers associated with the
            report run.
          nullable: true
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments associated with the report run or
            saved launcher item.
          nullable: true
        primary_market_data_environment_name:
          type: string
          description: >-
            Primary market-data environment name recorded for presenting this
            report.
          nullable: true
        user_id:
          type: string
          description: Opaque identifier of the user recorded with the report run.
          nullable: true
        report_run_type:
          enum:
            - on_demand
            - scheduled
            - live
          type: string
          description: 'How the report run was initiated: on demand, scheduled, or live.'
        final_date_time:
          type: string
          description: Gets or sets the final date time.
          format: date-time
        initial_date_time:
          type: string
          description: Gets or sets the initial date time.
          format: date-time
        lookback_period:
          enum:
            - daily
            - month_to_date
            - quarter_to_date
            - year_to_date
            - annual
          type: string
          description: Lookback Period
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportMetaData.PnlReportMetaData,
              Derivitec.Web.Core
      additionalProperties: false
    RiskReportMetaData:
      required:
        - $type
      type: object
      properties:
        created_by_user_id:
          type: string
          description: Opaque identifier of the user recorded as creating the report run.
          nullable: true
        id:
          type: string
          description: Opaque identifier of the report run.
          nullable: true
        portfolio_id:
          type: integer
          description: Opaque identifier of the portfolio associated with the report run.
          format: int32
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category recorded for the report run or saved launcher
            item.
        portfolio_name:
          type: string
          description: >-
            Portfolio name associated with the report run or saved launcher
            item.
          nullable: true
        report_definition_id:
          type: string
          description: Opaque identifier for the report definition.
          nullable: true
        report_description:
          type: string
          description: Description associated with the report definition.
          nullable: true
        reporting_currency:
          type: string
          description: >-
            Currency used to express monetary report values; the code format is
            not constrained here.
          nullable: true
        report_name:
          type: string
          description: >-
            Name of the report definition associated with the run, schedule,
            restriction, or launcher item.
          nullable: true
        report_view:
          $ref: '#/components/schemas/GridReportView'
        status:
          enum:
            - started
            - pending
            - succeeded
            - failed
            - warning
            - not_set
          type: string
          description: Lifecycle state recorded for the report run or scheduled item.
        status_message:
          type: string
          description: >-
            Human-readable diagnostic associated with the recorded report or
            schedule state.
          nullable: true
        time_completed:
          type: string
          description: >-
            Timestamp recorded when report processing completed; no time-zone
            convention is established here.
          format: date-time
        time_launched:
          type: string
          description: >-
            Timestamp recorded when the report run was launched; no time-zone
            convention is established here.
          format: date-time
        time_positions_loaded:
          type: string
          description: Timestamp recorded when position data were loaded for the report.
          format: date-time
        re_ingestion_time_stamp:
          type: string
          description: >-
            Optional timestamp recorded when an existing report was made
            available again; no time-zone convention is established here.
          format: date-time
          nullable: true
        time_live_data_requested:
          type: string
          description: Timestamp recorded for the report's live-market-data request.
          format: date-time
        time_risk_completed:
          type: string
          description: Timestamp recorded when report risk results completed.
          format: date-time
        time_saved:
          type: string
          description: >-
            Timestamp recorded when the report result was saved; no time-zone
            convention is established here.
          format: date-time
        time_started:
          type: string
          description: >-
            Timestamp recorded when report processing started; no time-zone
            convention is established here.
          format: date-time
        eids:
          type: array
          items:
            type: string
          description: Access-context identifiers recorded with report metadata.
          nullable: true
        organisation_id:
          type: string
          description: Opaque identifier of the organisation recorded with the report.
          nullable: true
        is_real_time_market_data:
          type: boolean
          description: Whether the recorded report used real-time market data.
        is_loaded_into_druid:
          type: boolean
          description: Whether the report has reached the recorded data-availability stage.
        time_druid_loaded:
          type: string
          description: Timestamp recorded for a report data-availability stage.
          format: date-time
        error_summary:
          $ref: '#/components/schemas/MarketDataErrorSummary'
        position_import_errors:
          type: array
          items:
            $ref: '#/components/schemas/PositionImportError'
          description: Position-import errors recorded with the report.
          nullable: true
        market_data_provider_ids:
          type: array
          items:
            type: string
          description: >-
            Opaque identifiers of market-data providers associated with the
            report run.
          nullable: true
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments associated with the report run or
            saved launcher item.
          nullable: true
        primary_market_data_environment_name:
          type: string
          description: >-
            Primary market-data environment name recorded for presenting this
            report.
          nullable: true
        user_id:
          type: string
          description: Opaque identifier of the user recorded with the report run.
          nullable: true
        report_run_type:
          enum:
            - on_demand
            - scheduled
            - live
          type: string
          description: 'How the report run was initiated: on demand, scheduled, or live.'
        mkt_data_date:
          type: string
          description: The market data as-of date.
          format: date-time
        portfolio_date_time:
          type: string
          description: All trades up to this datetime are included in the run.
          format: date-time
        pricing_date:
          type: string
          description: The pricing date.
          format: date-time
        report_cutoff_id:
          type: string
          description: Gets or sets the cutoff id.
          nullable: true
        decomposed_equity_indices:
          type: array
          items:
            $ref: '#/components/schemas/DecomposedEquityIndexDetail'
          description: The List of Equity Indices that have been decomposed
          nullable: true
        report_position_filter:
          $ref: '#/components/schemas/ReportPositionFilter'
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportMetaData.RiskReportMetaData,
              Derivitec.Web.Core
      additionalProperties: false
    VarHistoricalPnlReportMetaData:
      required:
        - $type
      type: object
      properties:
        created_by_user_id:
          type: string
          description: Opaque identifier of the user recorded as creating the report run.
          nullable: true
        id:
          type: string
          description: Opaque identifier of the report run.
          nullable: true
        portfolio_id:
          type: integer
          description: Opaque identifier of the portfolio associated with the report run.
          format: int32
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: >-
            Portfolio category recorded for the report run or saved launcher
            item.
        portfolio_name:
          type: string
          description: >-
            Portfolio name associated with the report run or saved launcher
            item.
          nullable: true
        report_definition_id:
          type: string
          description: Opaque identifier for the report definition.
          nullable: true
        report_description:
          type: string
          description: Description associated with the report definition.
          nullable: true
        reporting_currency:
          type: string
          description: >-
            Currency used to express monetary report values; the code format is
            not constrained here.
          nullable: true
        report_name:
          type: string
          description: >-
            Name of the report definition associated with the run, schedule,
            restriction, or launcher item.
          nullable: true
        report_view:
          $ref: '#/components/schemas/GridReportView'
        status:
          enum:
            - started
            - pending
            - succeeded
            - failed
            - warning
            - not_set
          type: string
          description: Lifecycle state recorded for the report run or scheduled item.
        status_message:
          type: string
          description: >-
            Human-readable diagnostic associated with the recorded report or
            schedule state.
          nullable: true
        time_completed:
          type: string
          description: >-
            Timestamp recorded when report processing completed; no time-zone
            convention is established here.
          format: date-time
        time_launched:
          type: string
          description: >-
            Timestamp recorded when the report run was launched; no time-zone
            convention is established here.
          format: date-time
        time_positions_loaded:
          type: string
          description: Timestamp recorded when position data were loaded for the report.
          format: date-time
        re_ingestion_time_stamp:
          type: string
          description: >-
            Optional timestamp recorded when an existing report was made
            available again; no time-zone convention is established here.
          format: date-time
          nullable: true
        time_live_data_requested:
          type: string
          description: Timestamp recorded for the report's live-market-data request.
          format: date-time
        time_risk_completed:
          type: string
          description: Timestamp recorded when report risk results completed.
          format: date-time
        time_saved:
          type: string
          description: >-
            Timestamp recorded when the report result was saved; no time-zone
            convention is established here.
          format: date-time
        time_started:
          type: string
          description: >-
            Timestamp recorded when report processing started; no time-zone
            convention is established here.
          format: date-time
        eids:
          type: array
          items:
            type: string
          description: Access-context identifiers recorded with report metadata.
          nullable: true
        organisation_id:
          type: string
          description: Opaque identifier of the organisation recorded with the report.
          nullable: true
        is_real_time_market_data:
          type: boolean
          description: Whether the recorded report used real-time market data.
        is_loaded_into_druid:
          type: boolean
          description: Whether the report has reached the recorded data-availability stage.
        time_druid_loaded:
          type: string
          description: Timestamp recorded for a report data-availability stage.
          format: date-time
        error_summary:
          $ref: '#/components/schemas/MarketDataErrorSummary'
        position_import_errors:
          type: array
          items:
            $ref: '#/components/schemas/PositionImportError'
          description: Position-import errors recorded with the report.
          nullable: true
        market_data_provider_ids:
          type: array
          items:
            type: string
          description: >-
            Opaque identifiers of market-data providers associated with the
            report run.
          nullable: true
        market_data_environment_names:
          type: array
          items:
            type: string
          description: >-
            Names of market-data environments associated with the report run or
            saved launcher item.
          nullable: true
        primary_market_data_environment_name:
          type: string
          description: >-
            Primary market-data environment name recorded for presenting this
            report.
          nullable: true
        user_id:
          type: string
          description: Opaque identifier of the user recorded with the report run.
          nullable: true
        report_run_type:
          enum:
            - on_demand
            - scheduled
            - live
          type: string
          description: 'How the report run was initiated: on demand, scheduled, or live.'
        observation_date:
          type: string
          description: Gets or sets the Observation Date
          format: date-time
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportMetaData.VarHistoricalPnlReportMetaData,
              Derivitec.Web.Core
      additionalProperties: false
    GridReportView:
      required:
        - $type
      type: object
      properties:
        columns:
          type: array
          items:
            $ref: '#/components/schemas/Column'
          description: >-
            Columns selected for formatted report data or defined in a report
            view.
          nullable: true
        pivots:
          type: array
          items:
            $ref: '#/components/schemas/Pivot'
          description: Pivot definitions included in the default report view.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportMetaData.GridReportView,
              Derivitec.Web.Core
      additionalProperties: false
      description: Metadata describing columns and pivots in a report view.
    MarketDataErrorSummary:
      required:
        - $type
      type: object
      properties:
        bond_vol_surface_errors:
          type: array
          items:
            $ref: '#/components/schemas/BondVolSurfaceError'
          description: >-
            Failures collected while resolving bond volatility-surface market
            data.
          nullable: true
        bond_yield_curve_errors:
          type: array
          items:
            $ref: '#/components/schemas/BondYieldCurveError'
          description: Failures collected while resolving bond yield-curve market data.
          nullable: true
        bond_yield_curve_spread_errors:
          type: array
          items:
            $ref: '#/components/schemas/BondYieldCurveSpreadError'
          description: >-
            Failures collected while resolving bond yield-curve spread market
            data.
          nullable: true
        credit_event_errors:
          type: array
          items:
            $ref: '#/components/schemas/CreditEventError'
          description: Failures collected while resolving credit-event market data.
          nullable: true
        calendar_errors:
          type: array
          items:
            type: string
          description: Failures collected while resolving calendar market data.
          nullable: true
        cmdty_vol_surface_errors:
          type: array
          items:
            $ref: '#/components/schemas/CmdtyVolSurfaceError'
          description: >-
            Failures collected while resolving commodity volatility-surface
            market data.
          nullable: true
        commodity_errors:
          type: array
          items:
            $ref: '#/components/schemas/CommodityError'
          description: Failures collected while resolving commodity market data.
          nullable: true
        credit_index_correlation_errors:
          type: array
          items:
            $ref: '#/components/schemas/CreditIndexCorrelationError'
          description: >-
            Failures collected while resolving credit-index correlation market
            data.
          nullable: true
        credit_swaption_vol_cube_errors:
          type: array
          items:
            $ref: '#/components/schemas/CreditSwaptionVolCubeError'
          description: >-
            Failures collected while resolving credit swaption volatility-cube
            market data.
          nullable: true
        discount_curve_errors:
          type: array
          items:
            $ref: '#/components/schemas/DiscountCurveError'
          description: Failures collected while resolving discount-curve market data.
          nullable: true
        equity_asset_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityAssetError'
          description: Failures collected while resolving equity-asset market data.
          nullable: true
        equity_equity_correlation_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityEquityCorrelationError'
          description: >-
            Failures collected while resolving equity-to-equity correlation
            market data.
          nullable: true
        equity_fx_correlation_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityFxCorrelationError'
          description: >-
            Failures collected while resolving equity-to-FX correlation market
            data.
          nullable: true
        eq_ir_correlation_errors:
          type: array
          items:
            $ref: '#/components/schemas/EqIRCorrelationError'
          description: >-
            Failures collected while resolving equity-to-interest-rate
            correlation market data.
          nullable: true
        fx_fx_correlation_errors:
          type: array
          items:
            $ref: '#/components/schemas/FxFxCorrelationError'
          description: Failures collected while resolving FX-to-FX correlation market data.
          nullable: true
        equity_vol_index_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityVolIndexError'
          description: >-
            Failures collected while resolving equity volatility-index market
            data.
          nullable: true
        equity_vol_index_vol_surface_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityVolIndexVolSurfaceError'
          description: >-
            Failures collected while resolving equity volatility-index surface
            market data.
          nullable: true
        equity_vol_surface_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityVolSurfaceError'
          description: >-
            Failures collected while resolving equity volatility-surface market
            data.
          nullable: true
        equity_vol_of_var_curve_errors:
          type: array
          items:
            $ref: '#/components/schemas/EquityVolOfVarCurveError'
          description: >-
            Failures collected while resolving equity volatility-of-variance
            curve market data.
          nullable: true
        dividend_index_errors:
          type: array
          items:
            $ref: '#/components/schemas/DividendIndexError'
          description: Failures collected while resolving dividend-index market data.
          nullable: true
        dividend_index_vol_surface_errors:
          type: array
          items:
            $ref: '#/components/schemas/DividendIndexVolSurfaceError'
          description: >-
            Failures collected while resolving dividend-index volatility-surface
            market data.
          nullable: true
        fx_vol_of_var_curve_errors:
          type: array
          items:
            $ref: '#/components/schemas/FxVolOfVarCurveError'
          description: >-
            Failures collected while resolving FX volatility-of-variance curve
            market data.
          nullable: true
        fx_cross_errors:
          type: array
          items:
            $ref: '#/components/schemas/FxCrossError'
          description: Failures collected while resolving FX-cross market data.
          nullable: true
        fx_vol_surface_errors:
          type: array
          items:
            $ref: '#/components/schemas/FxVolSurfaceError'
          description: >-
            Failures collected while resolving FX volatility-surface market
            data.
          nullable: true
        andersen_buffum_parameters_errors:
          type: array
          items:
            $ref: '#/components/schemas/AndersenBuffumParametersError'
          description: >-
            Failures collected while resolving Andersen-Buffum parameter market
            data.
          nullable: true
        ir_futures_vol_cube_errors:
          type: array
          items:
            $ref: '#/components/schemas/IrFuturesVolCubeError'
          description: >-
            Failures collected while resolving interest-rate futures
            volatility-cube market data.
          nullable: true
        rate_asset_errors:
          type: array
          items:
            $ref: '#/components/schemas/RateAssetError'
          description: Failures collected while resolving rate-asset market data.
          nullable: true
        recovery_rate_errors:
          type: array
          items:
            $ref: '#/components/schemas/RecoveryRateError'
          description: Failures collected while resolving recovery-rate market data.
          nullable: true
        probability_of_default_errors:
          type: array
          items:
            $ref: '#/components/schemas/ProbabilityOfDefaultError'
          description: >-
            Failures collected while resolving probability-of-default market
            data.
          nullable: true
        amortisation_rate_errors:
          type: array
          items:
            $ref: '#/components/schemas/AmortisationRateError'
          description: Failures collected while resolving amortisation-rate market data.
          nullable: true
        survival_curve_errors:
          type: array
          items:
            $ref: '#/components/schemas/SurvivalCurveError'
          description: Failures collected while resolving survival-curve market data.
          nullable: true
        swaption_vol_cube_errors:
          type: array
          items:
            $ref: '#/components/schemas/SwaptionVolCubeError'
          description: >-
            Failures collected while resolving swaption volatility-cube market
            data.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.MarketDataErrorSummary,
              Derivitec.Web.Core
      additionalProperties: false
      description: Market-data failures grouped by the affected data category.
    PositionImportError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: User-facing explanation of the import problem.
          nullable: true
        error_level:
          enum:
            - error
            - warning
          type: string
          description: Severity assigned to the import problem.
        row_data:
          type: object
          additionalProperties:
            type: string
          description: >-
            Non-empty submitted row values converted to strings and keyed by
            column name when the problem belongs to a row; absent for
            table-level problems.
        error_columns:
          type: array
          items:
            type: string
          description: Column names whose values are invalid in the returned row data.
          nullable: true
        error_group_name:
          type: string
          description: >-
            User-facing category used to group related import problems; defaults
            to an empty string.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Positions.PositionImportError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Import problem with severity, optional affected-row context, invalid
        columns, and a display grouping.
    DecomposedEquityIndexDetail:
      required:
        - $type
      type: object
      properties:
        id:
          type: string
          description: Primary asset code returned by the equity search.
          nullable: true
        market_identification_code:
          type: string
          description: Market Identification Code returned for the asset.
          nullable: true
        name:
          type: string
          description: Display name returned for the asset.
          nullable: true
        ric:
          type: string
          description: Reuters Instrument Code returned for the asset.
          nullable: true
        bbg_code:
          type: string
          description: Bloomberg code returned for the asset.
          nullable: true
        currency:
          type: string
          description: Trading currency code returned for the asset.
          nullable: true
        spot_calculated:
          type: boolean
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.DecomposedEquityIndexDetail,
              Derivitec.Web.Core
      additionalProperties: false
      description: The decomposed equity index detail.
    ReportPositionFilter:
      required:
        - $type
      type: object
      properties:
        post_filter_name:
          type: string
          nullable: true
        pre_filter:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        post_filter:
          $ref: '#/components/schemas/FilterBase'
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.ReportMetaData.ReportPositionFilter,
              Derivitec.Web.Core
      additionalProperties: false
    Column:
      required:
        - $type
      type: object
      properties:
        aggregation_func:
          enum:
            - sum
            - unique
            - min
            - max
            - sum_if_unique
            - min_of
            - max_of
            - first_non_trivial
            - implied
            - sum_if_unique_net_negative_by_group
            - sum_unique
            - sum_net_positive_by_group
            - unique_sum_unique
            - unique_sum_net_positive_by_group
            - sum_absolute_by_group
            - unique_first_non_trivial
            - weighted_sum
            - weighted_sum_if_unique
            - weighted_average
            - weighted_average_if_unique
            - sum_unique_v2
          type: string
          description: Aggregation identifier associated with the report column.
        aggregation_func_args:
          type: array
          items:
            type: string
          description: Arguments associated with the selected aggregation identifier.
          nullable: true
        data_type:
          type: string
          description: Value type advertised for the report column.
          nullable: true
        display_name:
          type: string
          description: User-facing label for the report column or definition choice.
          nullable: true
        expression:
          type: string
          description: >-
            Expression associated with the report column; its grammar is not
            defined by this contract.
          nullable: true
        format:
          type: string
          description: >-
            Display-format string associated with the report column; its grammar
            is not defined here.
          nullable: true
        multiplier:
          type: number
          description: >-
            Multiplier associated with the report column; no unit or calculation
            semantics are established here.
          format: double
          nullable: true
        excel_format_stored:
          type: string
          description: >-
            Stored Excel display format used when exporting this report column;
            no format grammar is defined here.
          nullable: true
        internal_name:
          type: string
          description: Identifier used for this report column.
          nullable: true
        is_filterable:
          type: boolean
          description: Whether this report column may be filtered.
        is_pivotable:
          type: boolean
          description: Whether this report column may be pivoted.
        is_sortable:
          type: boolean
          description: Whether this report column may be sorted.
        is_visible:
          type: boolean
          description: Whether this report column is visible by default.
        tool_tip:
          type: string
          description: Optional tooltip text displayed for the report column.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.ReportMetaData.Column, Derivitec.Web.Core
      additionalProperties: false
      description: Metadata for a report result column.
    Pivot:
      required:
        - $type
      type: object
      properties:
        default_value:
          type: string
          description: Default pivot value supplied by report metadata.
          nullable: true
        pivot_value_column:
          type: string
          description: Report column whose values are aggregated by the pivot.
          nullable: true
        pivot_key_column:
          type: string
          description: Report column used as the pivot key.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.ReportMetaData.Pivot, Derivitec.Web.Core
      additionalProperties: false
      description: Metadata for a report-view pivot.
    BondVolSurfaceError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        futures_market_id:
          type: string
          description: Futures market whose bond volatility surface failed.
          nullable: true
        bond_short_name:
          type: string
          description: Short name of the bond whose volatility surface failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.BondVolSurfaceError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies a bond volatility surface that could not be returned or
        processed.
    BondYieldCurveError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        currency:
          type: string
          description: Currency dimension of the curve that failed.
          nullable: true
        issuer_id:
          type: string
          description: Issuer selector.
          nullable: true
        debt_type:
          type: string
          description: >-
            Debt seniority or debt-type classification used to distinguish
            issuer curves.
          nullable: true
        issuer_name:
          type: string
          description: Issuer name included to locate the failed curve.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.BondYieldCurveError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an issuer, currency, and debt-type curve that could not be
        returned or processed.
    BondYieldCurveSpreadError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        bond_id:
          type: string
          description: Bond selector.
          nullable: true
        isin:
          type: string
          description: ISIN included to locate the bond whose spread failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.BondYieldCurveSpreadError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies a bond for which a curve spread could not be produced.
    CreditEventError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        bond_id:
          type: string
          description: Bond selector.
          nullable: true
        default_date:
          type: string
          description: Default date for this observation.
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.MarketData.CreditEventError, Derivitec.Web.Core
      additionalProperties: false
      description: Identifies a bond and default date for credit-event processing failure.
    CmdtyVolSurfaceError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        commodity_id:
          type: string
          description: Commodity whose volatility-surface processing failed.
          nullable: true
        commodity_name:
          type: string
          description: Name of the commodity whose volatility surface failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.CmdtyVolSurfaceError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies a commodity volatility surface that could not be returned or
        processed.
    CommodityError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        commodity_id:
          type: string
          description: Commodity whose data processing failed.
          nullable: true
        commodity_name:
          type: string
          description: Name of the commodity whose data processing failed.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.MarketData.CommodityError, Derivitec.Web.Core
      additionalProperties: false
      description: Identifies commodity data that could not be returned or processed.
    CreditIndexCorrelationError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        index_id:
          type: string
          description: Credit index whose correlation processing failed.
          nullable: true
        index_name:
          type: string
          description: Name of the credit index whose correlation processing failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.CreditIndexCorrelationError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies a credit index whose correlation data could not be processed.
    CreditSwaptionVolCubeError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        credit_id:
          type: string
          description: Credit index whose volatility-cube processing failed.
          nullable: true
        name:
          type: string
          description: Display name.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.CreditSwaptionVolCubeError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies a credit-swaption volatility cube that could not be returned
        or processed.
    DiscountCurveError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        currency:
          type: string
          description: Currency of the curve that could not be returned or processed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.DiscountCurveError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies a currency curve that could not be returned or processed.
    EquityAssetError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        asset_id:
          type: string
          description: Asset identifier of the affected equity.
          nullable: true
        asset_ric:
          type: string
          description: RIC recorded for the affected equity asset.
          nullable: true
        asset_x_ignite_code:
          type: string
          description: Xignite code recorded for the affected equity asset.
          nullable: true
        asset_edi_code:
          type: string
          description: EDI code recorded for the affected equity asset.
          nullable: true
        notes:
          type: string
          description: Diagnostic notes returned for the equity-asset failure.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.MarketData.EquityAssetError, Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an equity asset whose market data failed and carries
        diagnostic notes.
    EquityEquityCorrelationError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        asset1_id:
          type: string
          description: Asset identifier of the first equity in the failed pair.
          nullable: true
        asset1_name:
          type: string
          description: Display name of the first equity in the failed pair.
          nullable: true
        asset2_id:
          type: string
          description: Asset identifier of the second equity in the failed pair.
          nullable: true
        asset2_name:
          type: string
          description: Display name of the second equity in the failed pair.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EquityEquityCorrelationError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an equity pair for which correlation data failed.
    EquityFxCorrelationError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        eq_asset_id:
          type: string
          description: Asset identifier of the equity in the failed pair.
          nullable: true
        eq_asset_name:
          type: string
          description: Display name of the equity in the failed pair.
          nullable: true
        fx_cross_id:
          type: string
          description: FX-cross identifier in the failed pair.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EquityFxCorrelationError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an equity and FX cross for which correlation data failed.
    EqIRCorrelationError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        equity_id:
          type: string
          description: Equity identifier involved in the failed correlation lookup.
          nullable: true
        equity_name:
          type: string
          description: Display name of the equity involved in the failure.
          nullable: true
        fixing_instrument_id:
          type: string
          description: Interest-rate fixing-instrument code involved in the failure.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EqIRCorrelationError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an equity and fixing instrument for which
        equity-to-interest-rate correlation data failed.
    FxFxCorrelationError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        fx_cross1_id:
          type: string
          description: Identifier of the first FX cross in the failed pair.
          nullable: true
        fx_cross1_name:
          type: string
          description: Display name of the first FX cross in the failed pair.
          nullable: true
        fx_cross2_id:
          type: string
          description: Identifier of the second FX cross in the failed pair.
          nullable: true
        fx_cross2_name:
          type: string
          description: Display name of the second FX cross in the failed pair.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.FxFxCorrelationError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an FX-pair combination for which correlation data failed.
    EquityVolIndexError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        eq_vol_index_id:
          type: string
          description: Identifier of the affected equity volatility index.
          nullable: true
        eq_vol_index_name:
          type: string
          description: Display name of the affected equity volatility index.
          nullable: true
        eq_vol_index_ric:
          type: string
          description: RIC recorded for the affected equity volatility index.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EquityVolIndexError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an equity volatility index whose market data failed.
    EquityVolIndexVolSurfaceError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        eq_vol_index_id:
          type: string
          description: Identifier of the affected equity volatility index.
          nullable: true
        eq_vol_index_ric:
          type: string
          description: RIC recorded for the affected equity volatility index.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EquityVolIndexVolSurfaceError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an equity volatility-index surface whose market data failed.
    EquityVolSurfaceError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        asset_id:
          type: string
          description: Asset identifier of the affected equity.
          nullable: true
        asset_ric:
          type: string
          description: RIC recorded for the affected equity.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EquityVolSurfaceError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an equity volatility surface whose market data failed.
    EquityVolOfVarCurveError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        eq_vol_of_var_index_id:
          type: string
          description: Identifier of the affected equity volatility-of-variance index.
          nullable: true
        eq_vol_of_var_index_ric:
          type: string
          description: RIC recorded for the affected equity volatility-of-variance index.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.EquityVolOfVarCurveError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an equity volatility-of-variance curve whose market data
        failed.
    DividendIndexError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        dividend_index_id:
          type: string
          description: Dividend index whose processing failed.
          nullable: true
        dividend_index_name:
          type: string
          description: Name of the dividend index whose processing failed.
          nullable: true
        dividend_index_ric:
          type: string
          description: RIC of the dividend index whose processing failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.DividendIndexError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies a dividend index whose data could not be returned or
        processed.
    DividendIndexVolSurfaceError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        dividend_index_id:
          type: string
          description: Dividend index whose volatility-surface processing failed.
          nullable: true
        dividend_index_ric:
          type: string
          description: RIC of the dividend index whose volatility surface failed.
          nullable: true
        futures_expiry_code:
          type: string
          description: >-
            Underlying futures expiry for a mid-curve option error; otherwise
            null or empty.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.DividendIndexVolSurfaceError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies a dividend-index volatility surface, including an underlying
        futures expiry when relevant, that could not be processed.
    FxVolOfVarCurveError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        fx_vol_of_var_index_id:
          type: string
          description: Identifier of the affected FX volatility-of-variance index.
          nullable: true
        fx_vol_of_var_index_ric:
          type: string
          description: RIC recorded for the affected FX volatility-of-variance index.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.FxVolOfVarCurveError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an FX volatility-of-variance curve whose market data failed.
    FxCrossError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        fx_cross_id:
          type: string
          description: FX-cross identifier whose market data failed.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.MarketData.FxCrossError, Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an FX cross whose market data failed.
    FxVolSurfaceError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        fx_cross_id:
          type: string
          description: FX-cross identifier whose volatility surface failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.FxVolSurfaceError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an FX volatility surface whose market data failed.
    AndersenBuffumParametersError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        equity_id:
          type: string
          description: Equity whose parameter processing failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.AndersenBuffumParametersError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an equity whose Andersen–Buffum parameters could not be
        processed.
    IrFuturesVolCubeError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        futures_market_id:
          type: string
          description: Code of the futures market whose cube failed.
          nullable: true
        name:
          type: string
          description: Display name recorded for the failed interest-rate futures cube.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.IrFuturesVolCubeError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an interest-rate futures volatility cube whose market data
        failed.
    RateAssetError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the rate-asset failure.
          nullable: true
        rate_asset_id:
          type: string
          description: Rate-asset identifier to which the failure applies.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.MarketData.RateAssetError, Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Interest-rate asset failure with its asset code, date, and diagnostic
        message.
    RecoveryRateError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        bond_id:
          type: string
          description: Bond identifier involved in the recovery-rate failure.
          nullable: true
        issuer_id:
          type: string
          description: Issuer identifier involved in the failure.
          nullable: true
        issuer_name:
          type: string
          description: Display name of the issuer involved in the failure.
          nullable: true
        debt_type:
          type: string
          description: Debt-type label involved in the failure.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.RecoveryRateError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies issuer, debt, and bond context for a recovery-rate failure.
    ProbabilityOfDefaultError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        asset_id:
          type: string
          description: Asset identifier whose probability-of-default data failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.ProbabilityOfDefaultError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies an asset whose probability-of-default market data failed.
    AmortisationRateError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        asset_id:
          type: string
          description: Asset selector.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.AmortisationRateError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies an asset whose amortisation-rate input could not be
        processed.
    SurvivalCurveError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        currency:
          type: string
          description: Currency code involved in the survival-curve failure.
          nullable: true
        debt_type:
          type: string
          description: Debt-type label involved in the failure.
          nullable: true
        default_type:
          type: string
          description: Default-type label involved in the failure.
          nullable: true
        issuer_id:
          type: string
          description: Issuer identifier involved in the failure.
          nullable: true
        issuer_name:
          type: string
          description: Display name of the issuer involved in the failure.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.SurvivalCurveError,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Identifies issuer, currency, debt, and default context for a
        survival-curve failure.
    SwaptionVolCubeError:
      required:
        - $type
      type: object
      properties:
        message:
          type: string
          description: Diagnostic message explaining the market-data failure.
          nullable: true
        reference_date:
          type: string
          description: Market-data reference date to which the failure applies.
        rate_asset_id:
          type: string
          description: Rate-asset identifier whose swaption volatility cube failed.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.MarketData.SwaptionVolCubeError,
              Derivitec.Web.Core
      additionalProperties: false
      description: Identifies a rate asset whose swaption volatility cube failed.
    FilterBase:
      description: Base selection criterion for a named report-data field.
      discriminator:
        propertyName: $type
        mapping:
          Derivitec.Web.Core.Filters.Filter, Derivitec.Web.Core: '#/components/schemas/FilterMintlifyShape'
          Derivitec.Web.Core.Filters.FilterBase, Derivitec.Web.Core: '#/components/schemas/FilterBaseMintlifyShape'
          Derivitec.Web.Core.Filters.MultiFilter, Derivitec.Web.Core: '#/components/schemas/MultiFilter'
          Derivitec.Web.Core.Filters.StringFilter, Derivitec.Web.Core: '#/components/schemas/StringFilter'
      oneOf:
        - $ref: '#/components/schemas/FilterMintlifyShape'
        - $ref: '#/components/schemas/FilterBaseMintlifyShape'
        - $ref: '#/components/schemas/MultiFilter'
        - $ref: '#/components/schemas/StringFilter'
    FilterMintlifyShape:
      required:
        - $type
      type: object
      properties:
        field:
          type: string
          description: Name of the report-data field evaluated by this criterion.
          nullable: true
        type:
          type: string
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.Filters.Filter, Derivitec.Web.Core
      additionalProperties: false
    FilterBaseMintlifyShape:
      required:
        - $type
      type: object
      properties:
        field:
          type: string
          description: Name of the report-data field evaluated by this criterion.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.Filters.FilterBase, Derivitec.Web.Core
      additionalProperties: false
      description: Base selection criterion for a named report-data field.
    MultiFilter:
      required:
        - $type
      type: object
      properties:
        field:
          type: string
          description: Name of the report-data field evaluated by this criterion.
          nullable: true
        operator:
          enum:
            - not_set
            - and
            - or
          type: string
          description: Logical rule used to combine the child criteria.
        conditions:
          type: array
          items:
            $ref: '#/components/schemas/FilterBase'
          description: >-
            Child criteria evaluated by the selected logical operator; nested
            groups are permitted.
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.Filters.MultiFilter, Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Nested filter group that combines child criteria with a logical
        operator.
    StringFilter:
      required:
        - $type
      type: object
      properties:
        field:
          type: string
          description: Name of the report-data field evaluated by this criterion.
          nullable: true
        type:
          type: string
          nullable: true
        filter:
          type: string
          nullable: true
        $type:
          type: string
          enum:
            - Derivitec.Web.Core.Filters.StringFilter, Derivitec.Web.Core
      additionalProperties: false
  securitySchemes:
    oauth2:
      type: oauth2
      description: >-
        OAuth2 access-token requested from AWS Cognito and provided as a Auth
        Bearer header
      flows:
        implicit:
          authorizationUrl: https://auth.riskportal.derivitec.com/oauth2/authorize
          scopes: {}
    apikey:
      type: apiKey
      description: API-Key requested via the site and provided as a header
      name: x-api-key
      in: header

````