---
title: "Documents"
url: "https://developers.zinnia.com/apis/new-business/versions/b8532e16-b28e-4393-9305-def50b91e40e/schemas/Documents"
---

> Full API specification: https://developers.zinnia.com/apis/new-business/versions/b8532e16-b28e-4393-9305-def50b91e40e.md

# Documents

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Zinnia New Business API.
  version: 0.9.8
servers:
  - url: https://qa.api.zinnia.io
    description: QA Environment
  - url: https://dev.api.zinnia.io
    description: DEV Environment
  - url: https://uat.api.zinnia.io
    description: UAT Environment
  - url: https://api.zinnia.io
    description: PROD Environment
components:
  schemas:
    DocumentInformation:
      type: object
      properties:
        documentStream:
          type: string
          description: Document binary string
        documentType:
          type: string
          enum:
            - Terms of Use
            - Notice and Consent
            - Privacy Policy
            - GLBA Privacy Notice
            - FCRA
            - MIB Pre Notice
            - ID Verification Notice
            - HIPAA
            - Accelerated Benefit Rider
            - Buyer Guide
            - Illustration
            - Suitability
            - Application
            - Signed Application
            - Replacements Acknowledgement
            - 1035 Exchange Surrender
            - Evidence Document
            - Amendment
            - Electronic Funds Transfer
            - Supplemental Application
            - Conforming Illustration
            - Signed Illustration
            - Overflow Additional Information
          description: Types of document
          example: Illustration
        documentCategory:
          type: string
          description: Category of the document as per OnBase system
          example: NB Supporting Document
        documentFileType:
          type: string
          enum:
            - application/pdf
            - image/jpeg
            - image/jpg
            - image/png
          description: Type of file
    Documents:
      type: object
      properties:
        referenceId:
          type: string
          description: Unique number assigned to given document
        productCode:
          type: string
          description: Product code
          example: ABC001
        documentInformation:
          type: array
          items:
            $ref: "#/components/schemas/DocumentInformation"
```
