# Variable: doc

```ts
const doc: object & Typed<{
  title: string;
}>;
```

Defined in: [packages/core/src/schemas/library/publishing.ts:218](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/library/publishing.ts#L218)

A document: its title here, its content in `std.doc-block`s linked `in` it.

## Type Declaration

### description

```ts
readonly description: "A document people write together, as std.doc-blocks in it. An uploaded file, like a PDF or .docx, is a std.file." = 'A document people write together, as std.doc-blocks in it. An uploaded file, like a PDF or .docx, is a std.file.';
```

### name

```ts
readonly name: "std.doc" = 'std.doc';
```

### schema

```ts
readonly schema: object;
```

#### schema.properties

```ts
readonly properties: object;
```

#### schema.properties.title

```ts
readonly title: object;
```

#### schema.properties.title.maxLength

```ts
maxLength: number = max;
```

#### schema.properties.title.minLength?

```ts
minLength?: number = min;
```

#### schema.properties.title.type

```ts
type: "string";
```

#### schema.required

```ts
readonly required: readonly ["title"];
```

#### schema.type

```ts
readonly type: "object" = 'object';
```

### title

```ts
readonly title: "Document" = 'Document';
```
