# Bulk Upload MIME Validation Workflow

**Use case:** 

Validate mixed filenames, URLs, and base64 magic bytes before accepting files into an upload pipeline.

## Input

```json
{
  "items": [
    {
      "filename": "contract.docx"
    },
    {
      "filename": "data-feed.json"
    },
    {
      "url": "https://example.com/media/sample.mp4"
    },
    {
      "base64Content": "JVBERi0xLjQKJeLjz9MKCg=="
    },
    {
      "filename": "backup.zip"
    }
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "text"
  },
  "mimeType": {
    "label": "MIME Type",
    "format": "text"
  },
  "charset": {
    "label": "Charset",
    "format": "text"
  },
  "extension": {
    "label": "Extension",
    "format": "text"
  },
  "method": {
    "label": "Method",
    "format": "text"
  },
  "confidence": {
    "label": "Confidence",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [MIME Type Detector](https://apify.com/automation-lab/mime-type-detector) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/mime-type-detector) to learn more, explore other use cases, and run it yourself.