package types // Post represents the normalized Reddit post schema for JSONL output. type Post struct { ID string `json:"id"` Subreddit string `json:"subreddit"` Title string `json:"title"` Author string `json:"author"` CreatedUTC int64 `json:"created_utc"` Score int `json:"score"` NumComments int `json:"num_comments"` Content string `json:"content"` URL string `json:"url"` Permalink string `json:"permalink"` } // Summary holds run summary metrics. type Summary struct { TotalRequests int `json:"total_requests"` SuccessfulPosts int `json:"successful_posts"` SkippedDuplicates int `json:"skipped_duplicates"` AvgLatencyMs float64 `json:"avg_latency_ms"` DurationSec float64 `json:"duration_sec"` }