# Interface: NodeCollection

Defined in: [packages/core/src/node/types.ts:299](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L299)

A collection as a space describes it, and how many records it holds

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-computed"></a> `computed?` | `readonly` | `Readonly`\<`Record`\<`string`, `string`\>\> | Values derived from what links to its records; absent when it has none | [packages/core/src/node/types.ts:317](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L317) |
| <a id="property-contract"></a> `contract?` | `readonly` | [`CollectionContract`](https://minca.dev/api/core/interfaces/CollectionContract.md) | What a version must be to count, judged by readers; absent when it has none | [packages/core/src/node/types.ts:315](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L315) |
| <a id="property-definedby"></a> `definedBy` | `readonly` | `string` \| `null` | The identity that first defined it | [packages/core/src/node/types.ts:311](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L311) |
| <a id="property-description"></a> `description?` | `readonly` | `string` | - | [packages/core/src/node/types.ts:302](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L302) |
| <a id="property-history"></a> `history` | `readonly` | `"all"` \| `"latest"` | Whether edits keep old versions: `all`, or `latest` (the default) | [packages/core/src/node/types.ts:307](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L307) |
| <a id="property-links"></a> `links` | `readonly` | `Readonly`\<`Record`\<`string`, `LinkDeclaration`\>\> | The link roles its records carry, and what each may point at | [packages/core/src/node/types.ts:309](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L309) |
| <a id="property-name"></a> `name` | `readonly` | `string` | - | [packages/core/src/node/types.ts:300](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L300) |
| <a id="property-records"></a> `records` | `readonly` | `number` | - | [packages/core/src/node/types.ts:320](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L320) |
| <a id="property-rules"></a> `rules` | `readonly` | [`CollectionRules`](https://minca.dev/api/core/interfaces/CollectionRules.md) | What must be unique, which fields are fixed | [packages/core/src/node/types.ts:313](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L313) |
| <a id="property-schema"></a> `schema` | `readonly` | [`JsonSchema`](https://minca.dev/api/core/type-aliases/JsonSchema.md) \| `null` | Null when records exist but the space has no definition for them | [packages/core/src/node/types.ts:304](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L304) |
| <a id="property-title"></a> `title?` | `readonly` | `string` | - | [packages/core/src/node/types.ts:301](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L301) |
| <a id="property-topics"></a> `topics` | `readonly` | readonly `string`[] | Fields whose values are tagged on each record's outside, so keepers can match them unread | [packages/core/src/node/types.ts:319](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L319) |
| <a id="property-version"></a> `version` | `readonly` | `number` \| `null` | - | [packages/core/src/node/types.ts:305](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L305) |
