-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOrganization.rsd
More file actions
166 lines (153 loc) · 14.6 KB
/
Organization.rsd
File metadata and controls
166 lines (153 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<api:script>
<api:info
title="Organization"
desc="Query for organizations in Diffbot Knowledge Graph with DQL"
other:queryslicercolumn="dql"
xmlns:other="http://apiscript.com/ns?v1"
>
<attr name="data:_id" xs:type="string" readonly="True" other:xPath="/json/data/_id" />
<!-- General -->
<attr name="name" xs:type="string" readonly="True" other:xPath="/json/data/entity/name" />
<attr name="homepageUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/homepageUri" />
<attr name="summary" xs:type="string" readonly="True" other:xPath="/json/data/entity/summary" />
<attr name="description" xs:type="string" readonly="True" other:xPath="/json/data/entity/description" />
<attr name="categories" xs:type="string" readonly="True" other:xPath="/json/data/entity/categories/name" />
<attr name="descriptors" xs:type="string" readonly="True" other:xPath="/json/data/entity/descriptors" />
<attr name="logo" xs:type="string" readonly="True" other:xPath="/json/data/entity/logo" />
<attr name="isAcquired" xs:type="bool" readonly="True" other:xPath="/json/data/entity/isAcquired" />
<attr name="isDissolved" xs:type="bool" readonly="True" other:xPath="/json/data/entity/isDissolved" />
<attr name="isNonProfit" xs:type="bool" readonly="True" other:xPath="/json/data/entity/isNonProfit" />
<attr name="isPublic" xs:type="bool" readonly="True" other:xPath="/json/data/entity/isPublic" />
<attr name="legalEntities" xs:type="string" readonly="True" other:xPath="/json/data/entity/legalEntities" />
<attr name="allNames" xs:type="string" readonly="True" other:xPath="/json/data/entity/allNames" />
<attr name="nbEmployees" xs:type="int" readonly="True" other:xPath="/json/data/entity/nbEmployees" />
<attr name="nbEmployeesMax" xs:type="int" readonly="True" other:xPath="/json/data/entity/nbEmployeesMax" />
<attr name="nbEmployeesMin" xs:type="int" readonly="True" other:xPath="/json/data/entity/nbEmployeesMin" />
<attr name="foundingDate.str" xs:type="str" readonly="True" other:xPath="/json/data/entity/foundingDate/str" />
<!-- Location(s) -->
<attr name="nbLocations" xs:type="int" readonly="True" other:xPath="/json/data/entity/nbLocations" />
<attr name="location.address" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/address" />
<attr name="location.street" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/street" />
<attr name="location.city.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/city/name" />
<attr name="location.metroArea.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/metroArea/name" />
<attr name="location.region.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/region/name" />
<attr name="location.subregion.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/subregion/name" />
<attr name="location.country.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/country/name" />
<attr name="location.postalCode" xs:type="string" readonly="True" other:xPath="/json/data/entity/location/postalCode" />
<attr name="location.latitude" xs:type="double" readonly="True" other:xPath="/json/data/entity/location/latitude" />
<attr name="location.longitude" xs:type="double" readonly="True" other:xPath="/json/data/entity/location/longitude" />
<attr name="locations" xs:type="string" readonly="True" other:xPath="/json/data/entity/locations" />
<!-- Registration IDs -->
<attr name="abnNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/abnNumbers" />
<attr name="acnNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/acnNumbers" />
<attr name="companiesHouseIds" xs:type="string" readonly="True" other:xPath="/json/data/entity/companiesHouseIds" />
<attr name="canadianBusinessNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/canadianBusinessNumbers" />
<attr name="indianCorporateIdentityNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/indianCorporateIdentityNumbers" />
<attr name="irsEmployerIdentificationNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/irsEmployerIdentificationNumbers" />
<attr name="israeliCompanyNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/israeliCompanyNumbers" />
<attr name="japaneseCorporateNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/japaneseCorporateNumbers" />
<attr name="norwegianOrganizationNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/norwegianOrganizationNumbers" />
<attr name="npiNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/npiNumbers" />
<attr name="secCentralIndexKeys" xs:type="string" readonly="True" other:xPath="/json/data/entity/secCentralIndexKeys" />
<attr name="sirenCodes" xs:type="string" readonly="True" other:xPath="/json/data/entity/sirenCodes" />
<attr name="vatIdentificationNumbers" xs:type="string" readonly="True" other:xPath="/json/data/entity/vatIdentificationNumbers" />
<!-- Industry Classification -->
<attr name="anzSicClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/anzSicClassification" />
<attr name="iSicClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/iSicClassification" />
<attr name="naceClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/naceClassification" />
<attr name="nafClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/nafClassification" />
<attr name="naicsClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/naicsClassification" />
<attr name="sicClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/sicClassification" />
<attr name="ssbClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/ssbClassification" />
<attr name="ukSicClassification" xs:type="string" readonly="True" other:xPath="/json/data/entity/ukSicClassification" />
<!-- Social/Directory -->
<attr name="linkedInUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/linkedInUri" />
<attr name="angellistUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/angellistUri" />
<attr name="crunchbaseUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/crunchbaseUri" />
<attr name="facebookUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/facebookUri" />
<attr name="githubUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/githubUri" />
<attr name="googlePlusUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/googlePlusUri" />
<attr name="twitterUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/twitterUri" />
<attr name="wikipediaUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/wikipediaUri" />
<!-- People -->
<attr name="founders" xs:type="string" readonly="True" other:xPath="/json/data/entity/founders" />
<attr name="boardMembers" xs:type="string" readonly="True" other:xPath="/json/data/entity/boardMembers" />
<attr name="ceo.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/ceo/name" />
<attr name="ceo.diffbotUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/ceo/diffbotUri" />
<!-- Business/Financial -->
<attr name="nbUniqueInvestors" xs:type="int" readonly="True" other:xPath="/json/data/entity/nbUniqueInvestors" />
<attr name="acquiredBy" xs:type="string" readonly="True" other:xPath="/json/data/entity/acquiredBy" />
<attr name="capitalization.currency" xs:type="string" readonly="True" other:xPath="/json/data/entity/capitalization/currency" />
<attr name="capitalization.value" xs:type="decimal" readonly="True" other:xPath="/json/data/entity/capitalization/value" />
<attr name="employeeCategories" xs:type="string" readonly="True" other:xPath="/json/data/entity/employeeCategories" />
<attr name="competitors" xs:type="string" readonly="True" other:xPath="/json/data/entity/competitors" />
<attr name="customers" xs:type="string" readonly="True" other:xPath="/json/data/entity/customers" />
<attr name="investments" xs:type="string" readonly="True" other:xPath="/json/data/entity/investments" />
<attr name="ipo.date.precision" xs:type="int" readonly="True" other:xPath="/json/data/entity/ipo/date/precision" />
<attr name="ipo.date.str" xs:type="string" readonly="True" other:xPath="/json/data/entity/ipo/date/str" />
<attr name="ipo.date.timestamp" xs:type="long" readonly="True" other:xPath="/json/data/entity/ipo/date/timestamp" />
<attr name="ipo.stockExchange" xs:type="string" readonly="True" other:xPath="/json/data/entity/ipo/stockExchange" />
<attr name="monthlyTraffic" xs:type="long" readonly="True" other:xPath="/json/data/entity/monthlyTraffic" />
<attr name="monthlyTrafficGrowth" xs:type="double" readonly="True" other:xPath="/json/data/entity/monthlyTrafficGrowth" />
<attr name="parentCompany.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/parentCompany/name" />
<attr name="parentCompany.summary" xs:type="string" readonly="True" other:xPath="/json/data/entity/parentCompany/summary" />
<attr name="parentCompany.diffbotUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/parentCompany/diffbotUri" />
<attr name="partnerships" xs:type="string" readonly="True" other:xPath="/json/data/entity/partnerships" />
<attr name="predecessors" xs:type="string" readonly="True" other:xPath="/json/data/entity/predecessors" />
<attr name="quarterlyRevenues" xs:type="string" readonly="True" other:xPath="/json/data/entity/quarterlyRevenues" />
<attr name="remoteScore" xs:type="double" readonly="True" other:xPath="/json/data/entity/remoteScore" />
<attr name="revenue.currency" xs:type="string" readonly="True" other:xPath="/json/data/entity/revenue/currency" />
<attr name="revenue.value" xs:type="decimal" readonly="True" other:xPath="/json/data/entity/revenue/value" />
<attr name="secForms" xs:type="string" readonly="True" other:xPath="/json/data/entity/secForms" />
<attr name="stock.exchange" xs:type="string" readonly="True" other:xPath="/json/data/entity/stock/exchange" />
<attr name="stock.from.precision" xs:type="int" readonly="True" other:xPath="/json/data/entity/stock/from/precision" />
<attr name="stock.from.str" xs:type="string" readonly="True" other:xPath="/json/data/entity/stock/from/str" />
<attr name="stock.from.timestamp" xs:type="long" readonly="True" other:xPath="/json/data/entity/stock/from/timestamp" />
<attr name="stock.symbol" xs:type="string" readonly="True" other:xPath="/json/data/entity/stock/symbol" />
<attr name="subsidiaries" xs:type="string" readonly="True" other:xPath="/json/data/entity/subsidiaries" />
<attr name="successors" xs:type="string" readonly="True" other:xPath="/json/data/entity/successors" />
<attr name="suppliers" xs:type="string" readonly="True" other:xPath="/json/data/entity/suppliers" />
<attr name="technographics" xs:type="string" readonly="True" other:xPath="/json/data/entity/technographics" />
<attr name="totalInvestment.currency" xs:type="string" readonly="True" other:xPath="/json/data/entity/totalInvestment/currency" />
<attr name="totalInvestment.value" xs:type="decimal" readonly="True" other:xPath="/json/data/entity/totalInvestment/value" />
<attr name="ultimateParent.name" xs:type="string" readonly="True" other:xPath="/json/data/entity/ultimateParent/name" />
<attr name="ultimateParent.diffbotUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/ultimateParent/diffbotUri" />
<attr name="wikipediaPageviews" xs:type="int" readonly="True" other:xPath="/json/data/entity/wikipediaPageviews" />
<attr name="wikipediaPageviewsGrowth" xs:type="double" readonly="True" other:xPath="/json/data/entity/wikipediaPageviewsGrowth" />
<attr name="wikipediaPageviewsLastQuarter" xs:type="int" readonly="True" other:xPath="/json/data/entity/wikipediaPageviewsLastQuarter" />
<attr name="wikipediaPageviewsLastQuarterGrowth" xs:type="double" readonly="True" other:xPath="/json/data/entity/wikipediaPageviewsLastQuarterGrowth" />
<attr name="wikipediaPageviewsLastYear" xs:type="int" readonly="True" other:xPath="/json/data/entity/wikipediaPageviewsLastYear" />
<attr name="wikipediaPageviewsLastYearGrowth" xs:type="double" readonly="True" other:xPath="/json/data/entity/wikipediaPageviewsLastYearGrowth" />
<attr name="yearlyRevenues" xs:type="string" readonly="True" other:xPath="/json/data/entity/yearlyRevenues" />
<!-- Metadata -->
<attr name="nbOrigins" xs:type="int" readonly="True" other:xPath="/json/data/entity/nbOrigins" />
<attr name="crawlTimestamp" xs:type="int" readonly="True" other:xPath="/json/data/entity/crawlTimestamp" />
<attr name="id" xs:type="string" readonly="True" other:xPath="/json/data/entity/id" />
<attr name="diffbotUri" xs:type="string" readonly="True" other:xPath="/json/data/entity/diffbotUri" />
<attr name="importance" xs:type="double" readonly="True" other:xPath="/json/data/entity/importance" />
<attr name="allUris" xs:type="string" readonly="True" other:xPath="/json/data/entity/allUris" />
<attr name="origins" xs:type="string" readonly="True" other:xPath="/json/data/entity/origins" />
<!-- Input parameters-->
<input name="dql" xs:type="String" required="True" />
</api:info>
<!-- Set global parameters -->
<api:set attr="ContentType" value="application/json" />
<!-- Set authorization parameters -->
<api:validate attr="_connection.APIToken" desc="The APIToken must be set in ProfileSettings connection property for authentication. See Help for more details." />
<api:set attr="auth" value="[_connection.APIToken]" />
<!-- Set request parameters -->
<api:check attr="_input.dql">
<!-- DQL: Query with DQL. Learn more at https://docs.diffbot.com/docs/kg-search -->
<api:set attr="URI" value="https://kg.diffbot.com/kg/v3/dql?token=[auth]&query={dql}" />
</api:check>
<api:setc attr="XPath" value="/data" />
<api:set attr="DataModel" value="FlattenedDocuments" />
<api:set attr="PageIdColumns" value="True" />
<api:set attr="EnablePaging" value="False" />
<api:script method="GET">
<api:set attr="method" value="GET" />
<api:call op="apisadoExecuteJSONGet">
<api:push />
</api:call>
</api:script>
</api:script>