turbot 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/turbot/version.rb +1 -1
- data/schema/schemas/company-schema.json +69 -21
- data/schema/schemas/financial-payment-schema.json +9 -4
- data/schema/schemas/includes/address.json +36 -13
- data/schema/schemas/includes/alternative_name.json +32 -9
- data/schema/schemas/includes/company-for-nesting.json +229 -0
- data/schema/schemas/includes/company.json +15 -6
- data/schema/schemas/includes/filing.json +48 -16
- data/schema/schemas/includes/financial-payment-data-object.json +73 -21
- data/schema/schemas/includes/identifier.json +18 -0
- data/schema/schemas/includes/industry_code.json +25 -12
- data/schema/schemas/includes/licence-data-object.json +40 -13
- data/schema/schemas/includes/officer.json +66 -46
- data/schema/schemas/includes/organisation.json +58 -0
- data/schema/schemas/includes/permission.json +46 -0
- data/schema/schemas/includes/person.json +62 -0
- data/schema/schemas/includes/person_name.json +71 -0
- data/schema/schemas/includes/previous_name.json +19 -9
- data/schema/schemas/includes/share-parcel-data.json +55 -40
- data/schema/schemas/includes/share-parcel.json +71 -56
- data/schema/schemas/includes/subsidiary-relationship-data.json +19 -8
- data/schema/schemas/includes/total-shares.json +13 -6
- data/schema/schemas/includes/unknown_entity_type.json +58 -0
- data/schema/schemas/licence-schema.json +155 -15
- data/schema/schemas/primary-data-schema.json +18 -15
- data/schema/schemas/share-parcel-schema.json +8 -7
- data/schema/schemas/simple-financial-payment-schema.json +49 -12
- data/schema/schemas/simple-licence-schema.json +23 -8
- data/schema/schemas/simple-subsidiary-schema.json +21 -8
- data/schema/schemas/subsidiary-relationship-schema.json +23 -4
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmVlODkxMjM3YTdhMTM1NjUzNDk4ZWVjODFmMDE0ZDhiZTJmNmZlYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzI4M2JiNDc0ZTFhMDRiMjQ4OWUzOTJmZDNmMTRhNGQzMDZlYmEzNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWU1YzhkMWE3YjYyNTFiOTU5NjJkZGQ0YzUzMjA4Y2UzODY0MTQ4N2E2OWY2
|
10
|
+
MjE3OTE2Nzg3MTg1MzZiZDUyNDI2YTVkN2MzNjgyODIyMzdkMDNjNWVjMmE0
|
11
|
+
ZmQ5ODRkNGM3ZDdhMWI5ZWExMGViNDA5Y2FjYjk5YzVlMmZhNTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTExYjhhZjhjYTI5ZWVlZjlmMWZkZjA0ZDU3MWU0Yjc1MTA4OTQxZTRkNmQ5
|
14
|
+
YWI0MGQ1OTA1ZmI0ZjYwMDBkYzFhYmNiODEwNWFjZjhiNDBjYWM0N2ZjNWVh
|
15
|
+
MmNmYTAxZWJiODNiOWE4YTcwZjBiOTUyN2MzMzQ4MmJjMWJkOTE=
|
data/lib/turbot/version.rb
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"title": "Company Schema",
|
4
|
-
"type": "object",
|
5
3
|
"description": "A company in OpenCorporates",
|
4
|
+
"type": "object",
|
6
5
|
"properties": {
|
7
6
|
"company_number": {
|
8
7
|
"type": "string",
|
@@ -21,13 +20,16 @@
|
|
21
20
|
"maxLength": 5
|
22
21
|
},
|
23
22
|
"incorporation_date": {
|
24
|
-
"type": "
|
23
|
+
"type": "string",
|
24
|
+
"format": "date"
|
25
25
|
},
|
26
26
|
"dissolution_date": {
|
27
|
-
"type": "
|
27
|
+
"type": "string",
|
28
|
+
"format": "date"
|
28
29
|
},
|
29
30
|
"retrieved_at": {
|
30
|
-
"type": "
|
31
|
+
"type": "string",
|
32
|
+
"format": "date-time"
|
31
33
|
},
|
32
34
|
"current_status": {
|
33
35
|
"type": "string"
|
@@ -99,43 +101,71 @@
|
|
99
101
|
}
|
100
102
|
},
|
101
103
|
"branch": {
|
102
|
-
"type": [
|
104
|
+
"type": [
|
105
|
+
"string",
|
106
|
+
"null"
|
107
|
+
],
|
103
108
|
"description": "A flag to denote whether a company is a branch entity. This should only be set if the company is a type of branch (otherwise should be null). In general the only option here is 'F' for a 'Foreign' branch, i.e. an out-of-jurisdiction entity that has registered as having a presence in the jurisdiction. In the US this is sometimes called a Foreign Corporation",
|
104
|
-
"enum": [
|
109
|
+
"enum": [
|
110
|
+
"F",
|
111
|
+
"L",
|
112
|
+
null
|
113
|
+
]
|
105
114
|
},
|
106
115
|
"all_attributes": {
|
107
116
|
"type": "object",
|
108
117
|
"description": "Other arbitrary attributes for a given company",
|
109
118
|
"properties": {
|
110
119
|
"jurisdiction_of_origin": {
|
111
|
-
"type": [
|
120
|
+
"type": [
|
121
|
+
"string",
|
122
|
+
"null"
|
123
|
+
],
|
112
124
|
"description": "The jurisdiction of the 'home' company if this is a branch",
|
113
125
|
"minLength": 1
|
114
126
|
},
|
115
127
|
"home_company_number": {
|
116
|
-
"type": [
|
128
|
+
"type": [
|
129
|
+
"string",
|
130
|
+
"null"
|
131
|
+
],
|
117
132
|
"description": "If the entity is a 'branch', this is the company_number of the 'home' company in the home company's jurisdiction",
|
118
133
|
"minLength": 1
|
119
134
|
},
|
120
135
|
"home_legal_name": {
|
121
|
-
"type": [
|
136
|
+
"type": [
|
137
|
+
"string",
|
138
|
+
"null"
|
139
|
+
],
|
122
140
|
"description": "The legal name of the 'home' company in its jurisdiction if this is a branch, and the name is different from the legal name of the branch",
|
123
141
|
"minLength": 1
|
124
142
|
},
|
125
143
|
"registered_agent_address": {
|
126
|
-
"type": [
|
144
|
+
"type": [
|
145
|
+
"string",
|
146
|
+
"null"
|
147
|
+
],
|
127
148
|
"description": "The address of the 'Agent', a public address to which legal papers can be served",
|
128
149
|
"minLength": 1
|
129
150
|
},
|
130
151
|
"registered_agent_name": {
|
131
|
-
"type": [
|
132
|
-
|
152
|
+
"type": [
|
153
|
+
"string",
|
154
|
+
"null"
|
155
|
+
],
|
156
|
+
"description": "The 'Agent' of the company – a person or entity that is empowered to accept service for the company",
|
133
157
|
"minLength": 1
|
134
158
|
},
|
135
159
|
"number_of_employees": {
|
136
160
|
"anyOf": [
|
137
|
-
{
|
138
|
-
|
161
|
+
{
|
162
|
+
"type": "string",
|
163
|
+
"minLength": 1
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"type": "number",
|
167
|
+
"minimum": 0
|
168
|
+
}
|
139
169
|
],
|
140
170
|
"description": "The number of employees"
|
141
171
|
},
|
@@ -144,7 +174,9 @@
|
|
144
174
|
"description": "Information on the merger of this company into a 'survivor' company",
|
145
175
|
"properties": {
|
146
176
|
"surviving_company": {
|
147
|
-
"type": [
|
177
|
+
"type": [
|
178
|
+
"object"
|
179
|
+
],
|
148
180
|
"description": "the surviving_company that this has been merged into",
|
149
181
|
"properties": {
|
150
182
|
"name": {
|
@@ -163,8 +195,18 @@
|
|
163
195
|
"minLength": 2
|
164
196
|
}
|
165
197
|
},
|
166
|
-
"anyOf": [
|
167
|
-
|
198
|
+
"anyOf": [
|
199
|
+
{
|
200
|
+
"required": [
|
201
|
+
"name"
|
202
|
+
]
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"required": [
|
206
|
+
"company_number"
|
207
|
+
]
|
208
|
+
}
|
209
|
+
]
|
168
210
|
},
|
169
211
|
"effective_date": {
|
170
212
|
"type": "string",
|
@@ -173,11 +215,17 @@
|
|
173
215
|
}
|
174
216
|
},
|
175
217
|
"additionalProperties": false,
|
176
|
-
"required": [
|
218
|
+
"required": [
|
219
|
+
"surviving_company"
|
220
|
+
]
|
177
221
|
}
|
178
222
|
}
|
179
223
|
}
|
180
224
|
},
|
181
225
|
"additionalProperties": false,
|
182
|
-
"required": [
|
183
|
-
|
226
|
+
"required": [
|
227
|
+
"company_number",
|
228
|
+
"name",
|
229
|
+
"jurisdiction_code"
|
230
|
+
]
|
231
|
+
}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
{
|
2
|
-
"title": "Financial-Payment",
|
3
|
-
"description": "A Financial-Payment is a payment from government to a recipient",
|
4
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"description": "A Financial-Payment is a payment from government to a recipient",
|
5
4
|
"type": "object",
|
6
5
|
"properties": {
|
6
|
+
"sample_date": {
|
7
|
+
"type": "string",
|
8
|
+
"format": "date"
|
9
|
+
},
|
7
10
|
"source_jurisdiction": {
|
8
11
|
"description": "Jurisdiction of the source of the data",
|
9
12
|
"type": "string"
|
@@ -20,8 +23,10 @@
|
|
20
23
|
"additionalItems": false
|
21
24
|
}
|
22
25
|
},
|
26
|
+
"additionalProperties": false,
|
23
27
|
"required": [
|
24
28
|
"company",
|
25
|
-
"data"
|
29
|
+
"data",
|
30
|
+
"sample_date"
|
26
31
|
]
|
27
|
-
}
|
32
|
+
}
|
@@ -1,23 +1,46 @@
|
|
1
|
-
{
|
2
|
-
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"oneOf": [
|
3
4
|
{
|
4
|
-
"type": [
|
5
|
+
"type": [
|
6
|
+
"string",
|
7
|
+
"null"
|
8
|
+
],
|
5
9
|
"minLength": 2
|
6
10
|
},
|
7
11
|
{
|
8
12
|
"name": "Address",
|
9
13
|
"description": "An address object",
|
10
14
|
"type": "object",
|
11
|
-
"properties": {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
15
|
+
"properties": {
|
16
|
+
"street_address": {
|
17
|
+
"type": "string"
|
18
|
+
},
|
19
|
+
"locality": {
|
20
|
+
"type": "string"
|
21
|
+
},
|
22
|
+
"region": {
|
23
|
+
"type": "string"
|
24
|
+
},
|
25
|
+
"postal_code": {
|
26
|
+
"type": "string"
|
27
|
+
},
|
28
|
+
"country": {
|
29
|
+
"type": "string"
|
30
|
+
}
|
16
31
|
},
|
17
|
-
"anyOf": [
|
18
|
-
|
19
|
-
|
32
|
+
"anyOf": [
|
33
|
+
{
|
34
|
+
"required": [
|
35
|
+
"street_address"
|
36
|
+
]
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"required": [
|
40
|
+
"postal_code"
|
41
|
+
]
|
42
|
+
}
|
43
|
+
]
|
20
44
|
}
|
21
45
|
]
|
22
|
-
}
|
23
|
-
|
46
|
+
}
|
@@ -1,13 +1,36 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"description": "An alternative name of a company, e.g. abbreviation, trading (including dba or doing business as), legal. As well as trading names etc, it can be used for storing alternative language representations of the legal name, in which case the language should be represented as two-letter ISO-639 code",
|
4
4
|
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
"properties": {
|
6
|
+
"company_name": {
|
7
|
+
"type": "string",
|
8
|
+
"minLength": 1
|
9
|
+
},
|
10
|
+
"start_date": {
|
11
|
+
"type": "string",
|
12
|
+
"format": "date"
|
13
|
+
},
|
14
|
+
"end_date": {
|
15
|
+
"type": "string",
|
16
|
+
"format": "date"
|
17
|
+
},
|
18
|
+
"language": {
|
19
|
+
"type": "string",
|
20
|
+
"minLength": 2,
|
21
|
+
"maxLength": 2
|
22
|
+
},
|
23
|
+
"type": {
|
24
|
+
"type": "string",
|
25
|
+
"enum": [
|
26
|
+
"trading",
|
27
|
+
"abbreviation",
|
28
|
+
"legal"
|
29
|
+
]
|
30
|
+
}
|
10
31
|
},
|
11
|
-
"required": [
|
12
|
-
|
13
|
-
|
32
|
+
"required": [
|
33
|
+
"company_name",
|
34
|
+
"type"
|
35
|
+
]
|
36
|
+
}
|
@@ -0,0 +1,229 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"description": "A company in OpenCorporates",
|
4
|
+
"type": "object",
|
5
|
+
"properties": {
|
6
|
+
"company_number": {
|
7
|
+
"type": "string",
|
8
|
+
"description": "unique identifier given by the corporate register with which it is incorporated",
|
9
|
+
"minLength": 1
|
10
|
+
},
|
11
|
+
"name": {
|
12
|
+
"type": "string",
|
13
|
+
"description": "Legal name of the company",
|
14
|
+
"minLength": 1
|
15
|
+
},
|
16
|
+
"jurisdiction_code": {
|
17
|
+
"type": "string",
|
18
|
+
"description": "Code representing the jurisdiction/company register which is the canonical record of the company’s existence. Uses underscored ISO 3166-2 to represent it, e.g. es for Spain, us_de for Delaware",
|
19
|
+
"minLength": 2,
|
20
|
+
"maxLength": 5
|
21
|
+
},
|
22
|
+
"incorporation_date": {
|
23
|
+
"type": "string",
|
24
|
+
"format": "date"
|
25
|
+
},
|
26
|
+
"dissolution_date": {
|
27
|
+
"type": "string",
|
28
|
+
"format": "date"
|
29
|
+
},
|
30
|
+
"retrieved_at": {
|
31
|
+
"type": "string",
|
32
|
+
"format": "date-time"
|
33
|
+
},
|
34
|
+
"current_status": {
|
35
|
+
"type": "string"
|
36
|
+
},
|
37
|
+
"company_type": {
|
38
|
+
"type": "string"
|
39
|
+
},
|
40
|
+
"registry_url": {
|
41
|
+
"type": "string"
|
42
|
+
},
|
43
|
+
"website": {
|
44
|
+
"type": "string",
|
45
|
+
"minLength": 5
|
46
|
+
},
|
47
|
+
"telephone_number": {
|
48
|
+
"type": "string",
|
49
|
+
"minLength": 4
|
50
|
+
},
|
51
|
+
"fax_number": {
|
52
|
+
"type": "string",
|
53
|
+
"minLength": 4
|
54
|
+
},
|
55
|
+
"registered_address": {
|
56
|
+
"$ref": "address.json"
|
57
|
+
},
|
58
|
+
"headquarters_address": {
|
59
|
+
"$ref": "address.json"
|
60
|
+
},
|
61
|
+
"mailing_address": {
|
62
|
+
"$ref": "address.json"
|
63
|
+
},
|
64
|
+
"officers": {
|
65
|
+
"type": "array",
|
66
|
+
"items": {
|
67
|
+
"$ref": "officer.json"
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"share_parcels": {
|
71
|
+
"type": "array",
|
72
|
+
"items": {
|
73
|
+
"$ref": "share-parcel.json"
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"total_shares": {
|
77
|
+
"$ref": "total-shares.json"
|
78
|
+
},
|
79
|
+
"filings": {
|
80
|
+
"type": "array",
|
81
|
+
"items": {
|
82
|
+
"$ref": "filing.json"
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"industry_codes": {
|
86
|
+
"type": "array",
|
87
|
+
"items": {
|
88
|
+
"$ref": "industry_code.json"
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"previous_names": {
|
92
|
+
"type": "array",
|
93
|
+
"items": {
|
94
|
+
"$ref": "previous_name.json"
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"alternative_names": {
|
98
|
+
"type": "array",
|
99
|
+
"items": {
|
100
|
+
"$ref": "alternative_name.json"
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"branch": {
|
104
|
+
"type": [
|
105
|
+
"string",
|
106
|
+
"null"
|
107
|
+
],
|
108
|
+
"description": "A flag to denote whether a company is a branch entity. This should only be set if the company is a type of branch (otherwise should be null). In general the only option here is 'F' for a 'Foreign' branch, i.e. an out-of-jurisdiction entity that has registered as having a presence in the jurisdiction. In the US this is sometimes called a Foreign Corporation",
|
109
|
+
"enum": [
|
110
|
+
"F",
|
111
|
+
"L",
|
112
|
+
null
|
113
|
+
]
|
114
|
+
},
|
115
|
+
"all_attributes": {
|
116
|
+
"type": "object",
|
117
|
+
"description": "Other arbitrary attributes for a given company",
|
118
|
+
"properties": {
|
119
|
+
"jurisdiction_of_origin": {
|
120
|
+
"type": [
|
121
|
+
"string",
|
122
|
+
"null"
|
123
|
+
],
|
124
|
+
"description": "The jurisdiction of the 'home' company if this is a branch",
|
125
|
+
"minLength": 1
|
126
|
+
},
|
127
|
+
"home_company_number": {
|
128
|
+
"type": [
|
129
|
+
"string",
|
130
|
+
"null"
|
131
|
+
],
|
132
|
+
"description": "If the entity is a 'branch', this is the company_number of the 'home' company in the home company's jurisdiction",
|
133
|
+
"minLength": 1
|
134
|
+
},
|
135
|
+
"home_legal_name": {
|
136
|
+
"type": [
|
137
|
+
"string",
|
138
|
+
"null"
|
139
|
+
],
|
140
|
+
"description": "The legal name of the 'home' company in its jurisdiction if this is a branch, and the name is different from the legal name of the branch",
|
141
|
+
"minLength": 1
|
142
|
+
},
|
143
|
+
"registered_agent_address": {
|
144
|
+
"type": [
|
145
|
+
"string",
|
146
|
+
"null"
|
147
|
+
],
|
148
|
+
"description": "The address of the 'Agent', a public address to which legal papers can be served",
|
149
|
+
"minLength": 1
|
150
|
+
},
|
151
|
+
"registered_agent_name": {
|
152
|
+
"type": [
|
153
|
+
"string",
|
154
|
+
"null"
|
155
|
+
],
|
156
|
+
"description": "The 'Agent' of the company – a person or entity that is empowered to accept service for the company",
|
157
|
+
"minLength": 1
|
158
|
+
},
|
159
|
+
"number_of_employees": {
|
160
|
+
"anyOf": [
|
161
|
+
{
|
162
|
+
"type": "string",
|
163
|
+
"minLength": 1
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"type": "number",
|
167
|
+
"minimum": 0
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"description": "The number of employees"
|
171
|
+
},
|
172
|
+
"merged_into": {
|
173
|
+
"type": "object",
|
174
|
+
"description": "Information on the merger of this company into a 'survivor' company",
|
175
|
+
"properties": {
|
176
|
+
"surviving_company": {
|
177
|
+
"type": [
|
178
|
+
"object"
|
179
|
+
],
|
180
|
+
"description": "the surviving_company that this has been merged into",
|
181
|
+
"properties": {
|
182
|
+
"name": {
|
183
|
+
"type": "string",
|
184
|
+
"description": "The legal name of the surviving company",
|
185
|
+
"minLength": 1
|
186
|
+
},
|
187
|
+
"company_number": {
|
188
|
+
"type": "string",
|
189
|
+
"description": "The company_number of the surviving company, if known",
|
190
|
+
"minLength": 1
|
191
|
+
},
|
192
|
+
"jurisdiction": {
|
193
|
+
"type": "string",
|
194
|
+
"description": "The jurisdiction of incorporation of the surviving company",
|
195
|
+
"minLength": 2
|
196
|
+
}
|
197
|
+
},
|
198
|
+
"anyOf": [
|
199
|
+
{
|
200
|
+
"required": [
|
201
|
+
"name"
|
202
|
+
]
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"required": [
|
206
|
+
"company_number"
|
207
|
+
]
|
208
|
+
}
|
209
|
+
]
|
210
|
+
},
|
211
|
+
"effective_date": {
|
212
|
+
"description": "The date of the merger",
|
213
|
+
"type": "string",
|
214
|
+
"format": "date"
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"additionalProperties": false,
|
218
|
+
"required": [
|
219
|
+
"surviving_company"
|
220
|
+
]
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
},
|
225
|
+
"additionalProperties": false,
|
226
|
+
"required": [
|
227
|
+
"name"
|
228
|
+
]
|
229
|
+
}
|
@@ -1,16 +1,25 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"description": "A company which is the subject of a statement",
|
4
4
|
"type": "object",
|
5
5
|
"properties": {
|
6
|
-
"name": {
|
7
|
-
|
8
|
-
|
6
|
+
"name": {
|
7
|
+
"type": "string"
|
8
|
+
},
|
9
|
+
"jurisdiction": {
|
10
|
+
"type": "string"
|
11
|
+
},
|
12
|
+
"company_number": {
|
13
|
+
"type": "string"
|
14
|
+
},
|
9
15
|
"identifier": {
|
10
16
|
"type": "string",
|
11
17
|
"description": "An official identifier paired with a code for the issuer of the identifier, e.g sec/12345",
|
12
18
|
"pattern": "^[^/]+/[^/]+$"
|
13
19
|
}
|
14
20
|
},
|
15
|
-
"required": [
|
16
|
-
|
21
|
+
"required": [
|
22
|
+
"name",
|
23
|
+
"jurisdiction"
|
24
|
+
]
|
25
|
+
}
|
@@ -1,20 +1,52 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"description": "A statutory filing",
|
4
4
|
"type": "object",
|
5
|
-
"properties": {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
"properties": {
|
6
|
+
"title": {
|
7
|
+
"type": "string"
|
8
|
+
},
|
9
|
+
"date": {
|
10
|
+
"type": "string",
|
11
|
+
"format": "date"
|
12
|
+
},
|
13
|
+
"description": {
|
14
|
+
"type": "string"
|
15
|
+
},
|
16
|
+
"uid": {
|
17
|
+
"type": "string"
|
18
|
+
},
|
19
|
+
"url": {
|
20
|
+
"type": "string"
|
21
|
+
},
|
22
|
+
"filing_type_code": {
|
23
|
+
"type": "string"
|
24
|
+
},
|
25
|
+
"filing_type_name": {
|
26
|
+
"type": "string"
|
27
|
+
},
|
28
|
+
"other_attributes": {
|
29
|
+
"type": "object"
|
30
|
+
}
|
13
31
|
},
|
14
|
-
"required": [
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
32
|
+
"required": [
|
33
|
+
"date"
|
34
|
+
],
|
35
|
+
"anyOf": [
|
36
|
+
{
|
37
|
+
"required": [
|
38
|
+
"title"
|
39
|
+
]
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"required": [
|
43
|
+
"description"
|
44
|
+
]
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"required": [
|
48
|
+
"filing_type_name"
|
49
|
+
]
|
50
|
+
}
|
51
|
+
]
|
52
|
+
}
|