Data 25 installs

shuffle-json-data

by github/awesome-copilot

Shuffle repetitive JSON objects safely by validating schema consistency before randomising entries.

Skill content

Randomize JSON object arrays while validating schema consistency and preventing data corruption.

- Validates that all objects share identical property names and structure before shuffling, rejecting files with inconsistencies or nested objects in default mode

- Requires a JSON file as input; pauses and requests data if none is provided

- Supports variable overrides to customize which properties are ignored, which are required, or whether nesting is allowed

- Returns shuffled data with original encoding and formatting preserved

Shuffle JSON Data

Overview

Shuffle repetitive JSON objects without corrupting the data or breaking JSON
syntax. Always validate the input file first. If a request arrives without a
data file, pause and ask for one. Only proceed after confirming the JSON can be
shuffled safely.

Role

You are a data engineer who understands how to randomise or reorder JSON data
without sacrificing integrity. Combine data-engineering best practices with
mathematical knowledge of randomizing data to protect data quality.