-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.open_targets_platform.mechanismOfAction`
(
  actionType STRING,
  mechanismOfAction STRING,
  chemblIds STRUCT<list ARRAY<STRUCT<element STRING>>>,
  targetName STRING,
  targetType STRING,
  targets STRUCT<list ARRAY<STRUCT<element STRING NOT NULL>>>,
  references STRUCT<list ARRAY<STRUCT<element STRUCT<source STRING, ids STRUCT<list ARRAY<STRUCT<element STRING NOT NULL>>> NOT NULL, urls STRUCT<list ARRAY<STRUCT<element STRING NOT NULL>>> NOT NULL> NOT NULL>>> NOT NULL
);

INSERT INTO `bigquery-public-data.open_targets_platform.mechanismOfAction` (actionType, mechanismOfAction, chemblIds, targetName, targetType, targets, references) VALUES ('OTHER', 'CD22 other', {'list': "[{'element': 'CHEMBL2108228'}]"}, 'CD22', 'single protein', {'list': "[{'element': 'ENSG00000012124'}]"}, {'list': "[{'element': {'source': 'PubMed', 'ids': {'list': array([{'element': '12537673'}], dtype=object)}, 'urls': {'list': array([{'element': 'http://europepmc.org/abstract/MED/12537673'}],\n       dtype=object)}}}                                                                                                                                                               ]"}), ('OTHER', 'Basigin other', {'list': "[{'element': 'CHEMBL2109193'}]"}, 'Basigin', 'single protein', {'list': "[{'element': 'ENSG00000172270'}]"}, {'list': "[{'element': {'source': 'PubMed', 'ids': {'list': array([{'element': '17110457'}], dtype=object)}, 'urls': {'list': array([{'element': 'http://europepmc.org/abstract/MED/17110457'}],\n       dtype=object)}}}                                                                                                                                                               ]"}), ('OTHER', 'Mucin-1 other', {'list': "[{'element': 'CHEMBL2109637'}]"}, 'Mucin-1', 'single protein', {'list': "[{'element': 'ENSG00000185499'}]"}, {'list': "[{'element': {'source': 'PubMed', 'ids': {'list': array([{'element': '1391628'}, {'element': '8050089'}], dtype=object)}, 'urls': {'list': array([{'element': 'http://europepmc.org/abstract/MED/1391628'},\n        {'element': 'http://europepmc.org/abstract/MED/8050089'}],\n       dtype=object)}}}                                                                                                                                                                                    ]"}), ('OTHER', 'Mucin-1 other', {'list': "[{'element': 'CHEMBL2108341'}]"}, 'Mucin-1', 'single protein', {'list': "[{'element': 'ENSG00000185499'}]"}, {'list': "[{'element': {'source': 'PubMed', 'ids': {'list': array([{'element': '19811637'}, {'element': '21878535'}], dtype=object)}, 'urls': {'list': array([{'element': 'http://europepmc.org/abstract/MED/19811637'},\n        {'element': 'http://europepmc.org/abstract/MED/21878535'}],\n       dtype=object)}}}                                                                                                                                                                                       ]"}), ('OTHER', 'Mucin-1 other', {'list': "[{'element': 'CHEMBL2109364'}]"}, 'Mucin-1', 'single protein', {'list': "[{'element': 'ENSG00000185499'}]"}, {'list': "[{'element': {'source': 'PubMed', 'ids': {'list': array([{'element': '11839249'}], dtype=object)}, 'urls': {'list': array([{'element': 'http://europepmc.org/abstract/MED/11839249'}],\n       dtype=object)}}}                                                                                                                                                               ]"});