import { Featured } from 'src/data/globalTypes';
import type { OwnershipNrSoundRecording } from 'src/data/queries/getOwnershipNrSoundRecording';

export const testNrSoundRec: OwnershipNrSoundRecording = {
    id: '1235-abcde',
    displayArtistName: 'Test Display Arist Name',
    primaryArtists: [
        {
            id: '1234-abcde',
            name: 'artist a',
        },
    ],
    featuredArtists: [
        {
            id: '1235-abcde',
            name: 'artist b',
        },
    ],
    recordingTitle: 'Retrograde',
    version: '',
    firstReleaseYear: 2005,
    firstRecordingYear: 2005,
    duration: 120,
    countriesOfFunding: [
        {
            countryName: 'United States',
            territoryCodeA2: 'US',
        },
    ],
    countriesOfRecording: [
        {
            countryName: 'United States',
            territoryCodeA2: 'US',
        },
    ],
    explicit: false,
    rules: [
        {
            __typename: 'OwnershipNrMonetizeRule',
            id: 'a7e3ac78-7845-4a66-9e34-1e22d198f431',
            startDate: '2020-05-01',
            endDate: '2023-05-01',
            percentage: 100,
            vendor: {
                name: 'HANDS OFF TEST ACCOUNT (Jacob Fowler)',
                id: {
                    vendorId: 1234,
                },
            },
            servicesAndRights: [
                {
                    service: {
                        territory: {
                            countryName: 'United States',
                            territoryCodeA2: 'US',
                        },
                    },
                    rights: {
                        contract: true,
                        system: true,
                        soundRecording: true,
                    },
                },
            ],
        },
    ],
    contributions: [
        {
            contributorRelationship: Featured.MAIN_PERFORMER,
            instruments: null,
            nrContributor: {
                name: 'test',
            },
        },
    ],
    audioLanguage: null,
    genre: null,
    displayComposer: null,
};
