---
title: "OutputViewDefinition"
url: "https://developer-beta.morningstar.com/apis/investment-details-api/versions/1101e487-2040-43e8-8548-06647294be56/schemas/OutputViewDefinition"
---

> Full API specification: https://developer-beta.morningstar.com/apis/investment-details-api/versions/1101e487-2040-43e8-8548-06647294be56.md

# OutputViewDefinition

Definition of a view, including the datapoints it contains.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Investment Details API
  version: "1.0"
servers:
  - url: https://www.us-api.morningstar.com
    description: Americas
  - url: https://www.apac-api.morningstar.com
    description: APAC
  - url: https://www.emea-api.morningstar.com
    description: EMEA
components:
  schemas:
    OutputViewId:
      title: OutputViewId
      type: string
      description: >
        Identifier of an entitled view or dataset. Use this value as `viewId` in
        investment detail requests.
      minLength: 1
      example: equity-short-interest
    OutputViewDefinitionDataPoint:
      title: OutputViewDefinitionDataPoint
      type: object
      description: Datapoint included in the view and its dependency flags
      required:
        - id
        - isLanguageDependent
        - isCountryDependent
        - isCurrencyDependent
      properties:
        id:
          $ref: "#/components/schemas/OutputDataPointId"
        isLanguageDependent:
          type: boolean
          description: Indicates whether the datapoint varies by language.
        isCountryDependent:
          type: boolean
          description: Indicates whether the datapoint varies by country.
        isCurrencyDependent:
          type: boolean
          description: Indicates whether the datapoint varies by currency.
      additionalProperties: false
    OutputDataPointId:
      title: OutputDataPointId
      type: string
      description: Fully-qualified datapoint identifier.
      minLength: 1
      example: shortInterest.daysToCover
    OutputViewDefinition:
      title: OutputViewDefinition
      type: object
      description: Definition of a view, including the datapoints it contains.
      required:
        - id
        - dataPoints
      properties:
        id:
          $ref: "#/components/schemas/OutputViewId"
        dataPoints:
          type: array
          description: List of data points included in the view.
          items:
            $ref: "#/components/schemas/OutputViewDefinitionDataPoint"
      additionalProperties: false
```
