DUMMY_COMPANY_DATA = {
    "id": "8c0c7a56-cb98-4c31-87ca-6f1853253986",
    "name": "<NAME>",
    "business_id": "0877830-0",
    "company_form": "OY",
    "industry": "Taloustavaroiden vähittäiskauppa",
    "street_address": "Vasaratie 4 A 3",
    "postcode": "65350",
    "city": "Vaasa",
}


DUMMY_YTJ_RESPONSE = {
    "type": "fi.prh.opendata.tr",
    "version": "1",
    "totalResults": -1,
    "resultsFrom": 0,
    "previousResultsUri": None,
    "nextResultsUri": None,
    "exceptionNoticeUri": None,
    "results": [
        {
            "businessId": "0877830-0",
            "name": "<NAME>",
            "registrationDate": "1992-01-29",
            "companyForm": "OY",
            "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/0877830-0",
            "bisDetailsUri": "http://avoindata.prh.fi/opendata/bis/v1/0877830-0",
            "language": "FI",
            "latestRegistrationDate": "2021-01-12",
            "checkDate": None,
            "names": [
                {
                    "order": 0,
                    "name": "<NAME>",
                    "registrationDate": "1999-03-31",
                    "endDate": None,
                    "language": None,
                }
            ],
            "auxiliaryNames": [],
            "companyForms": [{"type": "OY", "registrationDate": "1999-03-31"}],
            "addresses": [
                {
                    "street": "Vasaratie 4 A 3",
                    "postCode": "65350",
                    "type": 2,
                    "city": "Vaasa",
                    "country": "FI",
                    "website": None,
                    "phone": "0400 665254",
                    "fax": None,
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                }
            ],
            "publicNotices": [
                {
                    "recordNumber": "2020/55730X",
                    "registrationDate": "2021-01-01",
                    "typeOfRegistration": "TA",
                    "entryCodes": ["TASE"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2020/55730X",
                },
                {
                    "recordNumber": "2020/290401",
                    "registrationDate": "2020-06-15",
                    "typeOfRegistration": "M",
                    "entryCodes": [""],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2020/290401",
                },
                {
                    "recordNumber": "2019/53986T",
                    "registrationDate": "2019-12-05",
                    "typeOfRegistration": "TA",
                    "entryCodes": ["TASE"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2019/53986T",
                },
                {
                    "recordNumber": "2019/250695",
                    "registrationDate": "2019-07-09",
                    "typeOfRegistration": "M",
                    "entryCodes": ["HAL"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2019/250695",
                },
                {
                    "recordNumber": "2018/50210V",
                    "registrationDate": "2018-10-19",
                    "typeOfRegistration": "TA",
                    "entryCodes": ["TASE"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2018/50210V",
                },
                {
                    "recordNumber": "2017/46683V",
                    "registrationDate": "2017-10-21",
                    "typeOfRegistration": "TA",
                    "entryCodes": ["TASE"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2017/46683V",
                },
                {
                    "recordNumber": "2016/86280V",
                    "registrationDate": "2016-11-03",
                    "typeOfRegistration": "TA",
                    "entryCodes": ["TASE"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2016/86280V",
                },
                {
                    "recordNumber": "2015/739492",
                    "registrationDate": "2015-11-04",
                    "typeOfRegistration": "M",
                    "entryCodes": ["TILTAR"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2015/739492",
                },
                {
                    "recordNumber": "2015/84509U",
                    "registrationDate": "2015-10-08",
                    "typeOfRegistration": "TA",
                    "entryCodes": ["TASE"],
                    "detailsUri": "http://avoindata.prh.fi/opendata/tr/v1/publicnotices/2015/84509U",
                },
            ],
            "registeredOffices": [
                {
                    "registeredOffice": "Vaasa",
                    "language": "EN",
                    "registrationDate": "2005-01-25",
                    "endDate": None,
                },
                {
                    "registeredOffice": "Vasa",
                    "language": "SE",
                    "registrationDate": "2005-01-25",
                    "endDate": None,
                },
                {
                    "registeredOffice": "Vaasa",
                    "language": "FI",
                    "registrationDate": "2005-01-25",
                    "endDate": None,
                },
            ],
        }
    ],
}


DUMMY_YTJ_BUSINESS_DETAILS_RESPONSE = {
    "type": "fi.prh.opendata.bis",
    "version": "1",
    "totalResults": -1,
    "resultsFrom": 0,
    "previousResultsUri": None,
    "nextResultsUri": None,
    "exceptionNoticeUri": None,
    "results": [
        {
            "businessId": "0877830-0",
            "name": "<NAME>",
            "registrationDate": "1992-03-03",
            "companyForm": "OY",
            "detailsUri": None,
            "liquidations": [],
            "names": [
                {
                    "order": 0,
                    "version": 1,
                    "name": "<NAME>",
                    "registrationDate": "1999-03-31",
                    "endDate": None,
                    "source": 1,
                },
                {
                    "order": 0,
                    "version": 2,
                    "name": "<NAME>",
                    "registrationDate": "1992-01-29",
                    "endDate": "1999-03-30",
                    "source": 1,
                },
            ],
            "auxiliaryNames": [],
            "addresses": [
                {
                    "careOf": None,
                    "street": "Vasaratie 4 A 3",
                    "postCode": "65350",
                    "type": 1,
                    "version": 2,
                    "city": "VAASA",
                    "country": None,
                    "registrationDate": "2013-12-16",
                    "endDate": "2013-12-18",
                    "language": "FI",
                    "source": 0,
                },
                {
                    "careOf": None,
                    "street": "PL 327",
                    "postCode": "65101",
                    "type": 2,
                    "version": 2,
                    "city": "VAASA",
                    "country": None,
                    "registrationDate": "2013-12-16",
                    "endDate": "2020-07-21",
                    "language": "FI",
                    "source": 0,
                },
                {
                    "careOf": None,
                    "street": "",
                    "postCode": None,
                    "type": 1,
                    "version": 1,
                    "city": None,
                    "country": None,
                    "registrationDate": "2013-12-18",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
                {
                    "careOf": None,
                    "street": "Vasaratie 4 A 3",
                    "postCode": "65350",
                    "type": 2,
                    "version": 1,
                    "city": "VAASA",
                    "country": None,
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
            ],
            "companyForms": [
                {
                    "version": 1,
                    "name": "Osakeyhtiö",
                    "type": "OY",
                    "registrationDate": "1999-03-31",
                    "endDate": None,
                    "language": "FI",
                    "source": 1,
                },
                {
                    "version": 1,
                    "name": "Aktiebolag",
                    "type": "AB",
                    "registrationDate": "1999-03-31",
                    "endDate": None,
                    "language": "SE",
                    "source": 1,
                },
                {
                    "version": 1,
                    "name": "Limited company",
                    "type": None,
                    "registrationDate": "1999-03-31",
                    "endDate": None,
                    "language": "EN",
                    "source": 1,
                },
            ],
            "businessLines": [
                {
                    "order": 0,
                    "version": 1,
                    "code": "47594",
                    "name": "Retail sale of household articles",
                    "registrationDate": "2007-12-31",
                    "endDate": None,
                    "language": "EN",
                    "source": 2,
                },
                {
                    "order": 0,
                    "version": 1,
                    "code": "47594",
                    "name": "<NAME>uppa",
                    "registrationDate": "2007-12-31",
                    "endDate": None,
                    "language": "FI",
                    "source": 2,
                },
                {
                    "order": 0,
                    "version": 1,
                    "code": "47594",
                    "name": "Specialiserad butikshandel med hushållsartiklar",
                    "registrationDate": "2007-12-31",
                    "endDate": None,
                    "language": "SE",
                    "source": 2,
                },
            ],
            "languages": [
                {
                    "version": 1,
                    "name": "Finnish",
                    "registrationDate": "1992-03-03",
                    "endDate": None,
                    "language": "EN",
                    "source": 0,
                },
                {
                    "version": 1,
                    "name": "Suomi",
                    "registrationDate": "1992-03-03",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
                {
                    "version": 1,
                    "name": "Finska",
                    "registrationDate": "1992-03-03",
                    "endDate": None,
                    "language": "SE",
                    "source": 0,
                },
            ],
            "registedOffices": [
                {
                    "order": 0,
                    "version": 1,
                    "name": "VAASA",
                    "registrationDate": "2005-01-25",
                    "endDate": None,
                    "language": "EN",
                    "source": 0,
                },
                {
                    "order": 0,
                    "version": 1,
                    "name": "VAASA",
                    "registrationDate": "2005-01-25",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
                {
                    "order": 0,
                    "version": 1,
                    "name": "VASA",
                    "registrationDate": "2005-01-25",
                    "endDate": None,
                    "language": "SE",
                    "source": 0,
                },
                {
                    "order": 0,
                    "version": 2,
                    "name": "VÄHÄKYRÖ",
                    "registrationDate": "1999-03-31",
                    "endDate": "2005-01-24",
                    "language": "EN",
                    "source": 0,
                },
                {
                    "order": 0,
                    "version": 2,
                    "name": "VÄHÄKYRÖ",
                    "registrationDate": "1999-03-31",
                    "endDate": "2005-01-24",
                    "language": "FI",
                    "source": 0,
                },
                {
                    "order": 0,
                    "version": 2,
                    "name": "LILLKYRO",
                    "registrationDate": "1999-03-31",
                    "endDate": "2005-01-24",
                    "language": "SE",
                    "source": 0,
                },
            ],
            "contactDetails": [
                {
                    "version": 1,
                    "value": "0400 665254",
                    "type": "Matkapuhelin",
                    "registrationDate": "2005-01-11",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "0400 665254",
                    "type": "Mobiltelefon",
                    "registrationDate": "2005-01-11",
                    "endDate": None,
                    "language": "SE",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "0400 665254",
                    "type": "Mobile phone",
                    "registrationDate": "2005-01-11",
                    "endDate": None,
                    "language": "EN",
                    "source": 0,
                },
                {
                    "version": 2,
                    "value": "06 3129811",
                    "type": "Puhelin",
                    "registrationDate": "2005-01-11",
                    "endDate": "2020-07-21",
                    "language": "FI",
                    "source": 0,
                },
                {
                    "version": 2,
                    "value": "06 3129811",
                    "type": "Telefon",
                    "registrationDate": "2005-01-11",
                    "endDate": "2020-07-21",
                    "language": "SE",
                    "source": 0,
                },
                {
                    "version": 2,
                    "value": "06 3129811",
                    "type": "Telephone",
                    "registrationDate": "2005-01-11",
                    "endDate": "2020-07-21",
                    "language": "EN",
                    "source": 0,
                },
                {
                    "version": 2,
                    "value": "06 9129812",
                    "type": "Faksi",
                    "registrationDate": "2005-01-11",
                    "endDate": "2020-07-21",
                    "language": "FI",
                    "source": 0,
                },
                {
                    "version": 2,
                    "value": "06 9129812",
                    "type": "Fax",
                    "registrationDate": "2005-01-11",
                    "endDate": "2020-07-21",
                    "language": "SE",
                    "source": 0,
                },
                {
                    "version": 2,
                    "value": "06 9129812",
                    "type": "Fax",
                    "registrationDate": "2005-01-11",
                    "endDate": "2020-07-21",
                    "language": "EN",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "",
                    "type": "Puhelin",
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "",
                    "type": "Telefon",
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "SE",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "",
                    "type": "Telephone",
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "EN",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "",
                    "type": "Faksi",
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "FI",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "",
                    "type": "Fax",
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "SE",
                    "source": 0,
                },
                {
                    "version": 1,
                    "value": "",
                    "type": "Fax",
                    "registrationDate": "2020-07-22",
                    "endDate": None,
                    "language": "EN",
                    "source": 0,
                },
            ],
            "registeredEntries": [
                {
                    "authority": 1,
                    "register": 4,
                    "status": 1,
                    "registrationDate": "1992-03-03",
                    "endDate": None,
                    "statusDate": "2020-06-03",
                    "language": "FI",
                    "description": "Rekisterissä",
                },
                {
                    "authority": 1,
                    "register": 4,
                    "status": 1,
                    "registrationDate": "1992-03-03",
                    "endDate": None,
                    "statusDate": "2020-06-03",
                    "language": "SE",
                    "description": "Registrerad",
                },
                {
                    "authority": 1,
                    "register": 4,
                    "status": 1,
                    "registrationDate": "1992-03-03",
                    "endDate": None,
                    "statusDate": "2020-06-03",
                    "language": "EN",
                    "description": "Registered",
                },
                {
                    "authority": 1,
                    "register": 5,
                    "status": 1,
                    "registrationDate": "1995-03-01",
                    "endDate": None,
                    "statusDate": "2017-03-16",
                    "language": "FI",
                    "description": "Rekisterissä",
                },
                {
                    "authority": 1,
                    "register": 5,
                    "status": 1,
                    "registrationDate": "1995-03-01",
                    "endDate": None,
                    "statusDate": "2017-03-16",
                    "language": "SE",
                    "description": "Registrerad",
                },
                {
                    "authority": 1,
                    "register": 5,
                    "status": 1,
                    "registrationDate": "1995-03-01",
                    "endDate": None,
                    "statusDate": "2017-03-16",
                    "language": "EN",
                    "description": "Registered",
                },
                {
                    "authority": 1,
                    "register": 6,
                    "status": 1,
                    "registrationDate": "1994-06-01",
                    "endDate": None,
                    "statusDate": "2008-07-21",
                    "language": "FI",
                    "description": "Liiketoiminnasta arvonlisäverovelvollinen",
                },
                {
                    "authority": 1,
                    "register": 6,
                    "status": 1,
                    "registrationDate": "1994-06-01",
                    "endDate": None,
                    "statusDate": "2008-07-21",
                    "language": "SE",
                    "description": "Momsskyldig för rörelseverksamhet",
                },
                {
                    "authority": 1,
                    "register": 6,
                    "status": 1,
                    "registrationDate": "1994-06-01",
                    "endDate": None,
                    "statusDate": "2008-07-21",
                    "language": "EN",
                    "description": "VAT-liable for business activity",
                },
                {
                    "authority": 1,
                    "register": 6,
                    "status": 1,
                    "registrationDate": "2008-08-01",
                    "endDate": None,
                    "statusDate": "2008-07-21",
                    "language": "FI",
                    "description": "Kiinteistön käyttöoikeuden luovuttamisesta",
                },
                {
                    "authority": 1,
                    "register": 6,
                    "status": 1,
                    "registrationDate": "2008-08-01",
                    "endDate": None,
                    "statusDate": "2008-07-21",
                    "language": "SE",
                    "description": "För överlåtelse av nyttjanderätten till en fastighet",
                },
                {
                    "authority": 1,
                    "register": 6,
                    "status": 1,
                    "registrationDate": "2008-08-01",
                    "endDate": None,
                    "statusDate": "2008-07-21",
                    "language": "EN",
                    "description": "VAT-obliged for the transfer of rights to use immovable property",
                },
                {
                    "authority": 1,
                    "register": 7,
                    "status": 1,
                    "registrationDate": "1992-03-01",
                    "endDate": None,
                    "statusDate": "2001-03-30",
                    "language": "FI",
                    "description": "Rekisterissä",
                },
                {
                    "authority": 1,
                    "register": 7,
                    "status": 1,
                    "registrationDate": "1992-03-01",
                    "endDate": None,
                    "statusDate": "2001-03-30",
                    "language": "SE",
                    "description": "Registrerad",
                },
                {
                    "authority": 1,
                    "register": 7,
                    "status": 1,
                    "registrationDate": "1992-03-01",
                    "endDate": None,
                    "statusDate": "2001-03-30",
                    "language": "EN",
                    "description": "Registered",
                },
                {
                    "authority": 2,
                    "register": 1,
                    "status": 1,
                    "registrationDate": "1992-01-29",
                    "endDate": None,
                    "statusDate": "1992-01-29",
                    "language": "FI",
                    "description": "Rekisterissä",
                },
                {
                    "authority": 2,
                    "register": 1,
                    "status": 1,
                    "registrationDate": "1992-01-29",
                    "endDate": None,
                    "statusDate": "1992-01-29",
                    "language": "SE",
                    "description": "Registrerad",
                },
                {
                    "authority": 2,
                    "register": 1,
                    "status": 1,
                    "registrationDate": "1992-01-29",
                    "endDate": None,
                    "statusDate": "1992-01-29",
                    "language": "EN",
                    "description": "Registered",
                },
            ],
            "businessIdChanges": [],
        }
    ],
}
