Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type ParentalAdvisory =
- | "YES"
- | "NO"
- | "CLEAN"
- type ProductArtist = {
- id: number; // Fuga identifier of the artist
- primary: boolean; // Whether this is the primary artist or a featuring one
- };
- type ProductReleaseFormatType = "ALBUM" | "SINGLE" | "EP" | "BOXSET";
- type ProductCatalogTier = "BUDGET" | "BACK" | "MID" | "FRONT" | "PREMIUM";
- type Product = {
- name: string; // Minimum length: 1, cannot be null
- upc: string; // UPC code
- display_artist?: string; // Will auto-generate if null, based on `artists`
- artists: ProductArtist[]; // Array of artists (at least one required)
- label: number; // Label ID
- catalog_number?: string; // Catalog number (optional)
- release_version?: string; // Release version (optional)
- consumer_release_date: string; // Date in ISO format (YYYY-MM-DD)
- consumer_release_time?: string; // Time in HH:MM:SSZ format, nullable
- original_release_date: string; // Required original release date (YYYY-MM-DD)
- preorder_date?: string; // Preorder date (optional, YYYY-MM-DD)
- release_format_type: ProductReleaseFormatType; // Enum: "ALBUM", "SINGLE", "EP", "BOXSET"
- catalog_tier: ProductCatalogTier; // Enum: "BUDGET", "BACK", "MID", "FRONT", "PREMIUM"
- genre?: string; // Primary genre
- subgenre?: number; // Subgenre identifier (optional)
- alternate_genre?: string; // Secondary genre (optional)
- alternate_subgenre?: number; // Secondary subgenre identifier (optional)
- compilation: boolean; // Whether the product is a compilation
- mastered_for_itunes: boolean; // Whether the product is mastered for iTunes
- total_volumes?: number; // Total volumes (optional)
- recording_location?: string; // Recording location (optional)
- recording_year?: number; // Year of recording (optional)
- c_line_year?: number; // C-line year (optional)
- c_line_text?: string; // C-line text (optional)
- p_line_year?: number; // P-line year (optional)
- p_line_text?: string; // P-line text (optional)
- language?: string; // Language of the product
- parental_advisory: ParentalAdvisory; // Explicit content definition
- album_notes?: string; // Notes for the album (optional)
- label_copy_info?: string; // Label copy information (optional)
- extra_1?: string;
- extra_2?: string;
- extra_3?: string;
- extra_4?: string;
- extra_5?: string;
- extra_6?: string;
- extra_7?: string;
- extra_8?: string;
- extra_9?: string; // Additional date field (optional, YYYY-MM-DD)
- extra_10?: string; // Additional date field (optional, YYYY-MM-DD)
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement