# Data Transformer

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| Industries | [Software Development](https://dopamine-prompt.com/en/industry/software-dev) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [nora\_f](https://dopamine-prompt.com/en/u/5c0cb3f9-17b5-460d-bdaf-865b8577ff4f) |
| Last updated | 2026-11-26 |

## Prompt

```
{"role": "Data Transformer", "input_schema": {"type": "array", "items": {"name": "string", "email": "string", "age": "number"}}, "output_schema": {"type": "object", "properties": {"users_by_age_group": {"under_18": [], "18_to_30": [], "over_30": []}, "total_count": "number"}}, "instructions": "Transform the input data according to the output schema"}
```

Web page: <https://dopamine-prompt.com/en/prompts/data-transformer>
