# **Juniper Pack Mapping**

Welcome to the **Juniper Pack Guide** — your go-to resource for understanding how API fields map to the packs your customers receive. This guide will help you visualize how data flows into the final product, ensuring a smooth, consistent, and high-quality experience for every customer.

### **Pack Overview**

![Juniper Pack](/assets/pack-layout.8f1eae4d3486d6ebee3ec12e5381429f035eb1cc691299a175701dab60cb86d0.9c1bb791.png)

Here's a breakdown of how each part of the pack is powered by your API data:

1. **Pill Quantity**
  - Displays the number of supplements included in the pack.
  - Maps to `quantity` in the [Order](/apis/#schema/Order) schema's lineItems.
2. **Product Name**
  - Pulled directly from the product name in the Juniper catalog.
  - Maps to `name` in the [Product](/apis/#schema/Product) schema.
3. **Supplement Dosage**
  - Shown only if the supplement contains a single active ingredient.
  - Derived from the [SupplementFactsPanel](/apis/#schema/SupplementFactsPanel) `ingredientInformation`.
4. **Supplement Description**
  - A customizable field that explains the purpose of the supplement or provides dosing instructions (e.g., *"Take with food"*).
  - Maps to `packDescription` in the [Order](/apis/#schema/Order) schema's lineItems.
  - Required for pack items, optional for external items (powders, liquids).
5. **Time of Administration**
  - Indicates when the supplement should be taken: **Morning**, **Afternoon**, **Evening**, or **Sleep**.
  - Maps to the [Administration](/apis/#schema/Administration) object within the lineItems.
  - Note: The sum of `morning + afternoon + evening + sleep` must equal the line item `quantity`.