using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace SatelliteProvider.Api.DTOs;

// AZ-488 / `uav-tile-upload.md` v1.0.0 — multipart envelope. `Metadata` carries the
// JSON array of UavTileMetadata records; `Files` provides one IFormFile per record
// at the matching ordinal index.
public record UavTileBatchUploadRequest
{
    [FromForm(Name = "metadata")]
    public string Metadata { get; init; } = string.Empty;

    [FromForm(Name = "files")]
    public IFormFileCollection? Files { get; init; }
}
