# SectionContract

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Interface: SectionContract

Defined in: [core/src/section-registry.ts:7](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L7)

## Properties

### defaultTitle

> `readonly` **defaultTitle**: `string`

Defined in: [core/src/section-registry.ts:9](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L9)

***

### description

> `readonly` **description**: `string`

Defined in: [core/src/section-registry.ts:10](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L10)

***

### fallbackOwners

> `readonly` **fallbackOwners**: readonly `string`[]

Defined in: [core/src/section-registry.ts:14](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L14)

***

### formatterAliases

> `readonly` **formatterAliases**: readonly `string`[]

Defined in: [core/src/section-registry.ts:18](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L18)

***

### id

> `readonly` **id**: `string`

Defined in: [core/src/section-registry.ts:8](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L8)

***

### legacyHeadingFallback

> `readonly` **legacyHeadingFallback**: `boolean`

Defined in: [core/src/section-registry.ts:17](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L17)

***

### primaryForBlocks

> `readonly` **primaryForBlocks**: readonly `string`[]

Defined in: [core/src/section-registry.ts:12](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L12)

Blocks whose keyless

#### Header

directive names this section.

***

### primaryOwner

> `readonly` **primaryOwner**: `string`

Defined in: [core/src/section-registry.ts:13](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L13)

***

### required

> `readonly` **required**: `boolean`

Defined in: [core/src/section-registry.ts:16](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L16)

***

### sourceBlocks

> `readonly` **sourceBlocks**: readonly `string`[]

Defined in: [core/src/section-registry.ts:15](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/core/src/section-registry.ts#L15)