-- DBMS: bigquery
CREATE TABLE `open-targets-prod.platform.interactionEvidence`
(
  hostOrganismTissue STRUCT<fullName STRING, shortName STRING, xrefs STRUCT<list ARRAY<STRUCT<element STRING>>>>,
  targetB STRING,
  evidenceScore FLOAT64,
  intBBiologicalRole STRING,
  interactionResources STRUCT<databaseVersion STRING, sourceDatabase STRING>,
  interactionTypeMiIdentifier STRING,
  interactionDetectionMethodShortName STRING,
  intA STRING,
  intBSource STRING,
  speciesB STRUCT<mnemonic STRING, scientificName STRING, taxonId INT64>,
  interactionIdentifier STRING,
  hostOrganismTaxId INT64,
  participantDetectionMethodA STRUCT<list ARRAY<STRUCT<element STRUCT<miIdentifier STRING, shortName STRING>>>>,
  expansionMethodShortName STRING,
  speciesA STRUCT<mnemonic STRING, scientificName STRING, taxonId INT64>,
  intASource STRING,
  intB STRING,
  pubmedId STRING,
  intABiologicalRole STRING,
  hostOrganismScientificName STRING,
  interactionScore FLOAT64,
  interactionTypeShortName STRING,
  expansionMethodMiIdentifier STRING,
  targetA STRING,
  participantDetectionMethodB STRUCT<list ARRAY<STRUCT<element STRUCT<miIdentifier STRING, shortName STRING>>>>,
  interactionDetectionMethodMiIdentifier STRING
);

INSERT INTO `open-targets-prod.platform.interactionEvidence` (hostOrganismTissue, targetB, evidenceScore, intBBiologicalRole, interactionResources, interactionTypeMiIdentifier, interactionDetectionMethodShortName, intA, intBSource, speciesB, interactionIdentifier, hostOrganismTaxId, participantDetectionMethodA, expansionMethodShortName, speciesA, intASource, intB, pubmedId, intABiologicalRole, hostOrganismScientificName, interactionScore, interactionTypeShortName, expansionMethodMiIdentifier, targetA, participantDetectionMethodB, interactionDetectionMethodMiIdentifier) VALUES ({'fullName': None, 'shortName': None, 'xrefs': None}, 'ENSG00000171843', nan, 'unspecified role', {'databaseVersion': '246', 'sourceDatabase': 'intact'}, 'MI:0407', 'cd', 'P51825', 'uniprotkb', {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'EBI-16028888', -1, {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, NULL, {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'uniprotkb', 'P42568', '23260655', 'unspecified role', 'In vitro', 0.73, 'direct interaction', NULL, 'ENSG00000172493', {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, 'MI:0016'), ({'fullName': None, 'shortName': None, 'xrefs': None}, NULL, nan, 'unspecified role', {'databaseVersion': '246', 'sourceDatabase': 'intact'}, 'MI:0407', 'cd', 'P62633', 'refseq', {'mnemonic': 'SARS-CoV-2', 'scientificName': 'SARS-CoV-2', 'taxonId': 2697049}, 'EBI-26956873', -1, {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, 'spoke expansion', {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'uniprotkb', 'NC_045512.2', '33807682', 'inhibitor', 'In vitro', 0.56, 'direct interaction', 'MI:1060', 'ENSG00000169714', {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, 'MI:0016'), ({'fullName': None, 'shortName': None, 'xrefs': None}, 'ENSG00000128394', nan, 'unspecified role', {'databaseVersion': '246', 'sourceDatabase': 'intact'}, 'MI:0407', 'dls', 'Q8IUX4', 'uniprotkb', {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'EBI-16058243', 562, {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, NULL, {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'uniprotkb', 'Q8IUX4', '23685212', 'unspecified role', 'Escherichia coli', 0.56, 'direct interaction', NULL, 'ENSG00000128394', {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, 'MI:0038'), ({'fullName': None, 'shortName': None, 'xrefs': None}, 'ENSG00000160202', nan, 'unspecified role', {'databaseVersion': '246', 'sourceDatabase': 'intact'}, 'MI:0407', 'dls', 'P02489', 'uniprotkb', {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'EBI-15796772', 562, {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, NULL, {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'uniprotkb', 'P02489', '19651604', 'unspecified role', 'Escherichia coli', 0.9, 'direct interaction', NULL, 'ENSG00000160202', {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, 'MI:0038'), ({'fullName': None, 'shortName': None, 'xrefs': None}, 'ENSG00000142192', nan, 'unspecified role', {'databaseVersion': '246', 'sourceDatabase': 'intact'}, 'MI:0407', 'dls', 'P05067-4', 'uniprotkb', {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'EBI-15840638', 562, {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, NULL, {'mnemonic': 'human', 'scientificName': 'Homo sapiens', 'taxonId': 9606}, 'uniprotkb', 'P05067-4', '20212142', 'unspecified role', 'Escherichia coli', 0.83, 'direct interaction', NULL, 'ENSG00000142192', {'list': "[{'element': {'miIdentifier': 'MI:0396', 'shortName': 'predetermined'}}]"}, 'MI:0038');