---
title: "FileItem"
url: "https://developer.pexa.co.uk/apis/lodgement-v2-v2/versions/533c1263-195b-449f-a7da-afa5f3211cc2/schemas/FileItem"
---

> Full API specification: https://developer.pexa.co.uk/apis/lodgement-v2-v2/versions/533c1263-195b-449f-a7da-afa5f3211cc2.md

# FileItem

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Lodgement
  version: v2
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    FileItem:
      type: object
      properties:
        fileId:
          type: string
          format: uuid
          readOnly: true
        fileName:
          type: string
          example: sample_document.pdf
        fileUploadStatus:
          type: string
          pattern: (SUCCESS|PENDING|VIRUS_FOUND|FAILED)
          example: SUCCESS
          description: |
            Allowed values: [`SUCCESS`, `PENDING`, `VIRUS_FOUND`, `FAILED`]
        auditAttributes:
          type: object
          properties:
            createdAt:
              type: string
              format: date-time
            createdBy:
              type: string
            lastModifiedAt:
              type: string
              format: date-time
            lastModifiedBy:
              type: string
```
