@financial-times/cp-content-pipeline-schema 2.10.0 → 2.10.1

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.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const Annotation: z.ZodObject<{
2
+ export declare const Annotation: z.ZodObject<z.objectUtil.extendShape<{
3
3
  id: z.ZodString;
4
4
  apiUrl: z.ZodString;
5
5
  directType: z.ZodString;
@@ -7,8 +7,9 @@ export declare const Annotation: z.ZodObject<{
7
7
  type: z.ZodOptional<z.ZodString>;
8
8
  types: z.ZodArray<z.ZodString, "many">;
9
9
  headshot: z.ZodOptional<z.ZodString>;
10
+ }, {
10
11
  predicate: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
+ }>, "strip", z.ZodTypeAny, {
12
13
  id: string;
13
14
  apiUrl: string;
14
15
  directType: string;
@@ -73,8 +74,9 @@ export declare const Image: z.ZodUnion<[z.ZodObject<{
73
74
  maxDisplayWidth?: string | undefined;
74
75
  pixelWidth?: number | undefined;
75
76
  pixelHeight?: number | undefined;
76
- }>, z.ZodObject<{
77
+ }>, z.ZodObject<z.objectUtil.extendShape<{
77
78
  id: z.ZodString;
79
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
78
80
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
79
81
  title: z.ZodOptional<z.ZodString>;
80
82
  description: z.ZodOptional<z.ZodString>;
@@ -90,8 +92,9 @@ export declare const Image: z.ZodUnion<[z.ZodObject<{
90
92
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
91
93
  pixelWidth: z.ZodOptional<z.ZodNumber>;
92
94
  pixelHeight: z.ZodOptional<z.ZodNumber>;
95
+ }, {
93
96
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
94
- }, "strip", z.ZodTypeAny, {
97
+ }>, "strip", z.ZodTypeAny, {
95
98
  id: string;
96
99
  type: "http://www.ft.com/ontology/content/Graphic";
97
100
  binaryUrl: string;
@@ -170,8 +173,9 @@ export declare const ImageSet: z.ZodObject<{
170
173
  maxDisplayWidth?: string | undefined;
171
174
  pixelWidth?: number | undefined;
172
175
  pixelHeight?: number | undefined;
173
- }>, z.ZodObject<{
176
+ }>, z.ZodObject<z.objectUtil.extendShape<{
174
177
  id: z.ZodString;
178
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
175
179
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
176
180
  title: z.ZodOptional<z.ZodString>;
177
181
  description: z.ZodOptional<z.ZodString>;
@@ -187,8 +191,9 @@ export declare const ImageSet: z.ZodObject<{
187
191
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
188
192
  pixelWidth: z.ZodOptional<z.ZodNumber>;
189
193
  pixelHeight: z.ZodOptional<z.ZodNumber>;
194
+ }, {
190
195
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
191
- }, "strip", z.ZodTypeAny, {
196
+ }>, "strip", z.ZodTypeAny, {
192
197
  id: string;
193
198
  type: "http://www.ft.com/ontology/content/Graphic";
194
199
  binaryUrl: string;
@@ -334,8 +339,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
334
339
  maxDisplayWidth?: string | undefined;
335
340
  pixelWidth?: number | undefined;
336
341
  pixelHeight?: number | undefined;
337
- }>, z.ZodObject<{
342
+ }>, z.ZodObject<z.objectUtil.extendShape<{
338
343
  id: z.ZodString;
344
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
339
345
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
340
346
  title: z.ZodOptional<z.ZodString>;
341
347
  description: z.ZodOptional<z.ZodString>;
@@ -351,8 +357,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
351
357
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
352
358
  pixelWidth: z.ZodOptional<z.ZodNumber>;
353
359
  pixelHeight: z.ZodOptional<z.ZodNumber>;
360
+ }, {
354
361
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
355
- }, "strip", z.ZodTypeAny, {
362
+ }>, "strip", z.ZodTypeAny, {
356
363
  id: string;
357
364
  type: "http://www.ft.com/ontology/content/Graphic";
358
365
  binaryUrl: string;
@@ -493,8 +500,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
493
500
  maxDisplayWidth?: string | undefined;
494
501
  pixelWidth?: number | undefined;
495
502
  pixelHeight?: number | undefined;
496
- }>, z.ZodObject<{
503
+ }>, z.ZodObject<z.objectUtil.extendShape<{
497
504
  id: z.ZodString;
505
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
498
506
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
499
507
  title: z.ZodOptional<z.ZodString>;
500
508
  description: z.ZodOptional<z.ZodString>;
@@ -510,8 +518,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
510
518
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
511
519
  pixelWidth: z.ZodOptional<z.ZodNumber>;
512
520
  pixelHeight: z.ZodOptional<z.ZodNumber>;
521
+ }, {
513
522
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
514
- }, "strip", z.ZodTypeAny, {
523
+ }>, "strip", z.ZodTypeAny, {
515
524
  id: string;
516
525
  type: "http://www.ft.com/ontology/content/Graphic";
517
526
  binaryUrl: string;
@@ -589,8 +598,9 @@ export declare const LeadImage: z.ZodObject<{
589
598
  maxDisplayWidth?: string | undefined;
590
599
  pixelWidth?: number | undefined;
591
600
  pixelHeight?: number | undefined;
592
- }>, z.ZodObject<{
601
+ }>, z.ZodObject<z.objectUtil.extendShape<{
593
602
  id: z.ZodString;
603
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
594
604
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
595
605
  title: z.ZodOptional<z.ZodString>;
596
606
  description: z.ZodOptional<z.ZodString>;
@@ -606,8 +616,9 @@ export declare const LeadImage: z.ZodObject<{
606
616
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
607
617
  pixelWidth: z.ZodOptional<z.ZodNumber>;
608
618
  pixelHeight: z.ZodOptional<z.ZodNumber>;
619
+ }, {
609
620
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
610
- }, "strip", z.ZodTypeAny, {
621
+ }>, "strip", z.ZodTypeAny, {
611
622
  id: string;
612
623
  type: "http://www.ft.com/ontology/content/Graphic";
613
624
  binaryUrl: string;
@@ -727,20 +738,20 @@ export declare const Clip: z.ZodObject<{
727
738
  pixelWidth: z.ZodOptional<z.ZodNumber>;
728
739
  videoCodec: z.ZodOptional<z.ZodString>;
729
740
  }, "strip", z.ZodTypeAny, {
730
- audioCodec?: string | undefined;
731
741
  binaryUrl?: string | undefined;
742
+ pixelWidth?: number | undefined;
743
+ pixelHeight?: number | undefined;
744
+ audioCodec?: string | undefined;
732
745
  duration?: number | undefined;
733
746
  mediaType?: string | undefined;
734
- pixelHeight?: number | undefined;
735
- pixelWidth?: number | undefined;
736
747
  videoCodec?: string | undefined;
737
748
  }, {
738
- audioCodec?: string | undefined;
739
749
  binaryUrl?: string | undefined;
750
+ pixelWidth?: number | undefined;
751
+ pixelHeight?: number | undefined;
752
+ audioCodec?: string | undefined;
740
753
  duration?: number | undefined;
741
754
  mediaType?: string | undefined;
742
- pixelHeight?: number | undefined;
743
- pixelWidth?: number | undefined;
744
755
  videoCodec?: string | undefined;
745
756
  }>, "many">;
746
757
  poster: z.ZodOptional<z.ZodObject<{
@@ -793,8 +804,9 @@ export declare const Clip: z.ZodObject<{
793
804
  maxDisplayWidth?: string | undefined;
794
805
  pixelWidth?: number | undefined;
795
806
  pixelHeight?: number | undefined;
796
- }>, z.ZodObject<{
807
+ }>, z.ZodObject<z.objectUtil.extendShape<{
797
808
  id: z.ZodString;
809
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
798
810
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
799
811
  title: z.ZodOptional<z.ZodString>;
800
812
  description: z.ZodOptional<z.ZodString>;
@@ -810,8 +822,9 @@ export declare const Clip: z.ZodObject<{
810
822
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
811
823
  pixelWidth: z.ZodOptional<z.ZodNumber>;
812
824
  pixelHeight: z.ZodOptional<z.ZodNumber>;
825
+ }, {
813
826
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
814
- }, "strip", z.ZodTypeAny, {
827
+ }>, "strip", z.ZodTypeAny, {
815
828
  id: string;
816
829
  type: "http://www.ft.com/ontology/content/Graphic";
817
830
  binaryUrl: string;
@@ -911,12 +924,12 @@ export declare const Clip: z.ZodObject<{
911
924
  id: string;
912
925
  type: "http://www.ft.com/ontology/content/Clip";
913
926
  dataSource: {
914
- audioCodec?: string | undefined;
915
927
  binaryUrl?: string | undefined;
928
+ pixelWidth?: number | undefined;
929
+ pixelHeight?: number | undefined;
930
+ audioCodec?: string | undefined;
916
931
  duration?: number | undefined;
917
932
  mediaType?: string | undefined;
918
- pixelHeight?: number | undefined;
919
- pixelWidth?: number | undefined;
920
933
  videoCodec?: string | undefined;
921
934
  }[];
922
935
  format?: "standardInline" | "mobile" | undefined;
@@ -958,12 +971,12 @@ export declare const Clip: z.ZodObject<{
958
971
  id: string;
959
972
  type: "http://www.ft.com/ontology/content/Clip";
960
973
  dataSource: {
961
- audioCodec?: string | undefined;
962
974
  binaryUrl?: string | undefined;
975
+ pixelWidth?: number | undefined;
976
+ pixelHeight?: number | undefined;
977
+ audioCodec?: string | undefined;
963
978
  duration?: number | undefined;
964
979
  mediaType?: string | undefined;
965
- pixelHeight?: number | undefined;
966
- pixelWidth?: number | undefined;
967
980
  videoCodec?: string | undefined;
968
981
  }[];
969
982
  format?: "standardInline" | "mobile" | undefined;
@@ -1018,20 +1031,20 @@ export declare const ClipSet: z.ZodObject<{
1018
1031
  pixelWidth: z.ZodOptional<z.ZodNumber>;
1019
1032
  videoCodec: z.ZodOptional<z.ZodString>;
1020
1033
  }, "strip", z.ZodTypeAny, {
1021
- audioCodec?: string | undefined;
1022
1034
  binaryUrl?: string | undefined;
1035
+ pixelWidth?: number | undefined;
1036
+ pixelHeight?: number | undefined;
1037
+ audioCodec?: string | undefined;
1023
1038
  duration?: number | undefined;
1024
1039
  mediaType?: string | undefined;
1025
- pixelHeight?: number | undefined;
1026
- pixelWidth?: number | undefined;
1027
1040
  videoCodec?: string | undefined;
1028
1041
  }, {
1029
- audioCodec?: string | undefined;
1030
1042
  binaryUrl?: string | undefined;
1043
+ pixelWidth?: number | undefined;
1044
+ pixelHeight?: number | undefined;
1045
+ audioCodec?: string | undefined;
1031
1046
  duration?: number | undefined;
1032
1047
  mediaType?: string | undefined;
1033
- pixelHeight?: number | undefined;
1034
- pixelWidth?: number | undefined;
1035
1048
  videoCodec?: string | undefined;
1036
1049
  }>, "many">;
1037
1050
  poster: z.ZodOptional<z.ZodObject<{
@@ -1084,8 +1097,9 @@ export declare const ClipSet: z.ZodObject<{
1084
1097
  maxDisplayWidth?: string | undefined;
1085
1098
  pixelWidth?: number | undefined;
1086
1099
  pixelHeight?: number | undefined;
1087
- }>, z.ZodObject<{
1100
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1088
1101
  id: z.ZodString;
1102
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
1089
1103
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
1090
1104
  title: z.ZodOptional<z.ZodString>;
1091
1105
  description: z.ZodOptional<z.ZodString>;
@@ -1101,8 +1115,9 @@ export declare const ClipSet: z.ZodObject<{
1101
1115
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
1102
1116
  pixelWidth: z.ZodOptional<z.ZodNumber>;
1103
1117
  pixelHeight: z.ZodOptional<z.ZodNumber>;
1118
+ }, {
1104
1119
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
1105
- }, "strip", z.ZodTypeAny, {
1120
+ }>, "strip", z.ZodTypeAny, {
1106
1121
  id: string;
1107
1122
  type: "http://www.ft.com/ontology/content/Graphic";
1108
1123
  binaryUrl: string;
@@ -1202,12 +1217,12 @@ export declare const ClipSet: z.ZodObject<{
1202
1217
  id: string;
1203
1218
  type: "http://www.ft.com/ontology/content/Clip";
1204
1219
  dataSource: {
1205
- audioCodec?: string | undefined;
1206
1220
  binaryUrl?: string | undefined;
1221
+ pixelWidth?: number | undefined;
1222
+ pixelHeight?: number | undefined;
1223
+ audioCodec?: string | undefined;
1207
1224
  duration?: number | undefined;
1208
1225
  mediaType?: string | undefined;
1209
- pixelHeight?: number | undefined;
1210
- pixelWidth?: number | undefined;
1211
1226
  videoCodec?: string | undefined;
1212
1227
  }[];
1213
1228
  format?: "standardInline" | "mobile" | undefined;
@@ -1249,12 +1264,12 @@ export declare const ClipSet: z.ZodObject<{
1249
1264
  id: string;
1250
1265
  type: "http://www.ft.com/ontology/content/Clip";
1251
1266
  dataSource: {
1252
- audioCodec?: string | undefined;
1253
1267
  binaryUrl?: string | undefined;
1268
+ pixelWidth?: number | undefined;
1269
+ pixelHeight?: number | undefined;
1270
+ audioCodec?: string | undefined;
1254
1271
  duration?: number | undefined;
1255
1272
  mediaType?: string | undefined;
1256
- pixelHeight?: number | undefined;
1257
- pixelWidth?: number | undefined;
1258
1273
  videoCodec?: string | undefined;
1259
1274
  }[];
1260
1275
  format?: "standardInline" | "mobile" | undefined;
@@ -1334,12 +1349,12 @@ export declare const ClipSet: z.ZodObject<{
1334
1349
  id: string;
1335
1350
  type: "http://www.ft.com/ontology/content/Clip";
1336
1351
  dataSource: {
1337
- audioCodec?: string | undefined;
1338
1352
  binaryUrl?: string | undefined;
1353
+ pixelWidth?: number | undefined;
1354
+ pixelHeight?: number | undefined;
1355
+ audioCodec?: string | undefined;
1339
1356
  duration?: number | undefined;
1340
1357
  mediaType?: string | undefined;
1341
- pixelHeight?: number | undefined;
1342
- pixelWidth?: number | undefined;
1343
1358
  videoCodec?: string | undefined;
1344
1359
  }[];
1345
1360
  format?: "standardInline" | "mobile" | undefined;
@@ -1378,9 +1393,9 @@ export declare const ClipSet: z.ZodObject<{
1378
1393
  description?: string | undefined;
1379
1394
  } | undefined;
1380
1395
  }[];
1396
+ description?: string | undefined;
1381
1397
  caption?: string | undefined;
1382
1398
  dataCopyright?: string | undefined;
1383
- description?: string | undefined;
1384
1399
  displayTitle?: string | undefined;
1385
1400
  contentWarning?: string[] | undefined;
1386
1401
  noAudio?: boolean | undefined;
@@ -1401,12 +1416,12 @@ export declare const ClipSet: z.ZodObject<{
1401
1416
  id: string;
1402
1417
  type: "http://www.ft.com/ontology/content/Clip";
1403
1418
  dataSource: {
1404
- audioCodec?: string | undefined;
1405
1419
  binaryUrl?: string | undefined;
1420
+ pixelWidth?: number | undefined;
1421
+ pixelHeight?: number | undefined;
1422
+ audioCodec?: string | undefined;
1406
1423
  duration?: number | undefined;
1407
1424
  mediaType?: string | undefined;
1408
- pixelHeight?: number | undefined;
1409
- pixelWidth?: number | undefined;
1410
1425
  videoCodec?: string | undefined;
1411
1426
  }[];
1412
1427
  format?: "standardInline" | "mobile" | undefined;
@@ -1445,9 +1460,9 @@ export declare const ClipSet: z.ZodObject<{
1445
1460
  description?: string | undefined;
1446
1461
  } | undefined;
1447
1462
  }[];
1463
+ description?: string | undefined;
1448
1464
  caption?: string | undefined;
1449
1465
  dataCopyright?: string | undefined;
1450
- description?: string | undefined;
1451
1466
  displayTitle?: string | undefined;
1452
1467
  contentWarning?: string[] | undefined;
1453
1468
  noAudio?: boolean | undefined;
@@ -1702,10 +1717,10 @@ export declare const CapiPerson: z.ZodObject<{
1702
1717
  headshot?: string | undefined;
1703
1718
  }[];
1704
1719
  }[];
1720
+ headshot?: string | undefined;
1705
1721
  emailAddress?: string | undefined;
1706
1722
  twitterHandle?: string | undefined;
1707
1723
  descriptionXML?: string | undefined;
1708
- headshot?: string | undefined;
1709
1724
  _imageUrl?: string | undefined;
1710
1725
  }, {
1711
1726
  id: string;
@@ -1737,15 +1752,15 @@ export declare const CapiPerson: z.ZodObject<{
1737
1752
  headshot?: string | undefined;
1738
1753
  }[];
1739
1754
  }[];
1755
+ headshot?: string | undefined;
1740
1756
  emailAddress?: string | undefined;
1741
1757
  twitterHandle?: string | undefined;
1742
1758
  descriptionXML?: string | undefined;
1743
- headshot?: string | undefined;
1744
1759
  _imageUrl?: string | undefined;
1745
1760
  }>;
1746
1761
  export declare const baseMetadataSchema: z.ZodObject<{
1747
1762
  id: z.ZodString;
1748
- annotations: z.ZodArray<z.ZodObject<{
1763
+ annotations: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1749
1764
  id: z.ZodString;
1750
1765
  apiUrl: z.ZodString;
1751
1766
  directType: z.ZodString;
@@ -1753,8 +1768,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
1753
1768
  type: z.ZodOptional<z.ZodString>;
1754
1769
  types: z.ZodArray<z.ZodString, "many">;
1755
1770
  headshot: z.ZodOptional<z.ZodString>;
1771
+ }, {
1756
1772
  predicate: z.ZodString;
1757
- }, "strip", z.ZodTypeAny, {
1773
+ }>, "strip", z.ZodTypeAny, {
1758
1774
  id: string;
1759
1775
  apiUrl: string;
1760
1776
  directType: string;
@@ -1866,9 +1882,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
1866
1882
  firstPublishedDate: string;
1867
1883
  realtime: boolean;
1868
1884
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1885
+ type?: string | undefined;
1869
1886
  webUrl?: string | undefined;
1870
1887
  canonicalWebUrl?: string | undefined;
1871
- type?: string | undefined;
1872
1888
  standout?: {
1873
1889
  editorsChoice: boolean;
1874
1890
  exclusive: boolean;
@@ -1914,9 +1930,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
1914
1930
  firstPublishedDate: string;
1915
1931
  realtime: boolean;
1916
1932
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1933
+ type?: string | undefined;
1917
1934
  webUrl?: string | undefined;
1918
1935
  canonicalWebUrl?: string | undefined;
1919
- type?: string | undefined;
1920
1936
  standout?: {
1921
1937
  editorsChoice: boolean;
1922
1938
  exclusive: boolean;
@@ -2086,8 +2102,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2086
2102
  maxDisplayWidth?: string | undefined;
2087
2103
  pixelWidth?: number | undefined;
2088
2104
  pixelHeight?: number | undefined;
2089
- }>, z.ZodObject<{
2105
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2090
2106
  id: z.ZodString;
2107
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
2091
2108
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
2092
2109
  title: z.ZodOptional<z.ZodString>;
2093
2110
  description: z.ZodOptional<z.ZodString>;
@@ -2103,8 +2120,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2103
2120
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
2104
2121
  pixelWidth: z.ZodOptional<z.ZodNumber>;
2105
2122
  pixelHeight: z.ZodOptional<z.ZodNumber>;
2123
+ }, {
2106
2124
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
2107
- }, "strip", z.ZodTypeAny, {
2125
+ }>, "strip", z.ZodTypeAny, {
2108
2126
  id: string;
2109
2127
  type: "http://www.ft.com/ontology/content/Graphic";
2110
2128
  binaryUrl: string;
@@ -2245,8 +2263,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2245
2263
  maxDisplayWidth?: string | undefined;
2246
2264
  pixelWidth?: number | undefined;
2247
2265
  pixelHeight?: number | undefined;
2248
- }>, z.ZodObject<{
2266
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2249
2267
  id: z.ZodString;
2268
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
2250
2269
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
2251
2270
  title: z.ZodOptional<z.ZodString>;
2252
2271
  description: z.ZodOptional<z.ZodString>;
@@ -2262,8 +2281,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2262
2281
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
2263
2282
  pixelWidth: z.ZodOptional<z.ZodNumber>;
2264
2283
  pixelHeight: z.ZodOptional<z.ZodNumber>;
2284
+ }, {
2265
2285
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
2266
- }, "strip", z.ZodTypeAny, {
2286
+ }>, "strip", z.ZodTypeAny, {
2267
2287
  id: string;
2268
2288
  type: "http://www.ft.com/ontology/content/Graphic";
2269
2289
  binaryUrl: string;
@@ -2341,8 +2361,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2341
2361
  maxDisplayWidth?: string | undefined;
2342
2362
  pixelWidth?: number | undefined;
2343
2363
  pixelHeight?: number | undefined;
2344
- }>, z.ZodObject<{
2364
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2345
2365
  id: z.ZodString;
2366
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
2346
2367
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
2347
2368
  title: z.ZodOptional<z.ZodString>;
2348
2369
  description: z.ZodOptional<z.ZodString>;
@@ -2358,8 +2379,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2358
2379
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
2359
2380
  pixelWidth: z.ZodOptional<z.ZodNumber>;
2360
2381
  pixelHeight: z.ZodOptional<z.ZodNumber>;
2382
+ }, {
2361
2383
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
2362
- }, "strip", z.ZodTypeAny, {
2384
+ }>, "strip", z.ZodTypeAny, {
2363
2385
  id: string;
2364
2386
  type: "http://www.ft.com/ontology/content/Graphic";
2365
2387
  binaryUrl: string;
@@ -2597,8 +2619,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2597
2619
  maxDisplayWidth?: string | undefined;
2598
2620
  pixelWidth?: number | undefined;
2599
2621
  pixelHeight?: number | undefined;
2600
- }>, z.ZodObject<{
2622
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2601
2623
  id: z.ZodString;
2624
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
2602
2625
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
2603
2626
  title: z.ZodOptional<z.ZodString>;
2604
2627
  description: z.ZodOptional<z.ZodString>;
@@ -2614,8 +2637,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2614
2637
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
2615
2638
  pixelWidth: z.ZodOptional<z.ZodNumber>;
2616
2639
  pixelHeight: z.ZodOptional<z.ZodNumber>;
2640
+ }, {
2617
2641
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
2618
- }, "strip", z.ZodTypeAny, {
2642
+ }>, "strip", z.ZodTypeAny, {
2619
2643
  id: string;
2620
2644
  type: "http://www.ft.com/ontology/content/Graphic";
2621
2645
  binaryUrl: string;
@@ -2726,20 +2750,20 @@ export declare const baseMediaSchema: z.ZodObject<{
2726
2750
  pixelWidth: z.ZodOptional<z.ZodNumber>;
2727
2751
  videoCodec: z.ZodOptional<z.ZodString>;
2728
2752
  }, "strip", z.ZodTypeAny, {
2729
- audioCodec?: string | undefined;
2730
2753
  binaryUrl?: string | undefined;
2754
+ pixelWidth?: number | undefined;
2755
+ pixelHeight?: number | undefined;
2756
+ audioCodec?: string | undefined;
2731
2757
  duration?: number | undefined;
2732
2758
  mediaType?: string | undefined;
2733
- pixelHeight?: number | undefined;
2734
- pixelWidth?: number | undefined;
2735
2759
  videoCodec?: string | undefined;
2736
2760
  }, {
2737
- audioCodec?: string | undefined;
2738
2761
  binaryUrl?: string | undefined;
2762
+ pixelWidth?: number | undefined;
2763
+ pixelHeight?: number | undefined;
2764
+ audioCodec?: string | undefined;
2739
2765
  duration?: number | undefined;
2740
2766
  mediaType?: string | undefined;
2741
- pixelHeight?: number | undefined;
2742
- pixelWidth?: number | undefined;
2743
2767
  videoCodec?: string | undefined;
2744
2768
  }>, "many">;
2745
2769
  poster: z.ZodOptional<z.ZodObject<{
@@ -2792,8 +2816,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2792
2816
  maxDisplayWidth?: string | undefined;
2793
2817
  pixelWidth?: number | undefined;
2794
2818
  pixelHeight?: number | undefined;
2795
- }>, z.ZodObject<{
2819
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2796
2820
  id: z.ZodString;
2821
+ type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
2797
2822
  format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
2798
2823
  title: z.ZodOptional<z.ZodString>;
2799
2824
  description: z.ZodOptional<z.ZodString>;
@@ -2809,8 +2834,9 @@ export declare const baseMediaSchema: z.ZodObject<{
2809
2834
  maxDisplayWidth: z.ZodOptional<z.ZodString>;
2810
2835
  pixelWidth: z.ZodOptional<z.ZodNumber>;
2811
2836
  pixelHeight: z.ZodOptional<z.ZodNumber>;
2837
+ }, {
2812
2838
  type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
2813
- }, "strip", z.ZodTypeAny, {
2839
+ }>, "strip", z.ZodTypeAny, {
2814
2840
  id: string;
2815
2841
  type: "http://www.ft.com/ontology/content/Graphic";
2816
2842
  binaryUrl: string;
@@ -2910,12 +2936,12 @@ export declare const baseMediaSchema: z.ZodObject<{
2910
2936
  id: string;
2911
2937
  type: "http://www.ft.com/ontology/content/Clip";
2912
2938
  dataSource: {
2913
- audioCodec?: string | undefined;
2914
2939
  binaryUrl?: string | undefined;
2940
+ pixelWidth?: number | undefined;
2941
+ pixelHeight?: number | undefined;
2942
+ audioCodec?: string | undefined;
2915
2943
  duration?: number | undefined;
2916
2944
  mediaType?: string | undefined;
2917
- pixelHeight?: number | undefined;
2918
- pixelWidth?: number | undefined;
2919
2945
  videoCodec?: string | undefined;
2920
2946
  }[];
2921
2947
  format?: "standardInline" | "mobile" | undefined;
@@ -2957,12 +2983,12 @@ export declare const baseMediaSchema: z.ZodObject<{
2957
2983
  id: string;
2958
2984
  type: "http://www.ft.com/ontology/content/Clip";
2959
2985
  dataSource: {
2960
- audioCodec?: string | undefined;
2961
2986
  binaryUrl?: string | undefined;
2987
+ pixelWidth?: number | undefined;
2988
+ pixelHeight?: number | undefined;
2989
+ audioCodec?: string | undefined;
2962
2990
  duration?: number | undefined;
2963
2991
  mediaType?: string | undefined;
2964
- pixelHeight?: number | undefined;
2965
- pixelWidth?: number | undefined;
2966
2992
  videoCodec?: string | undefined;
2967
2993
  }[];
2968
2994
  format?: "standardInline" | "mobile" | undefined;
@@ -3042,12 +3068,12 @@ export declare const baseMediaSchema: z.ZodObject<{
3042
3068
  id: string;
3043
3069
  type: "http://www.ft.com/ontology/content/Clip";
3044
3070
  dataSource: {
3045
- audioCodec?: string | undefined;
3046
3071
  binaryUrl?: string | undefined;
3072
+ pixelWidth?: number | undefined;
3073
+ pixelHeight?: number | undefined;
3074
+ audioCodec?: string | undefined;
3047
3075
  duration?: number | undefined;
3048
3076
  mediaType?: string | undefined;
3049
- pixelHeight?: number | undefined;
3050
- pixelWidth?: number | undefined;
3051
3077
  videoCodec?: string | undefined;
3052
3078
  }[];
3053
3079
  format?: "standardInline" | "mobile" | undefined;
@@ -3086,9 +3112,9 @@ export declare const baseMediaSchema: z.ZodObject<{
3086
3112
  description?: string | undefined;
3087
3113
  } | undefined;
3088
3114
  }[];
3115
+ description?: string | undefined;
3089
3116
  caption?: string | undefined;
3090
3117
  dataCopyright?: string | undefined;
3091
- description?: string | undefined;
3092
3118
  displayTitle?: string | undefined;
3093
3119
  contentWarning?: string[] | undefined;
3094
3120
  noAudio?: boolean | undefined;
@@ -3109,12 +3135,12 @@ export declare const baseMediaSchema: z.ZodObject<{
3109
3135
  id: string;
3110
3136
  type: "http://www.ft.com/ontology/content/Clip";
3111
3137
  dataSource: {
3112
- audioCodec?: string | undefined;
3113
3138
  binaryUrl?: string | undefined;
3139
+ pixelWidth?: number | undefined;
3140
+ pixelHeight?: number | undefined;
3141
+ audioCodec?: string | undefined;
3114
3142
  duration?: number | undefined;
3115
3143
  mediaType?: string | undefined;
3116
- pixelHeight?: number | undefined;
3117
- pixelWidth?: number | undefined;
3118
3144
  videoCodec?: string | undefined;
3119
3145
  }[];
3120
3146
  format?: "standardInline" | "mobile" | undefined;
@@ -3153,9 +3179,9 @@ export declare const baseMediaSchema: z.ZodObject<{
3153
3179
  description?: string | undefined;
3154
3180
  } | undefined;
3155
3181
  }[];
3182
+ description?: string | undefined;
3156
3183
  caption?: string | undefined;
3157
3184
  dataCopyright?: string | undefined;
3158
- description?: string | undefined;
3159
3185
  displayTitle?: string | undefined;
3160
3186
  contentWarning?: string[] | undefined;
3161
3187
  noAudio?: boolean | undefined;
@@ -3187,6 +3213,12 @@ export declare const baseMediaSchema: z.ZodObject<{
3187
3213
  filesize: number;
3188
3214
  }>, "many">>;
3189
3215
  }, "strip", z.ZodTypeAny, {
3216
+ dataSource?: {
3217
+ binaryUrl: string;
3218
+ duration: number;
3219
+ mediaType: string;
3220
+ filesize: number;
3221
+ }[] | undefined;
3190
3222
  mainImage?: {
3191
3223
  id: string;
3192
3224
  type: "http://www.ft.com/ontology/content/Image";
@@ -3344,12 +3376,12 @@ export declare const baseMediaSchema: z.ZodObject<{
3344
3376
  id: string;
3345
3377
  type: "http://www.ft.com/ontology/content/Clip";
3346
3378
  dataSource: {
3347
- audioCodec?: string | undefined;
3348
3379
  binaryUrl?: string | undefined;
3380
+ pixelWidth?: number | undefined;
3381
+ pixelHeight?: number | undefined;
3382
+ audioCodec?: string | undefined;
3349
3383
  duration?: number | undefined;
3350
3384
  mediaType?: string | undefined;
3351
- pixelHeight?: number | undefined;
3352
- pixelWidth?: number | undefined;
3353
3385
  videoCodec?: string | undefined;
3354
3386
  }[];
3355
3387
  format?: "standardInline" | "mobile" | undefined;
@@ -3388,9 +3420,9 @@ export declare const baseMediaSchema: z.ZodObject<{
3388
3420
  description?: string | undefined;
3389
3421
  } | undefined;
3390
3422
  }[];
3423
+ description?: string | undefined;
3391
3424
  caption?: string | undefined;
3392
3425
  dataCopyright?: string | undefined;
3393
- description?: string | undefined;
3394
3426
  displayTitle?: string | undefined;
3395
3427
  contentWarning?: string[] | undefined;
3396
3428
  noAudio?: boolean | undefined;
@@ -3405,13 +3437,13 @@ export declare const baseMediaSchema: z.ZodObject<{
3405
3437
  transcript?: string | undefined;
3406
3438
  } | undefined;
3407
3439
  })[] | undefined;
3440
+ }, {
3408
3441
  dataSource?: {
3409
3442
  binaryUrl: string;
3410
3443
  duration: number;
3411
3444
  mediaType: string;
3412
3445
  filesize: number;
3413
3446
  }[] | undefined;
3414
- }, {
3415
3447
  mainImage?: {
3416
3448
  id: string;
3417
3449
  type: "http://www.ft.com/ontology/content/Image";
@@ -3569,12 +3601,12 @@ export declare const baseMediaSchema: z.ZodObject<{
3569
3601
  id: string;
3570
3602
  type: "http://www.ft.com/ontology/content/Clip";
3571
3603
  dataSource: {
3572
- audioCodec?: string | undefined;
3573
3604
  binaryUrl?: string | undefined;
3605
+ pixelWidth?: number | undefined;
3606
+ pixelHeight?: number | undefined;
3607
+ audioCodec?: string | undefined;
3574
3608
  duration?: number | undefined;
3575
3609
  mediaType?: string | undefined;
3576
- pixelHeight?: number | undefined;
3577
- pixelWidth?: number | undefined;
3578
3610
  videoCodec?: string | undefined;
3579
3611
  }[];
3580
3612
  format?: "standardInline" | "mobile" | undefined;
@@ -3613,9 +3645,9 @@ export declare const baseMediaSchema: z.ZodObject<{
3613
3645
  description?: string | undefined;
3614
3646
  } | undefined;
3615
3647
  }[];
3648
+ description?: string | undefined;
3616
3649
  caption?: string | undefined;
3617
3650
  dataCopyright?: string | undefined;
3618
- description?: string | undefined;
3619
3651
  displayTitle?: string | undefined;
3620
3652
  contentWarning?: string[] | undefined;
3621
3653
  noAudio?: boolean | undefined;
@@ -3630,10 +3662,4 @@ export declare const baseMediaSchema: z.ZodObject<{
3630
3662
  transcript?: string | undefined;
3631
3663
  } | undefined;
3632
3664
  })[] | undefined;
3633
- dataSource?: {
3634
- binaryUrl: string;
3635
- duration: number;
3636
- mediaType: string;
3637
- filesize: number;
3638
- }[] | undefined;
3639
3665
  }>;