Created
May 17, 2016 20:27
-
-
Save grechaw/2a711b1a5878fd6dbc41d399b03e3c68 to your computer and use it in GitHub Desktop.
Entity services (EA-2) file for Offshore Leaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"baseUri": "http://marklogic.com/offshore-leaks/", | |
"description": "An attempt to model a real data set (single source) in entity services. The data froms from http://offshoreleaks.icij.org/pages/database.", | |
"title": "OffshoreLeaks", | |
"version": "0.0.1" | |
}, | |
"definitions": { | |
"Address": { | |
"primaryKey": "node_id", | |
"properties": { | |
"address": { | |
"datatype": "string" | |
}, | |
"countries": { | |
"datatype": "string" | |
}, | |
"country_codes": { | |
"datatype": "string", | |
"description": "A three-letter country code, looks like ISO. Cardinality unclear" | |
}, | |
"icij_id": { | |
"datatype": "string" | |
}, | |
"node_id": { | |
"datatype": "string", | |
"description": "Looks like this value can be used for resources IRI uniqueness." | |
}, | |
"sourceID": { | |
"datatype": "string" | |
}, | |
"valid_until": { | |
"datatype": "string" | |
} | |
} | |
}, | |
"Entity": { | |
"primaryKey": "node_id", | |
"properties": { | |
"address": { | |
"datatype": "string" | |
}, | |
"company_type": { | |
"datatype": "string" | |
}, | |
"countries": { | |
"datatype": "string" | |
}, | |
"country_codes": { | |
"datatype": "string" | |
}, | |
"dorm_date": { | |
"datatype": "string" | |
}, | |
"former_name": { | |
"datatype": "string" | |
}, | |
"ibcRUC": { | |
"datatype": "string" | |
}, | |
"inactivation_date": { | |
"datatype": "string" | |
}, | |
"incorporation_date": { | |
"datatype": "string" | |
}, | |
"internal_id": { | |
"datatype": "string" | |
}, | |
"jurisdiction": { | |
"datatype": "string" | |
}, | |
"jurisdiction_description": { | |
"datatype": "string" | |
}, | |
"name": { | |
"datatype": "string" | |
}, | |
"node_id": { | |
"datatype": "string" | |
}, | |
"note": { | |
"datatype": "string" | |
}, | |
"original_name": { | |
"datatype": "string" | |
}, | |
"service_provider": { | |
"datatype": "string" | |
}, | |
"sourceID": { | |
"datatype": "string" | |
}, | |
"status": { | |
"datatype": "string" | |
}, | |
"struck_off_date": { | |
"datatype": "string" | |
}, | |
"valid_until": { | |
"datatype": "string" | |
} | |
} | |
} | |
}, | |
"Intermediaries": { | |
"properties":{ | |
"name":{"datatype":"string"}, | |
"internal_id":{"datatype":"string"}, | |
"address":{"datatype":"string"}, | |
"valid_until":{"datatype":"string"}, | |
"country_codes":{"datatype":"string"}, | |
"countries":{"datatype":"string"}, | |
"status":{"datatype":"string"}, | |
"node_id":{"datatype":"string"}, | |
"sourceID":{"datatype":"string"} | |
}, | |
"primaryKey":"node_id" | |
}, | |
"Officers": { | |
"properties":{ | |
"name":{"datatype":"string"}, | |
"icij_id":{"datatype":"string"}, | |
"valid_until":{"datatype":"string"}, | |
"country_codes":{"datatype":"string"}, | |
"countries":{"datatype":"string"}, | |
"node_id":{"datatype":"string"}, | |
"sourceID":{"datatype":"string"} | |
}, | |
"primaryKey":"node_id" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment