turbot-runner 0.0.22 → 0.0.23
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.
- checksums.yaml +8 -8
- data/lib/turbot_runner/version.rb +1 -1
- data/schema/schemas/includes/alternative_name.json +1 -1
- data/schema/schemas/includes/financial-payment-data-object.json +1 -1
- data/schema/schemas/includes/licence-data-object.json +2 -1
- data/schema/schemas/simple-financial-payment-schema.json +85 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NGI0ZTFhZmVhMGZiNmU0NzRiYjkzYmZlZjIyMWEzMWY3MDU0NTIwNA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
M2JlMWRiMjRlZjI0MDI5MTAxZjVhZjEwZDFlNTVkMGJmOGMxNDQwNA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZWYzMjIxYzAzNDU0YWRlNzNjYjNmODQyY2E0MTBiNzQyMzc0Yjc4M2U2NThj
|
|
10
|
+
MjdiZDVkZTA1Nzg5ZmVhNmUxMWZmMzA3OTdlOTJlZDJkZmQxODkxMTg1OGM4
|
|
11
|
+
ZmMxZjJmN2M1YWIzM2NiOTA1ZjM5Nzg3NzY2YzM3NzRhZjJiM2Q=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
OWJmMDcwMTFiYmNmMmJlOThhYzQ1ZWRhZGQ5ZmU4NTZkYjMwYjVmZmUzM2E3
|
|
14
|
+
MzBhZTgzYjk5NmMxNjBlM2MzZDFlOTQ4ZTJiZTI0NGMwNDYxNDA5NmM3MDBl
|
|
15
|
+
OGYwMWI0ZDg3ZDI4NmYyNGQ3MTAzY2VkZjkzOGQyY2M2OWZjNTU=
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "object",
|
|
12
12
|
"properties": {
|
|
13
13
|
"value": {
|
|
14
|
-
"description": "The
|
|
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
|
-
"
|
|
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.
|
|
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
|