Skip to content

Instantly share code, notes, and snippets.

@rjurney
Created July 4, 2024 22:39
Show Gist options
  • Save rjurney/3f7461e619b2f5c9cab0e1023f58b92c to your computer and use it in GitHub Desktop.
Save rjurney/3f7461e619b2f5c9cab0e1023f58b92c to your computer and use it in GitHub Desktop.
6 JSON Lines records in Senzing format
{
"DATA_SOURCE": "TEST",
"RECORD_ID": "1",
"RECORD_TYPE": "PERSON",
"NAME_LIST": [
{
"NAME_TYPE": "PRIMARY",
"NAME_FULL": "KIM SOO IN"
}
],
"ADDRESS_LIST": [
{
"ADDR_COUNTRY": "KOR"
}
],
"REL_ANCHOR_DOMAIN": "PANAMA",
"REL_ANCHOR_KEY": "1"
}
{
"DATA_SOURCE": "TEST",
"RECORD_ID": "2",
"RECORD_TYPE": "PERSON",
"NAME_LIST": [
{
"NAME_TYPE": "PRIMARY",
"NAME_FULL": "Tian Yuan"
}
],
"ADDRESS_LIST": [
{
"ADDR_COUNTRY": "CHN"
}
],
"REL_ANCHOR_DOMAIN": "PANAMA",
"REL_ANCHOR_KEY": "2"
}
{
"DATA_SOURCE": "TEST",
"RECORD_ID": "3",
"RECORD_TYPE": "PERSON",
"NAME_LIST": [
{
"NAME_TYPE": "PRIMARY",
"NAME_FULL": "GREGORY JOHN SOLOMON"
}
],
"ADDRESS_LIST": [
{
"ADDR_COUNTRY": "AUS"
}
],
"REL_ANCHOR_DOMAIN": "PANAMA",
"REL_ANCHOR_KEY": "3"
}
{
"DATA_SOURCE": "TEST",
"RECORD_ID": "4",
"RECORD_TYPE": "ORGANIZATION",
"NAME_LIST": [
{
"NAME_TYPE": "PRIMARY",
"NAME_ORG": "TIANSHENG INDUSTRY AND TRADING CO., LTD."
}
],
"ADDRESS_LIST": [
{
"ADDR_FULL": "ORION HOUSE SERVICES (HK) LIMITED ROOM 1401; 14/F.; WORLD COMMERCE CENTRE; HARBOUR CITY; 7-11 CANTON ROAD; TSIM SHA TSUI; KOWLOON; HONG KONG"
}
],
"REGISTRATION_COUNTRY": "SAM",
"OTHER_ID_NUMBER": "1001256",
"OTHER_ID_SOURCE": "ICIJ",
"REGISTRATION_DATE": "23-MAR-2006",
"INACTIVATION_DATE": "18-FEB-2013",
"STRIKE_OFF_DATE": "15-FEB-2013",
"STATUS": "Defaulted",
"REL_ANCHOR_DOMAIN": "PANAMA",
"REL_ANCHOR_KEY": "4",
"REL_POINTER_KEY": "1",
"REL_POINTER_ROLE": "OFFICER_OF",
"REL_POINTER_DOMAIN": "PANAMA",
"RELATIONSHIP_TYPE": "shareholder of"
}
{
"DATA_SOURCE": "TEST",
"RECORD_ID": "5",
"RECORD_TYPE": "ORGANIZATION",
"NAME_LIST": [
{
"NAME_TYPE": "PRIMARY",
"NAME_ORG": "NINGBO SUNRISE ENTERPRISES UNITED CO., LTD."
}
],
"ADDRESS_LIST": [
{
"ADDR_FULL": "ORION HOUSE SERVICES (HK) LIMITED ROOM 1401; 14/F.; WORLD COMMERCE CENTRE; HARBOUR CITY; 7-11 CANTON ROAD; TSIM SHA TSUI; KOWLOON; HONG KONG"
}
],
"REGISTRATION_COUNTRY": "SAM",
"OTHER_ID_NUMBER": "1001263",
"OTHER_ID_SOURCE": "ICIJ",
"REGISTRATION_DATE": "27-MAR-2006",
"INACTIVATION_DATE": "27-FEB-2014",
"STRIKE_OFF_DATE": "15-FEB-2014",
"STATUS": "Defaulted",
"REL_ANCHOR_DOMAIN": "PANAMA",
"REL_ANCHOR_KEY": "5",
"REL_POINTER_KEY": "2",
"REL_POINTER_ROLE": "OFFICER_OF",
"REL_POINTER_DOMAIN": "PANAMA",
"RELATIONSHIP_TYPE": "shareholder of"
}
{
"DATA_SOURCE": "TEST",
"RECORD_ID": "6",
"RECORD_TYPE": "ORGANIZATION",
"NAME_LIST": [
{
"NAME_TYPE": "PRIMARY",
"NAME_ORG": "Random Company, LTD."
}
],
"ADDRESS_LIST": [
{
"ADDR_FULL": "1 MAIN STREET, SYDNEY,AUSTRALIA "
}
],
"REGISTRATION_COUNTRY": "SAM",
"OTHER_ID_NUMBER": "1001263",
"OTHER_ID_SOURCE": "ICIJ",
"REGISTRATION_DATE": "27-MAR-2006",
"INACTIVATION_DATE": "27-FEB-2014",
"STRIKE_OFF_DATE": "15-FEB-2014",
"STATUS": "Defaulted",
"REL_ANCHOR_DOMAIN": "PANAMA",
"REL_ANCHOR_KEY": "6",
"REL_POINTER_KEY": "3",
"REL_POINTER_ROLE": "OFFICER_OF",
"REL_POINTER_DOMAIN": "PANAMA",
"RELATIONSHIP_TYPE": "shareholder of"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment