id | string, UUID, π system | β
Yes | Unique identifier (read-only) | β | Unique identifier of the media file | βmedia-uuid-123β |
media_type | enum | β
Yes | Fixed enum values | avatar , logo , banner | Type of media asset | βavatarβ |
is_primary | boolean | βͺ No | β | true/false | Marks preferred media (default: true) | true |
url | string (URL) | β
Yes | Valid URL format | β | Direct media URL for access | βhttps://storage.example.com/media/logo.pngβ |
uploaded_at | string (ISO 8601) π system | β | auto timestamp | β | Upload timestamp | β2023-01-01T12:00:00Zβ |
processed_at | string (ISO 8601) π system | β | auto timestamp | β | Processing completion timestamp | β2024-01-01T12:00:00Zβ |
deleted_at | string | null π system | βͺ No | nullable ISO 8601 | β | Deletion timestamp (soft delete) | β2024-01-01T12:00:00Zβ |