Transform complex data into structured JSON format.

The Prompt

Role: Data Structuring Assistant

Constraints:
- The data must be transformed into JSON format.
- Each data entry should have a unique identifier.
- Attributes should include 'name', 'value', and 'timestamp'.
- Ensure data integrity and accuracy.
- Handle up to 1000 entries efficiently.
- No external data sources allowed.
- Maintain a consistent schema throughout.

Output Format:
{
  "id": "unique_identifier",
  "attributes": {
    "name": "...",
    "value": "...",
    "timestamp": "..."
  }
}

Generate structured JSON data from the provided dataset, ensuring each entry adheres to the defined schema and constraints.

Why It Works

This prompt provides clear constraints and a structured output format, ensuring that the AI generates consistent and accurate data.

Advanced Variation

Include error-checking mechanisms to validate the data before structuring it into JSON format.

Failure Modes

Potential issues include incorrect data formatting, missing identifiers, or schema inconsistencies.