turbot 0.1.17 → 0.1.18

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
- YzU0MWQ3MTJjY2M3YjU2ZjNhMjNiOGNlZjBjZDVlMjBhMWYzZmViYw==
4
+ NjExNGE1NTc3M2RhNzBlNGQ2MGM4MmY4MzRkM2ZmZjMwMzY1ODViMg==
5
5
  data.tar.gz: !binary |-
6
- NmYwMjE2Mjg4NzY1NjZmNGVjMGExMDFiMTFmZGVlNWQ0MzZkYWFiOA==
6
+ MDhkYWIxZTdmZDUxNzdhOWYyMmViMjc0ZGRkY2RkNjczYmNhNDgzYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTc0YmJmMjhmZWJiZjIzN2NjOWNjY2E5YWZhYmY4Mzg2ZGVjNGNlYzgzMDJk
10
- NTkzNjUyNjZmNmRiNjg1NjE2YWExZjM4NWZhMTJiOTc5OTJiYjAyMzllNjNj
11
- N2ExYmIyYzkzOWQ0ZDBiMGUyMjZmNzc1MDc4OWE5MDA2OWQwZDc=
9
+ ODVmYmMzNjdhODQ0NmUyODcxZjIwMjRiZDBjYmJmMzg0ZmRlYTliOWVjMjdi
10
+ MTUwOTVlZjg5OWE4YzVhMmMxYmI3OGJiMDc3NmRiMmFkOTJlZWUyNzdkNWZl
11
+ YmYzYWM5NDMwNmUyODJkNjQ5Y2ZiNmEyN2E0OGUxZmVkYTA5OWY=
12
12
  data.tar.gz: !binary |-
13
- NjAxMDM3MTcwYzRiZjFmZWQ3NDBmMzY5MmU2ZWNiMjUyYWI1MGZmZWIzYWFm
14
- YWRhMzFkYzk0Zjc4ZTVmNmQ4OTg2MzdlM2VmZjE3ZWEzNWM0Y2Y2NDdhMDlk
15
- ZTZiMzI3ZmI1N2VkOWE3NzZhYTdhODRjYzg4MTI1NzQwZjdjMTQ=
13
+ NWI0NzkyNjRkNGM4ZGY2ZmU1OWEwYjJmZTAzNWRjNmIzNjkxZjg2ZTkzY2Yx
14
+ OGUxZWZlZDdkMjg2NDdiM2VjMmZjODI2MGZmY2Q4YjUxM2EyNzVlODA5YTM1
15
+ ODFjMWM2YjM3ZDdhZjU1OWI1OGFhN2U1MDg2Y2UxZjQwOTUwZDE=
@@ -1,3 +1,3 @@
1
1
  module Turbot
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
@@ -82,6 +82,12 @@
82
82
  "$ref": "includes/filing.json"
83
83
  }
84
84
  },
85
+ "identifiers": {
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "includes/identifier.json"
89
+ }
90
+ },
85
91
  "industry_codes": {
86
92
  "type": "array",
87
93
  "items": {
@@ -82,6 +82,12 @@
82
82
  "$ref": "filing.json"
83
83
  }
84
84
  },
85
+ "identifiers": {
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "identifier.json"
89
+ }
90
+ },
85
91
  "industry_codes": {
86
92
  "type": "array",
87
93
  "items": {
@@ -4,15 +4,17 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "uid": {
7
- "type": "string"
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
8
10
  },
9
11
  "identifier_system_code": {
10
12
  "type": "string",
11
- "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), gb_ccew (Charity Commission of England & Wales), lei (Global Legal Entity Identifier Schems)"
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)"
12
14
  }
13
15
  },
14
16
  "required": [
15
- "code",
16
- "code_scheme_id"
17
+ "uid",
18
+ "identifier_system_code"
17
19
  ]
18
20
  }
@@ -3,10 +3,21 @@
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
+ ],
6
11
  "properties": {
7
12
  "entity": {
8
13
  "oneOf": [
9
14
  {
15
+ "type": "object",
16
+ "additionalProperties": false,
17
+ "required": [
18
+ "entity_type",
19
+ "entity_properties"
20
+ ],
10
21
  "properties": {
11
22
  "entity_type": {
12
23
  "enum": [
@@ -19,6 +30,12 @@
19
30
  }
20
31
  },
21
32
  {
33
+ "type": "object",
34
+ "additionalProperties": false,
35
+ "required": [
36
+ "entity_type",
37
+ "entity_properties"
38
+ ],
22
39
  "properties": {
23
40
  "entity_type": {
24
41
  "enum": [
@@ -31,6 +48,12 @@
31
48
  }
32
49
  },
33
50
  {
51
+ "type": "object",
52
+ "additionalProperties": false,
53
+ "required": [
54
+ "entity_type",
55
+ "entity_properties"
56
+ ],
34
57
  "properties": {
35
58
  "entity_type": {
36
59
  "enum": [
@@ -43,6 +66,12 @@
43
66
  }
44
67
  },
45
68
  {
69
+ "type": "object",
70
+ "additionalProperties": false,
71
+ "required": [
72
+ "entity_type",
73
+ "entity_properties"
74
+ ],
46
75
  "properties": {
47
76
  "entity_type": {
48
77
  "enum": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Turbot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-20 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: turbotlib
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.1.29
117
+ version: 0.1.30
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.1.29
124
+ version: 0.1.30
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: excon
127
127
  requirement: !ruby/object:Gem::Requirement