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

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [DataShape](./schema.datashape.md)

## DataShape interface

Defines parameters for understanding the logical structure of data contents.

<b>Signature:</b>

```typescript
export interface DataShape 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [matrix?](./schema.datashape.matrix.md) |  | \[width: number, height: number\] | <i>(Optional)</i> Defines the Row x Column layout of a raw list of values (e.g., a pandas Series). For example, { data: \[1,2,3,4,5,6\], shape: { matrix: \[3, 2\] } } is interpreted as table 1 2 3 4 5 6 |
|  [nature?](./schema.datashape.nature.md) |  | [DataNature](./schema.datanature.md) | <i>(Optional)</i> Defines the expected nature of the dataset |
|  [orientation?](./schema.datashape.orientation.md) |  | [DataOrientation](./schema.dataorientation.md) | <i>(Optional)</i> Data orientation. Default: "values" is the only valid option if the format is csv, "records" is default if JSON. |

