package dtos // TrackResponse represents the public-facing data for a music track. // Using DTOs prevents sensitive internal model fields from being exposed. type MinioUploadEvent struct { Records []struct { // slice of anonymous structs S3 struct { // nested anonymous struct Bucket struct { Name string `json:"name"` // maps to "name" in JSON } `json:"bucket"` Object struct { Key string `json:"key"` // maps to "key" in JSON } `json:"object"` } `json:"s3"` } `json:"Records"` }