@rathnasgala2/schemas 3.20.0 → 3.22.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/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +266 -24
- package/docs/catalogs/schema-inventory.json +6 -6
- package/examples/valid/build-input/rules.json +270 -28
- package/examples/valid/content-frontmatter/rules.json +41 -0
- package/examples/valid/interactions-config/rules.json +22 -0
- package/examples/valid/publication/rules.json +192 -13
- package/fixtures/boundary/build-input/rules.json +306 -33
- package/fixtures/boundary/content-frontmatter/rules.json +41 -0
- package/fixtures/boundary/interactions-config/rules.json +22 -0
- package/fixtures/boundary/publication/rules.json +243 -33
- package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +19 -8
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +80 -16
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +33 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +204 -39
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +122 -11
- package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +9 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +31 -0
- package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +20 -0
- package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +22 -11
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +62 -9
- package/fixtures/invalid/publication/SCHEMA_ARRAY_DUPLICATE/cases.json +13 -0
- package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/publication/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
- package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +143 -20
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +95 -4
- package/fixtures/invalid/publication/SCHEMA_UNION_INVALID/cases.json +11 -0
- package/fixtures/manifest.json +2059 -181
- package/fixtures/s2/empty-modules-placements.json +943 -0
- package/fixtures/s2/manifest.json +13 -1
- package/fixtures/s2/normalized-inputs.json +1704 -0
- package/fixtures/unknown-field/build-input/rules.json +123 -21
- package/fixtures/unknown-field/content-frontmatter/rules.json +5 -0
- package/fixtures/unknown-field/interactions-config/rules.json +14 -0
- package/fixtures/unknown-field/publication/rules.json +92 -9
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +47 -5
- package/generated/typescript/contracts/content-frontmatter.d.ts +1 -0
- package/generated/typescript/contracts/interactions-config.d.ts +3 -0
- package/generated/typescript/contracts/publication.d.ts +40 -5
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +31 -0
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +104 -5
- package/schemas/content-frontmatter.schema.json +12 -0
- package/schemas/interactions-config.schema.json +7 -0
- package/schemas/publication.schema.json +85 -7
|
@@ -107,6 +107,17 @@
|
|
|
107
107
|
"instance": "__invalid_enum__",
|
|
108
108
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
109
109
|
},
|
|
110
|
+
{
|
|
111
|
+
"caseId": "build-input-invalid-67237226ea7a724b",
|
|
112
|
+
"coveredRuleIds": [
|
|
113
|
+
"build-input:#/$defs/newsletter/oneOf/1/properties/emailContent:enum"
|
|
114
|
+
],
|
|
115
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
116
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/emailContent",
|
|
117
|
+
"keyword": "enum",
|
|
118
|
+
"instance": "__invalid_enum__",
|
|
119
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
120
|
+
},
|
|
110
121
|
{
|
|
111
122
|
"caseId": "build-input-invalid-675276105983e5c3",
|
|
112
123
|
"coveredRuleIds": [
|
|
@@ -118,6 +129,17 @@
|
|
|
118
129
|
"instance": "__invalid_enum__",
|
|
119
130
|
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
120
131
|
},
|
|
132
|
+
{
|
|
133
|
+
"caseId": "build-input-invalid-8444bba6fbd5f6da",
|
|
134
|
+
"coveredRuleIds": [
|
|
135
|
+
"build-input:#/$defs/sharing/properties/targets/items:enum"
|
|
136
|
+
],
|
|
137
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
138
|
+
"schemaPointer": "#/$defs/sharing/properties/targets/items",
|
|
139
|
+
"keyword": "enum",
|
|
140
|
+
"instance": "__invalid_enum__",
|
|
141
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
142
|
+
},
|
|
121
143
|
{
|
|
122
144
|
"caseId": "build-input-invalid-927a9135b6784bbf",
|
|
123
145
|
"coveredRuleIds": [
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"instance": { "url": null },
|
|
9
9
|
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "build-input-invalid-55616afdaceabc66",
|
|
13
|
+
"coveredRuleIds": [
|
|
14
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:not"
|
|
15
|
+
],
|
|
16
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
17
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then",
|
|
18
|
+
"keyword": "not",
|
|
19
|
+
"instance": { "edition": null },
|
|
20
|
+
"expectedCodes": ["SCHEMA_NEGATED_RULE_MATCHED"]
|
|
21
|
+
},
|
|
11
22
|
{
|
|
12
23
|
"caseId": "build-input-invalid-8d303846ba00bad5",
|
|
13
24
|
"coveredRuleIds": [
|
|
@@ -613,17 +613,6 @@
|
|
|
613
613
|
},
|
|
614
614
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
615
615
|
},
|
|
616
|
-
{
|
|
617
|
-
"caseId": "build-input-invalid-0ea21125388083ad",
|
|
618
|
-
"coveredRuleIds": [
|
|
619
|
-
"build-input:#/$defs/publicationNormalized/properties/newsletter:required:url"
|
|
620
|
-
],
|
|
621
|
-
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
622
|
-
"schemaPointer": "#/$defs/publicationNormalized/properties/newsletter",
|
|
623
|
-
"keyword": "required",
|
|
624
|
-
"instance": { "title": "fixture-1", "text": "fixture-1" },
|
|
625
|
-
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
626
|
-
},
|
|
627
616
|
{
|
|
628
617
|
"caseId": "build-input-invalid-0eb911ac3e176115",
|
|
629
618
|
"coveredRuleIds": [
|
|
@@ -852,20 +841,6 @@
|
|
|
852
841
|
"instance": {},
|
|
853
842
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
854
843
|
},
|
|
855
|
-
{
|
|
856
|
-
"caseId": "build-input-invalid-0f88336d55950a8f",
|
|
857
|
-
"coveredRuleIds": [
|
|
858
|
-
"build-input:#/$defs/publicationNormalized/properties/newsletter:required:text"
|
|
859
|
-
],
|
|
860
|
-
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
861
|
-
"schemaPointer": "#/$defs/publicationNormalized/properties/newsletter",
|
|
862
|
-
"keyword": "required",
|
|
863
|
-
"instance": {
|
|
864
|
-
"url": "https://fixture-1.example.com/",
|
|
865
|
-
"title": "fixture-1"
|
|
866
|
-
},
|
|
867
|
-
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
868
|
-
},
|
|
869
844
|
{
|
|
870
845
|
"caseId": "build-input-invalid-0fe4321ea21ee4aa",
|
|
871
846
|
"coveredRuleIds": [
|
|
@@ -942,6 +917,20 @@
|
|
|
942
917
|
"instance": {},
|
|
943
918
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
944
919
|
},
|
|
920
|
+
{
|
|
921
|
+
"caseId": "build-input-invalid-149ff22f38f442cf",
|
|
922
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/1:required:title"],
|
|
923
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
924
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
925
|
+
"keyword": "required",
|
|
926
|
+
"instance": {
|
|
927
|
+
"mode": "galascribe",
|
|
928
|
+
"text": "fixture-1",
|
|
929
|
+
"emailContent": "card",
|
|
930
|
+
"replyToOwner": false
|
|
931
|
+
},
|
|
932
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
933
|
+
},
|
|
945
934
|
{
|
|
946
935
|
"caseId": "build-input-invalid-15d01521dd8ab442",
|
|
947
936
|
"coveredRuleIds": [
|
|
@@ -1576,6 +1565,17 @@
|
|
|
1576
1565
|
},
|
|
1577
1566
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1578
1567
|
},
|
|
1568
|
+
{
|
|
1569
|
+
"caseId": "build-input-invalid-32fa9f8216892ec5",
|
|
1570
|
+
"coveredRuleIds": [
|
|
1571
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then/not:required:edition"
|
|
1572
|
+
],
|
|
1573
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1574
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then/not",
|
|
1575
|
+
"keyword": "required",
|
|
1576
|
+
"instance": {},
|
|
1577
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1578
|
+
},
|
|
1579
1579
|
{
|
|
1580
1580
|
"caseId": "build-input-invalid-335d97966a4955a1",
|
|
1581
1581
|
"coveredRuleIds": [
|
|
@@ -1712,6 +1712,15 @@
|
|
|
1712
1712
|
},
|
|
1713
1713
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1714
1714
|
},
|
|
1715
|
+
{
|
|
1716
|
+
"caseId": "build-input-invalid-46b1af4c87d1ad5f",
|
|
1717
|
+
"coveredRuleIds": ["build-input:#/$defs/sharing:required:targets"],
|
|
1718
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1719
|
+
"schemaPointer": "#/$defs/sharing",
|
|
1720
|
+
"keyword": "required",
|
|
1721
|
+
"instance": {},
|
|
1722
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1723
|
+
},
|
|
1715
1724
|
{
|
|
1716
1725
|
"caseId": "build-input-invalid-488d858790057385",
|
|
1717
1726
|
"coveredRuleIds": [
|
|
@@ -1768,6 +1777,15 @@
|
|
|
1768
1777
|
"instance": { "dark": "#000000" },
|
|
1769
1778
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1770
1779
|
},
|
|
1780
|
+
{
|
|
1781
|
+
"caseId": "build-input-invalid-4ad5e8821e6bbdd5",
|
|
1782
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/0:required:url"],
|
|
1783
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1784
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0",
|
|
1785
|
+
"keyword": "required",
|
|
1786
|
+
"instance": { "title": "fixture-1", "text": "fixture-1" },
|
|
1787
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1788
|
+
},
|
|
1771
1789
|
{
|
|
1772
1790
|
"caseId": "build-input-invalid-4dd686f938fb174c",
|
|
1773
1791
|
"coveredRuleIds": [
|
|
@@ -1829,6 +1847,34 @@
|
|
|
1829
1847
|
"instance": { "light": "#000000" },
|
|
1830
1848
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1831
1849
|
},
|
|
1850
|
+
{
|
|
1851
|
+
"caseId": "build-input-invalid-511d8f85490e535c",
|
|
1852
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/0:required:text"],
|
|
1853
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1854
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0",
|
|
1855
|
+
"keyword": "required",
|
|
1856
|
+
"instance": {
|
|
1857
|
+
"url": "https://fixture-1.example.com/",
|
|
1858
|
+
"title": "fixture-1"
|
|
1859
|
+
},
|
|
1860
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"caseId": "build-input-invalid-51a9a3e0b32dab22",
|
|
1864
|
+
"coveredRuleIds": [
|
|
1865
|
+
"build-input:#/$defs/newsletter/oneOf/1:required:emailContent"
|
|
1866
|
+
],
|
|
1867
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1868
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
1869
|
+
"keyword": "required",
|
|
1870
|
+
"instance": {
|
|
1871
|
+
"mode": "galascribe",
|
|
1872
|
+
"title": "fixture-1",
|
|
1873
|
+
"text": "fixture-1",
|
|
1874
|
+
"replyToOwner": false
|
|
1875
|
+
},
|
|
1876
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1877
|
+
},
|
|
1832
1878
|
{
|
|
1833
1879
|
"caseId": "build-input-invalid-5393d032001ad82a",
|
|
1834
1880
|
"coveredRuleIds": [
|
|
@@ -2072,6 +2118,18 @@
|
|
|
2072
2118
|
},
|
|
2073
2119
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2074
2120
|
},
|
|
2121
|
+
{
|
|
2122
|
+
"caseId": "build-input-invalid-55b3a5cf06a6bb85",
|
|
2123
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/0:required:title"],
|
|
2124
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2125
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0",
|
|
2126
|
+
"keyword": "required",
|
|
2127
|
+
"instance": {
|
|
2128
|
+
"url": "https://fixture-1.example.com/",
|
|
2129
|
+
"text": "fixture-1"
|
|
2130
|
+
},
|
|
2131
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2132
|
+
},
|
|
2075
2133
|
{
|
|
2076
2134
|
"caseId": "build-input-invalid-55de7ada59fdb260",
|
|
2077
2135
|
"coveredRuleIds": ["build-input:#/$defs/resolvedMedia:required:alt"],
|
|
@@ -2907,6 +2965,17 @@
|
|
|
2907
2965
|
},
|
|
2908
2966
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2909
2967
|
},
|
|
2968
|
+
{
|
|
2969
|
+
"caseId": "build-input-invalid-6e7d7b8ab49dfcda",
|
|
2970
|
+
"coveredRuleIds": [
|
|
2971
|
+
"build-input:#/$defs/contactFormNormalized/properties/fields:required:phone"
|
|
2972
|
+
],
|
|
2973
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2974
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/fields",
|
|
2975
|
+
"keyword": "required",
|
|
2976
|
+
"instance": { "website": false },
|
|
2977
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2978
|
+
},
|
|
2910
2979
|
{
|
|
2911
2980
|
"caseId": "build-input-invalid-702feb4bc269690c",
|
|
2912
2981
|
"coveredRuleIds": [
|
|
@@ -3116,6 +3185,17 @@
|
|
|
3116
3185
|
"instance": { "reactions": false },
|
|
3117
3186
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3118
3187
|
},
|
|
3188
|
+
{
|
|
3189
|
+
"caseId": "build-input-invalid-7a556ff4aba53a84",
|
|
3190
|
+
"coveredRuleIds": [
|
|
3191
|
+
"build-input:#/$defs/interactionsConfig/properties/follows:required:enabled"
|
|
3192
|
+
],
|
|
3193
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3194
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/follows",
|
|
3195
|
+
"keyword": "required",
|
|
3196
|
+
"instance": {},
|
|
3197
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3198
|
+
},
|
|
3119
3199
|
{
|
|
3120
3200
|
"caseId": "build-input-invalid-7cbb4a6520cbfe3d",
|
|
3121
3201
|
"coveredRuleIds": ["build-input:#/$defs/buildPackages:required:template"],
|
|
@@ -3829,6 +3909,17 @@
|
|
|
3829
3909
|
},
|
|
3830
3910
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3831
3911
|
},
|
|
3912
|
+
{
|
|
3913
|
+
"caseId": "build-input-invalid-8892dbb3ca046909",
|
|
3914
|
+
"coveredRuleIds": [
|
|
3915
|
+
"build-input:#/$defs/contactFormNormalized/properties/fields:required:website"
|
|
3916
|
+
],
|
|
3917
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3918
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/fields",
|
|
3919
|
+
"keyword": "required",
|
|
3920
|
+
"instance": { "phone": false },
|
|
3921
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3922
|
+
},
|
|
3832
3923
|
{
|
|
3833
3924
|
"caseId": "build-input-invalid-8ba16dafef558082",
|
|
3834
3925
|
"coveredRuleIds": ["build-input:#/$defs/navigationLeaf:required:label"],
|
|
@@ -4566,6 +4657,17 @@
|
|
|
4566
4657
|
},
|
|
4567
4658
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4568
4659
|
},
|
|
4660
|
+
{
|
|
4661
|
+
"caseId": "build-input-invalid-b015c9bde0914f46",
|
|
4662
|
+
"coveredRuleIds": [
|
|
4663
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/then:required:kind"
|
|
4664
|
+
],
|
|
4665
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4666
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/then",
|
|
4667
|
+
"keyword": "required",
|
|
4668
|
+
"instance": {},
|
|
4669
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4670
|
+
},
|
|
4569
4671
|
{
|
|
4570
4672
|
"caseId": "build-input-invalid-b315479096c97890",
|
|
4571
4673
|
"coveredRuleIds": [
|
|
@@ -5018,6 +5120,17 @@
|
|
|
5018
5120
|
"instance": {},
|
|
5019
5121
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5020
5122
|
},
|
|
5123
|
+
{
|
|
5124
|
+
"caseId": "build-input-invalid-bfad0d3cb118daab",
|
|
5125
|
+
"coveredRuleIds": [
|
|
5126
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/1/if:required:translationOf"
|
|
5127
|
+
],
|
|
5128
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5129
|
+
"schemaPointer": "#/$defs/contentFrontmatterNormalized/allOf/1/if",
|
|
5130
|
+
"keyword": "required",
|
|
5131
|
+
"instance": {},
|
|
5132
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5133
|
+
},
|
|
5021
5134
|
{
|
|
5022
5135
|
"caseId": "build-input-invalid-c0ad6d145217a678",
|
|
5023
5136
|
"coveredRuleIds": [
|
|
@@ -5034,6 +5147,17 @@
|
|
|
5034
5147
|
},
|
|
5035
5148
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5036
5149
|
},
|
|
5150
|
+
{
|
|
5151
|
+
"caseId": "build-input-invalid-c0e8aaa77c82b9ad",
|
|
5152
|
+
"coveredRuleIds": [
|
|
5153
|
+
"build-input:#/$defs/contactFormNormalized:required:enabled"
|
|
5154
|
+
],
|
|
5155
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5156
|
+
"schemaPointer": "#/$defs/contactFormNormalized",
|
|
5157
|
+
"keyword": "required",
|
|
5158
|
+
"instance": { "fields": { "website": false, "phone": false } },
|
|
5159
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5160
|
+
},
|
|
5037
5161
|
{
|
|
5038
5162
|
"caseId": "build-input-invalid-c20c78d61d728bb8",
|
|
5039
5163
|
"coveredRuleIds": ["build-input:#/$defs/contentEdition:required:kind"],
|
|
@@ -5365,6 +5489,17 @@
|
|
|
5365
5489
|
},
|
|
5366
5490
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5367
5491
|
},
|
|
5492
|
+
{
|
|
5493
|
+
"caseId": "build-input-invalid-cf01249e656a5e5a",
|
|
5494
|
+
"coveredRuleIds": [
|
|
5495
|
+
"build-input:#/$defs/contactFormNormalized:required:fields"
|
|
5496
|
+
],
|
|
5497
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5498
|
+
"schemaPointer": "#/$defs/contactFormNormalized",
|
|
5499
|
+
"keyword": "required",
|
|
5500
|
+
"instance": { "enabled": false },
|
|
5501
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5502
|
+
},
|
|
5368
5503
|
{
|
|
5369
5504
|
"caseId": "build-input-invalid-cf0e9c8a201dcf36",
|
|
5370
5505
|
"coveredRuleIds": [
|
|
@@ -5616,6 +5751,20 @@
|
|
|
5616
5751
|
"instance": { "kind": "google-analytics-4" },
|
|
5617
5752
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5618
5753
|
},
|
|
5754
|
+
{
|
|
5755
|
+
"caseId": "build-input-invalid-db8e00183f9bb78b",
|
|
5756
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/1:required:mode"],
|
|
5757
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5758
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
5759
|
+
"keyword": "required",
|
|
5760
|
+
"instance": {
|
|
5761
|
+
"title": "fixture-1",
|
|
5762
|
+
"text": "fixture-1",
|
|
5763
|
+
"emailContent": "card",
|
|
5764
|
+
"replyToOwner": false
|
|
5765
|
+
},
|
|
5766
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5767
|
+
},
|
|
5619
5768
|
{
|
|
5620
5769
|
"caseId": "build-input-invalid-dc3b66073ce28d40",
|
|
5621
5770
|
"coveredRuleIds": [
|
|
@@ -5778,6 +5927,22 @@
|
|
|
5778
5927
|
"instance": {},
|
|
5779
5928
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5780
5929
|
},
|
|
5930
|
+
{
|
|
5931
|
+
"caseId": "build-input-invalid-e5010da16e44b7a7",
|
|
5932
|
+
"coveredRuleIds": [
|
|
5933
|
+
"build-input:#/$defs/newsletter/oneOf/1:required:replyToOwner"
|
|
5934
|
+
],
|
|
5935
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5936
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
5937
|
+
"keyword": "required",
|
|
5938
|
+
"instance": {
|
|
5939
|
+
"mode": "galascribe",
|
|
5940
|
+
"title": "fixture-1",
|
|
5941
|
+
"text": "fixture-1",
|
|
5942
|
+
"emailContent": "card"
|
|
5943
|
+
},
|
|
5944
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5945
|
+
},
|
|
5781
5946
|
{
|
|
5782
5947
|
"caseId": "build-input-invalid-e533c5fee07e35cb",
|
|
5783
5948
|
"coveredRuleIds": [
|
|
@@ -5832,6 +5997,20 @@
|
|
|
5832
5997
|
"instance": { "dark": "#000000" },
|
|
5833
5998
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5834
5999
|
},
|
|
6000
|
+
{
|
|
6001
|
+
"caseId": "build-input-invalid-eae1e85b1d5a8119",
|
|
6002
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/1:required:text"],
|
|
6003
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
6004
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
6005
|
+
"keyword": "required",
|
|
6006
|
+
"instance": {
|
|
6007
|
+
"mode": "galascribe",
|
|
6008
|
+
"title": "fixture-1",
|
|
6009
|
+
"emailContent": "card",
|
|
6010
|
+
"replyToOwner": false
|
|
6011
|
+
},
|
|
6012
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6013
|
+
},
|
|
5835
6014
|
{
|
|
5836
6015
|
"caseId": "build-input-invalid-eb8ab7f37c0d08a3",
|
|
5837
6016
|
"coveredRuleIds": ["build-input:#:required:destinationCapabilities"],
|
|
@@ -6050,20 +6229,6 @@
|
|
|
6050
6229
|
},
|
|
6051
6230
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6052
6231
|
},
|
|
6053
|
-
{
|
|
6054
|
-
"caseId": "build-input-invalid-edb92153dcc6d08c",
|
|
6055
|
-
"coveredRuleIds": [
|
|
6056
|
-
"build-input:#/$defs/publicationNormalized/properties/newsletter:required:title"
|
|
6057
|
-
],
|
|
6058
|
-
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
6059
|
-
"schemaPointer": "#/$defs/publicationNormalized/properties/newsletter",
|
|
6060
|
-
"keyword": "required",
|
|
6061
|
-
"instance": {
|
|
6062
|
-
"url": "https://fixture-1.example.com/",
|
|
6063
|
-
"text": "fixture-1"
|
|
6064
|
-
},
|
|
6065
|
-
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6066
|
-
},
|
|
6067
6232
|
{
|
|
6068
6233
|
"caseId": "build-input-invalid-ee866b428328a588",
|
|
6069
6234
|
"coveredRuleIds": ["build-input:#/$defs/buildPackages:required:schemas"],
|
|
@@ -68,17 +68,6 @@
|
|
|
68
68
|
"instance": null,
|
|
69
69
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
70
70
|
},
|
|
71
|
-
{
|
|
72
|
-
"caseId": "build-input-invalid-0982eee00e4a01c3",
|
|
73
|
-
"coveredRuleIds": [
|
|
74
|
-
"build-input:#/$defs/publicationNormalized/properties/newsletter:type"
|
|
75
|
-
],
|
|
76
|
-
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
77
|
-
"schemaPointer": "#/$defs/publicationNormalized/properties/newsletter",
|
|
78
|
-
"keyword": "type",
|
|
79
|
-
"instance": [],
|
|
80
|
-
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
81
|
-
},
|
|
82
71
|
{
|
|
83
72
|
"caseId": "build-input-invalid-0f751c60fae4c80e",
|
|
84
73
|
"coveredRuleIds": [
|
|
@@ -143,6 +132,15 @@
|
|
|
143
132
|
"instance": null,
|
|
144
133
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
145
134
|
},
|
|
135
|
+
{
|
|
136
|
+
"caseId": "build-input-invalid-1bf78161448af8e1",
|
|
137
|
+
"coveredRuleIds": ["build-input:#/$defs/contactFormNormalized:type"],
|
|
138
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
139
|
+
"schemaPointer": "#/$defs/contactFormNormalized",
|
|
140
|
+
"keyword": "type",
|
|
141
|
+
"instance": [],
|
|
142
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
143
|
+
},
|
|
146
144
|
{
|
|
147
145
|
"caseId": "build-input-invalid-204bf9434c0f5dde",
|
|
148
146
|
"coveredRuleIds": [
|
|
@@ -223,6 +221,15 @@
|
|
|
223
221
|
"instance": [],
|
|
224
222
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
225
223
|
},
|
|
224
|
+
{
|
|
225
|
+
"caseId": "build-input-invalid-2d233c4f890260ed",
|
|
226
|
+
"coveredRuleIds": ["build-input:#/$defs/sharing:type"],
|
|
227
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
228
|
+
"schemaPointer": "#/$defs/sharing",
|
|
229
|
+
"keyword": "type",
|
|
230
|
+
"instance": [],
|
|
231
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
232
|
+
},
|
|
226
233
|
{
|
|
227
234
|
"caseId": "build-input-invalid-2e8d33870b5be54d",
|
|
228
235
|
"coveredRuleIds": ["build-input:#/$defs/navigationItem:type"],
|
|
@@ -254,6 +261,15 @@
|
|
|
254
261
|
"instance": null,
|
|
255
262
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
256
263
|
},
|
|
264
|
+
{
|
|
265
|
+
"caseId": "build-input-invalid-31bc04c651995378",
|
|
266
|
+
"coveredRuleIds": ["build-input:#/$defs/sharing/properties/targets:type"],
|
|
267
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
268
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
269
|
+
"keyword": "type",
|
|
270
|
+
"instance": {},
|
|
271
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
272
|
+
},
|
|
257
273
|
{
|
|
258
274
|
"caseId": "build-input-invalid-31db49e1ae9063d8",
|
|
259
275
|
"coveredRuleIds": [
|
|
@@ -274,6 +290,17 @@
|
|
|
274
290
|
"instance": [],
|
|
275
291
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
276
292
|
},
|
|
293
|
+
{
|
|
294
|
+
"caseId": "build-input-invalid-3709186c4faf1e87",
|
|
295
|
+
"coveredRuleIds": [
|
|
296
|
+
"build-input:#/$defs/interactionsConfig/properties/follows:type"
|
|
297
|
+
],
|
|
298
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
299
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/follows",
|
|
300
|
+
"keyword": "type",
|
|
301
|
+
"instance": [],
|
|
302
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
303
|
+
},
|
|
277
304
|
{
|
|
278
305
|
"caseId": "build-input-invalid-386bbe967ee2a8e0",
|
|
279
306
|
"coveredRuleIds": ["build-input:#/$defs/colorMode:type"],
|
|
@@ -343,6 +370,15 @@
|
|
|
343
370
|
"instance": [],
|
|
344
371
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
345
372
|
},
|
|
373
|
+
{
|
|
374
|
+
"caseId": "build-input-invalid-4be20a8f556faabc",
|
|
375
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/0:type"],
|
|
376
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
377
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0",
|
|
378
|
+
"keyword": "type",
|
|
379
|
+
"instance": [],
|
|
380
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
381
|
+
},
|
|
346
382
|
{
|
|
347
383
|
"caseId": "build-input-invalid-4ca2d5c2a4c6e2da",
|
|
348
384
|
"coveredRuleIds": [
|
|
@@ -365,6 +401,17 @@
|
|
|
365
401
|
"instance": [],
|
|
366
402
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
367
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"caseId": "build-input-invalid-50656203b97713b4",
|
|
406
|
+
"coveredRuleIds": [
|
|
407
|
+
"build-input:#/$defs/newsletter/oneOf/1/properties/replyToOwner:type"
|
|
408
|
+
],
|
|
409
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
410
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/replyToOwner",
|
|
411
|
+
"keyword": "type",
|
|
412
|
+
"instance": null,
|
|
413
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
414
|
+
},
|
|
368
415
|
{
|
|
369
416
|
"caseId": "build-input-invalid-5160c43a9ce03f79",
|
|
370
417
|
"coveredRuleIds": ["build-input:#/$defs/renderableBody:type"],
|
|
@@ -549,6 +596,28 @@
|
|
|
549
596
|
"instance": {},
|
|
550
597
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
551
598
|
},
|
|
599
|
+
{
|
|
600
|
+
"caseId": "build-input-invalid-7fa52f89a889bfdd",
|
|
601
|
+
"coveredRuleIds": [
|
|
602
|
+
"build-input:#/$defs/contactFormNormalized/properties/fields/properties/website:type"
|
|
603
|
+
],
|
|
604
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
605
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/fields/properties/website",
|
|
606
|
+
"keyword": "type",
|
|
607
|
+
"instance": null,
|
|
608
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"caseId": "build-input-invalid-82915b0ca730ad93",
|
|
612
|
+
"coveredRuleIds": [
|
|
613
|
+
"build-input:#/$defs/contactFormNormalized/properties/fields:type"
|
|
614
|
+
],
|
|
615
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
616
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/fields",
|
|
617
|
+
"keyword": "type",
|
|
618
|
+
"instance": [],
|
|
619
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
620
|
+
},
|
|
552
621
|
{
|
|
553
622
|
"caseId": "build-input-invalid-83b99669772effaa",
|
|
554
623
|
"coveredRuleIds": [
|
|
@@ -591,6 +660,17 @@
|
|
|
591
660
|
"instance": [],
|
|
592
661
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
593
662
|
},
|
|
663
|
+
{
|
|
664
|
+
"caseId": "build-input-invalid-97552aeb3e611a05",
|
|
665
|
+
"coveredRuleIds": [
|
|
666
|
+
"build-input:#/$defs/interactionsConfig/properties/follows/properties/enabled:type"
|
|
667
|
+
],
|
|
668
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
669
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/follows/properties/enabled",
|
|
670
|
+
"keyword": "type",
|
|
671
|
+
"instance": null,
|
|
672
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
673
|
+
},
|
|
594
674
|
{
|
|
595
675
|
"caseId": "build-input-invalid-976ba1d28cfe7135",
|
|
596
676
|
"coveredRuleIds": [
|
|
@@ -1008,6 +1088,17 @@
|
|
|
1008
1088
|
"instance": {},
|
|
1009
1089
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1010
1090
|
},
|
|
1091
|
+
{
|
|
1092
|
+
"caseId": "build-input-invalid-ef2e216df59ceeec",
|
|
1093
|
+
"coveredRuleIds": [
|
|
1094
|
+
"build-input:#/$defs/contactFormNormalized/properties/enabled:type"
|
|
1095
|
+
],
|
|
1096
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1097
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/enabled",
|
|
1098
|
+
"keyword": "type",
|
|
1099
|
+
"instance": null,
|
|
1100
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1101
|
+
},
|
|
1011
1102
|
{
|
|
1012
1103
|
"caseId": "build-input-invalid-efd6541a84a1ff8b",
|
|
1013
1104
|
"coveredRuleIds": [
|
|
@@ -1046,6 +1137,17 @@
|
|
|
1046
1137
|
"instance": [],
|
|
1047
1138
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1048
1139
|
},
|
|
1140
|
+
{
|
|
1141
|
+
"caseId": "build-input-invalid-f796726231ec46c4",
|
|
1142
|
+
"coveredRuleIds": [
|
|
1143
|
+
"build-input:#/$defs/contactFormNormalized/properties/fields/properties/phone:type"
|
|
1144
|
+
],
|
|
1145
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1146
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/fields/properties/phone",
|
|
1147
|
+
"keyword": "type",
|
|
1148
|
+
"instance": null,
|
|
1149
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1150
|
+
},
|
|
1049
1151
|
{
|
|
1050
1152
|
"caseId": "build-input-invalid-f8db59dc047c5635",
|
|
1051
1153
|
"coveredRuleIds": [
|
|
@@ -1056,5 +1158,14 @@
|
|
|
1056
1158
|
"keyword": "type",
|
|
1057
1159
|
"instance": {},
|
|
1058
1160
|
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"caseId": "build-input-invalid-fdc7d38e04138614",
|
|
1164
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter/oneOf/1:type"],
|
|
1165
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1166
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
1167
|
+
"keyword": "type",
|
|
1168
|
+
"instance": [],
|
|
1169
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
1059
1170
|
}
|
|
1060
1171
|
]
|
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
"instance": {},
|
|
11
11
|
"expectedCodes": ["SCHEMA_UNION_INVALID"]
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "build-input-invalid-6c9f23151b21ce3e",
|
|
15
|
+
"coveredRuleIds": ["build-input:#/$defs/newsletter:oneOf"],
|
|
16
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
17
|
+
"schemaPointer": "#/$defs/newsletter",
|
|
18
|
+
"keyword": "oneOf",
|
|
19
|
+
"instance": { "outcome": "__invalid_union__" },
|
|
20
|
+
"expectedCodes": ["SCHEMA_UNION_INVALID"]
|
|
21
|
+
},
|
|
13
22
|
{
|
|
14
23
|
"caseId": "build-input-invalid-b7525a1ba3446a1d",
|
|
15
24
|
"coveredRuleIds": ["build-input:#/$defs/normalizedSource:oneOf"],
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
"instance": "decorative-invalid",
|
|
22
22
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "content-frontmatter-invalid-2bdcaca85709c1b8",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"content-frontmatter:#/allOf/2/then/properties/kind:const"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:content-frontmatter:2.0.0",
|
|
30
|
+
"schemaPointer": "#/allOf/2/then/properties/kind",
|
|
31
|
+
"keyword": "const",
|
|
32
|
+
"instance": "article-invalid",
|
|
33
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
34
|
+
},
|
|
24
35
|
{
|
|
25
36
|
"caseId": "content-frontmatter-invalid-623683b1e332c043",
|
|
26
37
|
"coveredRuleIds": [
|