openc_bot 0.0.27 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. checksums.yaml +5 -13
  2. data/.travis.yml +1 -0
  3. data/Gemfile +2 -0
  4. data/lib/openc_bot.rb +16 -1
  5. data/lib/openc_bot/company_fetcher_bot.rb +50 -0
  6. data/lib/openc_bot/helpers/register_methods.rb +59 -15
  7. data/lib/openc_bot/tasks.rb +15 -2
  8. data/lib/openc_bot/templates/spec/spec_helper.rb +4 -0
  9. data/lib/openc_bot/version.rb +1 -1
  10. data/openc_bot.gemspec +6 -3
  11. data/spec/lib/company_fetcher_bot_spec.rb +23 -0
  12. data/spec/lib/helpers/register_methods_spec.rb +120 -2
  13. data/spec/lib/openc_bot_spec.rb +14 -1
  14. data/spec/simple_openc_bot_spec.rb +1 -0
  15. data/spec/spec_helper.rb +3 -1
  16. metadata +43 -220
  17. data/schemas/.gitignore +0 -13
  18. data/schemas/.travis.yml +0 -5
  19. data/schemas/Gemfile +0 -9
  20. data/schemas/README.md +0 -2
  21. data/schemas/Rakefile +0 -46
  22. data/schemas/lib/base-statement.json +0 -22
  23. data/schemas/lib/snippets/financial-payment-base.json +0 -4
  24. data/schemas/lib/snippets/licence-base.json +0 -4
  25. data/schemas/schemas/company-schema.json +0 -183
  26. data/schemas/schemas/financial-payment-schema.json +0 -27
  27. data/schemas/schemas/includes/address.json +0 -23
  28. data/schemas/schemas/includes/alternative_name.json +0 -13
  29. data/schemas/schemas/includes/company.json +0 -16
  30. data/schemas/schemas/includes/filing.json +0 -20
  31. data/schemas/schemas/includes/financial-payment-data-object.json +0 -60
  32. data/schemas/schemas/includes/industry_code.json +0 -16
  33. data/schemas/schemas/includes/licence-data-object.json +0 -36
  34. data/schemas/schemas/includes/officer.json +0 -50
  35. data/schemas/schemas/includes/previous_name.json +0 -14
  36. data/schemas/schemas/includes/share-parcel-data.json +0 -67
  37. data/schemas/schemas/includes/share-parcel.json +0 -63
  38. data/schemas/schemas/includes/subsidiary-relationship-data.json +0 -47
  39. data/schemas/schemas/includes/total-shares.json +0 -10
  40. data/schemas/schemas/licence-schema.json +0 -27
  41. data/schemas/schemas/primary-data-schema.json +0 -17
  42. data/schemas/schemas/share-parcel-schema.json +0 -21
  43. data/schemas/schemas/simple-financial-payment-schema.json +0 -85
  44. data/schemas/schemas/simple-licence-schema.json +0 -59
  45. data/schemas/schemas/simple-subsidiary-schema.json +0 -68
  46. data/schemas/schemas/subsidiary-relationship-schema.json +0 -27
  47. data/schemas/spec/sample-data/invalid/company-01.json +0 -4
  48. data/schemas/spec/sample-data/invalid/company-02.json +0 -5
  49. data/schemas/spec/sample-data/invalid/company-03.json +0 -5
  50. data/schemas/spec/sample-data/invalid/company-04.json +0 -5
  51. data/schemas/spec/sample-data/invalid/company-05.json +0 -5
  52. data/schemas/spec/sample-data/invalid/company-06.json +0 -6
  53. data/schemas/spec/sample-data/invalid/company-07.json +0 -8
  54. data/schemas/spec/sample-data/invalid/company-08.json +0 -7
  55. data/schemas/spec/sample-data/invalid/company-09.json +0 -9
  56. data/schemas/spec/sample-data/invalid/company-10.json +0 -7
  57. data/schemas/spec/sample-data/invalid/company-11.json +0 -9
  58. data/schemas/spec/sample-data/invalid/company-12.json +0 -11
  59. data/schemas/spec/sample-data/invalid/company-13.json +0 -11
  60. data/schemas/spec/sample-data/invalid/company-14.json +0 -7
  61. data/schemas/spec/sample-data/invalid/company-15.json +0 -7
  62. data/schemas/spec/sample-data/invalid/company-16.json +0 -7
  63. data/schemas/spec/sample-data/invalid/company-17.json +0 -9
  64. data/schemas/spec/sample-data/invalid/company-18.json +0 -9
  65. data/schemas/spec/sample-data/invalid/company-19.json +0 -9
  66. data/schemas/spec/sample-data/invalid/company-20.json +0 -9
  67. data/schemas/spec/sample-data/invalid/company-21.json +0 -11
  68. data/schemas/spec/sample-data/invalid/company-22.json +0 -11
  69. data/schemas/spec/sample-data/invalid/company-23.json +0 -7
  70. data/schemas/spec/sample-data/invalid/company-24.json +0 -12
  71. data/schemas/spec/sample-data/invalid/company-25.json +0 -9
  72. data/schemas/spec/sample-data/invalid/company-26.json +0 -11
  73. data/schemas/spec/sample-data/invalid/company-27.json +0 -7
  74. data/schemas/spec/sample-data/invalid/company-28.json +0 -9
  75. data/schemas/spec/sample-data/invalid/company-29.json +0 -12
  76. data/schemas/spec/sample-data/invalid/company-30.json +0 -16
  77. data/schemas/spec/sample-data/invalid/company-31.json +0 -14
  78. data/schemas/spec/sample-data/invalid/company-32.json +0 -11
  79. data/schemas/spec/sample-data/invalid/company-33.json +0 -7
  80. data/schemas/spec/sample-data/invalid/company-34.json +0 -9
  81. data/schemas/spec/sample-data/invalid/company-35.json +0 -9
  82. data/schemas/spec/sample-data/invalid/company-36.json +0 -10
  83. data/schemas/spec/sample-data/invalid/company-37.json +0 -7
  84. data/schemas/spec/sample-data/invalid/company-38.json +0 -9
  85. data/schemas/spec/sample-data/invalid/company-39.json +0 -11
  86. data/schemas/spec/sample-data/invalid/company-40.json +0 -12
  87. data/schemas/spec/sample-data/invalid/company-41.json +0 -12
  88. data/schemas/spec/sample-data/invalid/company-42.json +0 -7
  89. data/schemas/spec/sample-data/invalid/company-43.json +0 -9
  90. data/schemas/spec/sample-data/invalid/company-44.json +0 -11
  91. data/schemas/spec/sample-data/invalid/company-45.json +0 -11
  92. data/schemas/spec/sample-data/invalid/company-46.json +0 -7
  93. data/schemas/spec/sample-data/invalid/company-47.json +0 -9
  94. data/schemas/spec/sample-data/invalid/company-48.json +0 -9
  95. data/schemas/spec/sample-data/invalid/company-49.json +0 -9
  96. data/schemas/spec/sample-data/invalid/company-50.json +0 -9
  97. data/schemas/spec/sample-data/invalid/company-51.json +0 -9
  98. data/schemas/spec/sample-data/invalid/company-52.json +0 -9
  99. data/schemas/spec/sample-data/invalid/company-53.json +0 -10
  100. data/schemas/spec/sample-data/invalid/company-54.json +0 -9
  101. data/schemas/spec/sample-data/invalid/company-55.json +0 -9
  102. data/schemas/spec/sample-data/invalid/company-56.json +0 -7
  103. data/schemas/spec/sample-data/invalid/company-57.json +0 -7
  104. data/schemas/spec/sample-data/invalid/company-58.json +0 -7
  105. data/schemas/spec/sample-data/invalid/company-59.json +0 -13
  106. data/schemas/spec/sample-data/invalid/company-60.json +0 -7
  107. data/schemas/spec/sample-data/invalid/company-61.json +0 -7
  108. data/schemas/spec/sample-data/invalid/company-62.json +0 -9
  109. data/schemas/spec/sample-data/invalid/company-63.json +0 -12
  110. data/schemas/spec/sample-data/invalid/company-64.json +0 -14
  111. data/schemas/spec/sample-data/invalid/company-65.json +0 -14
  112. data/schemas/spec/sample-data/invalid/company-66.json +0 -13
  113. data/schemas/spec/sample-data/invalid/company-67.json +0 -14
  114. data/schemas/spec/sample-data/invalid/company-68.json +0 -12
  115. data/schemas/spec/sample-data/invalid/company-69.json +0 -12
  116. data/schemas/spec/sample-data/invalid/company-70.json +0 -14
  117. data/schemas/spec/sample-data/invalid/financial-payment-01.json +0 -24
  118. data/schemas/spec/sample-data/invalid/licence-01.json +0 -18
  119. data/schemas/spec/sample-data/invalid/licence-02.json +0 -18
  120. data/schemas/spec/sample-data/invalid/licence-03.json +0 -12
  121. data/schemas/spec/sample-data/invalid/licence-04.json +0 -18
  122. data/schemas/spec/sample-data/invalid/licence-05.json +0 -18
  123. data/schemas/spec/sample-data/invalid/licence-06.json +0 -18
  124. data/schemas/spec/sample-data/invalid/licence-07.json +0 -20
  125. data/schemas/spec/sample-data/invalid/licence-08.json +0 -21
  126. data/schemas/spec/sample-data/invalid/primary-data-01.json +0 -4
  127. data/schemas/spec/sample-data/invalid/primary-data-02.json +0 -4
  128. data/schemas/spec/sample-data/invalid/simple-licence-01.json +0 -9
  129. data/schemas/spec/sample-data/invalid/simple-licence-02.json +0 -8
  130. data/schemas/spec/sample-data/invalid/simple-licence-03.json +0 -9
  131. data/schemas/spec/sample-data/invalid/simple-licence-04.json +0 -10
  132. data/schemas/spec/sample-data/invalid/simple-licence-05.json +0 -10
  133. data/schemas/spec/sample-data/invalid/simple-licence-06.json +0 -10
  134. data/schemas/spec/sample-data/invalid/simple-subsidiary-01.json +0 -13
  135. data/schemas/spec/sample-data/invalid/simple-subsidiary-02.json +0 -13
  136. data/schemas/spec/sample-data/licence-schema.json.old +0 -21
  137. data/schemas/spec/sample-data/valid/company-01.json +0 -6
  138. data/schemas/spec/sample-data/valid/company-02.json +0 -7
  139. data/schemas/spec/sample-data/valid/company-03.json +0 -8
  140. data/schemas/spec/sample-data/valid/company-04.json +0 -7
  141. data/schemas/spec/sample-data/valid/company-05.json +0 -7
  142. data/schemas/spec/sample-data/valid/company-06.json +0 -12
  143. data/schemas/spec/sample-data/valid/company-07.json +0 -9
  144. data/schemas/spec/sample-data/valid/company-08.json +0 -9
  145. data/schemas/spec/sample-data/valid/company-09.json +0 -20
  146. data/schemas/spec/sample-data/valid/company-10.json +0 -9
  147. data/schemas/spec/sample-data/valid/company-11.json +0 -7
  148. data/schemas/spec/sample-data/valid/company-12.json +0 -7
  149. data/schemas/spec/sample-data/valid/company-13.json +0 -7
  150. data/schemas/spec/sample-data/valid/company-14.json +0 -15
  151. data/schemas/spec/sample-data/valid/company-15.json +0 -8
  152. data/schemas/spec/sample-data/valid/company-16.json +0 -9
  153. data/schemas/spec/sample-data/valid/company-17.json +0 -9
  154. data/schemas/spec/sample-data/valid/company-18.json +0 -9
  155. data/schemas/spec/sample-data/valid/company-19.json +0 -37
  156. data/schemas/spec/sample-data/valid/company-20.json +0 -9
  157. data/schemas/spec/sample-data/valid/company-21.json +0 -26
  158. data/schemas/spec/sample-data/valid/company-22.json +0 -20
  159. data/schemas/spec/sample-data/valid/company-23.json +0 -9
  160. data/schemas/spec/sample-data/valid/company-24.json +0 -12
  161. data/schemas/spec/sample-data/valid/company-25.json +0 -12
  162. data/schemas/spec/sample-data/valid/company-26.json +0 -12
  163. data/schemas/spec/sample-data/valid/company-27.json +0 -28
  164. data/schemas/spec/sample-data/valid/company-28.json +0 -9
  165. data/schemas/spec/sample-data/valid/company-29.json +0 -10
  166. data/schemas/spec/sample-data/valid/company-30.json +0 -9
  167. data/schemas/spec/sample-data/valid/company-31.json +0 -17
  168. data/schemas/spec/sample-data/valid/company-32.json +0 -9
  169. data/schemas/spec/sample-data/valid/company-33.json +0 -29
  170. data/schemas/spec/sample-data/valid/company-34.json +0 -9
  171. data/schemas/spec/sample-data/valid/company-35.json +0 -9
  172. data/schemas/spec/sample-data/valid/company-36.json +0 -9
  173. data/schemas/spec/sample-data/valid/company-37.json +0 -9
  174. data/schemas/spec/sample-data/valid/company-38.json +0 -9
  175. data/schemas/spec/sample-data/valid/company-39.json +0 -9
  176. data/schemas/spec/sample-data/valid/company-40.json +0 -9
  177. data/schemas/spec/sample-data/valid/company-41.json +0 -9
  178. data/schemas/spec/sample-data/valid/company-42.json +0 -10
  179. data/schemas/spec/sample-data/valid/company-43.json +0 -7
  180. data/schemas/spec/sample-data/valid/company-44.json +0 -7
  181. data/schemas/spec/sample-data/valid/company-45.json +0 -23
  182. data/schemas/spec/sample-data/valid/company-46.json +0 -7
  183. data/schemas/spec/sample-data/valid/company-47.json +0 -12
  184. data/schemas/spec/sample-data/valid/company-48.json +0 -7
  185. data/schemas/spec/sample-data/valid/company-49.json +0 -14
  186. data/schemas/spec/sample-data/valid/company-50.json +0 -13
  187. data/schemas/spec/sample-data/valid/company-51.json +0 -14
  188. data/schemas/spec/sample-data/valid/company-52.json +0 -12
  189. data/schemas/spec/sample-data/valid/company-53.json +0 -9
  190. data/schemas/spec/sample-data/valid/financial-payment-01.json +0 -25
  191. data/schemas/spec/sample-data/valid/financial-payment-02.json +0 -29
  192. data/schemas/spec/sample-data/valid/licence-01.json +0 -19
  193. data/schemas/spec/sample-data/valid/licence-02.json +0 -21
  194. data/schemas/spec/sample-data/valid/licence-03.json +0 -21
  195. data/schemas/spec/sample-data/valid/licence-04.json +0 -26
  196. data/schemas/spec/sample-data/valid/primary-data-01.json +0 -4
  197. data/schemas/spec/sample-data/valid/primary-data-02.json +0 -5
  198. data/schemas/spec/sample-data/valid/simple-licence-01.json +0 -10
  199. data/schemas/spec/sample-data/valid/simple-licence-02.json +0 -10
  200. data/schemas/spec/sample-data/valid/simple-licence-03.json +0 -12
  201. data/schemas/spec/sample-data/valid/simple-subsidiary-01.json +0 -13
  202. data/schemas/spec/sample-data/valid/simple-subsidiary-02.json +0 -13
  203. data/schemas/spec/sample-data/valid/subsidiary-relationship-01.json +0 -23
  204. data/schemas/spec/spec_helper.rb +0 -78
  205. data/schemas/spec/validation_spec.rb +0 -39
@@ -1,9 +0,0 @@
1
- /*valid home_legal_name*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "home_legal_name": "Some String"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- /*valid home_legal_name*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "home_legal_name": null
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- /*valid registered_agent_name*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "registered_agent_name": "Some String"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- /*valid registered_agent_name*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "registered_agent_name": null
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- /*valid registered_agent_address*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "registered_agent_address": "Some String"
8
- }
9
- }
@@ -1,10 +0,0 @@
1
- /*valid registered_agent_address*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "registered_agent_address": null
8
- }
9
-
10
- }
@@ -1,7 +0,0 @@
1
- /*telephone_number*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "us_de",
6
- "telephone_number": "0123 456 789"
7
- }
@@ -1,7 +0,0 @@
1
- /*fax_number*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "us_de",
6
- "fax_number": "0123 456 789"
7
- }
@@ -1,23 +0,0 @@
1
- /*valid share_parcels*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "share_parcels": [
7
- {
8
- "number_of_shares": 1234,
9
- "start_date": "2008-11-22",
10
- "start_date_type": "=",
11
- "shareholders": [
12
- {
13
- "name": "Megacorp Inc",
14
- "type": "Company",
15
- "jurisdiction": "Bermuda",
16
- "company_number": "12345",
17
- "address": "1 Global Ave, Bermuda"
18
- }
19
- ],
20
- "confidence": 42
21
- }
22
- ]
23
- }
@@ -1,7 +0,0 @@
1
- /*valid headquarters_address*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "us_de",
6
- "headquarters_address": "32 Foo St, Footown"
7
- }
@@ -1,12 +0,0 @@
1
- /*valid mailing_address object*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "us_de",
6
- "mailing_address": {
7
- "street_address": "32 Foo St",
8
- "locality": "Footown",
9
- "region": "Fooshire",
10
- "postal_code": "FO1 2BA"
11
- }
12
- }
@@ -1,7 +0,0 @@
1
- /*valid mailing_address*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "us_de",
6
- "mailing_address": "32 Foo St, Footown"
7
- }
@@ -1,14 +0,0 @@
1
- /*valid merged_into*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "merged_into": {
8
- "effective_date": "2010-10-22",
9
- "surviving_company": {
10
- "name": "Foo Inc"
11
- }
12
- }
13
- }
14
- }
@@ -1,13 +0,0 @@
1
- /*valid merged_into*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "merged_into": {
8
- "surviving_company": {
9
- "jurisdiction": "us_mi", "name": "Foo Inc"
10
- }
11
- }
12
- }
13
- }
@@ -1,14 +0,0 @@
1
- /*valid merged_into*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "merged_into": {
8
- "surviving_company": {
9
- "jurisdiction": "us_mi",
10
- "company_number": "12345"
11
- }
12
- }
13
- }
14
- }
@@ -1,12 +0,0 @@
1
- /*valid headquarters_address object*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "us_de",
6
- "headquarters_address": {
7
- "street_address": "32 Foo St",
8
- "locality": "Footown",
9
- "region": "Fooshire",
10
- "postal_code": "FO1 2BA"
11
- }
12
- }
@@ -1,9 +0,0 @@
1
- /*valid number_of_employees*/
2
- {
3
- "name": "Foo Inc",
4
- "company_number": "12345",
5
- "jurisdiction_code": "ie",
6
- "all_attributes": {
7
- "number_of_employees": "35-42"
8
- }
9
- }
@@ -1,25 +0,0 @@
1
- { "company":
2
- {
3
- "name": "Some suppplier",
4
- "jurisdiction": "France"
5
- },
6
- "data": [
7
- { "data_type": "financial_payment",
8
- "properties": {
9
- "value": "32.45",
10
- "currency": "GBP",
11
- "transaction_number": "ABC1224",
12
- "reporting_date": "2014-06-01",
13
- "jurisdiction": "gb",
14
- "more_details_url": "http://spendnetwork.com/trans_id/12345",
15
- "description": "some big project",
16
- "payee_name": "Govt Jobs R Us Inc",
17
- "entity_name": "Efficiency Agency",
18
- "department_name": "Department Of Everything",
19
- "date": "2012-10-22"
20
- },
21
- "source_url": "http://example.com/abc123",
22
- "confidence": "67"
23
- }
24
- ]
25
- }
@@ -1,29 +0,0 @@
1
- {
2
- "company": {
3
- "jurisdiction": "gb",
4
- "name": "LAFARGE AGGREGATES LTD"
5
- },
6
- "data": [
7
- {
8
- "confidence": "80",
9
- "data_type": "financial_payment",
10
- "properties": {
11
- "csv_line_number": "1921",
12
- "currency": "GBP",
13
- "date": "2012-09-01",
14
- "department_name": null,
15
- "description": null,
16
- "entity_name": "Norfolk County Council",
17
- "entity_uri": null,
18
- "expense_area": null,
19
- "jurisdiction": "gb",
20
- "more_details_url": "https://spendnetwork.com/transaction_detail/E2620_NCC_gov_2012_09_1921",
21
- "payee_name": "LAFARGE AGGREGATES LTD",
22
- "transaction_number": "E2620_NCC_gov_2012_09_1921",
23
- "uid": "4182095",
24
- "value": "491.54"
25
- },
26
- "source_url": "https://spendnetwork.com/transaction_detail/E2620_NCC_gov_2012_09_1921"
27
- }
28
- ]
29
- }
@@ -1,19 +0,0 @@
1
- { "company":
2
- {
3
- "name": "CENTRAL BANK",
4
- "jurisdiction": "IA"
5
- },
6
- "data": [
7
- { "data_type": "licence",
8
- "properties": {
9
- "licence_number": "ABC123",
10
- "category": "Financial",
11
- "jurisdiction_classification": ["Bank"],
12
- "jurisdiction_code": "France",
13
- "reporting_date": "2014-06-01"
14
- },
15
- "source_url": "http://example.com/abc123",
16
- "confidence": "67"
17
- }
18
- ]
19
- }
@@ -1,21 +0,0 @@
1
- { "company":
2
- {
3
- "name": "CENTRAL BANK",
4
- "jurisdiction": "IA",
5
- "identifier": "abc/123",
6
- "company_number": "12345"
7
- },
8
- "data": [
9
- { "data_type": "licence",
10
- "properties": {
11
- "category":"Financial",
12
- "licence_number": "ABC123",
13
- "jurisdiction_classification": ["Bank"],
14
- "jurisdiction_code": "France",
15
- "sample_date": "2014-06-01"
16
- },
17
- "source_url": "http://example.com/abc123",
18
- "confidence": "67"
19
- }
20
- ]
21
- }
@@ -1,21 +0,0 @@
1
- { "company":
2
- {
3
- "name": "CENTRAL BANK",
4
- "jurisdiction": "IA",
5
- "identifier": "abc/123",
6
- "company_number": "12345"
7
- },
8
- "data": [
9
- { "data_type": "licence",
10
- "properties": {
11
- "category":"Business",
12
- "licence_number": "ABC123",
13
- "jurisdiction_classification": ["Liquor Sales"],
14
- "jurisdiction_code": "Michigan",
15
- "sample_date": "2014-06-01"
16
- },
17
- "source_url": "http://example.com/abc123",
18
- "confidence": "67"
19
- }
20
- ]
21
- }
@@ -1,26 +0,0 @@
1
- {
2
- "company": {
3
- "jurisdiction": "CA",
4
- "name": "WYVERN RESTAURANTS INC",
5
- "source_jurisdiction": "us_ca"
6
- },
7
- "data": [
8
- {
9
- "confidence": "80",
10
- "data_type": "licence",
11
- "end_date": "2014-12-31",
12
- "properties": {
13
- "category": "Business",
14
- "jurisdiction_classification": [
15
- "On-Sale Beer and Wine for Bona Fide Public Eating Place"
16
- ],
17
- "jurisdiction_code": "us_ca",
18
- "licence_number": null,
19
- "status": "ACTIVE"
20
- },
21
- "sample_date": "2014-07-16",
22
- "source_url": "http://www.abc.ca.gov/datport/DataExport.html",
23
- "start_date": "1981-10-05"
24
- }
25
- ]
26
- }
@@ -1,4 +0,0 @@
1
- {
2
- "source_url": "http://example.com/123",
3
- "sample_date": "2014-05-29"
4
- }
@@ -1,5 +0,0 @@
1
- {
2
- "source_url": "http://example.com/123",
3
- "sample_date": "2014-05-29",
4
- "foo": "bar"
5
- }
@@ -1,10 +0,0 @@
1
- {
2
- "company_name": "Foo Corporation",
3
- "company_jurisdiction": "gb",
4
- "licence_number": "ABC123",
5
- "jurisdiction_classification": "Bank",
6
- "licence_jurisdiction": "fr",
7
- "source_url": "http://example.com/abc123",
8
- "sample_date": "2014-06-01",
9
- "confidence": "MEDIUM"
10
- }
@@ -1,10 +0,0 @@
1
- {
2
- "company_name": "Foo Corporation",
3
- "company_jurisdiction": "gb",
4
- "licence_number": "ABC123",
5
- "jurisdiction_classification": ["Bank", "Robber"],
6
- "licence_jurisdiction": "fr",
7
- "source_url": "http://example.com/abc123",
8
- "sample_date": "2014-06-01",
9
- "confidence": "MEDIUM"
10
- }
@@ -1,12 +0,0 @@
1
- {
2
- "company_name": "Foo Corporation",
3
- "company_jurisdiction": "us_ny",
4
- "category": "Business",
5
- "licence_number": "ABC123",
6
- "jurisdiction_classification": "Funeral Parlour",
7
- "licence_jurisdiction": "New York City",
8
- "source_url": "http://example.com/abc123",
9
- "sample_date": "2014-06-01",
10
- "status": "Delinquent",
11
- "confidence": "MEDIUM"
12
- }
@@ -1,13 +0,0 @@
1
- {
2
- "source_url": "http://somewhere.com/a",
3
- "sample_date": "2014/02/01",
4
- "start_date": "2014/01/01",
5
- "end_date": "2015/02/01",
6
- "confidence": "HIGH",
7
- "parent_name": "Widgets R US",
8
- "parent_jurisdiction": "us_de",
9
- "direct": true,
10
- "percentage_controlled": "56.6",
11
- "subsidiary_name": "Little Widgets",
12
- "subsidiary_jurisdiction": "us_de"
13
- }
@@ -1,13 +0,0 @@
1
- {
2
- "source_url": "http://somewhere.com/a",
3
- "sample_date": "2014/02/01",
4
- "start_date": "2014/01/01",
5
- "end_date": "2015/02/01",
6
- "confidence": "HIGH",
7
- "parent_name": "Widgets R US",
8
- "parent_jurisdiction": "us_de",
9
- "direct": true,
10
- "percentage_controlled": "56",
11
- "subsidiary_name": "Little Widgets",
12
- "subsidiary_jurisdiction": "us_de"
13
- }