turbot-runner 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjM4ZDUyMmYxN2EwZjllNDA5MDBmNjM5MzY4ODY4ODBlMDMwODAxNQ==
4
+ NGI0ZTFhZmVhMGZiNmU0NzRiYjkzYmZlZjIyMWEzMWY3MDU0NTIwNA==
5
5
  data.tar.gz: !binary |-
6
- NDJlMTVhMjY5OTc2OGNiNmRhNmM4ODVjYTZmOWJmNzYzNjk1MWJhYQ==
6
+ M2JlMWRiMjRlZjI0MDI5MTAxZjVhZjEwZDFlNTVkMGJmOGMxNDQwNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWNmZmVmMTI3OGI2YTA3MDliZTUyM2RhOTAyOGQyNjA0Y2ZhMmM5NzdlMTlj
10
- MmMxM2I3NzBhNzNiYzAxNzZhMGMwMDhmYTNhZDcwOTdjNWI4ZWU3MDYwYjA0
11
- OWM4MGEyNWZmOTQ3OWVmNjVhNDUxOTQ5YzdhZmM4MTQ3Y2Q4ZTM=
9
+ ZWYzMjIxYzAzNDU0YWRlNzNjYjNmODQyY2E0MTBiNzQyMzc0Yjc4M2U2NThj
10
+ MjdiZDVkZTA1Nzg5ZmVhNmUxMWZmMzA3OTdlOTJlZDJkZmQxODkxMTg1OGM4
11
+ ZmMxZjJmN2M1YWIzM2NiOTA1ZjM5Nzg3NzY2YzM3NzRhZjJiM2Q=
12
12
  data.tar.gz: !binary |-
13
- Yzg0MjVmODQ5N2M0MWE5MjM2NzIyNzZkMTJiNDVhMThkMzMwZmQ4YzQ5NTJl
14
- YzIyYjY5ZjJmMmU5YjQ2YTY5ZGEwMGI3Y2YzNTBiMWMwZWFkZDNkNGU0NjMw
15
- NGY0ZWNjZjljMTA3MWM5NWEyYjdjMTczMmI1MGVmYjdkNDQwZGY=
13
+ OWJmMDcwMTFiYmNmMmJlOThhYzQ1ZWRhZGQ5ZmU4NTZkYjMwYjVmZmUzM2E3
14
+ MzBhZTgzYjk5NmMxNjBlM2MzZDFlOTQ4ZTJiZTI0NGMwNDYxNDA5NmM3MDBl
15
+ OGYwMWI0ZDg3ZDI4NmYyNGQ3MTAzY2VkZjkzOGQyY2M2OWZjNTU=
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.0.22'
2
+ VERSION = '0.0.23'
3
3
  end
@@ -8,6 +8,6 @@
8
8
  "language": { "type": "string", "minLength": 2, "maxLength": 2 },
9
9
  "type": { "type": "string", "enum": ["trading", "abbreviation", "legal"] }
10
10
  },
11
- "required": [ "company_name" ]
11
+ "required": [ "company_name", "type" ]
12
12
  }
13
13
 
@@ -11,7 +11,7 @@
11
11
  "type": "object",
12
12
  "properties": {
13
13
  "value": {
14
- "description": "The regulating body that issued the licence",
14
+ "description": "The amount transacted (e.g. 19.95)",
15
15
  "type": "string"},
16
16
  "payee_name": {
17
17
  "description": "The name of the payee (the entity that received the money)",
@@ -20,7 +20,8 @@
20
20
  "description": "The jurisdiction for which licence was issued",
21
21
  "type": "string"},
22
22
  "licence_number": {
23
- "type": "string"},
23
+ "description": "Licence number or code (can be null)",
24
+ "type": ["string",null]},
24
25
  "jurisdiction_classification": {
25
26
  "type": "array",
26
27
  "description": "The local classification given by the regulator",
@@ -0,0 +1,85 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "title": "Simple Financial Payment",
4
+ "description": "A Financial Payment is a payment from government to a recipient",
5
+ "type": "object",
6
+ "properties": {
7
+ "source_url": {
8
+ "description": "Place where this fact can be verified",
9
+ "type": "string"
10
+ },
11
+ "sample_date": {
12
+ "description": "Date on which this fact was known to be true",
13
+ "type": "string"
14
+ },
15
+ "confidence": {
16
+ "description": "Confidence in accuracy of data",
17
+ "type": "string",
18
+ "enum": ["HIGH", "MEDIUM", "LOW"]
19
+ },
20
+ "company_name": {
21
+ "description": "Name of the company that received the money",
22
+ "type": "string"
23
+ },
24
+ "company_jurisdiction": {
25
+ "description": "Jurisdiction where company is based",
26
+ "type": "string"
27
+ },
28
+ "value": {
29
+ "description": "The amount transacted (e.g. 19.95)",
30
+ "type": "string"
31
+ },
32
+ "payee_name": {
33
+ "description": "The name of the payee (the entity that received the money)",
34
+ "type": "string"
35
+ },
36
+ "currency": {
37
+ "description": "The currency of the payment (three letter symbol, e.g. USD, GBP, EUR)",
38
+ "type": "string"
39
+ },
40
+ "date": {
41
+ "description": "The date on which the payment was made",
42
+ "type": "date"
43
+ },
44
+ "transaction_number": {
45
+ "description": "The unique identifier for the transaction, scoped to this bot",
46
+ "type": "string"
47
+ },
48
+ "jurisdiction": {
49
+ "description": "The jurisdiction of the body that made the payment, eg. UK, France, Delaware, Manchester",
50
+ "type": "string"
51
+ },
52
+ "more_details_url": {
53
+ "description": "A url from which more details can be seen (may be the same as the source_url)",
54
+ "type": ["string",null]
55
+ },
56
+ "description": {
57
+ "description": "The description of the transaction as given in the raw data",
58
+ "type": ["string",null]
59
+ },
60
+ "expense_type": {
61
+ "description": "The type of expense -- can be either capital, revenue (i.e. current expenditure) or null",
62
+ "enum": ["capital","revenue",null]
63
+ },
64
+ "expense_area": {
65
+ "description": "category (in words) of the expenditure",
66
+ "type": ["string",null]
67
+ },
68
+ "entity_name": {
69
+ "description": "The name of the government entity that made the payment, e.g. Environment Agency",
70
+ "type": "string"
71
+ },
72
+ "entity_uri": {
73
+ "description": "A unique URL (ideally a dereferencable URI) for the government entity",
74
+ "type": ["string",null]
75
+ },
76
+ "department_name": {
77
+ "description": "The name of the government department which the entity belongs to (if relevant), e.g. Department of Health",
78
+ "type": ["string",null]
79
+ },
80
+ "csv_line_number": {
81
+ "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",
82
+ "type": ["string",null]}
83
+ },
84
+ "required": ["source_url", "sample_date", "company_name", "company_jurisdiction", "value", "payee_name", "date", "currency"]
85
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates
@@ -52,6 +52,7 @@ files:
52
52
  - schema/schemas/licence-schema.json
53
53
  - schema/schemas/primary-data-schema.json
54
54
  - schema/schemas/share-parcel-schema.json
55
+ - schema/schemas/simple-financial-payment-schema.json
55
56
  - schema/schemas/simple-licence-schema.json
56
57
  - schema/schemas/simple-subsidiary-schema.json
57
58
  - schema/schemas/subsidiary-relationship-schema.json