---
title: "CollectionDefinition"
description: "What `c.collection({ loader, schema })` returns."
url: "https://pitlane.tools/package/content/interface/CollectionDefinition"
---

# CollectionDefinition

```ts
import type { CollectionDefinition } from "@pitlane/content";
```

What `c.collection({ loader, schema })` returns.

## Type Parameters

### S

`S` _extends_ [`StandardSchemaV1`](https://standardschema.dev) = [`StandardSchemaV1`](https://standardschema.dev)

## Properties

### loader

```ts
loader: Loader;
```

---

### schema

```ts
schema: S;
```
