turbot-runner 0.2.31 → 0.2.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -3
  3. data/bin/bundle +105 -0
  4. data/bin/rspec +29 -0
  5. data/lib/turbot_runner/runner.rb +5 -7
  6. data/lib/turbot_runner/version.rb +1 -1
  7. data/schema/schemas/accounts-statement-schema.json +48 -29
  8. data/schema/schemas/alternate-registration-schema.json +88 -0
  9. data/schema/schemas/alternative-name-schema.json +83 -0
  10. data/schema/schemas/company-schema.json +22 -6
  11. data/schema/schemas/control-statement-schema.json +46 -8
  12. data/schema/schemas/filing-schema.json +3 -4
  13. data/schema/schemas/financial-payment-schema.json +1 -1
  14. data/schema/schemas/gazette-notice-schema.json +337 -312
  15. data/schema/schemas/includes/{accounts_element.json → accounts-element.json} +1 -1
  16. data/schema/schemas/includes/address.json +2 -3
  17. data/schema/schemas/includes/{alternative_name.json → alternative-name.json} +1 -1
  18. data/schema/schemas/includes/base-statement.json +5 -2
  19. data/schema/schemas/includes/company-for-nesting.json +3 -3
  20. data/schema/schemas/includes/company.json +1 -1
  21. data/schema/schemas/includes/date.json +17 -4
  22. data/schema/schemas/includes/entity.json +2 -2
  23. data/schema/schemas/includes/{filing_document.json → filing-document.json} +12 -3
  24. data/schema/schemas/includes/filing.json +1 -1
  25. data/schema/schemas/includes/financial-payment-data-object.json +1 -1
  26. data/schema/schemas/includes/identifier.json +1 -1
  27. data/schema/schemas/includes/{industry_code.json → industry-code.json} +1 -1
  28. data/schema/schemas/includes/legislation.json +1 -1
  29. data/schema/schemas/includes/licence-data-object.json +1 -1
  30. data/schema/schemas/includes/officer.json +1 -1
  31. data/schema/schemas/includes/organisation.json +8 -5
  32. data/schema/schemas/includes/permission.json +1 -1
  33. data/schema/schemas/includes/{person_name.json → person-name.json} +1 -1
  34. data/schema/schemas/includes/person.json +9 -7
  35. data/schema/schemas/includes/{previous_name.json → previous-name.json} +1 -1
  36. data/schema/schemas/includes/range.json +1 -1
  37. data/schema/schemas/includes/sanction.json +5 -2
  38. data/schema/schemas/includes/share-parcel-data.json +1 -1
  39. data/schema/schemas/includes/share-parcel.json +17 -5
  40. data/schema/schemas/includes/subsidiary-relationship-data.json +1 -1
  41. data/schema/schemas/includes/total-shares.json +1 -1
  42. data/schema/schemas/includes/{unknown_entity_type.json → unknown-entity-type.json} +8 -5
  43. data/schema/schemas/licence-schema.json +1 -1
  44. data/schema/schemas/primary-data-schema.json +1 -1
  45. data/schema/schemas/register-entry-schema.json +4 -3
  46. data/schema/schemas/sanctioned-entity-schema.json +4 -5
  47. data/schema/schemas/share-parcel-schema.json +1 -1
  48. data/schema/schemas/simple-financial-payment-schema.json +1 -1
  49. data/schema/schemas/simple-licence-schema.json +1 -1
  50. data/schema/schemas/simple-subsidiary-schema.json +1 -1
  51. data/schema/schemas/subsequent-registration-schema.json +89 -0
  52. data/schema/schemas/subsidiary-relationship-schema.json +1 -1
  53. data/schema/schemas/supplier-relationship-schema.json +82 -0
  54. data/schema/schemas/trademark-registration-schema.json +3 -1
  55. data/spec/lib/runner_spec.rb +71 -39
  56. metadata +19 -11
@@ -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,31 @@
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"
133
+ }
134
+ },
135
+ "subsequent_registrations": {
136
+ "type": "array",
137
+ "items": {
138
+ "$ref": "subsequent-registration-schema.json"
139
+ }
140
+ },
141
+ "alternate_registrations": {
142
+ "type": "array",
143
+ "items": {
144
+ "$ref": "alternate-registration-schema.json"
130
145
  }
131
146
  },
132
147
  "branch": {
@@ -255,6 +270,7 @@
255
270
  "required": [
256
271
  "company_number",
257
272
  "name",
258
- "jurisdiction_code"
273
+ "jurisdiction_code",
274
+ "retrieved_at"
259
275
  ]
260
- }
276
+ }
@@ -76,11 +76,25 @@
76
76
  "type": "string",
77
77
  "format": "date"
78
78
  },
79
+ "start_date_type": {
80
+ "enum": [
81
+ "at",
82
+ "before",
83
+ "after"
84
+ ]
85
+ },
79
86
  "end_date": {
80
87
  "description": "Date on which control ended",
81
88
  "type": "string",
82
89
  "format": "date"
83
90
  },
91
+ "end_date_type": {
92
+ "enum": [
93
+ "at",
94
+ "before",
95
+ "after"
96
+ ]
97
+ },
84
98
  "retrieved_at": {
85
99
  "description": "Date-time this was retrieved from the source",
86
100
  "type": "string",
@@ -135,13 +149,12 @@
135
149
  "$ref": "includes/range.json"
136
150
  }
137
151
  ]
138
-
139
152
  },
140
153
  "share_class": {
141
154
  "description": "Share class or classes",
142
155
  "type": "string"
143
156
  },
144
- "exercised_via" : {
157
+ "exercised_via": {
145
158
  "enum": [
146
159
  "trust",
147
160
  "firm",
@@ -179,7 +192,7 @@
179
192
  }
180
193
  ]
181
194
  },
182
- "exercised_via" : {
195
+ "exercised_via": {
183
196
  "enum": [
184
197
  "trust",
185
198
  "firm",
@@ -204,7 +217,7 @@
204
217
  },
205
218
  "mechanism_properties": {
206
219
  "properties": {
207
- "exercised_via" : {
220
+ "exercised_via": {
208
221
  "enum": [
209
222
  "trust",
210
223
  "firm",
@@ -229,7 +242,32 @@
229
242
  },
230
243
  "mechanism_properties": {
231
244
  "properties": {
232
- "exercised_via" : {
245
+ "exercised_via": {
246
+ "enum": [
247
+ "trust",
248
+ "firm",
249
+ null
250
+ ]
251
+ }
252
+ }
253
+ },
254
+ "source_description": {
255
+ "description": "Description of the control relationship as given by the source",
256
+ "type": "string"
257
+ }
258
+ },
259
+ "additionalProperties": false
260
+ },
261
+ {
262
+ "properties": {
263
+ "mechanism_type": {
264
+ "enum": [
265
+ "right_to_appoint_and_remove_person"
266
+ ]
267
+ },
268
+ "mechanism_properties": {
269
+ "properties": {
270
+ "exercised_via": {
233
271
  "enum": [
234
272
  "trust",
235
273
  "firm",
@@ -254,7 +292,7 @@
254
292
  },
255
293
  "mechanism_properties": {
256
294
  "properties": {
257
- "exercised_via" : {
295
+ "exercised_via": {
258
296
  "enum": [
259
297
  "trust",
260
298
  "firm",
@@ -292,7 +330,7 @@
292
330
  },
293
331
  "mechanism_properties": {
294
332
  "properties": {
295
- "exercised_via" : {
333
+ "exercised_via": {
296
334
  "enum": [
297
335
  "trust",
298
336
  "firm",
@@ -311,4 +349,4 @@
311
349
  ]
312
350
  }
313
351
  }
314
- }
352
+ }
@@ -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",