turbot-runner 0.2.31 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/turbot_runner/version.rb +1 -1
  3. data/schema/schemas/accounts-statement-schema.json +48 -29
  4. data/schema/schemas/company-schema.json +8 -5
  5. data/schema/schemas/control-statement-schema.json +32 -8
  6. data/schema/schemas/filing-schema.json +3 -4
  7. data/schema/schemas/financial-payment-schema.json +1 -1
  8. data/schema/schemas/gazette-notice-schema.json +337 -312
  9. data/schema/schemas/includes/{accounts_element.json → accounts-element.json} +1 -1
  10. data/schema/schemas/includes/address.json +2 -3
  11. data/schema/schemas/includes/{alternative_name.json → alternative-name.json} +1 -1
  12. data/schema/schemas/includes/base-statement.json +5 -2
  13. data/schema/schemas/includes/company-for-nesting.json +3 -3
  14. data/schema/schemas/includes/company.json +1 -1
  15. data/schema/schemas/includes/date.json +17 -4
  16. data/schema/schemas/includes/entity.json +2 -2
  17. data/schema/schemas/includes/{filing_document.json → filing-document.json} +12 -3
  18. data/schema/schemas/includes/filing.json +1 -1
  19. data/schema/schemas/includes/financial-payment-data-object.json +1 -1
  20. data/schema/schemas/includes/identifier.json +1 -1
  21. data/schema/schemas/includes/{industry_code.json → industry-code.json} +1 -1
  22. data/schema/schemas/includes/legislation.json +1 -1
  23. data/schema/schemas/includes/licence-data-object.json +1 -1
  24. data/schema/schemas/includes/officer.json +1 -1
  25. data/schema/schemas/includes/organisation.json +8 -5
  26. data/schema/schemas/includes/permission.json +1 -1
  27. data/schema/schemas/includes/{person_name.json → person-name.json} +1 -1
  28. data/schema/schemas/includes/person.json +9 -7
  29. data/schema/schemas/includes/{previous_name.json → previous-name.json} +1 -1
  30. data/schema/schemas/includes/range.json +1 -1
  31. data/schema/schemas/includes/sanction.json +5 -2
  32. data/schema/schemas/includes/share-parcel-data.json +1 -1
  33. data/schema/schemas/includes/share-parcel.json +17 -5
  34. data/schema/schemas/includes/subsidiary-relationship-data.json +1 -1
  35. data/schema/schemas/includes/total-shares.json +1 -1
  36. data/schema/schemas/includes/{unknown_entity_type.json → unknown-entity-type.json} +8 -5
  37. data/schema/schemas/licence-schema.json +1 -1
  38. data/schema/schemas/primary-data-schema.json +1 -1
  39. data/schema/schemas/register-entry-schema.json +4 -3
  40. data/schema/schemas/sanctioned-entity-schema.json +4 -5
  41. data/schema/schemas/share-parcel-schema.json +1 -1
  42. data/schema/schemas/simple-financial-payment-schema.json +1 -1
  43. data/schema/schemas/simple-licence-schema.json +1 -1
  44. data/schema/schemas/simple-subsidiary-schema.json +1 -1
  45. data/schema/schemas/subsidiary-relationship-schema.json +1 -1
  46. data/schema/schemas/trademark-registration-schema.json +3 -1
  47. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46d0832f2aa1a49fe3dd1bfa866acc052675d763
4
- data.tar.gz: 4603ea580c1f2e8bf89bd814ee1898db62947a10
3
+ metadata.gz: d41497aa58618792cf5f76e54e2d8a54bedadfb2
4
+ data.tar.gz: 41b301a1772f6fa01dbee1fa59fb7585f8368aaf
5
5
  SHA512:
6
- metadata.gz: 5ead2003d9cf2a65cb20a02d081facde62a72d80696c915dbdf8e5a14092b06d305533c60eda271c403036610e6660f6ca967dd44064ce3bb12e425725aaed6e
7
- data.tar.gz: 015a456f06cd43ea1e677a2daf3f7aff8bf016374b57944ce2410010c528f3169df5c894e4c4e82ee028985f2917d3d36e0e5d23ec178e404c56be6def960727
6
+ metadata.gz: da77da59c04ed6be51e206f9a76da556b571c90519a28cde2a628bc987efc12b6a665ea896db16413dd0bd6809761bccd6b7d01feddcc93017906ed509a54b29
7
+ data.tar.gz: a5c43adcef9d972f3a101cc335abe4338ae4a312c5ca11a59df1b4257ff54ec4c881cee747b9c665d4c4d304e3a97c267fef9553f18c9a76051994c9719b7abb
@@ -1,3 +1,3 @@
1
1
  module TurbotRunner
2
- VERSION = '0.2.31'
2
+ VERSION = '0.2.32'
3
3
  end
@@ -20,60 +20,88 @@
20
20
  },
21
21
  "accounts_type": {
22
22
  "description": "The type of accounts – either annual, or quarterly, or null if not known",
23
- "enum": ["annual", "quarterly", null]
23
+ "enum": [
24
+ "annual",
25
+ "quarterly",
26
+ null
27
+ ]
24
28
  },
25
29
  "profit": {
26
30
  "type": "array",
27
31
  "items": {
28
- "$ref": "includes/accounts_element.json"
32
+ "$ref": "includes/accounts-element.json"
29
33
  }
30
34
  },
31
35
  "revenue": {
32
- "type": ["array","null"],
36
+ "type": [
37
+ "array",
38
+ "null"
39
+ ],
33
40
  "items": {
34
- "$ref": "includes/accounts_element.json"
41
+ "$ref": "includes/accounts-element.json"
35
42
  }
36
43
  },
37
44
  "current_assets": {
38
- "type": ["array","null"],
45
+ "type": [
46
+ "array",
47
+ "null"
48
+ ],
39
49
  "items": {
40
- "$ref": "includes/accounts_element.json"
50
+ "$ref": "includes/accounts-element.json"
41
51
  }
42
52
  },
43
53
  "total_assets": {
44
- "type": ["array","null"],
54
+ "type": [
55
+ "array",
56
+ "null"
57
+ ],
45
58
  "items": {
46
- "$ref": "includes/accounts_element.json"
59
+ "$ref": "includes/accounts-element.json"
47
60
  }
48
61
  },
49
62
  "fixed_assets": {
50
- "type": ["array","null"],
63
+ "type": [
64
+ "array",
65
+ "null"
66
+ ],
51
67
  "items": {
52
- "$ref": "includes/accounts_element.json"
68
+ "$ref": "includes/accounts-element.json"
53
69
  }
54
70
  },
55
71
  "current_liabilities": {
56
- "type": ["array","null"],
72
+ "type": [
73
+ "array",
74
+ "null"
75
+ ],
57
76
  "items": {
58
- "$ref": "includes/accounts_element.json"
77
+ "$ref": "includes/accounts-element.json"
59
78
  }
60
79
  },
61
80
  "total_liabilities": {
62
- "type": ["array","null"],
81
+ "type": [
82
+ "array",
83
+ "null"
84
+ ],
63
85
  "items": {
64
- "$ref": "includes/accounts_element.json"
86
+ "$ref": "includes/accounts-element.json"
65
87
  }
66
88
  },
67
89
  "cash_at_bank": {
68
- "type": ["array","null"],
90
+ "type": [
91
+ "array",
92
+ "null"
93
+ ],
69
94
  "items": {
70
- "$ref": "includes/accounts_element.json"
95
+ "$ref": "includes/accounts-element.json"
71
96
  }
72
97
  },
73
98
  "documents": {
74
- "type": ["array","null"],
99
+ "type": [
100
+ "array",
101
+ "null"
102
+ ],
75
103
  "items": {
76
- "$ref": "includes/filing_document.json"
104
+ "$ref": "includes/filing-document.json"
77
105
  }
78
106
  },
79
107
  "filing_type_name": {
@@ -133,15 +161,6 @@
133
161
  "type": "string",
134
162
  "description": "If the accounts filing has been put on sources.opencorporates.com the path to the filing"
135
163
  },
136
- "confidence": {
137
- "description": "Confidence in accuracy of data",
138
- "type": "string",
139
- "enum": [
140
- "HIGH",
141
- "MEDIUM",
142
- "LOW"
143
- ]
144
- },
145
164
  "other_attributes": {
146
165
  "description": "Use for other attributes for which we don't yet have curated schema attributes",
147
166
  "type": "object"
@@ -155,5 +174,5 @@
155
174
  "confidence",
156
175
  "filing_date",
157
176
  "accounts_type"
158
- ]
159
- }
177
+ ]
178
+ }
@@ -106,7 +106,10 @@
106
106
  }
107
107
  },
108
108
  "identifiers": {
109
- "type": ["array", "null"],
109
+ "type": [
110
+ "array",
111
+ "null"
112
+ ],
110
113
  "items": {
111
114
  "$ref": "includes/identifier.json"
112
115
  }
@@ -114,19 +117,19 @@
114
117
  "industry_codes": {
115
118
  "type": "array",
116
119
  "items": {
117
- "$ref": "includes/industry_code.json"
120
+ "$ref": "includes/industry-code.json"
118
121
  }
119
122
  },
120
123
  "previous_names": {
121
124
  "type": "array",
122
125
  "items": {
123
- "$ref": "includes/previous_name.json"
126
+ "$ref": "includes/previous-name.json"
124
127
  }
125
128
  },
126
129
  "alternative_names": {
127
130
  "type": "array",
128
131
  "items": {
129
- "$ref": "includes/alternative_name.json"
132
+ "$ref": "includes/alternative-name.json"
130
133
  }
131
134
  },
132
135
  "branch": {
@@ -257,4 +260,4 @@
257
260
  "name",
258
261
  "jurisdiction_code"
259
262
  ]
260
- }
263
+ }
@@ -135,13 +135,12 @@
135
135
  "$ref": "includes/range.json"
136
136
  }
137
137
  ]
138
-
139
138
  },
140
139
  "share_class": {
141
140
  "description": "Share class or classes",
142
141
  "type": "string"
143
142
  },
144
- "exercised_via" : {
143
+ "exercised_via": {
145
144
  "enum": [
146
145
  "trust",
147
146
  "firm",
@@ -179,7 +178,7 @@
179
178
  }
180
179
  ]
181
180
  },
182
- "exercised_via" : {
181
+ "exercised_via": {
183
182
  "enum": [
184
183
  "trust",
185
184
  "firm",
@@ -204,7 +203,7 @@
204
203
  },
205
204
  "mechanism_properties": {
206
205
  "properties": {
207
- "exercised_via" : {
206
+ "exercised_via": {
208
207
  "enum": [
209
208
  "trust",
210
209
  "firm",
@@ -229,7 +228,32 @@
229
228
  },
230
229
  "mechanism_properties": {
231
230
  "properties": {
232
- "exercised_via" : {
231
+ "exercised_via": {
232
+ "enum": [
233
+ "trust",
234
+ "firm",
235
+ null
236
+ ]
237
+ }
238
+ }
239
+ },
240
+ "source_description": {
241
+ "description": "Description of the control relationship as given by the source",
242
+ "type": "string"
243
+ }
244
+ },
245
+ "additionalProperties": false
246
+ },
247
+ {
248
+ "properties": {
249
+ "mechanism_type": {
250
+ "enum": [
251
+ "right_to_appoint_and_remove_person"
252
+ ]
253
+ },
254
+ "mechanism_properties": {
255
+ "properties": {
256
+ "exercised_via": {
233
257
  "enum": [
234
258
  "trust",
235
259
  "firm",
@@ -254,7 +278,7 @@
254
278
  },
255
279
  "mechanism_properties": {
256
280
  "properties": {
257
- "exercised_via" : {
281
+ "exercised_via": {
258
282
  "enum": [
259
283
  "trust",
260
284
  "firm",
@@ -292,7 +316,7 @@
292
316
  },
293
317
  "mechanism_properties": {
294
318
  "properties": {
295
- "exercised_via" : {
319
+ "exercised_via": {
296
320
  "enum": [
297
321
  "trust",
298
322
  "firm",
@@ -311,4 +335,4 @@
311
335
  ]
312
336
  }
313
337
  }
314
- }
338
+ }
@@ -13,7 +13,7 @@
13
13
  "documents": {
14
14
  "type": "array",
15
15
  "items": {
16
- "$ref": "includes/filing_document.json"
16
+ "$ref": "includes/filing-document.json"
17
17
  }
18
18
  },
19
19
  "uid": {
@@ -80,7 +80,7 @@
80
80
  "sample_date",
81
81
  "confidence",
82
82
  "filing_date"
83
- ],
83
+ ],
84
84
  "anyOf": [
85
85
  {
86
86
  "required": [
@@ -97,6 +97,5 @@
97
97
  "filing_type_name"
98
98
  ]
99
99
  }
100
-
101
100
  ]
102
- }
101
+ }
@@ -33,4 +33,4 @@
33
33
  "data",
34
34
  "sample_date"
35
35
  ]
36
- }
36
+ }
@@ -41,343 +41,368 @@
41
41
  "about": {
42
42
  "description": "The content of the notice",
43
43
  "type": "object",
44
- "oneOf": [{
45
- "properties": {
46
- "type": {
47
- "description": "The class of content",
48
- "type": "string",
49
- "enum": ["creation of subjects"]
50
- },
51
- "classification": {
52
- "description": "The type of creation",
53
- "type": "array",
54
- "items": {
55
- "$ref": "includes/classification.json"
56
- }
57
- },
58
- "body": {
59
- "description": "The unstructured prose content",
60
- "$ref": "#/definitions/body"
61
- },
62
- "registration_date": {
63
- "description": "The date of registration",
64
- "type": "string",
65
- "format": "date"
66
- },
67
- "activity_start_date": {
68
- "description": "The date on which activity started",
69
- "type": "string",
70
- "format": "date"
71
- },
72
- "previous_owners": {
73
- "description": "The previous owners of the locations",
74
- "type": "array",
75
- "items": {
76
- "$ref": "includes/entity.json"
77
- }
78
- },
79
- "previous_operators": {
80
- "description": "The previous operators of the locations",
81
- "type": "array",
82
- "items": {
83
- "$ref": "includes/entity.json"
44
+ "oneOf": [
45
+ {
46
+ "properties": {
47
+ "type": {
48
+ "description": "The class of content",
49
+ "type": "string",
50
+ "enum": [
51
+ "creation of subjects"
52
+ ]
53
+ },
54
+ "classification": {
55
+ "description": "The type of creation",
56
+ "type": "array",
57
+ "items": {
58
+ "$ref": "includes/classification.json"
59
+ }
60
+ },
61
+ "body": {
62
+ "description": "The unstructured prose content",
63
+ "$ref": "#/definitions/body"
64
+ },
65
+ "registration_date": {
66
+ "description": "The date of registration",
67
+ "type": "string",
68
+ "format": "date"
69
+ },
70
+ "activity_start_date": {
71
+ "description": "The date on which activity started",
72
+ "type": "string",
73
+ "format": "date"
74
+ },
75
+ "previous_owners": {
76
+ "description": "The previous owners of the locations",
77
+ "type": "array",
78
+ "items": {
79
+ "$ref": "includes/entity.json"
80
+ }
81
+ },
82
+ "previous_operators": {
83
+ "description": "The previous operators of the locations",
84
+ "type": "array",
85
+ "items": {
86
+ "$ref": "includes/entity.json"
87
+ }
88
+ },
89
+ "locations": {
90
+ "description": "Some locations of the subjects",
91
+ "type": "array",
92
+ "items": {
93
+ "$ref": "#/definitions/location"
94
+ }
84
95
  }
85
96
  },
86
- "locations": {
87
- "description": "Some locations of the subjects",
88
- "type": "array",
89
- "items": {
90
- "$ref": "#/definitions/location"
91
- }
92
- }
97
+ "additionalProperties": false,
98
+ "required": [
99
+ "type"
100
+ ]
93
101
  },
94
- "additionalProperties": false,
95
- "required": [
96
- "type"
97
- ]
98
- }, {
99
- "properties": {
100
- "type": {
101
- "description": "The class of content",
102
- "type": "string",
103
- "enum": ["registration of locations"]
104
- },
105
- "classification": {
106
- "description": "The type of registration",
107
- "type": "array",
108
- "items": {
109
- "$ref": "includes/classification.json"
110
- }
111
- },
112
- "body": {
113
- "description": "The unstructured prose content",
114
- "$ref": "#/definitions/body"
115
- },
116
- "registration_date": {
117
- "description": "The date on which the subjects are registered",
118
- "type": "string",
119
- "format": "date"
120
- },
121
- "activity_start_date": {
122
- "description": "The date on which activity started",
123
- "type": "string",
124
- "format": "date"
125
- },
126
- "effective_date": {
127
- "description": "The date from which the change is in effect",
128
- "type": "string",
129
- "format": "date"
130
- },
131
- "previous_owners": {
132
- "description": "The previous owners of the locations",
133
- "type": "array",
134
- "items": {
135
- "$ref": "includes/entity.json"
136
- }
137
- },
138
- "previous_operators": {
139
- "description": "The previous operators of the locations",
140
- "type": "array",
141
- "items": {
142
- "$ref": "includes/entity.json"
102
+ {
103
+ "properties": {
104
+ "type": {
105
+ "description": "The class of content",
106
+ "type": "string",
107
+ "enum": [
108
+ "registration of locations"
109
+ ]
110
+ },
111
+ "classification": {
112
+ "description": "The type of registration",
113
+ "type": "array",
114
+ "items": {
115
+ "$ref": "includes/classification.json"
116
+ }
117
+ },
118
+ "body": {
119
+ "description": "The unstructured prose content",
120
+ "$ref": "#/definitions/body"
121
+ },
122
+ "registration_date": {
123
+ "description": "The date on which the subjects are registered",
124
+ "type": "string",
125
+ "format": "date"
126
+ },
127
+ "activity_start_date": {
128
+ "description": "The date on which activity started",
129
+ "type": "string",
130
+ "format": "date"
131
+ },
132
+ "effective_date": {
133
+ "description": "The date from which the change is in effect",
134
+ "type": "string",
135
+ "format": "date"
136
+ },
137
+ "previous_owners": {
138
+ "description": "The previous owners of the locations",
139
+ "type": "array",
140
+ "items": {
141
+ "$ref": "includes/entity.json"
142
+ }
143
+ },
144
+ "previous_operators": {
145
+ "description": "The previous operators of the locations",
146
+ "type": "array",
147
+ "items": {
148
+ "$ref": "includes/entity.json"
149
+ }
150
+ },
151
+ "locations": {
152
+ "description": "Some locations of the subjects",
153
+ "type": "array",
154
+ "items": {
155
+ "$ref": "#/definitions/location"
156
+ }
143
157
  }
144
158
  },
145
- "locations": {
146
- "description": "Some locations of the subjects",
147
- "type": "array",
148
- "items": {
149
- "$ref": "#/definitions/location"
150
- }
151
- }
159
+ "additionalProperties": false,
160
+ "required": [
161
+ "type"
162
+ ]
152
163
  },
153
- "additionalProperties": false,
154
- "required": [
155
- "type"
156
- ]
157
- }, {
158
- "properties": {
159
- "type": {
160
- "description": "The class of content",
161
- "type": "string",
162
- "enum": ["sale of locations"]
163
- },
164
- "classification": {
165
- "description": "The type of sale",
166
- "type": "array",
167
- "items": {
168
- "$ref": "includes/classification.json"
169
- }
170
- },
171
- "body": {
172
- "description": "The unstructured prose content",
173
- "$ref": "#/definitions/body"
174
- },
175
- "registration_date": {
176
- "description": "The date on which the subjects are registered",
177
- "type": "string",
178
- "format": "date"
179
- },
180
- "activity_start_date": {
181
- "description": "The date on which activity started",
182
- "type": "string",
183
- "format": "date"
184
- },
185
- "effective_date": {
186
- "description": "The date from which the change is in effect",
187
- "type": "string",
188
- "format": "date"
189
- },
190
- "publication": {
191
- "description": "Another publication in which the notice is published",
192
- "type": "object",
193
- "properties": {
194
- "title": {
195
- "description": "The title of the publication",
196
- "type": "string"
164
+ {
165
+ "properties": {
166
+ "type": {
167
+ "description": "The class of content",
168
+ "type": "string",
169
+ "enum": [
170
+ "sale of locations"
171
+ ]
172
+ },
173
+ "classification": {
174
+ "description": "The type of sale",
175
+ "type": "array",
176
+ "items": {
177
+ "$ref": "includes/classification.json"
178
+ }
179
+ },
180
+ "body": {
181
+ "description": "The unstructured prose content",
182
+ "$ref": "#/definitions/body"
183
+ },
184
+ "registration_date": {
185
+ "description": "The date on which the subjects are registered",
186
+ "type": "string",
187
+ "format": "date"
188
+ },
189
+ "activity_start_date": {
190
+ "description": "The date on which activity started",
191
+ "type": "string",
192
+ "format": "date"
193
+ },
194
+ "effective_date": {
195
+ "description": "The date from which the change is in effect",
196
+ "type": "string",
197
+ "format": "date"
198
+ },
199
+ "publication": {
200
+ "description": "Another publication in which the notice is published",
201
+ "type": "object",
202
+ "properties": {
203
+ "title": {
204
+ "description": "The title of the publication",
205
+ "type": "string"
206
+ },
207
+ "date_published": {
208
+ "description": "The date of publication of the publication",
209
+ "type": "string",
210
+ "format": "date"
211
+ }
197
212
  },
198
- "date_published": {
199
- "description": "The date of publication of the publication",
200
- "type": "string",
201
- "format": "date"
213
+ "additionalProperties": false,
214
+ "required": [
215
+ "title",
216
+ "date_published"
217
+ ]
218
+ },
219
+ "opposition": {
220
+ "type": "string"
221
+ },
222
+ "statement_of_accounts": {
223
+ "type": "string"
224
+ },
225
+ "previous_owners": {
226
+ "description": "The previous owners of the locations",
227
+ "type": "array",
228
+ "items": {
229
+ "$ref": "includes/entity.json"
202
230
  }
203
231
  },
204
- "additionalProperties": false,
205
- "required": [
206
- "title",
207
- "date_published"
208
- ]
209
- },
210
- "opposition": {
211
- "type": "string"
212
- },
213
- "statement_of_accounts": {
214
- "type": "string"
215
- },
216
- "previous_owners": {
217
- "description": "The previous owners of the locations",
218
- "type": "array",
219
- "items": {
220
- "$ref": "includes/entity.json"
232
+ "previous_operators": {
233
+ "description": "The previous operators of the locations",
234
+ "type": "array",
235
+ "items": {
236
+ "$ref": "includes/entity.json"
237
+ }
238
+ },
239
+ "locations": {
240
+ "description": "Some locations of the subjects",
241
+ "type": "array",
242
+ "items": {
243
+ "$ref": "#/definitions/location"
244
+ }
221
245
  }
222
246
  },
223
- "previous_operators": {
224
- "description": "The previous operators of the locations",
225
- "type": "array",
226
- "items": {
227
- "$ref": "includes/entity.json"
247
+ "additionalProperties": false,
248
+ "required": [
249
+ "type"
250
+ ]
251
+ },
252
+ {
253
+ "properties": {
254
+ "type": {
255
+ "description": "The class of content",
256
+ "type": "string",
257
+ "enum": [
258
+ "judgment"
259
+ ]
260
+ },
261
+ "classification": {
262
+ "description": "The type of judgment",
263
+ "type": "array",
264
+ "items": {
265
+ "$ref": "includes/classification.json"
266
+ }
267
+ },
268
+ "body": {
269
+ "description": "The unstructured prose content",
270
+ "$ref": "#/definitions/body"
271
+ },
272
+ "date": {
273
+ "description": "The date of the judgment",
274
+ "type": "string",
275
+ "format": "date"
228
276
  }
229
277
  },
230
- "locations": {
231
- "description": "Some locations of the subjects",
232
- "type": "array",
233
- "items": {
234
- "$ref": "#/definitions/location"
235
- }
236
- }
278
+ "additionalProperties": false,
279
+ "required": [
280
+ "type"
281
+ ]
237
282
  },
238
- "additionalProperties": false,
239
- "required": [
240
- "type"
241
- ]
242
- }, {
243
- "properties": {
244
- "type": {
245
- "description": "The class of content",
246
- "type": "string",
247
- "enum": ["judgment"]
248
- },
249
- "classification": {
250
- "description": "The type of judgment",
251
- "type": "array",
252
- "items": {
253
- "$ref": "includes/classification.json"
283
+ {
284
+ "properties": {
285
+ "type": {
286
+ "description": "The class of content",
287
+ "type": "string",
288
+ "enum": [
289
+ "other"
290
+ ]
291
+ },
292
+ "classification": {
293
+ "description": "The type of judgment",
294
+ "type": "array",
295
+ "items": {
296
+ "$ref": "includes/classification.json"
297
+ }
298
+ },
299
+ "body": {
300
+ "description": "The unstructured prose content",
301
+ "$ref": "#/definitions/body"
302
+ },
303
+ "title": {
304
+ "description": "The title of the notice",
305
+ "type": "string"
254
306
  }
255
307
  },
256
- "body": {
257
- "description": "The unstructured prose content",
258
- "$ref": "#/definitions/body"
259
- },
260
- "date": {
261
- "description": "The date of the judgment",
262
- "type": "string",
263
- "format": "date"
264
- }
308
+ "additionalProperties": false,
309
+ "required": [
310
+ "type",
311
+ "body"
312
+ ]
265
313
  },
266
- "additionalProperties": false,
267
- "required": [
268
- "type"
269
- ]
270
- }, {
271
- "properties": {
272
- "type": {
273
- "description": "The class of content",
274
- "type": "string",
275
- "enum": ["other"]
276
- },
277
- "classification": {
278
- "description": "The type of judgment",
279
- "type": "array",
280
- "items": {
281
- "$ref": "includes/classification.json"
314
+ {
315
+ "properties": {
316
+ "type": {
317
+ "description": "The class of content",
318
+ "type": "string",
319
+ "enum": [
320
+ "modification of subjects"
321
+ ]
322
+ },
323
+ "body": {
324
+ "description": "The unstructured prose content",
325
+ "$ref": "#/definitions/body"
326
+ },
327
+ "activity_start_date": {
328
+ "description": "The date on which activity started",
329
+ "type": "string",
330
+ "format": "date"
331
+ },
332
+ "effective_date": {
333
+ "description": "The date from which the change is in effect",
334
+ "type": "string",
335
+ "format": "date"
336
+ },
337
+ "previous_operators": {
338
+ "description": "The previous operators of the location",
339
+ "type": "array",
340
+ "items": {
341
+ "$ref": "includes/entity.json"
342
+ }
282
343
  }
283
344
  },
284
- "body": {
285
- "description": "The unstructured prose content",
286
- "$ref": "#/definitions/body"
287
- },
288
- "title": {
289
- "description": "The title of the notice",
290
- "type": "string"
291
- }
345
+ "additionalProperties": false,
346
+ "required": [
347
+ "type"
348
+ ]
292
349
  },
293
- "additionalProperties": false,
294
- "required": [
295
- "type",
296
- "body"
297
- ]
298
- }, {
299
- "properties": {
300
- "type": {
301
- "description": "The class of content",
302
- "type": "string",
303
- "enum": ["modification of subjects"]
304
- },
305
- "body": {
306
- "description": "The unstructured prose content",
307
- "$ref": "#/definitions/body"
308
- },
309
- "activity_start_date": {
310
- "description": "The date on which activity started",
311
- "type": "string",
312
- "format": "date"
313
- },
314
- "effective_date": {
315
- "description": "The date from which the change is in effect",
316
- "type": "string",
317
- "format": "date"
318
- },
319
- "previous_operators": {
320
- "description": "The previous operators of the location",
321
- "type": "array",
322
- "items": {
323
- "$ref": "includes/entity.json"
350
+ {
351
+ "properties": {
352
+ "type": {
353
+ "description": "The class of content",
354
+ "type": "string",
355
+ "enum": [
356
+ "striking off of subjects"
357
+ ]
358
+ },
359
+ "body": {
360
+ "description": "The unstructured prose content",
361
+ "$ref": "#/definitions/body"
362
+ },
363
+ "activity_end_date": {
364
+ "description": "The date on which activity ended",
365
+ "type": "string",
366
+ "format": "date"
324
367
  }
325
- }
326
- },
327
- "additionalProperties": false,
328
- "required": [
329
- "type"
330
- ]
331
- }, {
332
- "properties": {
333
- "type": {
334
- "description": "The class of content",
335
- "type": "string",
336
- "enum": ["striking off of subjects"]
337
- },
338
- "body": {
339
- "description": "The unstructured prose content",
340
- "$ref": "#/definitions/body"
341
368
  },
342
- "activity_end_date": {
343
- "description": "The date on which activity ended",
344
- "type": "string",
345
- "format": "date"
346
- }
369
+ "additionalProperties": false,
370
+ "required": [
371
+ "type"
372
+ ]
347
373
  },
348
- "additionalProperties": false,
349
- "required": [
350
- "type"
351
- ]
352
- }, {
353
- "properties": {
354
- "type": {
355
- "description": "The class of content",
356
- "type": "string",
357
- "enum": ["filing"]
358
- },
359
- "classification": {
360
- "description": "The type of filing",
361
- "type": "array",
362
- "items": {
363
- "$ref": "includes/classification.json"
374
+ {
375
+ "properties": {
376
+ "type": {
377
+ "description": "The class of content",
378
+ "type": "string",
379
+ "enum": [
380
+ "filing"
381
+ ]
382
+ },
383
+ "classification": {
384
+ "description": "The type of filing",
385
+ "type": "array",
386
+ "items": {
387
+ "$ref": "includes/classification.json"
388
+ }
389
+ },
390
+ "body": {
391
+ "description": "The unstructured prose content",
392
+ "$ref": "#/definitions/body"
393
+ },
394
+ "closing_date": {
395
+ "description": "The closing date of the filing",
396
+ "type": "string",
397
+ "format": "date"
364
398
  }
365
399
  },
366
- "body": {
367
- "description": "The unstructured prose content",
368
- "$ref": "#/definitions/body"
369
- },
370
- "closing_date": {
371
- "description": "The closing date of the filing",
372
- "type": "string",
373
- "format": "date"
374
- }
375
- },
376
- "additionalProperties": false,
377
- "required": [
378
- "type"
379
- ]
380
- }]
400
+ "additionalProperties": false,
401
+ "required": [
402
+ "type"
403
+ ]
404
+ }
405
+ ]
381
406
  },
382
407
  "update_action": {
383
408
  "description": "If this notice corrects or cancels an earlier notice, a description of the update",