@financial-times/content-tree 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SPEC.md +17 -16
- package/content-tree.d.ts +68 -44
- package/package.json +1 -1
- package/schemas/body-tree.schema.json +9 -24
- package/schemas/content-tree.schema.json +9 -24
- package/schemas/spark-transit-tree.schema.json +2165 -0
- package/schemas/transit-tree.schema.json +9 -26
|
@@ -256,6 +256,9 @@
|
|
|
256
256
|
{
|
|
257
257
|
"$ref": "#/definitions/ContentTree.transit.Paragraph"
|
|
258
258
|
},
|
|
259
|
+
{
|
|
260
|
+
"$ref": "#/definitions/ContentTree.transit.Heading"
|
|
261
|
+
},
|
|
259
262
|
{
|
|
260
263
|
"$ref": "#/definitions/ContentTree.transit.List"
|
|
261
264
|
},
|
|
@@ -284,17 +287,19 @@
|
|
|
284
287
|
},
|
|
285
288
|
"maxItems": 10,
|
|
286
289
|
"minItems": 4,
|
|
287
|
-
"sparkRepeater": true,
|
|
288
290
|
"type": "array"
|
|
289
291
|
},
|
|
290
292
|
"data": {},
|
|
291
|
-
"heading": {
|
|
292
|
-
"$ref": "#/definitions/ContentTree.transit.CarouselHeading"
|
|
293
|
-
},
|
|
294
293
|
"id": {
|
|
295
294
|
"description": "unique identifier required for component tracking",
|
|
296
295
|
"type": "string"
|
|
297
296
|
},
|
|
297
|
+
"standfirst": {
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"title": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
298
303
|
"type": {
|
|
299
304
|
"const": "carousel",
|
|
300
305
|
"type": "string"
|
|
@@ -305,7 +310,6 @@
|
|
|
305
310
|
"id",
|
|
306
311
|
"type"
|
|
307
312
|
],
|
|
308
|
-
"sparkGenerateStoryblock": true,
|
|
309
313
|
"type": "object"
|
|
310
314
|
},
|
|
311
315
|
"ContentTree.transit.CarouselCard": {
|
|
@@ -353,27 +357,6 @@
|
|
|
353
357
|
],
|
|
354
358
|
"type": "object"
|
|
355
359
|
},
|
|
356
|
-
"ContentTree.transit.CarouselHeading": {
|
|
357
|
-
"additionalProperties": false,
|
|
358
|
-
"properties": {
|
|
359
|
-
"data": {},
|
|
360
|
-
"standfirst": {
|
|
361
|
-
"type": "string"
|
|
362
|
-
},
|
|
363
|
-
"title": {
|
|
364
|
-
"type": "string"
|
|
365
|
-
},
|
|
366
|
-
"type": {
|
|
367
|
-
"const": "carousel-heading",
|
|
368
|
-
"type": "string"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
"required": [
|
|
372
|
-
"title",
|
|
373
|
-
"type"
|
|
374
|
-
],
|
|
375
|
-
"type": "object"
|
|
376
|
-
},
|
|
377
360
|
"ContentTree.transit.ClipSet": {
|
|
378
361
|
"additionalProperties": false,
|
|
379
362
|
"properties": {
|