# Bulk TOML and YAML config validation workflow

**Use case:** 

Validate and convert multiple configuration documents in one run before loading normalized config data into a pipeline.

## Input

```json
{
  "documents": [
    "[service]\nname = \"billing-api\"\nport = 8080\nenabled = true",
    "service:\n  name: worker\n  replicas: 3\n  queues:\n    - default\n    - priority"
  ],
  "urls": [],
  "operation": "convert",
  "inputFormat": "auto",
  "outputFormat": "json",
  "jsonIndent": 2,
  "stopOnError": false,
  "includeOriginal": true
}
```

## Output

```json
{
  "index": {
    "label": "#",
    "format": "number"
  },
  "source": {
    "label": "Source",
    "format": "text"
  },
  "inputFormat": {
    "label": "Format",
    "format": "text"
  },
  "isValid": {
    "label": "Valid",
    "format": "boolean"
  },
  "errorMessage": {
    "label": "Error",
    "format": "text"
  },
  "errorLine": {
    "label": "Line",
    "format": "number"
  },
  "outputFormat": {
    "label": "Output Format",
    "format": "text"
  },
  "convertedContent": {
    "label": "Converted Content",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [TOML Validator & Converter](https://apify.com/automation-lab/toml-validator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/toml-validator) to learn more, explore other use cases, and run it yourself.