# Interface: CollectionContract

Defined in: [packages/core/src/records/contracts.ts:59](https://github.com/leifriksheim/minca/blob/main/core/src/records/contracts.ts#L59)

A collection's contract (spec 09 §1): the conditions its versions must meet
to count, and whether it is a line. A definition's top-level `contract`,
which peers keep and never read; readers judge it. Its keys are closed.

## Properties

| Property | Modifier | Type | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-check"></a> `check?` | `readonly` | readonly [`Contract`](https://minca.dev/api/core/interfaces/Contract.md)[] | [packages/core/src/records/contracts.ts:60](https://github.com/leifriksheim/minca/blob/main/core/src/records/contracts.ts#L60) |
| <a id="property-line"></a> `line?` | `readonly` | [`Line`](https://minca.dev/api/core/interfaces/Line.md) | [packages/core/src/records/contracts.ts:61](https://github.com/leifriksheim/minca/blob/main/core/src/records/contracts.ts#L61) |
