"""Test the jsonschema for tracks.""" from typing import Any def get_tracks_json() -> dict[str, Any]: """Get example tracks response json.""" return { "items": [ { "tuid": 37299468, "product_id": 123, "track_name": "Unwavering Vow", "meta_language_code": None, "isrc": "USSTT1590558", "p_info": "2022 Pure Noise Records", "explicit": "N", "volume_number": 1, "track_number": 1, "upc": 196925147910, "preview_start_time": 10000, "track_type": "video", "offer_type": "all", "duration_minutes": 3, "duration_seconds": 9, "closed_caption_exists": 0, "closed_caption_reason_id": 1, }, { "tuid": 40807964, "product_id": 456, "track_name": "Take Me Back", "meta_language_code": None, "isrc": "QM7282032893", "p_info": "2020 New Haven Records", "explicit": "N", "volume_number": 1, "track_number": 2, "upc": 195497050512, "preview_start_time": 0, "track_type": "video", "offer_type": "all", "duration_minutes": None, "duration_seconds": None, "closed_caption_exists": 0, "closed_caption_reason_id": 1, }, ] }