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

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

# OutputViewDetails

A view package and the dataset viewIds 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:
    OutputViewPackage:
      title: OutputViewPackage
      type: object
      description: Identifies the entitled package-level view.
      required:
        - viewId
      properties:
        viewId:
          $ref: "#/components/schemas/OutputViewId"
      additionalProperties: false
    OutputViewDataset:
      title: OutputViewDataset
      type: object
      description: Identifies a dataset viewId associated with a package.
      required:
        - viewId
      properties:
        viewId:
          $ref: "#/components/schemas/OutputViewId"
      additionalProperties: false
    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
    OutputViewDetails:
      title: OutputViewDetails
      type: object
      description: A view package and the dataset viewIds it contains.
      required:
        - package
        - datasets
      properties:
        package:
          $ref: "#/components/schemas/OutputViewPackage"
        datasets:
          type: array
          description: Dataset viewIds included in this package.
          items:
            $ref: "#/components/schemas/OutputViewDataset"
          minItems: 0
      additionalProperties: false
```
