turbot-runner 0.1.30 → 0.1.31

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
- ZjhkOWM2YTkzZjgxMWUwYzY2ZWIxOGYxZTgyYzYzZjQ1NjY4MTI4NA==
4
+ MjFkNmJhN2U2YjY3NGRmOTczOGFkNjdlODhjNWUzNzc4Zjg3ZWZkZA==
5
5
  data.tar.gz: !binary |-
6
- OWJmMzg0NTcwMTE1YmZlNTYzMDY1OGFjZGRiNjg0Nzc2MjA4ZWExYw==
6
+ MTlmNDMxODQwN2ZiZDQzNTBlNDY1ZmI4ZTI4MmU3OGVkYmFhNTI4OA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTk2MDgwY2Q5ODZkYTFmZWU0NzdiODQ4OTA2Yjk2N2IyYTc0ZWU3MTA4YTIz
10
- OTY0ZjMxNWZlNjc5OWUzNGNmOTAwMDY2N2Y2YjI2MDMxM2I4ZDgyNTc2NmMw
11
- ZGM5M2I2ODM1NzNkZDZjMzVkZmQzMGI3MWYzY2Q3ODM1YWMyYWU=
9
+ YjlhZjMwNDgyMTVlYTE5N2Y2MWMyYmJiMDIzOGViMGQ0ZDk4OWRlZjU2OWJi
10
+ YWIyY2M0YTJlOWY4ZDJhMTJkYjViZGY1ZmVkMDY2ZjlhMzhlYjJkOGZlMmM4
11
+ Y2Y3M2IzNmFmZTUzMDY4MTFlYjcxZDVhMDQyNjNjYzg0OGZiZDA=
12
12
  data.tar.gz: !binary |-
13
- OWQyZWZhNTk0OTdmNmNiYzc5NGQ3YjZjY2NhMDM0ZDY1NzMyZWRkZTg1MTRj
14
- MTNlZWVmYjA0NzNkOTQ3NjhjYjhkYTBjMjZhOTQxMTk1MDRlMjMzMjRjMTYy
15
- NjliZjU2ZmUxMWQyYzFlYjU0MDZmYzllMWIyOGY2ZWE1ZWY4MmE=
13
+ YTEyNjhjYjJmODE2ODljOTE1NmY2M2ZjNjg1OGRlYTc3OWQ1MjM3ZDUwNjBi
14
+ ZmMwYjk2NWNiMjJmZmQ2M2ZjYjk1M2QwMjQ1MmFhZDBjNGE3YjczMzMxZjFi
15
+ ODhiNzkzZWNiMzZlY2NlYjUxYzQ1Yjg0MWU4M2ZhYjhlNmZkNWU=
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.1.30'
2
+ VERSION = '0.1.31'
3
3
  end
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "required": [
5
+ "entity_type",
6
+ "entity_properties"
7
+ ],
8
+ "oneOf": [
9
+ {
10
+ "properties": {
11
+ "entity_type": {
12
+ "enum": [
13
+ "company"
14
+ ]
15
+ },
16
+ "entity_properties": {
17
+ "$ref": "company-for-nesting.json"
18
+ }
19
+ }
20
+ },
21
+ {
22
+ "properties": {
23
+ "entity_type": {
24
+ "enum": [
25
+ "person"
26
+ ]
27
+ },
28
+ "entity_properties": {
29
+ "$ref": "person.json"
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "properties": {
35
+ "entity_type": {
36
+ "enum": [
37
+ "organisation"
38
+ ]
39
+ },
40
+ "entity_properties": {
41
+ "$ref": "organisation.json"
42
+ }
43
+ }
44
+ },
45
+ {
46
+ "properties": {
47
+ "entity_type": {
48
+ "enum": [
49
+ "unknown"
50
+ ]
51
+ },
52
+ "entity_properties": {
53
+ "$ref": "unknown_entity_type.json"
54
+ }
55
+ }
56
+ }
57
+ ],
58
+ "entity_type": {
59
+ "enum": [
60
+ "company",
61
+ "person",
62
+ "organisation",
63
+ "unknown_entity_type",
64
+ null
65
+ ]
66
+ }
67
+ }
@@ -3,98 +3,7 @@
3
3
  "description": "A Licence is a permission for an entity to do something that would otherwise not be permitted. Note that such permissions are recorded in multiple different ways and to different granularity. In addition categories cross over, for example a pawnborker may be regulated as a retail establishment by a city, but also as a financial institution by a national or regional financial regulator. Sometimes the licence is a simple statement – the government of Rwanda has given a banking licence to a certain bank -- other times it is fine-grained and highly complex (e.g. an extractives licence or the UK FCA licencing scheme). This schema tries to make it easy to submit the former, while not losing granularity of the latter. The object has the name of Rich Licence to distinguish it from Simple Licence, which it is expected to ultimately replace.",
4
4
  "properties": {
5
5
  "licence_holder": {
6
- "type": "object",
7
- "additionalProperties": false,
8
- "required": [
9
- "entity"
10
- ],
11
- "properties": {
12
- "entity": {
13
- "oneOf": [
14
- {
15
- "type": "object",
16
- "additionalProperties": false,
17
- "required": [
18
- "entity_type",
19
- "entity_properties"
20
- ],
21
- "properties": {
22
- "entity_type": {
23
- "enum": [
24
- "company"
25
- ]
26
- },
27
- "entity_properties": {
28
- "$ref": "includes/company-for-nesting.json"
29
- }
30
- }
31
- },
32
- {
33
- "type": "object",
34
- "additionalProperties": false,
35
- "required": [
36
- "entity_type",
37
- "entity_properties"
38
- ],
39
- "properties": {
40
- "entity_type": {
41
- "enum": [
42
- "person"
43
- ]
44
- },
45
- "entity_properties": {
46
- "$ref": "includes/person.json"
47
- }
48
- }
49
- },
50
- {
51
- "type": "object",
52
- "additionalProperties": false,
53
- "required": [
54
- "entity_type",
55
- "entity_properties"
56
- ],
57
- "properties": {
58
- "entity_type": {
59
- "enum": [
60
- "organisation"
61
- ]
62
- },
63
- "entity_properties": {
64
- "$ref": "includes/organisation.json"
65
- }
66
- }
67
- },
68
- {
69
- "type": "object",
70
- "additionalProperties": false,
71
- "required": [
72
- "entity_type",
73
- "entity_properties"
74
- ],
75
- "properties": {
76
- "entity_type": {
77
- "enum": [
78
- "unknown"
79
- ]
80
- },
81
- "entity_properties": {
82
- "$ref": "includes/unknown_entity_type.json"
83
- }
84
- }
85
- }
86
- ]
87
- },
88
- "entity_type": {
89
- "enum": [
90
- "company",
91
- "person",
92
- "organisation",
93
- "unknown_entity_type",
94
- null
95
- ]
96
- }
97
- }
6
+ "$ref": "includes/entity.json"
98
7
  },
99
8
  "licence_issuer": {
100
9
  "oneOf": [
@@ -12,6 +12,14 @@
12
12
  "type": "string",
13
13
  "format": "date"
14
14
  },
15
+ "start_date": {
16
+ "type": "string",
17
+ "format": "date"
18
+ },
19
+ "end_date": {
20
+ "type": "string",
21
+ "format": "date"
22
+ },
15
23
  "confidence": {
16
24
  "description": "Confidence in accuracy of data",
17
25
  "type": "string",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenCorporates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openc-json_schema
@@ -47,6 +47,7 @@ files:
47
47
  - schema/schemas/includes/alternative_name.json
48
48
  - schema/schemas/includes/company-for-nesting.json
49
49
  - schema/schemas/includes/company.json
50
+ - schema/schemas/includes/entity.json
50
51
  - schema/schemas/includes/filing.json
51
52
  - schema/schemas/includes/financial-payment-data-object.json
52
53
  - schema/schemas/includes/identifier.json