turbot 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/turbot/command/bots.rb +1 -13
- data/lib/turbot/version.rb +1 -1
- metadata +4 -33
- data/schema/schemas/company-schema.json +0 -237
- data/schema/schemas/financial-payment-schema.json +0 -32
- data/schema/schemas/includes/address.json +0 -46
- data/schema/schemas/includes/alternative_name.json +0 -36
- data/schema/schemas/includes/company-for-nesting.json +0 -235
- data/schema/schemas/includes/company.json +0 -25
- data/schema/schemas/includes/filing.json +0 -52
- data/schema/schemas/includes/financial-payment-data-object.json +0 -112
- data/schema/schemas/includes/identifier.json +0 -20
- data/schema/schemas/includes/industry_code.json +0 -29
- data/schema/schemas/includes/licence-data-object.json +0 -63
- data/schema/schemas/includes/officer.json +0 -70
- data/schema/schemas/includes/organisation.json +0 -58
- data/schema/schemas/includes/permission.json +0 -46
- data/schema/schemas/includes/person.json +0 -62
- data/schema/schemas/includes/person_name.json +0 -71
- data/schema/schemas/includes/previous_name.json +0 -24
- data/schema/schemas/includes/share-parcel-data.json +0 -82
- data/schema/schemas/includes/share-parcel.json +0 -78
- data/schema/schemas/includes/subsidiary-relationship-data.json +0 -58
- data/schema/schemas/includes/total-shares.json +0 -17
- data/schema/schemas/includes/unknown_entity_type.json +0 -58
- data/schema/schemas/licence-schema.json +0 -196
- data/schema/schemas/primary-data-schema.json +0 -20
- data/schema/schemas/share-parcel-schema.json +0 -22
- data/schema/schemas/simple-financial-payment-schema.json +0 -122
- data/schema/schemas/simple-licence-schema.json +0 -74
- data/schema/schemas/simple-subsidiary-schema.json +0 -81
- data/schema/schemas/subsidiary-relationship-schema.json +0 -46
@@ -1,235 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "A company in OpenCorporates",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"company_number": {
|
7
|
-
"type": "string",
|
8
|
-
"description": "unique identifier given by the corporate register with which it is incorporated",
|
9
|
-
"minLength": 1
|
10
|
-
},
|
11
|
-
"name": {
|
12
|
-
"type": "string",
|
13
|
-
"description": "Legal name of the company",
|
14
|
-
"minLength": 1
|
15
|
-
},
|
16
|
-
"jurisdiction_code": {
|
17
|
-
"type": "string",
|
18
|
-
"description": "Code representing the jurisdiction/company register which is the canonical record of the company’s existence. Uses underscored ISO 3166-2 to represent it, e.g. es for Spain, us_de for Delaware",
|
19
|
-
"minLength": 2,
|
20
|
-
"maxLength": 5
|
21
|
-
},
|
22
|
-
"incorporation_date": {
|
23
|
-
"type": "string",
|
24
|
-
"format": "date"
|
25
|
-
},
|
26
|
-
"dissolution_date": {
|
27
|
-
"type": "string",
|
28
|
-
"format": "date"
|
29
|
-
},
|
30
|
-
"retrieved_at": {
|
31
|
-
"type": "string",
|
32
|
-
"format": "date-time"
|
33
|
-
},
|
34
|
-
"current_status": {
|
35
|
-
"type": "string"
|
36
|
-
},
|
37
|
-
"company_type": {
|
38
|
-
"type": "string"
|
39
|
-
},
|
40
|
-
"registry_url": {
|
41
|
-
"type": "string"
|
42
|
-
},
|
43
|
-
"website": {
|
44
|
-
"type": "string",
|
45
|
-
"minLength": 5
|
46
|
-
},
|
47
|
-
"telephone_number": {
|
48
|
-
"type": "string",
|
49
|
-
"minLength": 4
|
50
|
-
},
|
51
|
-
"fax_number": {
|
52
|
-
"type": "string",
|
53
|
-
"minLength": 4
|
54
|
-
},
|
55
|
-
"registered_address": {
|
56
|
-
"$ref": "address.json"
|
57
|
-
},
|
58
|
-
"headquarters_address": {
|
59
|
-
"$ref": "address.json"
|
60
|
-
},
|
61
|
-
"mailing_address": {
|
62
|
-
"$ref": "address.json"
|
63
|
-
},
|
64
|
-
"officers": {
|
65
|
-
"type": "array",
|
66
|
-
"items": {
|
67
|
-
"$ref": "officer.json"
|
68
|
-
}
|
69
|
-
},
|
70
|
-
"share_parcels": {
|
71
|
-
"type": "array",
|
72
|
-
"items": {
|
73
|
-
"$ref": "share-parcel.json"
|
74
|
-
}
|
75
|
-
},
|
76
|
-
"total_shares": {
|
77
|
-
"$ref": "total-shares.json"
|
78
|
-
},
|
79
|
-
"filings": {
|
80
|
-
"type": "array",
|
81
|
-
"items": {
|
82
|
-
"$ref": "filing.json"
|
83
|
-
}
|
84
|
-
},
|
85
|
-
"identifiers": {
|
86
|
-
"type": "array",
|
87
|
-
"items": {
|
88
|
-
"$ref": "identifier.json"
|
89
|
-
}
|
90
|
-
},
|
91
|
-
"industry_codes": {
|
92
|
-
"type": "array",
|
93
|
-
"items": {
|
94
|
-
"$ref": "industry_code.json"
|
95
|
-
}
|
96
|
-
},
|
97
|
-
"previous_names": {
|
98
|
-
"type": "array",
|
99
|
-
"items": {
|
100
|
-
"$ref": "previous_name.json"
|
101
|
-
}
|
102
|
-
},
|
103
|
-
"alternative_names": {
|
104
|
-
"type": "array",
|
105
|
-
"items": {
|
106
|
-
"$ref": "alternative_name.json"
|
107
|
-
}
|
108
|
-
},
|
109
|
-
"branch": {
|
110
|
-
"type": [
|
111
|
-
"string",
|
112
|
-
"null"
|
113
|
-
],
|
114
|
-
"description": "A flag to denote whether a company is a branch entity. This should only be set if the company is a type of branch (otherwise should be null). In general the only option here is 'F' for a 'Foreign' branch, i.e. an out-of-jurisdiction entity that has registered as having a presence in the jurisdiction. In the US this is sometimes called a Foreign Corporation",
|
115
|
-
"enum": [
|
116
|
-
"F",
|
117
|
-
"L",
|
118
|
-
null
|
119
|
-
]
|
120
|
-
},
|
121
|
-
"all_attributes": {
|
122
|
-
"type": "object",
|
123
|
-
"description": "Other arbitrary attributes for a given company",
|
124
|
-
"properties": {
|
125
|
-
"jurisdiction_of_origin": {
|
126
|
-
"type": [
|
127
|
-
"string",
|
128
|
-
"null"
|
129
|
-
],
|
130
|
-
"description": "The jurisdiction of the 'home' company if this is a branch",
|
131
|
-
"minLength": 1
|
132
|
-
},
|
133
|
-
"home_company_number": {
|
134
|
-
"type": [
|
135
|
-
"string",
|
136
|
-
"null"
|
137
|
-
],
|
138
|
-
"description": "If the entity is a 'branch', this is the company_number of the 'home' company in the home company's jurisdiction",
|
139
|
-
"minLength": 1
|
140
|
-
},
|
141
|
-
"home_legal_name": {
|
142
|
-
"type": [
|
143
|
-
"string",
|
144
|
-
"null"
|
145
|
-
],
|
146
|
-
"description": "The legal name of the 'home' company in its jurisdiction if this is a branch, and the name is different from the legal name of the branch",
|
147
|
-
"minLength": 1
|
148
|
-
},
|
149
|
-
"registered_agent_address": {
|
150
|
-
"type": [
|
151
|
-
"string",
|
152
|
-
"null"
|
153
|
-
],
|
154
|
-
"description": "The address of the 'Agent', a public address to which legal papers can be served",
|
155
|
-
"minLength": 1
|
156
|
-
},
|
157
|
-
"registered_agent_name": {
|
158
|
-
"type": [
|
159
|
-
"string",
|
160
|
-
"null"
|
161
|
-
],
|
162
|
-
"description": "The 'Agent' of the company – a person or entity that is empowered to accept service for the company",
|
163
|
-
"minLength": 1
|
164
|
-
},
|
165
|
-
"number_of_employees": {
|
166
|
-
"anyOf": [
|
167
|
-
{
|
168
|
-
"type": "string",
|
169
|
-
"minLength": 1
|
170
|
-
},
|
171
|
-
{
|
172
|
-
"type": "number",
|
173
|
-
"minimum": 0
|
174
|
-
}
|
175
|
-
],
|
176
|
-
"description": "The number of employees"
|
177
|
-
},
|
178
|
-
"merged_into": {
|
179
|
-
"type": "object",
|
180
|
-
"description": "Information on the merger of this company into a 'survivor' company",
|
181
|
-
"properties": {
|
182
|
-
"surviving_company": {
|
183
|
-
"type": [
|
184
|
-
"object"
|
185
|
-
],
|
186
|
-
"description": "the surviving_company that this has been merged into",
|
187
|
-
"properties": {
|
188
|
-
"name": {
|
189
|
-
"type": "string",
|
190
|
-
"description": "The legal name of the surviving company",
|
191
|
-
"minLength": 1
|
192
|
-
},
|
193
|
-
"company_number": {
|
194
|
-
"type": "string",
|
195
|
-
"description": "The company_number of the surviving company, if known",
|
196
|
-
"minLength": 1
|
197
|
-
},
|
198
|
-
"jurisdiction": {
|
199
|
-
"type": "string",
|
200
|
-
"description": "The jurisdiction of incorporation of the surviving company",
|
201
|
-
"minLength": 2
|
202
|
-
}
|
203
|
-
},
|
204
|
-
"anyOf": [
|
205
|
-
{
|
206
|
-
"required": [
|
207
|
-
"name"
|
208
|
-
]
|
209
|
-
},
|
210
|
-
{
|
211
|
-
"required": [
|
212
|
-
"company_number"
|
213
|
-
]
|
214
|
-
}
|
215
|
-
]
|
216
|
-
},
|
217
|
-
"effective_date": {
|
218
|
-
"description": "The date of the merger",
|
219
|
-
"type": "string",
|
220
|
-
"format": "date"
|
221
|
-
}
|
222
|
-
},
|
223
|
-
"additionalProperties": false,
|
224
|
-
"required": [
|
225
|
-
"surviving_company"
|
226
|
-
]
|
227
|
-
}
|
228
|
-
}
|
229
|
-
}
|
230
|
-
},
|
231
|
-
"additionalProperties": false,
|
232
|
-
"required": [
|
233
|
-
"name"
|
234
|
-
]
|
235
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "A company which is the subject of a statement",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"name": {
|
7
|
-
"type": "string"
|
8
|
-
},
|
9
|
-
"jurisdiction": {
|
10
|
-
"type": "string"
|
11
|
-
},
|
12
|
-
"company_number": {
|
13
|
-
"type": "string"
|
14
|
-
},
|
15
|
-
"identifier": {
|
16
|
-
"type": "string",
|
17
|
-
"description": "An official identifier paired with a code for the issuer of the identifier, e.g sec/12345",
|
18
|
-
"pattern": "^[^/]+/[^/]+$"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"required": [
|
22
|
-
"name",
|
23
|
-
"jurisdiction"
|
24
|
-
]
|
25
|
-
}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "A statutory filing",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"title": {
|
7
|
-
"type": "string"
|
8
|
-
},
|
9
|
-
"date": {
|
10
|
-
"type": "string",
|
11
|
-
"format": "date"
|
12
|
-
},
|
13
|
-
"description": {
|
14
|
-
"type": "string"
|
15
|
-
},
|
16
|
-
"uid": {
|
17
|
-
"type": "string"
|
18
|
-
},
|
19
|
-
"url": {
|
20
|
-
"type": "string"
|
21
|
-
},
|
22
|
-
"filing_type_code": {
|
23
|
-
"type": "string"
|
24
|
-
},
|
25
|
-
"filing_type_name": {
|
26
|
-
"type": "string"
|
27
|
-
},
|
28
|
-
"other_attributes": {
|
29
|
-
"type": "object"
|
30
|
-
}
|
31
|
-
},
|
32
|
-
"required": [
|
33
|
-
"date"
|
34
|
-
],
|
35
|
-
"anyOf": [
|
36
|
-
{
|
37
|
-
"required": [
|
38
|
-
"title"
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"required": [
|
43
|
-
"description"
|
44
|
-
]
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"required": [
|
48
|
-
"filing_type_name"
|
49
|
-
]
|
50
|
-
}
|
51
|
-
]
|
52
|
-
}
|
@@ -1,112 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"type": "object",
|
4
|
-
"properties": {
|
5
|
-
"data_type": {
|
6
|
-
"enum": [
|
7
|
-
"financial_payment"
|
8
|
-
]
|
9
|
-
},
|
10
|
-
"source_url": {
|
11
|
-
"type": "string"
|
12
|
-
},
|
13
|
-
"confidence": {
|
14
|
-
"type": "string"
|
15
|
-
},
|
16
|
-
"properties": {
|
17
|
-
"type": "object",
|
18
|
-
"properties": {
|
19
|
-
"value": {
|
20
|
-
"description": "The amount transacted (e.g. 19.95)",
|
21
|
-
"type": "string"
|
22
|
-
},
|
23
|
-
"payee_name": {
|
24
|
-
"description": "The name of the payee (the entity that received the money)",
|
25
|
-
"type": "string"
|
26
|
-
},
|
27
|
-
"currency": {
|
28
|
-
"description": "The currency of the payment (three letter symbol, e.g. USD, GBP, EUR)",
|
29
|
-
"type": "string"
|
30
|
-
},
|
31
|
-
"date": {
|
32
|
-
"description": "The date on which the payment was made",
|
33
|
-
"type": "date"
|
34
|
-
},
|
35
|
-
"transaction_number": {
|
36
|
-
"description": "The unique identifier for the transaction, scoped to this bot",
|
37
|
-
"type": "string"
|
38
|
-
},
|
39
|
-
"jurisdiction": {
|
40
|
-
"description": "The jurisdiction of the body that made the payment, eg. UK, France, Delaware, Manchester",
|
41
|
-
"type": "string"
|
42
|
-
},
|
43
|
-
"more_details_url": {
|
44
|
-
"description": "A url from which more details can be seen (may be the same as the source_url)",
|
45
|
-
"type": [
|
46
|
-
"string",
|
47
|
-
null
|
48
|
-
]
|
49
|
-
},
|
50
|
-
"description": {
|
51
|
-
"description": "The description of the transaction as given in the raw data",
|
52
|
-
"type": [
|
53
|
-
"string",
|
54
|
-
null
|
55
|
-
]
|
56
|
-
},
|
57
|
-
"expense_type": {
|
58
|
-
"description": "The type of expense -- can be either capital, revenue (i.e. current expenditure) or null",
|
59
|
-
"enum": [
|
60
|
-
"capital",
|
61
|
-
"revenue",
|
62
|
-
null
|
63
|
-
]
|
64
|
-
},
|
65
|
-
"expense_area": {
|
66
|
-
"description": "category (in words) of the expenditure",
|
67
|
-
"type": [
|
68
|
-
"string",
|
69
|
-
null
|
70
|
-
]
|
71
|
-
},
|
72
|
-
"entity_name": {
|
73
|
-
"description": "The name of the government entity that made the payment, e.g. Environment Agency",
|
74
|
-
"type": "string"
|
75
|
-
},
|
76
|
-
"entity_uri": {
|
77
|
-
"description": "A unique URL (ideally a dereferencable URI) for the government entity",
|
78
|
-
"type": [
|
79
|
-
"string",
|
80
|
-
null
|
81
|
-
]
|
82
|
-
},
|
83
|
-
"department_name": {
|
84
|
-
"description": "The name of the government department which the entity belongs to (if relevant), e.g. Department of Health",
|
85
|
-
"type": [
|
86
|
-
"string",
|
87
|
-
null
|
88
|
-
]
|
89
|
-
},
|
90
|
-
"csv_line_number": {
|
91
|
-
"description": "If the source for the data is a CSV file, you can optionally include the line number of the CSV from which this data was retrieved",
|
92
|
-
"type": [
|
93
|
-
"string",
|
94
|
-
null
|
95
|
-
]
|
96
|
-
}
|
97
|
-
},
|
98
|
-
"required": [
|
99
|
-
"value",
|
100
|
-
"payee_name",
|
101
|
-
"date",
|
102
|
-
"currency"
|
103
|
-
]
|
104
|
-
}
|
105
|
-
},
|
106
|
-
"required": [
|
107
|
-
"data_type",
|
108
|
-
"properties",
|
109
|
-
"source_url",
|
110
|
-
"confidence"
|
111
|
-
]
|
112
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "An identifier for an entity (possibly other things, e.g. securities in the future). Examples are tax IDs, non-profit IDs, SEC CIK numbers, Federal Reserve RSSD id. The main requirements for an identifier is that they should be well-defined, and issued by a government or have statutory standing",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"uid": {
|
7
|
-
"type": "string",
|
8
|
-
"description": "The unique identifier given by the identifier system – it should be unique in the context of the identifier_system",
|
9
|
-
"minLength": 1
|
10
|
-
},
|
11
|
-
"identifier_system_code": {
|
12
|
-
"type": "string",
|
13
|
-
"description": "An identifier representing the identifier scheme. Some examples of this are us_fein (US Federal tax number), us_sec_cik (US Securities and Exchange Commission CIK), uk_ew_cc (Charity Commission of England & Wales), lei (Global Legal Entity Identifier System)"
|
14
|
-
}
|
15
|
-
},
|
16
|
-
"required": [
|
17
|
-
"uid",
|
18
|
-
"identifier_system_code"
|
19
|
-
]
|
20
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "An industry code from a standard code list (e.g. NAICS 2007 or NACE 2)",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"name": {
|
7
|
-
"type": "string"
|
8
|
-
},
|
9
|
-
"code": {
|
10
|
-
"type": "string"
|
11
|
-
},
|
12
|
-
"code_scheme_id": {
|
13
|
-
"type": "string",
|
14
|
-
"description": "An identifier representing industry code scheme. At the moment these are eu_nace_2, uk_sic_2003, uk_sic_2007, us_naics_2002, us_naics_2007, be_nace_2008, dk_db_2007, nz_bic_2006, no_sic_2007, anz_sic_2006, nz_bic_2006, in_nic_2004_mca, ca_qc_cae, lu_nace_2. For other code schemes, or details of these, contact info@opencorporates.com"
|
15
|
-
},
|
16
|
-
"start_date": {
|
17
|
-
"type": "string",
|
18
|
-
"format": "date"
|
19
|
-
},
|
20
|
-
"end_date": {
|
21
|
-
"type": "string",
|
22
|
-
"format": "date"
|
23
|
-
}
|
24
|
-
},
|
25
|
-
"required": [
|
26
|
-
"code",
|
27
|
-
"code_scheme_id"
|
28
|
-
]
|
29
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"type": "object",
|
4
|
-
"properties": {
|
5
|
-
"data_type": {
|
6
|
-
"enum": [
|
7
|
-
"licence"
|
8
|
-
]
|
9
|
-
},
|
10
|
-
"source_url": {
|
11
|
-
"type": "string"
|
12
|
-
},
|
13
|
-
"confidence": {
|
14
|
-
"type": "string"
|
15
|
-
},
|
16
|
-
"properties": {
|
17
|
-
"type": "object",
|
18
|
-
"properties": {
|
19
|
-
"regulator": {
|
20
|
-
"description": "The regulating body that issued the licence",
|
21
|
-
"type": "string"
|
22
|
-
},
|
23
|
-
"category": {
|
24
|
-
"description": "The category of licence. Current possible values are: 'Financial','Business'",
|
25
|
-
"enum": [
|
26
|
-
"Financial",
|
27
|
-
"Business"
|
28
|
-
]
|
29
|
-
},
|
30
|
-
"jurisdiction_code": {
|
31
|
-
"description": "The jurisdiction for which licence was issued",
|
32
|
-
"type": "string"
|
33
|
-
},
|
34
|
-
"licence_number": {
|
35
|
-
"description": "Licence number or code (can be null)",
|
36
|
-
"type": [
|
37
|
-
"string",
|
38
|
-
null
|
39
|
-
]
|
40
|
-
},
|
41
|
-
"jurisdiction_classification": {
|
42
|
-
"type": "array",
|
43
|
-
"description": "The local classification given by the regulator",
|
44
|
-
"minItems": 1
|
45
|
-
},
|
46
|
-
"oc_classification": {
|
47
|
-
"type": "array"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
"required": [
|
51
|
-
"jurisdiction_code",
|
52
|
-
"jurisdiction_classification",
|
53
|
-
"category"
|
54
|
-
]
|
55
|
-
}
|
56
|
-
},
|
57
|
-
"required": [
|
58
|
-
"data_type",
|
59
|
-
"properties",
|
60
|
-
"source_url",
|
61
|
-
"confidence"
|
62
|
-
]
|
63
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "An officer (director, senior executive) of a company",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"name": {
|
7
|
-
"type": "string",
|
8
|
-
"minLength": 1
|
9
|
-
},
|
10
|
-
"start_date": {
|
11
|
-
"anyOf": [
|
12
|
-
{
|
13
|
-
"type": "string",
|
14
|
-
"format": "date"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"type": "null"
|
18
|
-
}
|
19
|
-
]
|
20
|
-
},
|
21
|
-
"end_date": {
|
22
|
-
"anyOf": [
|
23
|
-
{
|
24
|
-
"type": "string",
|
25
|
-
"format": "date"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"type": "null"
|
29
|
-
}
|
30
|
-
]
|
31
|
-
},
|
32
|
-
"position": {
|
33
|
-
"type": "string"
|
34
|
-
},
|
35
|
-
"uid": {
|
36
|
-
"type": "string",
|
37
|
-
"description": "a unique identifier given to the officership"
|
38
|
-
},
|
39
|
-
"other_attributes": {
|
40
|
-
"type": "object",
|
41
|
-
"properties": {
|
42
|
-
"date_of_birth": {
|
43
|
-
"type": "string",
|
44
|
-
"format": "date"
|
45
|
-
},
|
46
|
-
"nationality": {
|
47
|
-
"type": "string"
|
48
|
-
},
|
49
|
-
"person_uid": {
|
50
|
-
"type": "string",
|
51
|
-
"description": "a unique identifier given to the individual (as opposed to the officership)"
|
52
|
-
},
|
53
|
-
"address": {
|
54
|
-
"type": "string"
|
55
|
-
},
|
56
|
-
"type": {
|
57
|
-
"type": "string",
|
58
|
-
"enum": [
|
59
|
-
"Person",
|
60
|
-
"Company"
|
61
|
-
],
|
62
|
-
"description": "The type of entity that is the officer (either 'Person' or 'Company')"
|
63
|
-
}
|
64
|
-
}
|
65
|
-
}
|
66
|
-
},
|
67
|
-
"required": [
|
68
|
-
"name"
|
69
|
-
]
|
70
|
-
}
|
@@ -1,58 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"description": "An entity which is a distinct organisation, but is not a company nor an individual. Examples include governments and governmental entities (e.g. Multilateral Devoelpment Banks, Government Departments, municipalities, etc), and also membership organisations",
|
4
|
-
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
"name": {
|
7
|
-
"type": "string",
|
8
|
-
"description": "Name of the entity",
|
9
|
-
"minLength": 1
|
10
|
-
},
|
11
|
-
"jurisdiction": {
|
12
|
-
"type": "string",
|
13
|
-
"description": "Name of the jurisdiction in which the entity is incorporated/domiciled (use global for global entities, e.g. UN)"
|
14
|
-
},
|
15
|
-
"website": {
|
16
|
-
"type": "string",
|
17
|
-
"minLength": 5
|
18
|
-
},
|
19
|
-
"telephone_number": {
|
20
|
-
"type": "string",
|
21
|
-
"minLength": 4
|
22
|
-
},
|
23
|
-
"fax_number": {
|
24
|
-
"type": "string",
|
25
|
-
"minLength": 4
|
26
|
-
},
|
27
|
-
"registered_address": {
|
28
|
-
"$ref": "address.json"
|
29
|
-
},
|
30
|
-
"headquarters_address": {
|
31
|
-
"$ref": "address.json"
|
32
|
-
},
|
33
|
-
"mailing_address": {
|
34
|
-
"$ref": "address.json"
|
35
|
-
},
|
36
|
-
"industry_codes": {
|
37
|
-
"type": "array",
|
38
|
-
"items": {
|
39
|
-
"$ref": "industry_code.json"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
"previous_names": {
|
43
|
-
"type": "array",
|
44
|
-
"items": {
|
45
|
-
"$ref": "previous_name.json"
|
46
|
-
}
|
47
|
-
},
|
48
|
-
"alternative_names": {
|
49
|
-
"type": "array",
|
50
|
-
"items": {
|
51
|
-
"$ref": "alternative_name.json"
|
52
|
-
}
|
53
|
-
}
|
54
|
-
},
|
55
|
-
"required": [
|
56
|
-
"name"
|
57
|
-
]
|
58
|
-
}
|