# Part

`Part` represents a particular file or "part" of a media item. The part is the playable unit of the media hierarchy. Suppose that a movie library contains a movie that is broken up into files, reminiscent of a movie split across two BDs. The metadata item represents information about the movie, the media item represents this instance of the movie at this resolution and quality, and the part items represent the two playable files.  If another media were added which contained the joining of these two parts transcoded down to a lower resolution, then this metadata would contain 2 medias, one with 2 parts and one with 1 part.



## Fields

| Field                                                         | Type                                                          | Required                                                      | Description                                                   | Example                                                       |
| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
| `audioProfile`                                                | *Optional\<Object>*                                           | :heavy_minus_sign:                                            | N/A                                                           | lc                                                            |
| `container`                                                   | *Optional\<Object>*                                           | :heavy_minus_sign:                                            | The container of the media file, such as `mp4` or `mkv`       | mov                                                           |
| `duration`                                                    | *Optional\<Long>*                                             | :heavy_minus_sign:                                            | The duration of the media item, in milliseconds               | 150192                                                        |
| `file`                                                        | *Optional\<Object>*                                           | :heavy_minus_sign:                                            | The local file path at which the part is stored on the server | /home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov         |
| `has64bitOffsets`                                             | *Optional\<Boolean>*                                          | :heavy_minus_sign:                                            | N/A                                                           | false                                                         |
| `id`                                                          | *Optional\<Long>*                                             | :heavy_minus_sign:                                            | N/A                                                           | 1                                                             |
| `key`                                                         | *Optional\<Object>*                                           | :heavy_minus_sign:                                            | The key from which the media can be streamed                  | /library/parts/1/1531779263/file.mov                          |
| `optimizedForStreaming`                                       | *Optional\<Boolean>*                                          | :heavy_minus_sign:                                            | N/A                                                           | false                                                         |
| `size`                                                        | *Optional\<Long>*                                             | :heavy_minus_sign:                                            | The size of the media, in bytes                               | 105355654                                                     |
| `stream`                                                      | List\<[Stream](../../models/shared/Stream.md)>                | :heavy_minus_sign:                                            | N/A                                                           |                                                               |
| `videoProfile`                                                | *Optional\<Object>*                                           | :heavy_minus_sign:                                            | N/A                                                           | main                                                          |
| `additionalProperties`                                        | Map\<String, *Object*>                                        | :heavy_minus_sign:                                            | N/A                                                           |                                                               |