Skip to content

Commit b424cbb

Browse files
committed
generate new schemas after introducing valibot for FETrailType
1 parent 252e107 commit b424cbb

File tree

8 files changed

+920
-1341
lines changed

8 files changed

+920
-1341
lines changed

dotcom-rendering/src/frontend/schemas/feArticle.json

Lines changed: 363 additions & 484 deletions
Large diffs are not rendered by default.

dotcom-rendering/src/frontend/schemas/feCricketMatchPage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,9 @@
497497
"adUnit": {
498498
"type": "string"
499499
},
500+
"pillar": {
501+
"type": "string"
502+
},
500503
"avatarApiUrl": {
501504
"type": "string"
502505
},
@@ -598,9 +601,6 @@
598601
"assetsPath": {
599602
"type": "string"
600603
},
601-
"pillar": {
602-
"type": "string"
603-
},
604604
"commercialBundleUrl": {
605605
"type": "string"
606606
},

dotcom-rendering/src/frontend/schemas/feFootballMatchListPage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,9 @@
344344
"adUnit": {
345345
"type": "string"
346346
},
347+
"pillar": {
348+
"type": "string"
349+
},
347350
"avatarApiUrl": {
348351
"type": "string"
349352
},
@@ -445,9 +448,6 @@
445448
"assetsPath": {
446449
"type": "string"
447450
},
448-
"pillar": {
449-
"type": "string"
450-
},
451451
"commercialBundleUrl": {
452452
"type": "string"
453453
},

dotcom-rendering/src/frontend/schemas/feFootballMatchPage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,9 @@
514514
"adUnit": {
515515
"type": "string"
516516
},
517+
"pillar": {
518+
"type": "string"
519+
},
517520
"avatarApiUrl": {
518521
"type": "string"
519522
},
@@ -615,9 +618,6 @@
615618
"assetsPath": {
616619
"type": "string"
617620
},
618-
"pillar": {
619-
"type": "string"
620-
},
621621
"commercialBundleUrl": {
622622
"type": "string"
623623
},

dotcom-rendering/src/frontend/schemas/feFootballTablesPage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@
553553
"adUnit": {
554554
"type": "string"
555555
},
556+
"pillar": {
557+
"type": "string"
558+
},
556559
"avatarApiUrl": {
557560
"type": "string"
558561
},
@@ -654,9 +657,6 @@
654657
"assetsPath": {
655658
"type": "string"
656659
},
657-
"pillar": {
658-
"type": "string"
659-
},
660660
"commercialBundleUrl": {
661661
"type": "string"
662662
},

dotcom-rendering/src/frontend/schemas/feFront.json

Lines changed: 368 additions & 608 deletions
Large diffs are not rendered by default.

dotcom-rendering/src/frontend/schemas/feTagPage.json

Lines changed: 159 additions & 224 deletions
Large diffs are not rendered by default.

dotcom-rendering/src/model/block-schema.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,15 @@
16931693
"type": "string"
16941694
},
16951695
"starRating": {
1696-
"$ref": "#/definitions/StarRating"
1696+
"enum": [
1697+
0,
1698+
1,
1699+
2,
1700+
3,
1701+
4,
1702+
5
1703+
],
1704+
"type": "number"
16971705
},
16981706
"isAvatar": {
16991707
"type": "boolean"
@@ -1757,17 +1765,6 @@
17571765
"width"
17581766
]
17591767
},
1760-
"StarRating": {
1761-
"enum": [
1762-
0,
1763-
1,
1764-
2,
1765-
3,
1766-
4,
1767-
5
1768-
],
1769-
"type": "number"
1770-
},
17711768
"InstagramBlockElement": {
17721769
"type": "object",
17731770
"properties": {
@@ -2821,7 +2818,15 @@
28212818
"type": "string"
28222819
},
28232820
"rating": {
2824-
"$ref": "#/definitions/StarRating"
2821+
"enum": [
2822+
0,
2823+
1,
2824+
2,
2825+
3,
2826+
4,
2827+
5
2828+
],
2829+
"type": "number"
28252830
},
28262831
"size": {
28272832
"$ref": "#/definitions/RatingSizeType"

0 commit comments

Comments
 (0)