@rathnasgala2/schemas 3.0.0 → 3.1.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/README.md +39 -42
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +557 -7
- package/docs/catalogs/app-components.json +435 -1
- package/docs/catalogs/app-routes.json +152 -2
- package/docs/catalogs/schema-inventory.json +15 -5
- package/examples/valid/artifact-manifest/rules.json +2 -2
- package/examples/valid/build-input/rules.json +341 -1
- package/examples/valid/build-provenance/rules.json +2 -2
- package/examples/valid/interactions-config/canonical.json +18 -0
- package/examples/valid/interactions-config/rules.json +529 -0
- package/fixtures/boundary/artifact-manifest/rules.json +2 -2
- package/fixtures/boundary/build-input/rules.json +408 -9
- package/fixtures/boundary/build-provenance/rules.json +2 -2
- package/fixtures/boundary/interactions-config/root.json +18 -0
- package/fixtures/boundary/interactions-config/rules.json +725 -0
- package/fixtures/invalid/artifact-manifest/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
- package/fixtures/invalid/artifact-manifest/SCHEMA_TYPE_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/HTTPS_URL_INVALID/cases.json +29 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +141 -0
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +20 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +379 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +190 -0
- package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
- package/fixtures/invalid/build-provenance/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
- package/fixtures/invalid/build-provenance/SCHEMA_TYPE_INVALID/cases.json +11 -0
- package/fixtures/invalid/interactions-config/BCP47_INVALID/cases.json +58 -0
- package/fixtures/invalid/interactions-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/DIGEST_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/EXTENSION_KEY_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/GRAPHEME_LENGTH_INVALID/cases.json +13 -0
- package/fixtures/invalid/interactions-config/HTTPS_URL_INVALID/cases.json +29 -0
- package/fixtures/invalid/interactions-config/ISO_COUNTRY_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
- package/fixtures/invalid/interactions-config/PLAIN_LABEL_INVALID/cases.json +31 -0
- package/fixtures/invalid/interactions-config/PLAIN_TEXT_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/REPOSITORY_GLOB_INVALID/cases.json +49 -0
- package/fixtures/invalid/interactions-config/REPOSITORY_PATH_INVALID/cases.json +62 -0
- package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +108 -0
- package/fixtures/invalid/interactions-config/RFC3339_INVALID/cases.json +29 -0
- package/fixtures/invalid/interactions-config/SCHEMA_ARRAY_TOO_LONG/cases.json +17 -0
- package/fixtures/invalid/interactions-config/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
- package/fixtures/invalid/interactions-config/SCHEMA_ENUM_INVALID/cases.json +13 -0
- package/fixtures/invalid/interactions-config/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_LARGE/cases.json +24 -0
- package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_SMALL/cases.json +24 -0
- package/fixtures/invalid/interactions-config/SCHEMA_PATTERN_INVALID/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +305 -0
- package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +175 -0
- package/fixtures/invalid/interactions-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
- package/fixtures/invalid/interactions-config/SEMVER_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/SEMVER_RANGE_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/SLUG_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/STABLE_ID_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/URN_INVALID/cases.json +38 -0
- package/fixtures/manifest.json +4287 -26
- package/fixtures/s2/empty-modules-placements.json +233 -3
- package/fixtures/s2/manifest.json +1 -0
- package/fixtures/unknown-field/artifact-manifest/rules.json +1 -1
- package/fixtures/unknown-field/build-input/rules.json +198 -1
- package/fixtures/unknown-field/build-provenance/rules.json +1 -1
- package/fixtures/unknown-field/interactions-config/root.json +19 -0
- package/fixtures/unknown-field/interactions-config/rules.json +227 -0
- package/generated/browser/validator-core.mjs +4 -3
- package/generated/typescript/contracts/artifact-manifest.d.ts +1 -1
- package/generated/typescript/contracts/build-input.d.ts +58 -1
- package/generated/typescript/contracts/build-provenance.d.ts +1 -1
- package/generated/typescript/contracts/interactions-config.d.ts +91 -0
- package/generated/typescript/index.d.ts +4 -0
- package/generated/typescript/index.js +14 -0
- package/openapi/http-catalog.json +230 -2
- package/openapi/openapi.yaml +5941 -1509
- package/package.json +2 -1
- package/sbom.cdx.json +23 -23
- package/schemas/artifact-manifest.schema.json +1 -1
- package/schemas/build-input.schema.json +117 -2
- package/schemas/build-provenance.schema.json +1 -1
- package/schemas/interactions-config.schema.json +222 -0
- package/src/internal/schema-validator.js +3 -0
|
@@ -37,6 +37,17 @@
|
|
|
37
37
|
},
|
|
38
38
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
39
39
|
},
|
|
40
|
+
{
|
|
41
|
+
"caseId": "build-input-invalid-02c922d39ce5bd6c",
|
|
42
|
+
"coveredRuleIds": [
|
|
43
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions:required:definitions"
|
|
44
|
+
],
|
|
45
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
46
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
|
|
47
|
+
"keyword": "required",
|
|
48
|
+
"instance": { "enabled": false },
|
|
49
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
50
|
+
},
|
|
40
51
|
{
|
|
41
52
|
"caseId": "build-input-invalid-04c4537da25ab3c9",
|
|
42
53
|
"coveredRuleIds": ["build-input:#:required:basePath"],
|
|
@@ -542,6 +553,17 @@
|
|
|
542
553
|
"instance": { "title": "fixture-1", "text": "fixture-1" },
|
|
543
554
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
544
555
|
},
|
|
556
|
+
{
|
|
557
|
+
"caseId": "build-input-invalid-0eb911ac3e176115",
|
|
558
|
+
"coveredRuleIds": [
|
|
559
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:required:allowReplies"
|
|
560
|
+
],
|
|
561
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
562
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/comments",
|
|
563
|
+
"keyword": "required",
|
|
564
|
+
"instance": { "enabled": false, "maxDepth": 1 },
|
|
565
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
566
|
+
},
|
|
545
567
|
{
|
|
546
568
|
"caseId": "build-input-invalid-0f00934b4650a00f",
|
|
547
569
|
"coveredRuleIds": ["build-input:#:required:inputDigest"],
|
|
@@ -773,6 +795,20 @@
|
|
|
773
795
|
},
|
|
774
796
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
775
797
|
},
|
|
798
|
+
{
|
|
799
|
+
"caseId": "build-input-invalid-12154ab45191bd98",
|
|
800
|
+
"coveredRuleIds": ["build-input:#/$defs/reactionDefinition:required:label"],
|
|
801
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
802
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
803
|
+
"keyword": "required",
|
|
804
|
+
"instance": {
|
|
805
|
+
"key": "fixture-1",
|
|
806
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
807
|
+
"order": 1,
|
|
808
|
+
"enabled": false
|
|
809
|
+
},
|
|
810
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
811
|
+
},
|
|
776
812
|
{
|
|
777
813
|
"caseId": "build-input-invalid-12231956486980db",
|
|
778
814
|
"coveredRuleIds": [
|
|
@@ -866,6 +902,33 @@
|
|
|
866
902
|
},
|
|
867
903
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
868
904
|
},
|
|
905
|
+
{
|
|
906
|
+
"caseId": "build-input-invalid-194853de9442c5a6",
|
|
907
|
+
"coveredRuleIds": [
|
|
908
|
+
"build-input:#/$defs/interactionsConfig:required:comments"
|
|
909
|
+
],
|
|
910
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
911
|
+
"schemaPointer": "#/$defs/interactionsConfig",
|
|
912
|
+
"keyword": "required",
|
|
913
|
+
"instance": {
|
|
914
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
915
|
+
"schemaVersion": "2.0.0",
|
|
916
|
+
"reactions": {
|
|
917
|
+
"enabled": false,
|
|
918
|
+
"definitions": [
|
|
919
|
+
{
|
|
920
|
+
"key": "fixture-1",
|
|
921
|
+
"label": "fixture-1",
|
|
922
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
923
|
+
"order": 1,
|
|
924
|
+
"enabled": false
|
|
925
|
+
}
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
929
|
+
},
|
|
930
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
931
|
+
},
|
|
869
932
|
{
|
|
870
933
|
"caseId": "build-input-invalid-195f840f13570e22",
|
|
871
934
|
"coveredRuleIds": [
|
|
@@ -902,6 +965,22 @@
|
|
|
902
965
|
},
|
|
903
966
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
904
967
|
},
|
|
968
|
+
{
|
|
969
|
+
"caseId": "build-input-invalid-1fcce2bac00c67ed",
|
|
970
|
+
"coveredRuleIds": [
|
|
971
|
+
"build-input:#/$defs/reactionDefinition:required:enabled"
|
|
972
|
+
],
|
|
973
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
974
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
975
|
+
"keyword": "required",
|
|
976
|
+
"instance": {
|
|
977
|
+
"key": "fixture-1",
|
|
978
|
+
"label": "fixture-1",
|
|
979
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
980
|
+
"order": 1
|
|
981
|
+
},
|
|
982
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
983
|
+
},
|
|
905
984
|
{
|
|
906
985
|
"caseId": "build-input-invalid-2035e602a293038d",
|
|
907
986
|
"coveredRuleIds": [
|
|
@@ -1427,6 +1506,33 @@
|
|
|
1427
1506
|
},
|
|
1428
1507
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1429
1508
|
},
|
|
1509
|
+
{
|
|
1510
|
+
"caseId": "build-input-invalid-46402142c4fa8736",
|
|
1511
|
+
"coveredRuleIds": [
|
|
1512
|
+
"build-input:#/$defs/interactionsConfig:required:publicCounts"
|
|
1513
|
+
],
|
|
1514
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1515
|
+
"schemaPointer": "#/$defs/interactionsConfig",
|
|
1516
|
+
"keyword": "required",
|
|
1517
|
+
"instance": {
|
|
1518
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
1519
|
+
"schemaVersion": "2.0.0",
|
|
1520
|
+
"reactions": {
|
|
1521
|
+
"enabled": false,
|
|
1522
|
+
"definitions": [
|
|
1523
|
+
{
|
|
1524
|
+
"key": "fixture-1",
|
|
1525
|
+
"label": "fixture-1",
|
|
1526
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
1527
|
+
"order": 1,
|
|
1528
|
+
"enabled": false
|
|
1529
|
+
}
|
|
1530
|
+
]
|
|
1531
|
+
},
|
|
1532
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 }
|
|
1533
|
+
},
|
|
1534
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1535
|
+
},
|
|
1430
1536
|
{
|
|
1431
1537
|
"caseId": "build-input-invalid-488d858790057385",
|
|
1432
1538
|
"coveredRuleIds": [
|
|
@@ -1509,6 +1615,37 @@
|
|
|
1509
1615
|
"instance": { "kind": "authored", "sourcePath": "content/fixture-1.md" },
|
|
1510
1616
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1511
1617
|
},
|
|
1618
|
+
{
|
|
1619
|
+
"caseId": "build-input-invalid-544f182e68e06e77",
|
|
1620
|
+
"coveredRuleIds": [
|
|
1621
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:required:appOrigin"
|
|
1622
|
+
],
|
|
1623
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1624
|
+
"schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
|
|
1625
|
+
"keyword": "required",
|
|
1626
|
+
"instance": {
|
|
1627
|
+
"config": {
|
|
1628
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
1629
|
+
"schemaVersion": "2.0.0",
|
|
1630
|
+
"reactions": {
|
|
1631
|
+
"enabled": false,
|
|
1632
|
+
"definitions": [
|
|
1633
|
+
{
|
|
1634
|
+
"key": "fixture-1",
|
|
1635
|
+
"label": "fixture-1",
|
|
1636
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
1637
|
+
"order": 1,
|
|
1638
|
+
"enabled": false
|
|
1639
|
+
}
|
|
1640
|
+
]
|
|
1641
|
+
},
|
|
1642
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
1643
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
1644
|
+
},
|
|
1645
|
+
"apiOrigin": "https://fixture-1.example.com"
|
|
1646
|
+
},
|
|
1647
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
1648
|
+
},
|
|
1512
1649
|
{
|
|
1513
1650
|
"caseId": "build-input-invalid-553d158dda3c192e",
|
|
1514
1651
|
"coveredRuleIds": ["build-input:#:required:repository"],
|
|
@@ -2503,6 +2640,15 @@
|
|
|
2503
2640
|
},
|
|
2504
2641
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2505
2642
|
},
|
|
2643
|
+
{
|
|
2644
|
+
"caseId": "build-input-invalid-7309a52fe711d3af",
|
|
2645
|
+
"coveredRuleIds": ["build-input:#/$defs/reactionVisual:required:token"],
|
|
2646
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2647
|
+
"schemaPointer": "#/$defs/reactionVisual",
|
|
2648
|
+
"keyword": "required",
|
|
2649
|
+
"instance": { "kind": "emoji" },
|
|
2650
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2651
|
+
},
|
|
2506
2652
|
{
|
|
2507
2653
|
"caseId": "build-input-invalid-74052d83465c31db",
|
|
2508
2654
|
"coveredRuleIds": ["build-input:#/$defs/packageIdentity:required:registry"],
|
|
@@ -2516,6 +2662,33 @@
|
|
|
2516
2662
|
},
|
|
2517
2663
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2518
2664
|
},
|
|
2665
|
+
{
|
|
2666
|
+
"caseId": "build-input-invalid-741e2ceacbd347da",
|
|
2667
|
+
"coveredRuleIds": [
|
|
2668
|
+
"build-input:#/$defs/interactionsConfig:required:schemaVersion"
|
|
2669
|
+
],
|
|
2670
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2671
|
+
"schemaPointer": "#/$defs/interactionsConfig",
|
|
2672
|
+
"keyword": "required",
|
|
2673
|
+
"instance": {
|
|
2674
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
2675
|
+
"reactions": {
|
|
2676
|
+
"enabled": false,
|
|
2677
|
+
"definitions": [
|
|
2678
|
+
{
|
|
2679
|
+
"key": "fixture-1",
|
|
2680
|
+
"label": "fixture-1",
|
|
2681
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
2682
|
+
"order": 1,
|
|
2683
|
+
"enabled": false
|
|
2684
|
+
}
|
|
2685
|
+
]
|
|
2686
|
+
},
|
|
2687
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
2688
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
2689
|
+
},
|
|
2690
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2691
|
+
},
|
|
2519
2692
|
{
|
|
2520
2693
|
"caseId": "build-input-invalid-74adabadaf55df4f",
|
|
2521
2694
|
"coveredRuleIds": [
|
|
@@ -2558,6 +2731,22 @@
|
|
|
2558
2731
|
},
|
|
2559
2732
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2560
2733
|
},
|
|
2734
|
+
{
|
|
2735
|
+
"caseId": "build-input-invalid-755adc9093311741",
|
|
2736
|
+
"coveredRuleIds": [
|
|
2737
|
+
"build-input:#/$defs/reactionDefinition:required:visual"
|
|
2738
|
+
],
|
|
2739
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2740
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
2741
|
+
"keyword": "required",
|
|
2742
|
+
"instance": {
|
|
2743
|
+
"key": "fixture-1",
|
|
2744
|
+
"label": "fixture-1",
|
|
2745
|
+
"order": 1,
|
|
2746
|
+
"enabled": false
|
|
2747
|
+
},
|
|
2748
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2749
|
+
},
|
|
2561
2750
|
{
|
|
2562
2751
|
"caseId": "build-input-invalid-75c65af51d045269",
|
|
2563
2752
|
"coveredRuleIds": [
|
|
@@ -2620,6 +2809,17 @@
|
|
|
2620
2809
|
},
|
|
2621
2810
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2622
2811
|
},
|
|
2812
|
+
{
|
|
2813
|
+
"caseId": "build-input-invalid-79bda698cbb72581",
|
|
2814
|
+
"coveredRuleIds": [
|
|
2815
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts:required:comments"
|
|
2816
|
+
],
|
|
2817
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2818
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
|
|
2819
|
+
"keyword": "required",
|
|
2820
|
+
"instance": { "reactions": false },
|
|
2821
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2822
|
+
},
|
|
2623
2823
|
{
|
|
2624
2824
|
"caseId": "build-input-invalid-7cbb4a6520cbfe3d",
|
|
2625
2825
|
"coveredRuleIds": ["build-input:#/$defs/buildPackages:required:template"],
|
|
@@ -2907,6 +3107,17 @@
|
|
|
2907
3107
|
},
|
|
2908
3108
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
2909
3109
|
},
|
|
3110
|
+
{
|
|
3111
|
+
"caseId": "build-input-invalid-7ef10b57f3901e1f",
|
|
3112
|
+
"coveredRuleIds": [
|
|
3113
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:required:enabled"
|
|
3114
|
+
],
|
|
3115
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3116
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/comments",
|
|
3117
|
+
"keyword": "required",
|
|
3118
|
+
"instance": { "allowReplies": false, "maxDepth": 1 },
|
|
3119
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3120
|
+
},
|
|
2910
3121
|
{
|
|
2911
3122
|
"caseId": "build-input-invalid-7f080df943b1735b",
|
|
2912
3123
|
"coveredRuleIds": ["build-input:#/$defs/buildPackages:required:theme"],
|
|
@@ -3070,6 +3281,20 @@
|
|
|
3070
3281
|
},
|
|
3071
3282
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3072
3283
|
},
|
|
3284
|
+
{
|
|
3285
|
+
"caseId": "build-input-invalid-880420ad27806f01",
|
|
3286
|
+
"coveredRuleIds": [
|
|
3287
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:required:config"
|
|
3288
|
+
],
|
|
3289
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3290
|
+
"schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
|
|
3291
|
+
"keyword": "required",
|
|
3292
|
+
"instance": {
|
|
3293
|
+
"apiOrigin": "https://fixture-1.example.com",
|
|
3294
|
+
"appOrigin": "https://fixture-1.example.com"
|
|
3295
|
+
},
|
|
3296
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3297
|
+
},
|
|
3073
3298
|
{
|
|
3074
3299
|
"caseId": "build-input-invalid-8828fd45dc08f315",
|
|
3075
3300
|
"coveredRuleIds": ["build-input:#:required:authors"],
|
|
@@ -3565,6 +3790,31 @@
|
|
|
3565
3790
|
},
|
|
3566
3791
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3567
3792
|
},
|
|
3793
|
+
{
|
|
3794
|
+
"caseId": "build-input-invalid-96235a88df9e02d2",
|
|
3795
|
+
"coveredRuleIds": [
|
|
3796
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:required:maxDepth"
|
|
3797
|
+
],
|
|
3798
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3799
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/comments",
|
|
3800
|
+
"keyword": "required",
|
|
3801
|
+
"instance": { "enabled": false, "allowReplies": false },
|
|
3802
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"caseId": "build-input-invalid-9727dff1bdd80245",
|
|
3806
|
+
"coveredRuleIds": ["build-input:#/$defs/reactionDefinition:required:order"],
|
|
3807
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3808
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
3809
|
+
"keyword": "required",
|
|
3810
|
+
"instance": {
|
|
3811
|
+
"key": "fixture-1",
|
|
3812
|
+
"label": "fixture-1",
|
|
3813
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
3814
|
+
"enabled": false
|
|
3815
|
+
},
|
|
3816
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3817
|
+
},
|
|
3568
3818
|
{
|
|
3569
3819
|
"caseId": "build-input-invalid-986ea3863631a873",
|
|
3570
3820
|
"coveredRuleIds": ["build-input:#/$defs/navigationLeaf:required:children"],
|
|
@@ -3598,6 +3848,20 @@
|
|
|
3598
3848
|
"instance": { "type": "website" },
|
|
3599
3849
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3600
3850
|
},
|
|
3851
|
+
{
|
|
3852
|
+
"caseId": "build-input-invalid-9ed06e2c56835937",
|
|
3853
|
+
"coveredRuleIds": ["build-input:#/$defs/reactionDefinition:required:key"],
|
|
3854
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3855
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
3856
|
+
"keyword": "required",
|
|
3857
|
+
"instance": {
|
|
3858
|
+
"label": "fixture-1",
|
|
3859
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
3860
|
+
"order": 1,
|
|
3861
|
+
"enabled": false
|
|
3862
|
+
},
|
|
3863
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
3864
|
+
},
|
|
3601
3865
|
{
|
|
3602
3866
|
"caseId": "build-input-invalid-9fe5e6012c08e843",
|
|
3603
3867
|
"coveredRuleIds": [
|
|
@@ -4272,6 +4536,17 @@
|
|
|
4272
4536
|
},
|
|
4273
4537
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4274
4538
|
},
|
|
4539
|
+
{
|
|
4540
|
+
"caseId": "build-input-invalid-b8b3263ebe48b07d",
|
|
4541
|
+
"coveredRuleIds": [
|
|
4542
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts:required:reactions"
|
|
4543
|
+
],
|
|
4544
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4545
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
|
|
4546
|
+
"keyword": "required",
|
|
4547
|
+
"instance": { "comments": false },
|
|
4548
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4549
|
+
},
|
|
4275
4550
|
{
|
|
4276
4551
|
"caseId": "build-input-invalid-b98f5b8c1b9d901b",
|
|
4277
4552
|
"coveredRuleIds": ["build-input:#/$defs/authorNormalized:required:id"],
|
|
@@ -4395,6 +4670,31 @@
|
|
|
4395
4670
|
"instance": {},
|
|
4396
4671
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4397
4672
|
},
|
|
4673
|
+
{
|
|
4674
|
+
"caseId": "build-input-invalid-c0ad6d145217a678",
|
|
4675
|
+
"coveredRuleIds": [
|
|
4676
|
+
"build-input:#/$defs/interactionsConfig:required:reactions"
|
|
4677
|
+
],
|
|
4678
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4679
|
+
"schemaPointer": "#/$defs/interactionsConfig",
|
|
4680
|
+
"keyword": "required",
|
|
4681
|
+
"instance": {
|
|
4682
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
4683
|
+
"schemaVersion": "2.0.0",
|
|
4684
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
4685
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
4686
|
+
},
|
|
4687
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4688
|
+
},
|
|
4689
|
+
{
|
|
4690
|
+
"caseId": "build-input-invalid-c4c6580cb2e52b4d",
|
|
4691
|
+
"coveredRuleIds": ["build-input:#/$defs/reactionVisual:required:kind"],
|
|
4692
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4693
|
+
"schemaPointer": "#/$defs/reactionVisual",
|
|
4694
|
+
"keyword": "required",
|
|
4695
|
+
"instance": { "token": "👍" },
|
|
4696
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4697
|
+
},
|
|
4398
4698
|
{
|
|
4399
4699
|
"caseId": "build-input-invalid-c527ccec2e3fb796",
|
|
4400
4700
|
"coveredRuleIds": [
|
|
@@ -4406,6 +4706,27 @@
|
|
|
4406
4706
|
"instance": {},
|
|
4407
4707
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4408
4708
|
},
|
|
4709
|
+
{
|
|
4710
|
+
"caseId": "build-input-invalid-c5ac9268326dfe0d",
|
|
4711
|
+
"coveredRuleIds": [
|
|
4712
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions:required:enabled"
|
|
4713
|
+
],
|
|
4714
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4715
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
|
|
4716
|
+
"keyword": "required",
|
|
4717
|
+
"instance": {
|
|
4718
|
+
"definitions": [
|
|
4719
|
+
{
|
|
4720
|
+
"key": "fixture-1",
|
|
4721
|
+
"label": "fixture-1",
|
|
4722
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
4723
|
+
"order": 1,
|
|
4724
|
+
"enabled": false
|
|
4725
|
+
}
|
|
4726
|
+
]
|
|
4727
|
+
},
|
|
4728
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
4729
|
+
},
|
|
4409
4730
|
{
|
|
4410
4731
|
"caseId": "build-input-invalid-caceff020bcd7de2",
|
|
4411
4732
|
"coveredRuleIds": ["build-input:#:required:modules"],
|
|
@@ -5604,6 +5925,37 @@
|
|
|
5604
5925
|
},
|
|
5605
5926
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5606
5927
|
},
|
|
5928
|
+
{
|
|
5929
|
+
"caseId": "build-input-invalid-f3c6d59dab042229",
|
|
5930
|
+
"coveredRuleIds": [
|
|
5931
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:required:apiOrigin"
|
|
5932
|
+
],
|
|
5933
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
5934
|
+
"schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
|
|
5935
|
+
"keyword": "required",
|
|
5936
|
+
"instance": {
|
|
5937
|
+
"config": {
|
|
5938
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
5939
|
+
"schemaVersion": "2.0.0",
|
|
5940
|
+
"reactions": {
|
|
5941
|
+
"enabled": false,
|
|
5942
|
+
"definitions": [
|
|
5943
|
+
{
|
|
5944
|
+
"key": "fixture-1",
|
|
5945
|
+
"label": "fixture-1",
|
|
5946
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
5947
|
+
"order": 1,
|
|
5948
|
+
"enabled": false
|
|
5949
|
+
}
|
|
5950
|
+
]
|
|
5951
|
+
},
|
|
5952
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
5953
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
5954
|
+
},
|
|
5955
|
+
"appOrigin": "https://fixture-1.example.com"
|
|
5956
|
+
},
|
|
5957
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
5958
|
+
},
|
|
5607
5959
|
{
|
|
5608
5960
|
"caseId": "build-input-invalid-f55daacf0bd10221",
|
|
5609
5961
|
"coveredRuleIds": ["build-input:#:required:baseUrl"],
|
|
@@ -6016,6 +6368,33 @@
|
|
|
6016
6368
|
},
|
|
6017
6369
|
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6018
6370
|
},
|
|
6371
|
+
{
|
|
6372
|
+
"caseId": "build-input-invalid-f80d4872e19a5fcc",
|
|
6373
|
+
"coveredRuleIds": [
|
|
6374
|
+
"build-input:#/$defs/interactionsConfig:required:schemaId"
|
|
6375
|
+
],
|
|
6376
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
6377
|
+
"schemaPointer": "#/$defs/interactionsConfig",
|
|
6378
|
+
"keyword": "required",
|
|
6379
|
+
"instance": {
|
|
6380
|
+
"schemaVersion": "2.0.0",
|
|
6381
|
+
"reactions": {
|
|
6382
|
+
"enabled": false,
|
|
6383
|
+
"definitions": [
|
|
6384
|
+
{
|
|
6385
|
+
"key": "fixture-1",
|
|
6386
|
+
"label": "fixture-1",
|
|
6387
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
6388
|
+
"order": 1,
|
|
6389
|
+
"enabled": false
|
|
6390
|
+
}
|
|
6391
|
+
]
|
|
6392
|
+
},
|
|
6393
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
6394
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
6395
|
+
},
|
|
6396
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
6397
|
+
},
|
|
6019
6398
|
{
|
|
6020
6399
|
"caseId": "build-input-invalid-fb9fffd9ee81eb63",
|
|
6021
6400
|
"coveredRuleIds": ["build-input:#/$defs/packageIdentity:required:package"],
|