**Source URL:** https://general.veevavault.dev/medical/custom-pages/references/client-distributions.md

A client code distribution is a packaged collection of files that must be deployed together to implement your custom page functionality. The distribution is uploaded as a ZIP file containing your code and a manifest file.

## Distribution Manifest {#distribution-manifest}

Every distribution requires a `distribution-manifest.json` file at the root of the ZIP package that defines the distribution metadata.

### Schema Reference {#schema-reference}

| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | String | Yes | Distribution identifier. Must be unique and end with `__c` |
| `pages` | Array | Yes | Array of Custom Page definitions |
| `pages[].name` | String | Yes | Page identifier. Must be unique and end with `__c` |
| `pages[].file` | String | Yes | Path to the page's JavaScript file |
| `pages[].export` | String | No | Export name. Defaults to "default" if omitted |
| `stylesheets` | Array | No | Paths to CSS files to attach to the document |

### Example Configuration {#example-configuration}

```
{
    "name": "sample_distribution__c", 
    "pages": [
        {
            "name": "hello_world__c",
            "file": "dist/hello-world.js"
        },
        {
            "name": "my_page__c",
            "file": "dist/my-page.js",
            "export": "mypage"
        }
    ],
    "stylesheets": [
        "styles/normalize.css",
        "styles/styles.css"
    ]
}

```

This example:

* Defines a distribution named `sample_distribution__c`

* Includes two pages:

* `hello_world__c` using the default export

* `my_page__c` using a named export `mypage`

* Attaches two stylesheets to the document

<Aside type="tip" title="Naming Convention">All distribution and page names must end with `__c` to indicate they are custom components.

</Aside>

---

**Previous:** [References](/medical/custom-pages/references)  
**Next:** [Limits and Restrictions](/medical/custom-pages/references/limits)