-- DBMS: snowflake
create or replace TABLE MECHANISMOFACTION (
	"actionType" VARCHAR(16777216),
	"mechanismOfAction" VARCHAR(16777216),
	"chemblIds" VARIANT,
	"targetName" VARCHAR(16777216),
	"targetType" VARCHAR(16777216),
	"targets" VARIANT,
	"references" VARIANT
);

INSERT INTO "OPEN_TARGETS_PLATFORM_2"."OPEN_TARGETS_PLATFORM"."MECHANISMOFACTION" (targetName, chemblIds, references, targets, mechanismOfAction, targetType, actionType) VALUES ('CD22', '{
  "list": [
    {
      "element": "CHEMBL2108228"
    }
  ]
}', '{
  "list": [
    {
      "element": {
        "ids": {
          "list": [
            {
              "element": "12537673"
            }
          ]
        },
        "source": "PubMed",
        "urls": {
          "list": [
            {
              "element": "http://europepmc.org/abstract/MED/12537673"
            }
          ]
        }
      }
    }
  ]
}', '{
  "list": [
    {
      "element": "ENSG00000012124"
    }
  ]
}', 'CD22 other', 'single protein', 'OTHER'), ('Basigin', '{
  "list": [
    {
      "element": "CHEMBL2109193"
    }
  ]
}', '{
  "list": [
    {
      "element": {
        "ids": {
          "list": [
            {
              "element": "17110457"
            }
          ]
        },
        "source": "PubMed",
        "urls": {
          "list": [
            {
              "element": "http://europepmc.org/abstract/MED/17110457"
            }
          ]
        }
      }
    }
  ]
}', '{
  "list": [
    {
      "element": "ENSG00000172270"
    }
  ]
}', 'Basigin other', 'single protein', 'OTHER'), ('Mucin-1', '{
  "list": [
    {
      "element": "CHEMBL2109364"
    }
  ]
}', '{
  "list": [
    {
      "element": {
        "ids": {
          "list": [
            {
              "element": "11839249"
            }
          ]
        },
        "source": "PubMed",
        "urls": {
          "list": [
            {
              "element": "http://europepmc.org/abstract/MED/11839249"
            }
          ]
        }
      }
    }
  ]
}', '{
  "list": [
    {
      "element": "ENSG00000185499"
    }
  ]
}', 'Mucin-1 other', 'single protein', 'OTHER'), ('Mucin-16', '{
  "list": [
    {
      "element": "CHEMBL1742981"
    }
  ]
}', '{
  "list": [
    {
      "element": {
        "ids": {
          "list": [
            {
              "element": "21322756"
            },
            {
              "element": "7590775"
            }
          ]
        },
        "source": "PubMed",
        "urls": {
          "list": [
            {
              "element": "http://europepmc.org/abstract/MED/21322756"
            },
            {
              "element": "http://europepmc.org/abstract/MED/7590775"
            }
          ]
        }
      }
    }
  ]
}', '{
  "list": [
    {
      "element": "ENSG00000181143"
    }
  ]
}', 'Mucin-16 other', 'single protein', 'OTHER'), ('Mucin-16', '{
  "list": [
    {
      "element": "CHEMBL2107917"
    }
  ]
}', '{
  "list": [
    {
      "element": {
        "ids": {
          "list": [
            {
              "element": "11471484"
            },
            {
              "element": "15337799"
            }
          ]
        },
        "source": "PubMed",
        "urls": {
          "list": [
            {
              "element": "http://europepmc.org/abstract/MED/11471484"
            },
            {
              "element": "http://europepmc.org/abstract/MED/15337799"
            }
          ]
        }
      }
    }
  ]
}', '{
  "list": [
    {
      "element": "ENSG00000181143"
    }
  ]
}', 'Mucin-16 other', 'single protein', 'OTHER');