# DocumentFile type


A file of a document version.

## Fields

### id

[`UUID!`](/chameleoon-max/type/uuid)

The file's MAX id.

### filename

`String!`

The name the file was uploaded with.

### contentType

`String!`

The type detected from the file's content, not the type its name claims.

### size

`Int!`

The size in bytes.

### sha256

`String!`

The SHA-256 hash of the bytes, in lower-case hex.

## Used by

- [`Document`](/chameleoon-max/type/document)
- [`DocumentVersion`](/chameleoon-max/type/document-version)
