@fifthbell/brokaw 0.1.65 → 0.1.67

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.
Files changed (44) hide show
  1. package/README.md +31 -5
  2. package/dist/cronkite-manifest.d.ts +80 -0
  3. package/dist/cronkite-manifest.js +124 -0
  4. package/dist/cronkite-manifest.json +139 -0
  5. package/dist/json-schema-formats.d.ts +2 -0
  6. package/dist/json-schema-formats.js +19 -0
  7. package/dist/layouts.d.ts +13 -0
  8. package/dist/layouts.js +12 -0
  9. package/dist/live-program-page/index.html +2 -2
  10. package/dist/live-program-page/live-program-manifest.json +4 -4
  11. package/dist/live-program-release.d.ts +3 -0
  12. package/dist/live-program-release.js +76 -0
  13. package/dist/manifest-validation.d.ts +10 -0
  14. package/dist/manifest-validation.js +27 -0
  15. package/dist/renderer.core.d.ts +2 -1
  16. package/dist/renderer.core.js +2 -1
  17. package/dist/renderer.d.ts +3 -0
  18. package/dist/renderer.js +2 -0
  19. package/dist/renderer.node.js +7 -12
  20. package/dist/schemas/canonical-document.schema.json +1071 -0
  21. package/dist/schemas/cronkite-manifest.schema.json +501 -0
  22. package/dist/schemas/feed-renderable-input.schema.json +16 -0
  23. package/dist/schemas/live-program-release-input.schema.json +34 -0
  24. package/dist/types/canonical-article.d.ts +8 -262
  25. package/dist/types/canonical-article.js +21 -245
  26. package/dist/types/canonical-document-schema.generated.d.ts +1634 -0
  27. package/dist/types/canonical-document-schema.generated.js +1730 -0
  28. package/dist/types/canonical-document.generated.d.ts +541 -0
  29. package/dist/types/canonical-document.generated.js +3 -0
  30. package/dist/types/cronkite-manifest.generated.d.ts +339 -0
  31. package/dist/types/cronkite-manifest.generated.js +3 -0
  32. package/dist/types/live-program-release-input.generated.d.ts +5 -0
  33. package/dist/types/live-program-release-input.generated.js +3 -0
  34. package/dist/video/Root.d.ts +1 -0
  35. package/dist/video/Root.js +40 -0
  36. package/dist/video/ShortVideo.d.ts +3 -0
  37. package/dist/video/ShortVideo.js +92 -0
  38. package/dist/video/index.d.ts +2 -0
  39. package/dist/video/index.js +4 -0
  40. package/dist/video/types.d.ts +37 -0
  41. package/dist/video/types.js +1 -0
  42. package/package.json +19 -4
  43. /package/dist/live-program-page/{live-program.v0.1.65.css → live-program.v0.1.67.css} +0 -0
  44. /package/dist/live-program-page/{live-program.v0.1.65.js → live-program.v0.1.67.js} +0 -0
@@ -0,0 +1,1730 @@
1
+ /* eslint-disable */
2
+ /** Generated from the normative JSON Schema. Do not edit by hand. */
3
+ export const canonicalDocumentSchema = {
4
+ $schema: "https://json-schema.org/draft/2020-12/schema",
5
+ $id: "https://cronkite.invalid/schemas/canonical-document-v1.schema.json",
6
+ "x-contract": "cronkite.canonical-document",
7
+ "x-contract-version": 1,
8
+ oneOf: [
9
+ {
10
+ type: "object",
11
+ properties: {
12
+ id: {
13
+ type: "string",
14
+ minLength: 1,
15
+ },
16
+ slug: {
17
+ type: "string",
18
+ minLength: 1,
19
+ },
20
+ canonicalUrl: {
21
+ type: "string",
22
+ minLength: 1,
23
+ },
24
+ contentVersion: {
25
+ type: "string",
26
+ format: "date-time",
27
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
28
+ },
29
+ publishedAt: {
30
+ type: "string",
31
+ format: "date-time",
32
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
33
+ },
34
+ updatedAt: {
35
+ type: "string",
36
+ format: "date-time",
37
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
38
+ },
39
+ status: {
40
+ type: "string",
41
+ enum: ["draft", "published"],
42
+ },
43
+ title: {
44
+ type: "string",
45
+ },
46
+ dek: {
47
+ type: "string",
48
+ },
49
+ excerpt: {
50
+ type: "string",
51
+ },
52
+ language: {
53
+ type: "string",
54
+ pattern: "^(?:(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4}|[A-Za-z]{5,8})(?:-[A-Za-z]{4})?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?(?:-(?:[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(?:-[0-9A-WY-Za-wy-z](?:-[A-Za-z0-9]{2,8})+)*(?:-x(?:-[A-Za-z0-9]{1,8})+)?|x(?:-[A-Za-z0-9]{1,8})+)$",
55
+ title: "BCP 47 language tag",
56
+ description: "An open language tag. The active renderer declares the allowed set for each request.",
57
+ examples: ["en", "pt-BR", "zh-Hant-TW"],
58
+ },
59
+ rumConfig: {
60
+ type: "object",
61
+ properties: {
62
+ appMonitorId: {
63
+ type: "string",
64
+ minLength: 1,
65
+ },
66
+ applicationVersion: {
67
+ type: "string",
68
+ minLength: 1,
69
+ },
70
+ region: {
71
+ type: "string",
72
+ minLength: 1,
73
+ },
74
+ identityPoolId: {
75
+ type: "string",
76
+ minLength: 1,
77
+ },
78
+ guestRoleArn: {
79
+ type: "string",
80
+ minLength: 1,
81
+ },
82
+ },
83
+ required: [
84
+ "appMonitorId",
85
+ "applicationVersion",
86
+ "region",
87
+ "identityPoolId",
88
+ "guestRoleArn",
89
+ ],
90
+ },
91
+ sofascore_id: {
92
+ type: "integer",
93
+ exclusiveMinimum: 0,
94
+ maximum: 9007199254740991,
95
+ },
96
+ originalArticleId: {
97
+ type: "string",
98
+ },
99
+ updatedVersion: {
100
+ type: "object",
101
+ properties: {
102
+ id: {
103
+ type: "string",
104
+ minLength: 1,
105
+ },
106
+ title: {
107
+ type: "string",
108
+ },
109
+ url: {
110
+ type: "string",
111
+ minLength: 1,
112
+ },
113
+ },
114
+ required: ["id", "title", "url"],
115
+ },
116
+ featured: {
117
+ type: "boolean",
118
+ },
119
+ featuredImage: {
120
+ type: "object",
121
+ properties: {
122
+ url: {
123
+ type: "string",
124
+ minLength: 1,
125
+ },
126
+ alt: {
127
+ type: "string",
128
+ },
129
+ caption: {
130
+ type: "string",
131
+ },
132
+ },
133
+ required: ["url", "alt"],
134
+ },
135
+ media: {
136
+ type: "array",
137
+ items: {
138
+ type: "object",
139
+ properties: {
140
+ url: {
141
+ type: "string",
142
+ minLength: 1,
143
+ },
144
+ alt: {
145
+ type: "string",
146
+ },
147
+ caption: {
148
+ type: "string",
149
+ },
150
+ },
151
+ required: ["url", "alt"],
152
+ },
153
+ },
154
+ hero: {
155
+ type: "object",
156
+ properties: {
157
+ url: {
158
+ type: "string",
159
+ minLength: 1,
160
+ },
161
+ alt: {
162
+ type: "string",
163
+ },
164
+ },
165
+ required: ["url", "alt"],
166
+ },
167
+ body: {
168
+ type: "array",
169
+ items: {
170
+ oneOf: [
171
+ {
172
+ type: "object",
173
+ properties: {
174
+ type: {
175
+ type: "string",
176
+ const: "richText",
177
+ },
178
+ html: {
179
+ type: "string",
180
+ },
181
+ },
182
+ required: ["type", "html"],
183
+ },
184
+ {
185
+ type: "object",
186
+ properties: {
187
+ type: {
188
+ type: "string",
189
+ const: "heading",
190
+ },
191
+ text: {
192
+ type: "string",
193
+ },
194
+ level: {
195
+ anyOf: [
196
+ {
197
+ type: "number",
198
+ const: 2,
199
+ },
200
+ {
201
+ type: "number",
202
+ const: 3,
203
+ },
204
+ {
205
+ type: "number",
206
+ const: 4,
207
+ },
208
+ ],
209
+ },
210
+ },
211
+ required: ["type", "text"],
212
+ },
213
+ {
214
+ type: "object",
215
+ properties: {
216
+ type: {
217
+ type: "string",
218
+ const: "image",
219
+ },
220
+ url: {
221
+ type: "string",
222
+ minLength: 1,
223
+ },
224
+ alt: {
225
+ type: "string",
226
+ },
227
+ caption: {
228
+ type: "string",
229
+ },
230
+ },
231
+ required: ["type", "url", "alt"],
232
+ },
233
+ {
234
+ type: "object",
235
+ properties: {
236
+ type: {
237
+ type: "string",
238
+ const: "list",
239
+ },
240
+ ordered: {
241
+ type: "boolean",
242
+ },
243
+ items: {
244
+ minItems: 1,
245
+ type: "array",
246
+ items: {
247
+ type: "string",
248
+ },
249
+ },
250
+ },
251
+ required: ["type", "items"],
252
+ },
253
+ {
254
+ type: "object",
255
+ properties: {
256
+ type: {
257
+ type: "string",
258
+ const: "divider",
259
+ },
260
+ },
261
+ required: ["type"],
262
+ },
263
+ {
264
+ type: "object",
265
+ properties: {
266
+ type: {
267
+ type: "string",
268
+ const: "infoBox",
269
+ },
270
+ title: {
271
+ type: "string",
272
+ },
273
+ tone: {
274
+ type: "string",
275
+ enum: ["neutral", "info", "warning", "success"],
276
+ },
277
+ html: {
278
+ type: "string",
279
+ },
280
+ },
281
+ required: ["type", "html"],
282
+ },
283
+ {
284
+ type: "object",
285
+ properties: {
286
+ type: {
287
+ type: "string",
288
+ const: "keyPoints",
289
+ },
290
+ title: {
291
+ type: "string",
292
+ },
293
+ points: {
294
+ minItems: 1,
295
+ type: "array",
296
+ items: {
297
+ type: "string",
298
+ },
299
+ },
300
+ },
301
+ required: ["type", "points"],
302
+ },
303
+ {
304
+ type: "object",
305
+ properties: {
306
+ type: {
307
+ type: "string",
308
+ const: "dataTable",
309
+ },
310
+ caption: {
311
+ type: "string",
312
+ },
313
+ headers: {
314
+ minItems: 1,
315
+ type: "array",
316
+ items: {
317
+ type: "string",
318
+ },
319
+ },
320
+ rows: {
321
+ minItems: 1,
322
+ type: "array",
323
+ items: {
324
+ type: "array",
325
+ items: {
326
+ type: "string",
327
+ },
328
+ },
329
+ },
330
+ },
331
+ required: ["type", "headers", "rows"],
332
+ },
333
+ {
334
+ type: "object",
335
+ properties: {
336
+ type: {
337
+ type: "string",
338
+ const: "liveUpdate",
339
+ },
340
+ timestamp: {
341
+ type: "string",
342
+ format: "date-time",
343
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
344
+ },
345
+ headline: {
346
+ type: "string",
347
+ },
348
+ html: {
349
+ type: "string",
350
+ },
351
+ media: {
352
+ type: "array",
353
+ items: {
354
+ type: "object",
355
+ properties: {
356
+ url: {
357
+ type: "string",
358
+ minLength: 1,
359
+ },
360
+ alt: {
361
+ type: "string",
362
+ },
363
+ caption: {
364
+ type: "string",
365
+ },
366
+ },
367
+ required: ["url", "alt"],
368
+ },
369
+ },
370
+ },
371
+ required: ["type", "timestamp", "headline"],
372
+ },
373
+ {
374
+ type: "object",
375
+ properties: {
376
+ type: {
377
+ type: "string",
378
+ const: "audio",
379
+ },
380
+ url: {
381
+ type: "string",
382
+ format: "uri",
383
+ },
384
+ title: {
385
+ type: "string",
386
+ },
387
+ caption: {
388
+ type: "string",
389
+ },
390
+ },
391
+ required: ["type", "url"],
392
+ },
393
+ {
394
+ type: "object",
395
+ properties: {
396
+ type: {
397
+ type: "string",
398
+ const: "youtube",
399
+ },
400
+ videoId: {
401
+ type: "string",
402
+ minLength: 1,
403
+ },
404
+ },
405
+ required: ["type", "videoId"],
406
+ },
407
+ {
408
+ type: "object",
409
+ properties: {
410
+ type: {
411
+ type: "string",
412
+ const: "x",
413
+ },
414
+ url: {
415
+ type: "string",
416
+ format: "uri",
417
+ },
418
+ },
419
+ required: ["type", "url"],
420
+ },
421
+ {
422
+ type: "object",
423
+ properties: {
424
+ type: {
425
+ type: "string",
426
+ const: "instagram",
427
+ },
428
+ url: {
429
+ type: "string",
430
+ format: "uri",
431
+ },
432
+ },
433
+ required: ["type", "url"],
434
+ },
435
+ {
436
+ type: "object",
437
+ properties: {
438
+ type: {
439
+ type: "string",
440
+ const: "tiktok",
441
+ },
442
+ url: {
443
+ type: "string",
444
+ format: "uri",
445
+ },
446
+ },
447
+ required: ["type", "url"],
448
+ },
449
+ {
450
+ type: "object",
451
+ properties: {
452
+ type: {
453
+ type: "string",
454
+ const: "spotify",
455
+ },
456
+ url: {
457
+ type: "string",
458
+ format: "uri",
459
+ },
460
+ },
461
+ required: ["type", "url"],
462
+ },
463
+ {
464
+ type: "object",
465
+ properties: {
466
+ type: {
467
+ type: "string",
468
+ const: "pullQuote",
469
+ },
470
+ text: {
471
+ type: "string",
472
+ },
473
+ attribution: {
474
+ type: "string",
475
+ },
476
+ },
477
+ required: ["type", "text"],
478
+ },
479
+ ],
480
+ },
481
+ },
482
+ seo: {
483
+ type: "object",
484
+ properties: {
485
+ metaTitle: {
486
+ type: "string",
487
+ },
488
+ metaDescription: {
489
+ type: "string",
490
+ },
491
+ ogImage: {
492
+ type: "string",
493
+ },
494
+ },
495
+ },
496
+ navigation: {
497
+ type: "object",
498
+ properties: {
499
+ categories: {
500
+ type: "array",
501
+ items: {
502
+ type: "object",
503
+ properties: {
504
+ name: {
505
+ type: "string",
506
+ minLength: 1,
507
+ },
508
+ slug: {
509
+ type: "string",
510
+ minLength: 1,
511
+ },
512
+ },
513
+ required: ["name", "slug"],
514
+ },
515
+ },
516
+ },
517
+ required: ["categories"],
518
+ },
519
+ articles: {
520
+ type: "array",
521
+ items: {
522
+ type: "object",
523
+ properties: {
524
+ id: {
525
+ type: "string",
526
+ format: "uuid",
527
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
528
+ },
529
+ url: {
530
+ type: "string",
531
+ minLength: 1,
532
+ },
533
+ title: {
534
+ type: "string",
535
+ },
536
+ excerpt: {
537
+ type: "string",
538
+ },
539
+ time: {
540
+ type: "string",
541
+ },
542
+ categories: {
543
+ type: "array",
544
+ items: {
545
+ type: "object",
546
+ properties: {
547
+ name: {
548
+ type: "string",
549
+ minLength: 1,
550
+ },
551
+ slug: {
552
+ type: "string",
553
+ minLength: 1,
554
+ },
555
+ },
556
+ required: ["name", "slug"],
557
+ },
558
+ },
559
+ hero: {
560
+ type: "object",
561
+ properties: {
562
+ url: {
563
+ type: "string",
564
+ minLength: 1,
565
+ },
566
+ alt: {
567
+ type: "string",
568
+ },
569
+ },
570
+ required: ["url", "alt"],
571
+ },
572
+ featuredImage: {
573
+ type: "object",
574
+ properties: {
575
+ url: {
576
+ type: "string",
577
+ minLength: 1,
578
+ },
579
+ alt: {
580
+ type: "string",
581
+ },
582
+ caption: {
583
+ type: "string",
584
+ },
585
+ },
586
+ required: ["url", "alt"],
587
+ },
588
+ updatedAt: {
589
+ type: "string",
590
+ format: "date-time",
591
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
592
+ },
593
+ publishedAt: {
594
+ type: "string",
595
+ format: "date-time",
596
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
597
+ },
598
+ featured: {
599
+ type: "boolean",
600
+ },
601
+ },
602
+ required: ["id", "url", "title"],
603
+ additionalProperties: {},
604
+ },
605
+ },
606
+ heroSlides: {
607
+ type: "array",
608
+ items: {
609
+ type: "object",
610
+ properties: {
611
+ image: {
612
+ type: "string",
613
+ },
614
+ alt: {
615
+ type: "string",
616
+ },
617
+ },
618
+ required: ["image"],
619
+ },
620
+ },
621
+ heroLayout: {
622
+ type: "string",
623
+ enum: ["spotlight", "editorial"],
624
+ },
625
+ heroCategories: {
626
+ type: "array",
627
+ items: {
628
+ type: "object",
629
+ properties: {
630
+ name: {
631
+ type: "string",
632
+ minLength: 1,
633
+ },
634
+ slug: {
635
+ type: "string",
636
+ minLength: 1,
637
+ },
638
+ },
639
+ required: ["name", "slug"],
640
+ },
641
+ },
642
+ showHero: {
643
+ type: "boolean",
644
+ },
645
+ showEditorialHero: {
646
+ type: "boolean",
647
+ },
648
+ breakingNews: {
649
+ type: "object",
650
+ properties: {
651
+ displayClass: {
652
+ type: "string",
653
+ },
654
+ sidebarFeature: {
655
+ type: "object",
656
+ properties: {
657
+ category: {
658
+ type: "string",
659
+ },
660
+ title: {
661
+ type: "string",
662
+ },
663
+ url: {
664
+ type: "string",
665
+ },
666
+ image: {
667
+ type: "string",
668
+ },
669
+ excerpt: {
670
+ type: "string",
671
+ },
672
+ publishedAt: {
673
+ type: "string",
674
+ format: "date-time",
675
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
676
+ },
677
+ },
678
+ required: ["category", "title", "url", "image"],
679
+ },
680
+ sidebarSub: {
681
+ type: "object",
682
+ properties: {
683
+ category: {
684
+ type: "string",
685
+ },
686
+ title: {
687
+ type: "string",
688
+ },
689
+ url: {
690
+ type: "string",
691
+ },
692
+ image: {
693
+ type: "string",
694
+ },
695
+ alt: {
696
+ type: "string",
697
+ },
698
+ readTime: {
699
+ type: "string",
700
+ },
701
+ excerpt: {
702
+ type: "string",
703
+ },
704
+ },
705
+ required: ["category", "title", "url", "image"],
706
+ },
707
+ main: {
708
+ type: "object",
709
+ properties: {
710
+ category: {
711
+ type: "string",
712
+ },
713
+ title: {
714
+ type: "string",
715
+ },
716
+ url: {
717
+ type: "string",
718
+ },
719
+ liveUrl: {
720
+ type: "string",
721
+ },
722
+ sofascore_id: {
723
+ type: "integer",
724
+ exclusiveMinimum: 0,
725
+ maximum: 9007199254740991,
726
+ },
727
+ image: {
728
+ type: "string",
729
+ },
730
+ alt: {
731
+ type: "string",
732
+ },
733
+ excerpt: {
734
+ type: "string",
735
+ },
736
+ },
737
+ required: ["category", "title", "url", "image"],
738
+ },
739
+ updates: {
740
+ type: "array",
741
+ items: {
742
+ type: "object",
743
+ properties: {
744
+ timestamp: {
745
+ type: "string",
746
+ format: "date-time",
747
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
748
+ },
749
+ time: {
750
+ type: "string",
751
+ },
752
+ text: {
753
+ type: "string",
754
+ },
755
+ html: {
756
+ type: "string",
757
+ },
758
+ },
759
+ },
760
+ },
761
+ snacks: {
762
+ type: "array",
763
+ items: {
764
+ type: "object",
765
+ properties: {
766
+ category: {
767
+ type: "string",
768
+ },
769
+ readTime: {
770
+ type: "string",
771
+ },
772
+ title: {
773
+ type: "string",
774
+ },
775
+ url: {
776
+ type: "string",
777
+ },
778
+ excerpt: {
779
+ type: "string",
780
+ },
781
+ image: {
782
+ type: "string",
783
+ },
784
+ alt: {
785
+ type: "string",
786
+ },
787
+ },
788
+ required: ["title", "url"],
789
+ },
790
+ },
791
+ },
792
+ },
793
+ liveStory: {
794
+ type: "object",
795
+ properties: {
796
+ lastUpdated: {
797
+ type: "string",
798
+ },
799
+ keyPoints: {
800
+ type: "array",
801
+ items: {
802
+ type: "string",
803
+ },
804
+ },
805
+ },
806
+ },
807
+ layout: {
808
+ type: "string",
809
+ const: "article-page",
810
+ },
811
+ authors: {
812
+ type: "array",
813
+ items: {
814
+ type: "object",
815
+ properties: {
816
+ name: {
817
+ type: "string",
818
+ minLength: 1,
819
+ },
820
+ slug: {
821
+ type: "string",
822
+ minLength: 1,
823
+ },
824
+ },
825
+ required: ["name", "slug"],
826
+ },
827
+ },
828
+ categories: {
829
+ type: "array",
830
+ items: {
831
+ type: "object",
832
+ properties: {
833
+ name: {
834
+ type: "string",
835
+ minLength: 1,
836
+ },
837
+ slug: {
838
+ type: "string",
839
+ minLength: 1,
840
+ },
841
+ },
842
+ required: ["name", "slug"],
843
+ },
844
+ },
845
+ },
846
+ required: [
847
+ "id",
848
+ "slug",
849
+ "canonicalUrl",
850
+ "contentVersion",
851
+ "publishedAt",
852
+ "updatedAt",
853
+ "status",
854
+ "title",
855
+ "language",
856
+ "featured",
857
+ "body",
858
+ "layout",
859
+ "authors",
860
+ "categories",
861
+ ],
862
+ additionalProperties: {},
863
+ },
864
+ {
865
+ type: "object",
866
+ properties: {
867
+ id: {
868
+ type: "string",
869
+ minLength: 1,
870
+ },
871
+ slug: {
872
+ type: "string",
873
+ minLength: 1,
874
+ },
875
+ canonicalUrl: {
876
+ type: "string",
877
+ minLength: 1,
878
+ },
879
+ contentVersion: {
880
+ type: "string",
881
+ format: "date-time",
882
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
883
+ },
884
+ publishedAt: {
885
+ type: "string",
886
+ format: "date-time",
887
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
888
+ },
889
+ updatedAt: {
890
+ type: "string",
891
+ format: "date-time",
892
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
893
+ },
894
+ status: {
895
+ type: "string",
896
+ enum: ["draft", "published"],
897
+ },
898
+ title: {
899
+ type: "string",
900
+ },
901
+ dek: {
902
+ type: "string",
903
+ },
904
+ excerpt: {
905
+ type: "string",
906
+ },
907
+ language: {
908
+ type: "string",
909
+ pattern: "^(?:(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4}|[A-Za-z]{5,8})(?:-[A-Za-z]{4})?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?(?:-(?:[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(?:-[0-9A-WY-Za-wy-z](?:-[A-Za-z0-9]{2,8})+)*(?:-x(?:-[A-Za-z0-9]{1,8})+)?|x(?:-[A-Za-z0-9]{1,8})+)$",
910
+ title: "BCP 47 language tag",
911
+ description: "An open language tag. The active renderer declares the allowed set for each request.",
912
+ examples: ["en", "pt-BR", "zh-Hant-TW"],
913
+ },
914
+ rumConfig: {
915
+ type: "object",
916
+ properties: {
917
+ appMonitorId: {
918
+ type: "string",
919
+ minLength: 1,
920
+ },
921
+ applicationVersion: {
922
+ type: "string",
923
+ minLength: 1,
924
+ },
925
+ region: {
926
+ type: "string",
927
+ minLength: 1,
928
+ },
929
+ identityPoolId: {
930
+ type: "string",
931
+ minLength: 1,
932
+ },
933
+ guestRoleArn: {
934
+ type: "string",
935
+ minLength: 1,
936
+ },
937
+ },
938
+ required: [
939
+ "appMonitorId",
940
+ "applicationVersion",
941
+ "region",
942
+ "identityPoolId",
943
+ "guestRoleArn",
944
+ ],
945
+ },
946
+ sofascore_id: {
947
+ type: "integer",
948
+ exclusiveMinimum: 0,
949
+ maximum: 9007199254740991,
950
+ },
951
+ originalArticleId: {
952
+ type: "string",
953
+ },
954
+ updatedVersion: {
955
+ type: "object",
956
+ properties: {
957
+ id: {
958
+ type: "string",
959
+ minLength: 1,
960
+ },
961
+ title: {
962
+ type: "string",
963
+ },
964
+ url: {
965
+ type: "string",
966
+ minLength: 1,
967
+ },
968
+ },
969
+ required: ["id", "title", "url"],
970
+ },
971
+ featured: {
972
+ type: "boolean",
973
+ },
974
+ featuredImage: {
975
+ type: "object",
976
+ properties: {
977
+ url: {
978
+ type: "string",
979
+ minLength: 1,
980
+ },
981
+ alt: {
982
+ type: "string",
983
+ },
984
+ caption: {
985
+ type: "string",
986
+ },
987
+ },
988
+ required: ["url", "alt"],
989
+ },
990
+ media: {
991
+ type: "array",
992
+ items: {
993
+ type: "object",
994
+ properties: {
995
+ url: {
996
+ type: "string",
997
+ minLength: 1,
998
+ },
999
+ alt: {
1000
+ type: "string",
1001
+ },
1002
+ caption: {
1003
+ type: "string",
1004
+ },
1005
+ },
1006
+ required: ["url", "alt"],
1007
+ },
1008
+ },
1009
+ hero: {
1010
+ type: "object",
1011
+ properties: {
1012
+ url: {
1013
+ type: "string",
1014
+ minLength: 1,
1015
+ },
1016
+ alt: {
1017
+ type: "string",
1018
+ },
1019
+ },
1020
+ required: ["url", "alt"],
1021
+ },
1022
+ body: {
1023
+ type: "array",
1024
+ items: {
1025
+ oneOf: [
1026
+ {
1027
+ type: "object",
1028
+ properties: {
1029
+ type: {
1030
+ type: "string",
1031
+ const: "richText",
1032
+ },
1033
+ html: {
1034
+ type: "string",
1035
+ },
1036
+ },
1037
+ required: ["type", "html"],
1038
+ },
1039
+ {
1040
+ type: "object",
1041
+ properties: {
1042
+ type: {
1043
+ type: "string",
1044
+ const: "heading",
1045
+ },
1046
+ text: {
1047
+ type: "string",
1048
+ },
1049
+ level: {
1050
+ anyOf: [
1051
+ {
1052
+ type: "number",
1053
+ const: 2,
1054
+ },
1055
+ {
1056
+ type: "number",
1057
+ const: 3,
1058
+ },
1059
+ {
1060
+ type: "number",
1061
+ const: 4,
1062
+ },
1063
+ ],
1064
+ },
1065
+ },
1066
+ required: ["type", "text"],
1067
+ },
1068
+ {
1069
+ type: "object",
1070
+ properties: {
1071
+ type: {
1072
+ type: "string",
1073
+ const: "image",
1074
+ },
1075
+ url: {
1076
+ type: "string",
1077
+ minLength: 1,
1078
+ },
1079
+ alt: {
1080
+ type: "string",
1081
+ },
1082
+ caption: {
1083
+ type: "string",
1084
+ },
1085
+ },
1086
+ required: ["type", "url", "alt"],
1087
+ },
1088
+ {
1089
+ type: "object",
1090
+ properties: {
1091
+ type: {
1092
+ type: "string",
1093
+ const: "list",
1094
+ },
1095
+ ordered: {
1096
+ type: "boolean",
1097
+ },
1098
+ items: {
1099
+ minItems: 1,
1100
+ type: "array",
1101
+ items: {
1102
+ type: "string",
1103
+ },
1104
+ },
1105
+ },
1106
+ required: ["type", "items"],
1107
+ },
1108
+ {
1109
+ type: "object",
1110
+ properties: {
1111
+ type: {
1112
+ type: "string",
1113
+ const: "divider",
1114
+ },
1115
+ },
1116
+ required: ["type"],
1117
+ },
1118
+ {
1119
+ type: "object",
1120
+ properties: {
1121
+ type: {
1122
+ type: "string",
1123
+ const: "infoBox",
1124
+ },
1125
+ title: {
1126
+ type: "string",
1127
+ },
1128
+ tone: {
1129
+ type: "string",
1130
+ enum: ["neutral", "info", "warning", "success"],
1131
+ },
1132
+ html: {
1133
+ type: "string",
1134
+ },
1135
+ },
1136
+ required: ["type", "html"],
1137
+ },
1138
+ {
1139
+ type: "object",
1140
+ properties: {
1141
+ type: {
1142
+ type: "string",
1143
+ const: "keyPoints",
1144
+ },
1145
+ title: {
1146
+ type: "string",
1147
+ },
1148
+ points: {
1149
+ minItems: 1,
1150
+ type: "array",
1151
+ items: {
1152
+ type: "string",
1153
+ },
1154
+ },
1155
+ },
1156
+ required: ["type", "points"],
1157
+ },
1158
+ {
1159
+ type: "object",
1160
+ properties: {
1161
+ type: {
1162
+ type: "string",
1163
+ const: "dataTable",
1164
+ },
1165
+ caption: {
1166
+ type: "string",
1167
+ },
1168
+ headers: {
1169
+ minItems: 1,
1170
+ type: "array",
1171
+ items: {
1172
+ type: "string",
1173
+ },
1174
+ },
1175
+ rows: {
1176
+ minItems: 1,
1177
+ type: "array",
1178
+ items: {
1179
+ type: "array",
1180
+ items: {
1181
+ type: "string",
1182
+ },
1183
+ },
1184
+ },
1185
+ },
1186
+ required: ["type", "headers", "rows"],
1187
+ },
1188
+ {
1189
+ type: "object",
1190
+ properties: {
1191
+ type: {
1192
+ type: "string",
1193
+ const: "liveUpdate",
1194
+ },
1195
+ timestamp: {
1196
+ type: "string",
1197
+ format: "date-time",
1198
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
1199
+ },
1200
+ headline: {
1201
+ type: "string",
1202
+ },
1203
+ html: {
1204
+ type: "string",
1205
+ },
1206
+ media: {
1207
+ type: "array",
1208
+ items: {
1209
+ type: "object",
1210
+ properties: {
1211
+ url: {
1212
+ type: "string",
1213
+ minLength: 1,
1214
+ },
1215
+ alt: {
1216
+ type: "string",
1217
+ },
1218
+ caption: {
1219
+ type: "string",
1220
+ },
1221
+ },
1222
+ required: ["url", "alt"],
1223
+ },
1224
+ },
1225
+ },
1226
+ required: ["type", "timestamp", "headline"],
1227
+ },
1228
+ {
1229
+ type: "object",
1230
+ properties: {
1231
+ type: {
1232
+ type: "string",
1233
+ const: "audio",
1234
+ },
1235
+ url: {
1236
+ type: "string",
1237
+ format: "uri",
1238
+ },
1239
+ title: {
1240
+ type: "string",
1241
+ },
1242
+ caption: {
1243
+ type: "string",
1244
+ },
1245
+ },
1246
+ required: ["type", "url"],
1247
+ },
1248
+ {
1249
+ type: "object",
1250
+ properties: {
1251
+ type: {
1252
+ type: "string",
1253
+ const: "youtube",
1254
+ },
1255
+ videoId: {
1256
+ type: "string",
1257
+ minLength: 1,
1258
+ },
1259
+ },
1260
+ required: ["type", "videoId"],
1261
+ },
1262
+ {
1263
+ type: "object",
1264
+ properties: {
1265
+ type: {
1266
+ type: "string",
1267
+ const: "x",
1268
+ },
1269
+ url: {
1270
+ type: "string",
1271
+ format: "uri",
1272
+ },
1273
+ },
1274
+ required: ["type", "url"],
1275
+ },
1276
+ {
1277
+ type: "object",
1278
+ properties: {
1279
+ type: {
1280
+ type: "string",
1281
+ const: "instagram",
1282
+ },
1283
+ url: {
1284
+ type: "string",
1285
+ format: "uri",
1286
+ },
1287
+ },
1288
+ required: ["type", "url"],
1289
+ },
1290
+ {
1291
+ type: "object",
1292
+ properties: {
1293
+ type: {
1294
+ type: "string",
1295
+ const: "tiktok",
1296
+ },
1297
+ url: {
1298
+ type: "string",
1299
+ format: "uri",
1300
+ },
1301
+ },
1302
+ required: ["type", "url"],
1303
+ },
1304
+ {
1305
+ type: "object",
1306
+ properties: {
1307
+ type: {
1308
+ type: "string",
1309
+ const: "spotify",
1310
+ },
1311
+ url: {
1312
+ type: "string",
1313
+ format: "uri",
1314
+ },
1315
+ },
1316
+ required: ["type", "url"],
1317
+ },
1318
+ {
1319
+ type: "object",
1320
+ properties: {
1321
+ type: {
1322
+ type: "string",
1323
+ const: "pullQuote",
1324
+ },
1325
+ text: {
1326
+ type: "string",
1327
+ },
1328
+ attribution: {
1329
+ type: "string",
1330
+ },
1331
+ },
1332
+ required: ["type", "text"],
1333
+ },
1334
+ ],
1335
+ },
1336
+ },
1337
+ seo: {
1338
+ type: "object",
1339
+ properties: {
1340
+ metaTitle: {
1341
+ type: "string",
1342
+ },
1343
+ metaDescription: {
1344
+ type: "string",
1345
+ },
1346
+ ogImage: {
1347
+ type: "string",
1348
+ },
1349
+ },
1350
+ },
1351
+ navigation: {
1352
+ type: "object",
1353
+ properties: {
1354
+ categories: {
1355
+ type: "array",
1356
+ items: {
1357
+ type: "object",
1358
+ properties: {
1359
+ name: {
1360
+ type: "string",
1361
+ minLength: 1,
1362
+ },
1363
+ slug: {
1364
+ type: "string",
1365
+ minLength: 1,
1366
+ },
1367
+ },
1368
+ required: ["name", "slug"],
1369
+ },
1370
+ },
1371
+ },
1372
+ required: ["categories"],
1373
+ },
1374
+ articles: {
1375
+ type: "array",
1376
+ items: {
1377
+ type: "object",
1378
+ properties: {
1379
+ id: {
1380
+ type: "string",
1381
+ format: "uuid",
1382
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
1383
+ },
1384
+ url: {
1385
+ type: "string",
1386
+ minLength: 1,
1387
+ },
1388
+ title: {
1389
+ type: "string",
1390
+ },
1391
+ excerpt: {
1392
+ type: "string",
1393
+ },
1394
+ time: {
1395
+ type: "string",
1396
+ },
1397
+ categories: {
1398
+ type: "array",
1399
+ items: {
1400
+ type: "object",
1401
+ properties: {
1402
+ name: {
1403
+ type: "string",
1404
+ minLength: 1,
1405
+ },
1406
+ slug: {
1407
+ type: "string",
1408
+ minLength: 1,
1409
+ },
1410
+ },
1411
+ required: ["name", "slug"],
1412
+ },
1413
+ },
1414
+ hero: {
1415
+ type: "object",
1416
+ properties: {
1417
+ url: {
1418
+ type: "string",
1419
+ minLength: 1,
1420
+ },
1421
+ alt: {
1422
+ type: "string",
1423
+ },
1424
+ },
1425
+ required: ["url", "alt"],
1426
+ },
1427
+ featuredImage: {
1428
+ type: "object",
1429
+ properties: {
1430
+ url: {
1431
+ type: "string",
1432
+ minLength: 1,
1433
+ },
1434
+ alt: {
1435
+ type: "string",
1436
+ },
1437
+ caption: {
1438
+ type: "string",
1439
+ },
1440
+ },
1441
+ required: ["url", "alt"],
1442
+ },
1443
+ updatedAt: {
1444
+ type: "string",
1445
+ format: "date-time",
1446
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
1447
+ },
1448
+ publishedAt: {
1449
+ type: "string",
1450
+ format: "date-time",
1451
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
1452
+ },
1453
+ featured: {
1454
+ type: "boolean",
1455
+ },
1456
+ },
1457
+ required: ["id", "url", "title"],
1458
+ additionalProperties: {},
1459
+ },
1460
+ },
1461
+ heroSlides: {
1462
+ type: "array",
1463
+ items: {
1464
+ type: "object",
1465
+ properties: {
1466
+ image: {
1467
+ type: "string",
1468
+ },
1469
+ alt: {
1470
+ type: "string",
1471
+ },
1472
+ },
1473
+ required: ["image"],
1474
+ },
1475
+ },
1476
+ heroLayout: {
1477
+ type: "string",
1478
+ enum: ["spotlight", "editorial"],
1479
+ },
1480
+ heroCategories: {
1481
+ type: "array",
1482
+ items: {
1483
+ type: "object",
1484
+ properties: {
1485
+ name: {
1486
+ type: "string",
1487
+ minLength: 1,
1488
+ },
1489
+ slug: {
1490
+ type: "string",
1491
+ minLength: 1,
1492
+ },
1493
+ },
1494
+ required: ["name", "slug"],
1495
+ },
1496
+ },
1497
+ showHero: {
1498
+ type: "boolean",
1499
+ },
1500
+ showEditorialHero: {
1501
+ type: "boolean",
1502
+ },
1503
+ breakingNews: {
1504
+ type: "object",
1505
+ properties: {
1506
+ displayClass: {
1507
+ type: "string",
1508
+ },
1509
+ sidebarFeature: {
1510
+ type: "object",
1511
+ properties: {
1512
+ category: {
1513
+ type: "string",
1514
+ },
1515
+ title: {
1516
+ type: "string",
1517
+ },
1518
+ url: {
1519
+ type: "string",
1520
+ },
1521
+ image: {
1522
+ type: "string",
1523
+ },
1524
+ excerpt: {
1525
+ type: "string",
1526
+ },
1527
+ publishedAt: {
1528
+ type: "string",
1529
+ format: "date-time",
1530
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
1531
+ },
1532
+ },
1533
+ required: ["category", "title", "url", "image"],
1534
+ },
1535
+ sidebarSub: {
1536
+ type: "object",
1537
+ properties: {
1538
+ category: {
1539
+ type: "string",
1540
+ },
1541
+ title: {
1542
+ type: "string",
1543
+ },
1544
+ url: {
1545
+ type: "string",
1546
+ },
1547
+ image: {
1548
+ type: "string",
1549
+ },
1550
+ alt: {
1551
+ type: "string",
1552
+ },
1553
+ readTime: {
1554
+ type: "string",
1555
+ },
1556
+ excerpt: {
1557
+ type: "string",
1558
+ },
1559
+ },
1560
+ required: ["category", "title", "url", "image"],
1561
+ },
1562
+ main: {
1563
+ type: "object",
1564
+ properties: {
1565
+ category: {
1566
+ type: "string",
1567
+ },
1568
+ title: {
1569
+ type: "string",
1570
+ },
1571
+ url: {
1572
+ type: "string",
1573
+ },
1574
+ liveUrl: {
1575
+ type: "string",
1576
+ },
1577
+ sofascore_id: {
1578
+ type: "integer",
1579
+ exclusiveMinimum: 0,
1580
+ maximum: 9007199254740991,
1581
+ },
1582
+ image: {
1583
+ type: "string",
1584
+ },
1585
+ alt: {
1586
+ type: "string",
1587
+ },
1588
+ excerpt: {
1589
+ type: "string",
1590
+ },
1591
+ },
1592
+ required: ["category", "title", "url", "image"],
1593
+ },
1594
+ updates: {
1595
+ type: "array",
1596
+ items: {
1597
+ type: "object",
1598
+ properties: {
1599
+ timestamp: {
1600
+ type: "string",
1601
+ format: "date-time",
1602
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
1603
+ },
1604
+ time: {
1605
+ type: "string",
1606
+ },
1607
+ text: {
1608
+ type: "string",
1609
+ },
1610
+ html: {
1611
+ type: "string",
1612
+ },
1613
+ },
1614
+ },
1615
+ },
1616
+ snacks: {
1617
+ type: "array",
1618
+ items: {
1619
+ type: "object",
1620
+ properties: {
1621
+ category: {
1622
+ type: "string",
1623
+ },
1624
+ readTime: {
1625
+ type: "string",
1626
+ },
1627
+ title: {
1628
+ type: "string",
1629
+ },
1630
+ url: {
1631
+ type: "string",
1632
+ },
1633
+ excerpt: {
1634
+ type: "string",
1635
+ },
1636
+ image: {
1637
+ type: "string",
1638
+ },
1639
+ alt: {
1640
+ type: "string",
1641
+ },
1642
+ },
1643
+ required: ["title", "url"],
1644
+ },
1645
+ },
1646
+ },
1647
+ },
1648
+ liveStory: {
1649
+ type: "object",
1650
+ properties: {
1651
+ lastUpdated: {
1652
+ type: "string",
1653
+ },
1654
+ keyPoints: {
1655
+ type: "array",
1656
+ items: {
1657
+ type: "string",
1658
+ },
1659
+ },
1660
+ },
1661
+ },
1662
+ layout: {
1663
+ type: "string",
1664
+ enum: [
1665
+ "homepage",
1666
+ "category-page",
1667
+ "search-page",
1668
+ "404",
1669
+ "coming-soon",
1670
+ "live-story",
1671
+ "link-in-bio",
1672
+ "media-page",
1673
+ "standalone-page",
1674
+ ],
1675
+ },
1676
+ authors: {
1677
+ type: "array",
1678
+ items: {
1679
+ type: "object",
1680
+ properties: {
1681
+ name: {
1682
+ type: "string",
1683
+ minLength: 1,
1684
+ },
1685
+ slug: {
1686
+ type: "string",
1687
+ minLength: 1,
1688
+ },
1689
+ },
1690
+ required: ["name", "slug"],
1691
+ },
1692
+ },
1693
+ categories: {
1694
+ type: "array",
1695
+ items: {
1696
+ type: "object",
1697
+ properties: {
1698
+ name: {
1699
+ type: "string",
1700
+ minLength: 1,
1701
+ },
1702
+ slug: {
1703
+ type: "string",
1704
+ minLength: 1,
1705
+ },
1706
+ },
1707
+ required: ["name", "slug"],
1708
+ },
1709
+ },
1710
+ },
1711
+ required: [
1712
+ "id",
1713
+ "slug",
1714
+ "canonicalUrl",
1715
+ "contentVersion",
1716
+ "publishedAt",
1717
+ "updatedAt",
1718
+ "status",
1719
+ "title",
1720
+ "language",
1721
+ "featured",
1722
+ "body",
1723
+ "layout",
1724
+ ],
1725
+ additionalProperties: {},
1726
+ },
1727
+ ],
1728
+ title: "Cronkite canonical document",
1729
+ description: "Version 1 of the provider-neutral canonical document contract accepted by Cronkite.",
1730
+ };