# Chapter

A chapter or a collection with its members.

Group: Objects.

## Fields

- `collectionId` (string, required): The chapter's or collection's id.
- `productId` (string, required): The guide's id.
- `name` (string, required): Its title.
- `slug` (string or null, required): URL slug, unique in the guide.
- `description` (string or null, required): One-line summary on the chapter card.
- `kind` (string, required): chapter carries prose and front matter; collection is a plain spot set. One of `collection`, `chapter`.
- `body` (array of strings, required): Prose paragraphs (chapters only).
- `intro` (ChapterIntro or null, required): Structured front matter (chapters only).
  Fields of ChapterIntro: https://developers.sceniq.earth/fields/chapter-intro.md
- `order` (number, required): Position in the guide.
- `coverUrl` (string or null, required): The cover image.
- `coverStorageId` (string or null, required): The cover's storage id (from an upload with target=blob).
- `members` (array of objects, required): Members in order: spots, or chapters inside a collection.
  - `spotKey` (string or null, required): A member spot's key.
  - `memberCollectionId` (string or null, required): A chapter placed as a card inside a collection.
  - `order` (number, required): Position in the chapter.
- `createdAt` (number, required): When the row was created (Unix time in milliseconds).
- `updatedAt` (number, required): When the row last changed (Unix time in milliseconds).

## Used by

- [list_chapters](https://developers.sceniq.earth/reference/list_chapters.md)
- [create_chapter](https://developers.sceniq.earth/reference/create_chapter.md)
