<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [CodebookSchema](./schema.codebookschema.md)

## CodebookSchema interface

This contains all of the field-level details for interpreting a dataset, including data types, mapping, and metadata. Note that with persisted metadata and field examples, a dataset can often be visualized and described to the user without actually loading the source file. resource profile: 'codebook'

<b>Signature:</b>

```typescript
export interface CodebookSchema extends ResourceSchema 
```
<b>Extends:</b> [ResourceSchema](./schema.resourceschema.md)

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [fields](./schema.codebookschema.fields.md) |  | [Field](./schema.field.md)<!-- -->\[\] | The per-field encodings. These contain interpretive information about the data. |
|  [profile](./schema.codebookschema.profile.md) |  | [KnownProfile.Codebook](./schema.knownprofile.md) |  |

