import { IsIn, IsOptional, IsString } from 'class-validator';

export class PlaceHoldDto {
  @IsIn(['data_subject', 'message', 'media']) targetType!: 'data_subject' | 'message' | 'media';
  @IsString() targetId!: string; // an id, or 'self' for the caller's own subject
  @IsString() reason!: string;
  @IsOptional() @IsString() expiresAt?: string;
}
