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

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

# SubstanceUsage

## 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:
    SubstanceUsage:
      type: object
      properties:
        substanceType:
          type: string
          enum:
            - Drug
            - Alcohol
          description: Type of substance
        substanceTypeDesc:
          type: string
          description: Type of substance description
          example: Cocaine
        frequency:
          type: string
          enum:
            - Per Day
            - Per Week
            - Per Year
            - Per Month
            - Per Lifetime
            - Random
            - Single
            - Other
            - Unknown
          description: Violation date
          example: Per Day
        substanceAmount:
          type: string
          description: Amount of substance
          example: "2"
```
