---
title: "Document"
description: "a document built from the record: its kind, its recipe, its versions"
section: concepts
address: /concepts/document
contract: 0476e35e6e275db5
---

# Document

a document built from the record: its kind, its recipe, its versions

[figure: Document is a definition at follows scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | definition |
| scope | follows |
| key | its kind and its recipe's version |
| store | postgres |
| family | documents |



## Fields


| field | type | required | note |
|---|---|---|---|
| `kind` | `one of a report \| a brief \| a call set \| a set of options \| a workbench page \| a story in a frame \| a page of the documentation \| an estimator page` | yes |  |
| `recipe` | [Recipe](/concepts/recipe) | yes |  |
| `versions` | `[id]` | yes | its builds |
| `visibility` | `one of private \| the tenant \| published` | yes |  |



## Routes that use it
No route takes or returns Document directly. The record holds it, and the objects that point at it reach it.
