@rathnasgala2/schemas 3.42.0 → 3.44.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.
Files changed (27) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +52 -22
  3. package/docs/catalogs/app-components.json +969 -59
  4. package/docs/catalogs/app-routes.json +288 -1
  5. package/docs/catalogs/schema-inventory.json +4 -4
  6. package/examples/valid/build-input/rules.json +81 -35
  7. package/fixtures/boundary/build-input/rules.json +107 -61
  8. package/fixtures/boundary/publication/rules.json +14 -14
  9. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -9
  10. package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +9 -9
  11. package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +10 -10
  12. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -11
  13. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -0
  14. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +31 -9
  15. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +62 -18
  16. package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +1 -1
  17. package/fixtures/manifest.json +414 -184
  18. package/fixtures/unknown-field/build-input/rules.json +48 -18
  19. package/generated/browser/validator-core.mjs +3 -3
  20. package/generated/typescript/contracts/build-input.d.ts +24 -17
  21. package/generated/typescript/contracts/publication.d.ts +1 -0
  22. package/openapi/http-catalog.json +340 -2
  23. package/openapi/openapi.yaml +5360 -787
  24. package/package.json +1 -1
  25. package/sbom.cdx.json +23 -23
  26. package/schemas/build-input.schema.json +21 -4
  27. package/schemas/publication.schema.json +3 -2
@@ -192,6 +192,17 @@
192
192
  "keyword": "minimum",
193
193
  "instance": 1
194
194
  },
195
+ {
196
+ "caseId": "build-input-boundary-0e24d257c4283756",
197
+ "coveredRuleIds": [
198
+ "build-input:#/$defs/resolvedSharing/properties/reddit/properties/community:pattern",
199
+ "build-input:#/$defs/resolvedSharing/properties/reddit/properties/community:type"
200
+ ],
201
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
202
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit/properties/community",
203
+ "keyword": "pattern",
204
+ "instance": "fixture"
205
+ },
195
206
  {
196
207
  "caseId": "build-input-boundary-0e79291d640235c8",
197
208
  "coveredRuleIds": [
@@ -893,6 +904,18 @@
893
904
  "direction": "maximum"
894
905
  }
895
906
  },
907
+ {
908
+ "caseId": "build-input-boundary-25af0edc4fc0b6fd",
909
+ "coveredRuleIds": [
910
+ "build-input:#/$defs/resolvedSharing/properties/x:additionalProperties",
911
+ "build-input:#/$defs/resolvedSharing/properties/x:required:via",
912
+ "build-input:#/$defs/resolvedSharing/properties/x:type"
913
+ ],
914
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
915
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x",
916
+ "keyword": "additionalProperties",
917
+ "instance": { "via": "fixture" }
918
+ },
896
919
  {
897
920
  "caseId": "build-input-boundary-26da2a785a313960",
898
921
  "coveredRuleIds": [
@@ -1248,6 +1271,17 @@
1248
1271
  "length": 1
1249
1272
  }
1250
1273
  },
1274
+ {
1275
+ "caseId": "build-input-boundary-339faaa882faa380",
1276
+ "coveredRuleIds": [
1277
+ "build-input:#/$defs/resolvedSharing/properties/x/properties/via:pattern",
1278
+ "build-input:#/$defs/resolvedSharing/properties/x/properties/via:type"
1279
+ ],
1280
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1281
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x/properties/via",
1282
+ "keyword": "pattern",
1283
+ "instance": "fixture"
1284
+ },
1251
1285
  {
1252
1286
  "caseId": "build-input-boundary-3578fe0c06a81bb7",
1253
1287
  "coveredRuleIds": [
@@ -1569,6 +1603,18 @@
1569
1603
  "keyword": "pattern",
1570
1604
  "instance": "2.0.0"
1571
1605
  },
1606
+ {
1607
+ "caseId": "build-input-boundary-429922e887b0f034",
1608
+ "coveredRuleIds": [
1609
+ "build-input:#/$defs/resolvedSharing/properties/reddit:additionalProperties",
1610
+ "build-input:#/$defs/resolvedSharing/properties/reddit:required:community",
1611
+ "build-input:#/$defs/resolvedSharing/properties/reddit:type"
1612
+ ],
1613
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1614
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit",
1615
+ "keyword": "additionalProperties",
1616
+ "instance": { "community": "fixture" }
1617
+ },
1572
1618
  {
1573
1619
  "caseId": "build-input-boundary-42b1fbeddb83c007",
1574
1620
  "coveredRuleIds": [
@@ -1922,6 +1968,17 @@
1922
1968
  "keyword": "additionalProperties",
1923
1969
  "instance": { "website": false, "phone": false }
1924
1970
  },
1971
+ {
1972
+ "caseId": "build-input-boundary-54610d48d00331c7",
1973
+ "coveredRuleIds": [
1974
+ "build-input:#/$defs/resolvedSharing/properties/targets:type",
1975
+ "build-input:#/$defs/resolvedSharing/properties/targets:uniqueItems"
1976
+ ],
1977
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1978
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
1979
+ "keyword": "type",
1980
+ "instance": ["copy-link"]
1981
+ },
1925
1982
  {
1926
1983
  "caseId": "build-input-boundary-548a269903bb2b36",
1927
1984
  "coveredRuleIds": [
@@ -2049,6 +2106,20 @@
2049
2106
  }
2050
2107
  ]
2051
2108
  },
2109
+ {
2110
+ "caseId": "build-input-boundary-5c9cc11c60f8ba1c",
2111
+ "coveredRuleIds": [
2112
+ "build-input:#/$defs/resolvedSharing/properties/targets:minItems"
2113
+ ],
2114
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2115
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
2116
+ "keyword": "minItems",
2117
+ "recipe": {
2118
+ "kind": "schema-array-boundary",
2119
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
2120
+ "length": 0
2121
+ }
2122
+ },
2052
2123
  {
2053
2124
  "caseId": "build-input-boundary-5cb7954e83d95729",
2054
2125
  "coveredRuleIds": [
@@ -2527,20 +2598,6 @@
2527
2598
  "direction": "maximum"
2528
2599
  }
2529
2600
  },
2530
- {
2531
- "caseId": "build-input-boundary-78978194b4b4cc73",
2532
- "coveredRuleIds": [
2533
- "build-input:#/$defs/sharing/properties/targets:maxItems"
2534
- ],
2535
- "schemaId": "urn:gala:schema:build-input:2.0.0",
2536
- "schemaPointer": "#/$defs/sharing/properties/targets",
2537
- "keyword": "maxItems",
2538
- "recipe": {
2539
- "kind": "schema-array-boundary",
2540
- "schemaPointer": "#/$defs/sharing/properties/targets",
2541
- "length": 11
2542
- }
2543
- },
2544
2601
  {
2545
2602
  "caseId": "build-input-boundary-78ca3cf5e98a607c",
2546
2603
  "coveredRuleIds": [
@@ -2802,20 +2859,6 @@
2802
2859
  "byteLength": 1
2803
2860
  }
2804
2861
  },
2805
- {
2806
- "caseId": "build-input-boundary-828f03cc5f6277b3",
2807
- "coveredRuleIds": [
2808
- "build-input:#/$defs/sharing/properties/targets:minItems"
2809
- ],
2810
- "schemaId": "urn:gala:schema:build-input:2.0.0",
2811
- "schemaPointer": "#/$defs/sharing/properties/targets",
2812
- "keyword": "minItems",
2813
- "recipe": {
2814
- "kind": "schema-array-boundary",
2815
- "schemaPointer": "#/$defs/sharing/properties/targets",
2816
- "length": 0
2817
- }
2818
- },
2819
2862
  {
2820
2863
  "caseId": "build-input-boundary-82929252730fbfcd",
2821
2864
  "coveredRuleIds": [
@@ -3110,6 +3153,16 @@
3110
3153
  "keyword": "additionalProperties",
3111
3154
  "instance": { "policy": "opt-in" }
3112
3155
  },
3156
+ {
3157
+ "caseId": "build-input-boundary-97243625854cd2a4",
3158
+ "coveredRuleIds": [
3159
+ "build-input:#/$defs/resolvedSharing/properties/targets/items:enum"
3160
+ ],
3161
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3162
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets/items",
3163
+ "keyword": "enum",
3164
+ "instance": "copy-link"
3165
+ },
3113
3166
  {
3114
3167
  "caseId": "build-input-boundary-97a60d8106bf8f79",
3115
3168
  "coveredRuleIds": [
@@ -3423,6 +3476,20 @@
3423
3476
  "keyword": "required",
3424
3477
  "instance": { "mediaType": "audio/mpeg" }
3425
3478
  },
3479
+ {
3480
+ "caseId": "build-input-boundary-a475c2683f8b3822",
3481
+ "coveredRuleIds": [
3482
+ "build-input:#/$defs/resolvedSharing/properties/targets:maxItems"
3483
+ ],
3484
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3485
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
3486
+ "keyword": "maxItems",
3487
+ "recipe": {
3488
+ "kind": "schema-array-boundary",
3489
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
3490
+ "length": 12
3491
+ }
3492
+ },
3426
3493
  {
3427
3494
  "caseId": "build-input-boundary-a4ff54d1e4ec7222",
3428
3495
  "coveredRuleIds": [
@@ -3554,17 +3621,6 @@
3554
3621
  }
3555
3622
  }
3556
3623
  },
3557
- {
3558
- "caseId": "build-input-boundary-ac3e4ccc674c61c9",
3559
- "coveredRuleIds": [
3560
- "build-input:#/$defs/sharing/properties/targets:type",
3561
- "build-input:#/$defs/sharing/properties/targets:uniqueItems"
3562
- ],
3563
- "schemaId": "urn:gala:schema:build-input:2.0.0",
3564
- "schemaPointer": "#/$defs/sharing/properties/targets",
3565
- "keyword": "type",
3566
- "instance": ["copy-link"]
3567
- },
3568
3624
  {
3569
3625
  "caseId": "build-input-boundary-ac832a2fd4123956",
3570
3626
  "coveredRuleIds": [
@@ -3991,18 +4047,6 @@
3991
4047
  "keyword": "additionalProperties",
3992
4048
  "instance": { "showMadeWith": false }
3993
4049
  },
3994
- {
3995
- "caseId": "build-input-boundary-c3007be347f752d2",
3996
- "coveredRuleIds": [
3997
- "build-input:#/$defs/sharing:additionalProperties",
3998
- "build-input:#/$defs/sharing:required:targets",
3999
- "build-input:#/$defs/sharing:type"
4000
- ],
4001
- "schemaId": "urn:gala:schema:build-input:2.0.0",
4002
- "schemaPointer": "#/$defs/sharing",
4003
- "keyword": "additionalProperties",
4004
- "instance": { "targets": ["copy-link"] }
4005
- },
4006
4050
  {
4007
4051
  "caseId": "build-input-boundary-c461c49bdfbe935a",
4008
4052
  "coveredRuleIds": [
@@ -4054,6 +4098,18 @@
4054
4098
  "keyword": "additionalProperties",
4055
4099
  "instance": { "allowed": ["light"], "default": "light" }
4056
4100
  },
4101
+ {
4102
+ "caseId": "build-input-boundary-c5c949e465be5aa7",
4103
+ "coveredRuleIds": [
4104
+ "build-input:#/$defs/resolvedSharing:additionalProperties",
4105
+ "build-input:#/$defs/resolvedSharing:required:targets",
4106
+ "build-input:#/$defs/resolvedSharing:type"
4107
+ ],
4108
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4109
+ "schemaPointer": "#/$defs/resolvedSharing",
4110
+ "keyword": "additionalProperties",
4111
+ "instance": { "targets": ["copy-link"] }
4112
+ },
4057
4113
  {
4058
4114
  "caseId": "build-input-boundary-c62401660c3811a7",
4059
4115
  "coveredRuleIds": [
@@ -4238,16 +4294,6 @@
4238
4294
  "keyword": "const",
4239
4295
  "instance": "built-in-default"
4240
4296
  },
4241
- {
4242
- "caseId": "build-input-boundary-d2eb877dfcf9dac4",
4243
- "coveredRuleIds": [
4244
- "build-input:#/$defs/sharing/properties/targets/items:enum"
4245
- ],
4246
- "schemaId": "urn:gala:schema:build-input:2.0.0",
4247
- "schemaPointer": "#/$defs/sharing/properties/targets/items",
4248
- "keyword": "enum",
4249
- "instance": "copy-link"
4250
- },
4251
4297
  {
4252
4298
  "caseId": "build-input-boundary-d4ccd2ee87068d89",
4253
4299
  "coveredRuleIds": [
@@ -652,20 +652,6 @@
652
652
  "keyword": "maximum",
653
653
  "instance": 50
654
654
  },
655
- {
656
- "caseId": "publication-boundary-78978194b4b4cc73",
657
- "coveredRuleIds": [
658
- "publication:#/$defs/sharing/properties/targets:maxItems"
659
- ],
660
- "schemaId": "urn:gala:schema:publication:2.0.0",
661
- "schemaPointer": "#/$defs/sharing/properties/targets",
662
- "keyword": "maxItems",
663
- "recipe": {
664
- "kind": "schema-array-boundary",
665
- "schemaPointer": "#/$defs/sharing/properties/targets",
666
- "length": 11
667
- }
668
- },
669
655
  {
670
656
  "caseId": "publication-boundary-828f03cc5f6277b3",
671
657
  "coveredRuleIds": [
@@ -906,6 +892,20 @@
906
892
  "keyword": "format",
907
893
  "instance": "en-US"
908
894
  },
895
+ {
896
+ "caseId": "publication-boundary-b1a35b932dad531b",
897
+ "coveredRuleIds": [
898
+ "publication:#/$defs/sharing/properties/targets:maxItems"
899
+ ],
900
+ "schemaId": "urn:gala:schema:publication:2.0.0",
901
+ "schemaPointer": "#/$defs/sharing/properties/targets",
902
+ "keyword": "maxItems",
903
+ "recipe": {
904
+ "kind": "schema-array-boundary",
905
+ "schemaPointer": "#/$defs/sharing/properties/targets",
906
+ "length": 12
907
+ }
908
+ },
909
909
  {
910
910
  "caseId": "publication-boundary-b394183662e569ad",
911
911
  "coveredRuleIds": [
@@ -77,15 +77,6 @@
77
77
  },
78
78
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
79
79
  },
80
- {
81
- "caseId": "build-input-invalid-189e08bc8655b952",
82
- "coveredRuleIds": ["build-input:#/$defs/sharing:additionalProperties"],
83
- "schemaId": "urn:gala:schema:build-input:2.0.0",
84
- "schemaPointer": "#/$defs/sharing",
85
- "keyword": "additionalProperties",
86
- "instance": { "targets": ["copy-link"], "unexpected": true },
87
- "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
88
- },
89
80
  {
90
81
  "caseId": "build-input-invalid-1f81fa4597994a19",
91
82
  "coveredRuleIds": [
@@ -296,6 +287,17 @@
296
287
  },
297
288
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
298
289
  },
290
+ {
291
+ "caseId": "build-input-invalid-37ea50a1ef7bf843",
292
+ "coveredRuleIds": [
293
+ "build-input:#/$defs/resolvedSharing:additionalProperties"
294
+ ],
295
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
296
+ "schemaPointer": "#/$defs/resolvedSharing",
297
+ "keyword": "additionalProperties",
298
+ "instance": { "targets": ["copy-link"], "unexpected": true },
299
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
300
+ },
299
301
  {
300
302
  "caseId": "build-input-invalid-3a3a81c31c4ec387",
301
303
  "coveredRuleIds": ["build-input:#/$defs/socialLink:additionalProperties"],
@@ -1346,6 +1348,17 @@
1346
1348
  },
1347
1349
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1348
1350
  },
1351
+ {
1352
+ "caseId": "build-input-invalid-e354f2874f7bf344",
1353
+ "coveredRuleIds": [
1354
+ "build-input:#/$defs/resolvedSharing/properties/x:additionalProperties"
1355
+ ],
1356
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1357
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x",
1358
+ "keyword": "additionalProperties",
1359
+ "instance": { "via": "fixture", "unexpected": true },
1360
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1361
+ },
1349
1362
  {
1350
1363
  "caseId": "build-input-invalid-e4555b825645018d",
1351
1364
  "coveredRuleIds": [
@@ -1357,6 +1370,17 @@
1357
1370
  "instance": { "unexpected": true },
1358
1371
  "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1359
1372
  },
1373
+ {
1374
+ "caseId": "build-input-invalid-e55500d099e79a27",
1375
+ "coveredRuleIds": [
1376
+ "build-input:#/$defs/resolvedSharing/properties/reddit:additionalProperties"
1377
+ ],
1378
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1379
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit",
1380
+ "keyword": "additionalProperties",
1381
+ "instance": { "community": "fixture", "unexpected": true },
1382
+ "expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
1383
+ },
1360
1384
  {
1361
1385
  "caseId": "build-input-invalid-fc5c9b4fd74f2d96",
1362
1386
  "coveredRuleIds": [
@@ -33,34 +33,34 @@
33
33
  "expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
34
34
  },
35
35
  {
36
- "caseId": "build-input-invalid-c3309a7bb211ffa6",
36
+ "caseId": "build-input-invalid-e2bfb348b8f4f086",
37
37
  "coveredRuleIds": [
38
- "build-input:#/$defs/sharing/properties/targets:uniqueItems"
38
+ "build-input:#/$defs/buildPackages/properties/dependencies:uniqueItems"
39
39
  ],
40
40
  "schemaId": "urn:gala:schema:build-input:2.0.0",
41
- "schemaPointer": "#/$defs/sharing/properties/targets",
41
+ "schemaPointer": "#/$defs/buildPackages/properties/dependencies",
42
42
  "keyword": "uniqueItems",
43
43
  "instance": [null, null],
44
44
  "expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
45
45
  },
46
46
  {
47
- "caseId": "build-input-invalid-e2bfb348b8f4f086",
47
+ "caseId": "build-input-invalid-e737176e9d7e8f69",
48
48
  "coveredRuleIds": [
49
- "build-input:#/$defs/buildPackages/properties/dependencies:uniqueItems"
49
+ "build-input:#/$defs/contentFrontmatterNormalized/properties/tags:uniqueItems"
50
50
  ],
51
51
  "schemaId": "urn:gala:schema:build-input:2.0.0",
52
- "schemaPointer": "#/$defs/buildPackages/properties/dependencies",
52
+ "schemaPointer": "#/$defs/contentFrontmatterNormalized/properties/tags",
53
53
  "keyword": "uniqueItems",
54
54
  "instance": [null, null],
55
55
  "expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
56
56
  },
57
57
  {
58
- "caseId": "build-input-invalid-e737176e9d7e8f69",
58
+ "caseId": "build-input-invalid-ec551594c4943174",
59
59
  "coveredRuleIds": [
60
- "build-input:#/$defs/contentFrontmatterNormalized/properties/tags:uniqueItems"
60
+ "build-input:#/$defs/resolvedSharing/properties/targets:uniqueItems"
61
61
  ],
62
62
  "schemaId": "urn:gala:schema:build-input:2.0.0",
63
- "schemaPointer": "#/$defs/contentFrontmatterNormalized/properties/tags",
63
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
64
64
  "keyword": "uniqueItems",
65
65
  "instance": [null, null],
66
66
  "expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
@@ -73,32 +73,32 @@
73
73
  "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
74
74
  },
75
75
  {
76
- "caseId": "build-input-invalid-23c3710671377946",
76
+ "caseId": "build-input-invalid-2933c5f5b1c3fba2",
77
77
  "coveredRuleIds": [
78
- "build-input:#/$defs/sharing/properties/targets:maxItems"
78
+ "build-input:#/$defs/buildPackages/properties/publisher:maxItems"
79
79
  ],
80
80
  "schemaId": "urn:gala:schema:build-input:2.0.0",
81
- "schemaPointer": "#/$defs/sharing/properties/targets",
81
+ "schemaPointer": "#/$defs/buildPackages/properties/publisher",
82
82
  "keyword": "maxItems",
83
83
  "recipe": {
84
84
  "kind": "schema-array-count",
85
- "schemaPointer": "#/$defs/sharing/properties/targets",
86
- "length": 12
85
+ "schemaPointer": "#/$defs/buildPackages/properties/publisher",
86
+ "length": 5
87
87
  },
88
88
  "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
89
89
  },
90
90
  {
91
- "caseId": "build-input-invalid-2933c5f5b1c3fba2",
91
+ "caseId": "build-input-invalid-2a8b439c57a56cca",
92
92
  "coveredRuleIds": [
93
- "build-input:#/$defs/buildPackages/properties/publisher:maxItems"
93
+ "build-input:#/$defs/resolvedSharing/properties/targets:maxItems"
94
94
  ],
95
95
  "schemaId": "urn:gala:schema:build-input:2.0.0",
96
- "schemaPointer": "#/$defs/buildPackages/properties/publisher",
96
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
97
97
  "keyword": "maxItems",
98
98
  "recipe": {
99
99
  "kind": "schema-array-count",
100
- "schemaPointer": "#/$defs/buildPackages/properties/publisher",
101
- "length": 5
100
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets",
101
+ "length": 13
102
102
  },
103
103
  "expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
104
104
  },
@@ -21,6 +21,17 @@
21
21
  "instance": "__invalid_enum__",
22
22
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
23
23
  },
24
+ {
25
+ "caseId": "build-input-invalid-0fc2ff941ed4cd61",
26
+ "coveredRuleIds": [
27
+ "build-input:#/$defs/resolvedSharing/properties/targets/items:enum"
28
+ ],
29
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
30
+ "schemaPointer": "#/$defs/resolvedSharing/properties/targets/items",
31
+ "keyword": "enum",
32
+ "instance": "__invalid_enum__",
33
+ "expectedCodes": ["SCHEMA_ENUM_INVALID"]
34
+ },
24
35
  {
25
36
  "caseId": "build-input-invalid-178b892df1c76f4f",
26
37
  "coveredRuleIds": ["build-input:#/$defs/socialLink/properties/type:enum"],
@@ -160,17 +171,6 @@
160
171
  "instance": "__invalid_enum__",
161
172
  "expectedCodes": ["SCHEMA_ENUM_INVALID"]
162
173
  },
163
- {
164
- "caseId": "build-input-invalid-8444bba6fbd5f6da",
165
- "coveredRuleIds": [
166
- "build-input:#/$defs/sharing/properties/targets/items:enum"
167
- ],
168
- "schemaId": "urn:gala:schema:build-input:2.0.0",
169
- "schemaPointer": "#/$defs/sharing/properties/targets/items",
170
- "keyword": "enum",
171
- "instance": "__invalid_enum__",
172
- "expectedCodes": ["SCHEMA_ENUM_INVALID"]
173
- },
174
174
  {
175
175
  "caseId": "build-input-invalid-927a9135b6784bbf",
176
176
  "coveredRuleIds": [
@@ -136,6 +136,17 @@
136
136
  "instance": "",
137
137
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
138
138
  },
139
+ {
140
+ "caseId": "build-input-invalid-dc9296be4f1ad6bb",
141
+ "coveredRuleIds": [
142
+ "build-input:#/$defs/resolvedSharing/properties/x/properties/via:pattern"
143
+ ],
144
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
145
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x/properties/via",
146
+ "keyword": "pattern",
147
+ "instance": "\u0000",
148
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
149
+ },
139
150
  {
140
151
  "caseId": "build-input-invalid-e1b12cc5c7e30288",
141
152
  "coveredRuleIds": ["build-input:#/$defs/reactionKey:pattern"],
@@ -177,5 +188,16 @@
177
188
  "keyword": "pattern",
178
189
  "instance": "",
179
190
  "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
191
+ },
192
+ {
193
+ "caseId": "build-input-invalid-f5739c7f8fea5ae8",
194
+ "coveredRuleIds": [
195
+ "build-input:#/$defs/resolvedSharing/properties/reddit/properties/community:pattern"
196
+ ],
197
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
198
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit/properties/community",
199
+ "keyword": "pattern",
200
+ "instance": "\u0000",
201
+ "expectedCodes": ["SCHEMA_PATTERN_INVALID"]
180
202
  }
181
203
  ]
@@ -1250,6 +1250,15 @@
1250
1250
  },
1251
1251
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1252
1252
  },
1253
+ {
1254
+ "caseId": "build-input-invalid-20980cb75f2dcae7",
1255
+ "coveredRuleIds": ["build-input:#/$defs/resolvedSharing:required:targets"],
1256
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1257
+ "schemaPointer": "#/$defs/resolvedSharing",
1258
+ "keyword": "required",
1259
+ "instance": {},
1260
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1261
+ },
1253
1262
  {
1254
1263
  "caseId": "build-input-invalid-22c47dad4e7d85ef",
1255
1264
  "coveredRuleIds": [
@@ -1786,15 +1795,6 @@
1786
1795
  },
1787
1796
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1788
1797
  },
1789
- {
1790
- "caseId": "build-input-invalid-46b1af4c87d1ad5f",
1791
- "coveredRuleIds": ["build-input:#/$defs/sharing:required:targets"],
1792
- "schemaId": "urn:gala:schema:build-input:2.0.0",
1793
- "schemaPointer": "#/$defs/sharing",
1794
- "keyword": "required",
1795
- "instance": {},
1796
- "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
1797
- },
1798
1798
  {
1799
1799
  "caseId": "build-input-invalid-488d858790057385",
1800
1800
  "coveredRuleIds": [
@@ -4482,6 +4482,17 @@
4482
4482
  },
4483
4483
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
4484
4484
  },
4485
+ {
4486
+ "caseId": "build-input-invalid-a2831986750056de",
4487
+ "coveredRuleIds": [
4488
+ "build-input:#/$defs/resolvedSharing/properties/x:required:via"
4489
+ ],
4490
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4491
+ "schemaPointer": "#/$defs/resolvedSharing/properties/x",
4492
+ "keyword": "required",
4493
+ "instance": {},
4494
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
4495
+ },
4485
4496
  {
4486
4497
  "caseId": "build-input-invalid-a421980e1e477348",
4487
4498
  "coveredRuleIds": [
@@ -6156,6 +6167,17 @@
6156
6167
  },
6157
6168
  "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
6158
6169
  },
6170
+ {
6171
+ "caseId": "build-input-invalid-e7dab8a0a5530436",
6172
+ "coveredRuleIds": [
6173
+ "build-input:#/$defs/resolvedSharing/properties/reddit:required:community"
6174
+ ],
6175
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
6176
+ "schemaPointer": "#/$defs/resolvedSharing/properties/reddit",
6177
+ "keyword": "required",
6178
+ "instance": {},
6179
+ "expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
6180
+ },
6159
6181
  {
6160
6182
  "caseId": "build-input-invalid-e7e729a536b1d6d5",
6161
6183
  "coveredRuleIds": [