@rathnasgala2/schemas 3.15.0 → 3.16.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 +12 -7
- package/diagnostics/diagnostic-map.json +399 -4
- package/docs/catalogs/app-routes.json +7 -2
- package/docs/catalogs/schema-inventory.json +15 -5
- package/examples/valid/analytics-config/canonical.json +6 -0
- package/examples/valid/analytics-config/rules.json +334 -0
- package/examples/valid/build-input/rules.json +202 -0
- package/examples/valid/publication/rules.json +49 -0
- package/examples/valid/theme-contract/rules.json +64 -4
- package/fixtures/boundary/analytics-config/root.json +6 -0
- package/fixtures/boundary/analytics-config/rules.json +470 -0
- package/fixtures/boundary/build-input/rules.json +207 -0
- package/fixtures/boundary/publication/rules.json +54 -0
- package/fixtures/boundary/theme-contract/rules.json +64 -4
- package/fixtures/invalid/analytics-config/BCP47_INVALID/cases.json +56 -0
- package/fixtures/invalid/analytics-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
- package/fixtures/invalid/analytics-config/DIGEST_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/EXTENSION_KEY_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/HTTPS_URL_INVALID/cases.json +29 -0
- package/fixtures/invalid/analytics-config/ISO_COUNTRY_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
- package/fixtures/invalid/analytics-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
- package/fixtures/invalid/analytics-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
- package/fixtures/invalid/analytics-config/PLAIN_LABEL_INVALID/cases.json +31 -0
- package/fixtures/invalid/analytics-config/PLAIN_TEXT_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/REPOSITORY_GLOB_INVALID/cases.json +47 -0
- package/fixtures/invalid/analytics-config/REPOSITORY_PATH_INVALID/cases.json +58 -0
- package/fixtures/invalid/analytics-config/REQUEST_FIELD_UNKNOWN/cases.json +46 -0
- package/fixtures/invalid/analytics-config/RFC3339_INVALID/cases.json +29 -0
- package/fixtures/invalid/analytics-config/SCHEMA_ENUM_INVALID/cases.json +24 -0
- package/fixtures/invalid/analytics-config/SCHEMA_PATTERN_INVALID/cases.json +13 -0
- package/fixtures/invalid/analytics-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +92 -0
- package/fixtures/invalid/analytics-config/SCHEMA_TYPE_INVALID/cases.json +40 -0
- package/fixtures/invalid/analytics-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
- package/fixtures/invalid/analytics-config/SEMVER_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/SEMVER_RANGE_INVALID/cases.json +38 -0
- package/fixtures/invalid/analytics-config/SLUG_INVALID/cases.json +38 -0
- package/fixtures/invalid/analytics-config/STABLE_ID_INVALID/cases.json +20 -0
- package/fixtures/invalid/analytics-config/URN_INVALID/cases.json +38 -0
- package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +137 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +194 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +71 -0
- package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
- package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +28 -0
- package/fixtures/invalid/publication/SCHEMA_PATTERN_INVALID/cases.json +11 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +44 -0
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +33 -22
- package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +33 -0
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +22 -0
- package/fixtures/manifest.json +3066 -16
- package/fixtures/s2/empty-modules-placements.json +452 -0
- package/fixtures/s2/manifest.json +2 -0
- package/fixtures/unknown-field/analytics-config/root.json +7 -0
- package/fixtures/unknown-field/analytics-config/rules.json +131 -0
- package/fixtures/unknown-field/build-input/rules.json +162 -0
- package/fixtures/unknown-field/publication/rules.json +38 -0
- package/fixtures/unknown-field/theme-contract/rules.json +8 -2
- package/generated/browser/validator-core.mjs +4 -3
- package/generated/typescript/contracts/analytics-config.d.ts +54 -0
- package/generated/typescript/contracts/build-input.d.ts +26 -0
- package/generated/typescript/contracts/publication.d.ts +11 -0
- package/generated/typescript/index.d.ts +4 -0
- package/generated/typescript/index.js +14 -0
- package/openapi/http-catalog.json +54 -2
- package/openapi/openapi.yaml +4564 -3334
- package/package.json +4 -1
- package/sbom.cdx.json +23 -23
- package/schemas/analytics-config.schema.json +161 -0
- package/schemas/build-input.schema.json +66 -0
- package/schemas/publication.schema.json +22 -0
- package/schemas/theme-contract.schema.json +25 -3
- package/site-policy-defaults.json +10 -0
- package/src/internal/schema-validator.js +3 -0
|
@@ -11,6 +11,16 @@
|
|
|
11
11
|
"length": 100000
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
+
{
|
|
15
|
+
"caseId": "build-input-boundary-01ba27ae243485bf",
|
|
16
|
+
"coveredRuleIds": [
|
|
17
|
+
"build-input:#/$defs/analyticsConfig/properties/consent/properties/policy:enum"
|
|
18
|
+
],
|
|
19
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
20
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/consent/properties/policy",
|
|
21
|
+
"keyword": "enum",
|
|
22
|
+
"instance": "opt-in"
|
|
23
|
+
},
|
|
14
24
|
{
|
|
15
25
|
"caseId": "build-input-boundary-02fa045274157fb7",
|
|
16
26
|
"coveredRuleIds": [
|
|
@@ -738,6 +748,17 @@
|
|
|
738
748
|
"keyword": "anyOf",
|
|
739
749
|
"instance": "@rathnasgala2/theme-default@2.0.0"
|
|
740
750
|
},
|
|
751
|
+
{
|
|
752
|
+
"caseId": "build-input-boundary-2745c12f44849f20",
|
|
753
|
+
"coveredRuleIds": [
|
|
754
|
+
"build-input:#/$defs/analyticsConfig/properties/provider/properties/measurementId:pattern",
|
|
755
|
+
"build-input:#/$defs/analyticsConfig/properties/provider/properties/measurementId:type"
|
|
756
|
+
],
|
|
757
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
758
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/provider/properties/measurementId",
|
|
759
|
+
"keyword": "pattern",
|
|
760
|
+
"instance": "G-ABC123XYZ"
|
|
761
|
+
},
|
|
741
762
|
{
|
|
742
763
|
"caseId": "build-input-boundary-293ccca9525d626b",
|
|
743
764
|
"coveredRuleIds": [
|
|
@@ -1621,6 +1642,16 @@
|
|
|
1621
1642
|
"keyword": "pattern",
|
|
1622
1643
|
"instance": "#000000"
|
|
1623
1644
|
},
|
|
1645
|
+
{
|
|
1646
|
+
"caseId": "build-input-boundary-5b2e58e0b8dc512c",
|
|
1647
|
+
"coveredRuleIds": [
|
|
1648
|
+
"build-input:#/$defs/analyticsConfig/properties/schemaVersion:const"
|
|
1649
|
+
],
|
|
1650
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1651
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/schemaVersion",
|
|
1652
|
+
"keyword": "const",
|
|
1653
|
+
"instance": "2.0.0"
|
|
1654
|
+
},
|
|
1624
1655
|
{
|
|
1625
1656
|
"caseId": "build-input-boundary-5b5e96f439400c47",
|
|
1626
1657
|
"coveredRuleIds": [
|
|
@@ -1950,6 +1981,16 @@
|
|
|
1950
1981
|
"keyword": "type",
|
|
1951
1982
|
"instance": false
|
|
1952
1983
|
},
|
|
1984
|
+
{
|
|
1985
|
+
"caseId": "build-input-boundary-70216f61994a0467",
|
|
1986
|
+
"coveredRuleIds": [
|
|
1987
|
+
"build-input:#/$defs/analyticsConfig/properties/schemaId:const"
|
|
1988
|
+
],
|
|
1989
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1990
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/schemaId",
|
|
1991
|
+
"keyword": "const",
|
|
1992
|
+
"instance": "urn:gala:schema:analytics-config:2.0.0"
|
|
1993
|
+
},
|
|
1953
1994
|
{
|
|
1954
1995
|
"caseId": "build-input-boundary-7024f381e5441094",
|
|
1955
1996
|
"coveredRuleIds": [
|
|
@@ -2495,6 +2536,18 @@
|
|
|
2495
2536
|
"keyword": "const",
|
|
2496
2537
|
"instance": "2.0.0"
|
|
2497
2538
|
},
|
|
2539
|
+
{
|
|
2540
|
+
"caseId": "build-input-boundary-960f2e24ba565de2",
|
|
2541
|
+
"coveredRuleIds": [
|
|
2542
|
+
"build-input:#/$defs/analyticsConfig/properties/consent:additionalProperties",
|
|
2543
|
+
"build-input:#/$defs/analyticsConfig/properties/consent:required:policy",
|
|
2544
|
+
"build-input:#/$defs/analyticsConfig/properties/consent:type"
|
|
2545
|
+
],
|
|
2546
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2547
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/consent",
|
|
2548
|
+
"keyword": "additionalProperties",
|
|
2549
|
+
"instance": { "policy": "opt-in" }
|
|
2550
|
+
},
|
|
2498
2551
|
{
|
|
2499
2552
|
"caseId": "build-input-boundary-97a60d8106bf8f79",
|
|
2500
2553
|
"coveredRuleIds": [
|
|
@@ -2523,6 +2576,21 @@
|
|
|
2523
2576
|
"generationId": "019c0000-0000-7000-8000-000000000001"
|
|
2524
2577
|
}
|
|
2525
2578
|
},
|
|
2579
|
+
{
|
|
2580
|
+
"caseId": "build-input-boundary-98ea8c924d214e92",
|
|
2581
|
+
"coveredRuleIds": [
|
|
2582
|
+
"build-input:#/$defs/policyPageNormalized/properties/title:x-gala-graphemeLength"
|
|
2583
|
+
],
|
|
2584
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2585
|
+
"schemaPointer": "#/$defs/policyPageNormalized/properties/title",
|
|
2586
|
+
"keyword": "x-gala-graphemeLength",
|
|
2587
|
+
"recipe": {
|
|
2588
|
+
"kind": "schema-string-boundary",
|
|
2589
|
+
"schemaPointer": "#/$defs/policyPageNormalized/properties/title",
|
|
2590
|
+
"length": 80,
|
|
2591
|
+
"direction": "maximum"
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2526
2594
|
{
|
|
2527
2595
|
"caseId": "build-input-boundary-9947410750b1befa",
|
|
2528
2596
|
"coveredRuleIds": [
|
|
@@ -2839,6 +2907,33 @@
|
|
|
2839
2907
|
"length": 3
|
|
2840
2908
|
}
|
|
2841
2909
|
},
|
|
2910
|
+
{
|
|
2911
|
+
"caseId": "build-input-boundary-ab6c1372d3dda01a",
|
|
2912
|
+
"coveredRuleIds": [
|
|
2913
|
+
"build-input:#/$defs/policyPageNormalized:additionalProperties",
|
|
2914
|
+
"build-input:#/$defs/policyPageNormalized:required:body",
|
|
2915
|
+
"build-input:#/$defs/policyPageNormalized:required:title",
|
|
2916
|
+
"build-input:#/$defs/policyPageNormalized:type"
|
|
2917
|
+
],
|
|
2918
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2919
|
+
"schemaPointer": "#/$defs/policyPageNormalized",
|
|
2920
|
+
"keyword": "additionalProperties",
|
|
2921
|
+
"instance": {
|
|
2922
|
+
"title": "fixture-1",
|
|
2923
|
+
"body": {
|
|
2924
|
+
"sourcePath": "content/fixture-1.md",
|
|
2925
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
2926
|
+
"bodyMediaType": "text/html",
|
|
2927
|
+
"body": "fixture-1",
|
|
2928
|
+
"bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
2929
|
+
"renderPolicy": {
|
|
2930
|
+
"name": "gala-render-policy",
|
|
2931
|
+
"version": "2.0.0",
|
|
2932
|
+
"digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
},
|
|
2842
2937
|
{
|
|
2843
2938
|
"caseId": "build-input-boundary-ac832a2fd4123956",
|
|
2844
2939
|
"coveredRuleIds": [
|
|
@@ -2867,6 +2962,73 @@
|
|
|
2867
2962
|
}
|
|
2868
2963
|
]
|
|
2869
2964
|
},
|
|
2965
|
+
{
|
|
2966
|
+
"caseId": "build-input-boundary-ad3f81560086e644",
|
|
2967
|
+
"coveredRuleIds": [
|
|
2968
|
+
"build-input:#/$defs/analyticsConfig:additionalProperties",
|
|
2969
|
+
"build-input:#/$defs/analyticsConfig:required:consent",
|
|
2970
|
+
"build-input:#/$defs/analyticsConfig:required:provider",
|
|
2971
|
+
"build-input:#/$defs/analyticsConfig:required:schemaId",
|
|
2972
|
+
"build-input:#/$defs/analyticsConfig:required:schemaVersion",
|
|
2973
|
+
"build-input:#/$defs/analyticsConfig:type"
|
|
2974
|
+
],
|
|
2975
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2976
|
+
"schemaPointer": "#/$defs/analyticsConfig",
|
|
2977
|
+
"keyword": "additionalProperties",
|
|
2978
|
+
"instance": {
|
|
2979
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
2980
|
+
"schemaVersion": "2.0.0",
|
|
2981
|
+
"provider": {
|
|
2982
|
+
"kind": "google-analytics-4",
|
|
2983
|
+
"measurementId": "G-ABC123XYZ"
|
|
2984
|
+
},
|
|
2985
|
+
"consent": { "policy": "opt-in" }
|
|
2986
|
+
}
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"caseId": "build-input-boundary-b0cf6852cbeef306",
|
|
2990
|
+
"coveredRuleIds": [
|
|
2991
|
+
"build-input:#/$defs/policiesNormalized:additionalProperties",
|
|
2992
|
+
"build-input:#/$defs/policiesNormalized:required:privacy",
|
|
2993
|
+
"build-input:#/$defs/policiesNormalized:required:terms",
|
|
2994
|
+
"build-input:#/$defs/policiesNormalized:type"
|
|
2995
|
+
],
|
|
2996
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
2997
|
+
"schemaPointer": "#/$defs/policiesNormalized",
|
|
2998
|
+
"keyword": "additionalProperties",
|
|
2999
|
+
"instance": {
|
|
3000
|
+
"terms": {
|
|
3001
|
+
"title": "fixture-1",
|
|
3002
|
+
"body": {
|
|
3003
|
+
"sourcePath": "content/fixture-1.md",
|
|
3004
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
3005
|
+
"bodyMediaType": "text/html",
|
|
3006
|
+
"body": "fixture-1",
|
|
3007
|
+
"bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
3008
|
+
"renderPolicy": {
|
|
3009
|
+
"name": "gala-render-policy",
|
|
3010
|
+
"version": "2.0.0",
|
|
3011
|
+
"digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
3015
|
+
"privacy": {
|
|
3016
|
+
"title": "fixture-1",
|
|
3017
|
+
"body": {
|
|
3018
|
+
"sourcePath": "content/fixture-1.md",
|
|
3019
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
3020
|
+
"bodyMediaType": "text/html",
|
|
3021
|
+
"body": "fixture-1",
|
|
3022
|
+
"bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
3023
|
+
"renderPolicy": {
|
|
3024
|
+
"name": "gala-render-policy",
|
|
3025
|
+
"version": "2.0.0",
|
|
3026
|
+
"digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
},
|
|
2870
3032
|
{
|
|
2871
3033
|
"caseId": "build-input-boundary-b16096e9a6998b94",
|
|
2872
3034
|
"coveredRuleIds": [
|
|
@@ -3473,6 +3635,28 @@
|
|
|
3473
3635
|
"direction": "maximum"
|
|
3474
3636
|
}
|
|
3475
3637
|
},
|
|
3638
|
+
{
|
|
3639
|
+
"caseId": "build-input-boundary-d72f68c3a956fc37",
|
|
3640
|
+
"coveredRuleIds": [
|
|
3641
|
+
"build-input:#/$defs/moduleBuildSelection/properties/analytics:additionalProperties",
|
|
3642
|
+
"build-input:#/$defs/moduleBuildSelection/properties/analytics:required:config",
|
|
3643
|
+
"build-input:#/$defs/moduleBuildSelection/properties/analytics:type"
|
|
3644
|
+
],
|
|
3645
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
3646
|
+
"schemaPointer": "#/$defs/moduleBuildSelection/properties/analytics",
|
|
3647
|
+
"keyword": "additionalProperties",
|
|
3648
|
+
"instance": {
|
|
3649
|
+
"config": {
|
|
3650
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
3651
|
+
"schemaVersion": "2.0.0",
|
|
3652
|
+
"provider": {
|
|
3653
|
+
"kind": "google-analytics-4",
|
|
3654
|
+
"measurementId": "G-ABC123XYZ"
|
|
3655
|
+
},
|
|
3656
|
+
"consent": { "policy": "opt-in" }
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
},
|
|
3476
3660
|
{
|
|
3477
3661
|
"caseId": "build-input-boundary-d74f0c9e553e593e",
|
|
3478
3662
|
"coveredRuleIds": [
|
|
@@ -3844,6 +4028,16 @@
|
|
|
3844
4028
|
"length": 100
|
|
3845
4029
|
}
|
|
3846
4030
|
},
|
|
4031
|
+
{
|
|
4032
|
+
"caseId": "build-input-boundary-f05f02979583abc9",
|
|
4033
|
+
"coveredRuleIds": [
|
|
4034
|
+
"build-input:#/$defs/analyticsConfig/properties/provider/properties/kind:enum"
|
|
4035
|
+
],
|
|
4036
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4037
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/provider/properties/kind",
|
|
4038
|
+
"keyword": "enum",
|
|
4039
|
+
"instance": "google-analytics-4"
|
|
4040
|
+
},
|
|
3847
4041
|
{
|
|
3848
4042
|
"caseId": "build-input-boundary-f072a8d84ef69342",
|
|
3849
4043
|
"coveredRuleIds": [
|
|
@@ -3928,6 +4122,19 @@
|
|
|
3928
4122
|
"keyword": "const",
|
|
3929
4123
|
"instance": "text/html"
|
|
3930
4124
|
},
|
|
4125
|
+
{
|
|
4126
|
+
"caseId": "build-input-boundary-fa474e0e4cd06514",
|
|
4127
|
+
"coveredRuleIds": [
|
|
4128
|
+
"build-input:#/$defs/analyticsConfig/properties/provider:additionalProperties",
|
|
4129
|
+
"build-input:#/$defs/analyticsConfig/properties/provider:required:kind",
|
|
4130
|
+
"build-input:#/$defs/analyticsConfig/properties/provider:required:measurementId",
|
|
4131
|
+
"build-input:#/$defs/analyticsConfig/properties/provider:type"
|
|
4132
|
+
],
|
|
4133
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
4134
|
+
"schemaPointer": "#/$defs/analyticsConfig/properties/provider",
|
|
4135
|
+
"keyword": "additionalProperties",
|
|
4136
|
+
"instance": { "kind": "google-analytics-4", "measurementId": "G-ABC123XYZ" }
|
|
4137
|
+
},
|
|
3931
4138
|
{
|
|
3932
4139
|
"caseId": "build-input-boundary-fccde880d12f5b9a",
|
|
3933
4140
|
"coveredRuleIds": [
|
|
@@ -78,6 +78,21 @@
|
|
|
78
78
|
"length": 1
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"caseId": "publication-boundary-171f48663081750d",
|
|
83
|
+
"coveredRuleIds": [
|
|
84
|
+
"publication:#/$defs/policyPage/properties/title:x-gala-graphemeLength"
|
|
85
|
+
],
|
|
86
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
87
|
+
"schemaPointer": "#/$defs/policyPage/properties/title",
|
|
88
|
+
"keyword": "x-gala-graphemeLength",
|
|
89
|
+
"recipe": {
|
|
90
|
+
"kind": "schema-string-boundary",
|
|
91
|
+
"schemaPointer": "#/$defs/policyPage/properties/title",
|
|
92
|
+
"length": 80,
|
|
93
|
+
"direction": "maximum"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
81
96
|
{
|
|
82
97
|
"caseId": "publication-boundary-181255b07e180d55",
|
|
83
98
|
"coveredRuleIds": [
|
|
@@ -237,6 +252,22 @@
|
|
|
237
252
|
"keyword": "additionalProperties",
|
|
238
253
|
"instance": { "route": "/fixture-1", "body": "content/fixture-1.md" }
|
|
239
254
|
},
|
|
255
|
+
{
|
|
256
|
+
"caseId": "publication-boundary-370d9cfab817dcf6",
|
|
257
|
+
"coveredRuleIds": [
|
|
258
|
+
"publication:#/$defs/publicationPolicies:additionalProperties",
|
|
259
|
+
"publication:#/$defs/publicationPolicies:required:privacy",
|
|
260
|
+
"publication:#/$defs/publicationPolicies:required:terms",
|
|
261
|
+
"publication:#/$defs/publicationPolicies:type"
|
|
262
|
+
],
|
|
263
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
264
|
+
"schemaPointer": "#/$defs/publicationPolicies",
|
|
265
|
+
"keyword": "additionalProperties",
|
|
266
|
+
"instance": {
|
|
267
|
+
"terms": { "title": "fixture-1", "body": "content/fixture-1.md" },
|
|
268
|
+
"privacy": { "title": "fixture-1", "body": "content/fixture-1.md" }
|
|
269
|
+
}
|
|
270
|
+
},
|
|
240
271
|
{
|
|
241
272
|
"caseId": "publication-boundary-3fa7f1868d3b6fb8",
|
|
242
273
|
"coveredRuleIds": [
|
|
@@ -581,6 +612,19 @@
|
|
|
581
612
|
"length": 32
|
|
582
613
|
}
|
|
583
614
|
},
|
|
615
|
+
{
|
|
616
|
+
"caseId": "publication-boundary-bc43f26463b8f209",
|
|
617
|
+
"coveredRuleIds": [
|
|
618
|
+
"publication:#/$defs/policyPage:additionalProperties",
|
|
619
|
+
"publication:#/$defs/policyPage:required:body",
|
|
620
|
+
"publication:#/$defs/policyPage:required:title",
|
|
621
|
+
"publication:#/$defs/policyPage:type"
|
|
622
|
+
],
|
|
623
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
624
|
+
"schemaPointer": "#/$defs/policyPage",
|
|
625
|
+
"keyword": "additionalProperties",
|
|
626
|
+
"instance": { "title": "fixture-1", "body": "content/fixture-1.md" }
|
|
627
|
+
},
|
|
584
628
|
{
|
|
585
629
|
"caseId": "publication-boundary-bd984d4491127cb9",
|
|
586
630
|
"coveredRuleIds": [
|
|
@@ -606,6 +650,16 @@
|
|
|
606
650
|
"direction": "maximum"
|
|
607
651
|
}
|
|
608
652
|
},
|
|
653
|
+
{
|
|
654
|
+
"caseId": "publication-boundary-c361402aaeb0dfad",
|
|
655
|
+
"coveredRuleIds": [
|
|
656
|
+
"publication:#/$defs/policyPage/properties/body:pattern"
|
|
657
|
+
],
|
|
658
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
659
|
+
"schemaPointer": "#/$defs/policyPage/properties/body",
|
|
660
|
+
"keyword": "pattern",
|
|
661
|
+
"instance": "content/fixture-1.md"
|
|
662
|
+
},
|
|
609
663
|
{
|
|
610
664
|
"caseId": "publication-boundary-c490f6fec525db4f",
|
|
611
665
|
"coveredRuleIds": ["publication:#/$defs/urn:maxLength"],
|
|
@@ -671,6 +671,16 @@
|
|
|
671
671
|
"keyword": "const",
|
|
672
672
|
"instance": "shadow-dialog"
|
|
673
673
|
},
|
|
674
|
+
{
|
|
675
|
+
"caseId": "theme-contract-boundary-1c0e141cb1aed5cf",
|
|
676
|
+
"coveredRuleIds": [
|
|
677
|
+
"theme-contract:#/allOf/2/then/allOf/7/if:required:contractVersion"
|
|
678
|
+
],
|
|
679
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
680
|
+
"schemaPointer": "#/allOf/2/then/allOf/7/if",
|
|
681
|
+
"keyword": "required",
|
|
682
|
+
"instance": { "contractVersion": "4.1.0" }
|
|
683
|
+
},
|
|
674
684
|
{
|
|
675
685
|
"caseId": "theme-contract-boundary-1c2dcd3536e1550b",
|
|
676
686
|
"coveredRuleIds": [
|
|
@@ -829,6 +839,16 @@
|
|
|
829
839
|
"keyword": "required",
|
|
830
840
|
"instance": { "themeId": "zebra" }
|
|
831
841
|
},
|
|
842
|
+
{
|
|
843
|
+
"caseId": "theme-contract-boundary-22646c2085cc6cb9",
|
|
844
|
+
"coveredRuleIds": [
|
|
845
|
+
"theme-contract:#/allOf/2/then/allOf/6/if:required:contractVersion"
|
|
846
|
+
],
|
|
847
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
848
|
+
"schemaPointer": "#/allOf/2/then/allOf/6/if",
|
|
849
|
+
"keyword": "required",
|
|
850
|
+
"instance": { "contractVersion": "4.0.0" }
|
|
851
|
+
},
|
|
832
852
|
{
|
|
833
853
|
"caseId": "theme-contract-boundary-22ae1be64875b951",
|
|
834
854
|
"coveredRuleIds": [
|
|
@@ -1546,6 +1566,16 @@
|
|
|
1546
1566
|
"keyword": "enum",
|
|
1547
1567
|
"instance": "auto"
|
|
1548
1568
|
},
|
|
1569
|
+
{
|
|
1570
|
+
"caseId": "theme-contract-boundary-3ff608b083c288af",
|
|
1571
|
+
"coveredRuleIds": [
|
|
1572
|
+
"theme-contract:#/allOf/2/then/allOf/7/if/properties/contractVersion:const"
|
|
1573
|
+
],
|
|
1574
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
1575
|
+
"schemaPointer": "#/allOf/2/then/allOf/7/if/properties/contractVersion",
|
|
1576
|
+
"keyword": "const",
|
|
1577
|
+
"instance": "4.1.0"
|
|
1578
|
+
},
|
|
1549
1579
|
{
|
|
1550
1580
|
"caseId": "theme-contract-boundary-415832f8709ada42",
|
|
1551
1581
|
"coveredRuleIds": [
|
|
@@ -2378,11 +2408,11 @@
|
|
|
2378
2408
|
{
|
|
2379
2409
|
"caseId": "theme-contract-boundary-66a791d1c9813b95",
|
|
2380
2410
|
"coveredRuleIds": [
|
|
2381
|
-
"theme-contract:#/allOf/2/if/properties/contractVersion:
|
|
2411
|
+
"theme-contract:#/allOf/2/if/properties/contractVersion:enum"
|
|
2382
2412
|
],
|
|
2383
2413
|
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
2384
2414
|
"schemaPointer": "#/allOf/2/if/properties/contractVersion",
|
|
2385
|
-
"keyword": "
|
|
2415
|
+
"keyword": "enum",
|
|
2386
2416
|
"instance": "4.0.0"
|
|
2387
2417
|
},
|
|
2388
2418
|
{
|
|
@@ -4459,6 +4489,16 @@
|
|
|
4459
4489
|
"keyword": "format",
|
|
4460
4490
|
"instance": "en-US"
|
|
4461
4491
|
},
|
|
4492
|
+
{
|
|
4493
|
+
"caseId": "theme-contract-boundary-b1a60825d3ada4fe",
|
|
4494
|
+
"coveredRuleIds": [
|
|
4495
|
+
"theme-contract:#/allOf/2/then/allOf/6/then/properties/templateRange:enum"
|
|
4496
|
+
],
|
|
4497
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4498
|
+
"schemaPointer": "#/allOf/2/then/allOf/6/then/properties/templateRange",
|
|
4499
|
+
"keyword": "enum",
|
|
4500
|
+
"instance": "^4.0.0"
|
|
4501
|
+
},
|
|
4462
4502
|
{
|
|
4463
4503
|
"caseId": "theme-contract-boundary-b1c6b51c2000c5c5",
|
|
4464
4504
|
"coveredRuleIds": [
|
|
@@ -4828,6 +4868,16 @@
|
|
|
4828
4868
|
"keyword": "const",
|
|
4829
4869
|
"instance": "border-width"
|
|
4830
4870
|
},
|
|
4871
|
+
{
|
|
4872
|
+
"caseId": "theme-contract-boundary-c09103bb0b3144cd",
|
|
4873
|
+
"coveredRuleIds": [
|
|
4874
|
+
"theme-contract:#/allOf/2/then/allOf/7/then/properties/templateRange:const"
|
|
4875
|
+
],
|
|
4876
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
4877
|
+
"schemaPointer": "#/allOf/2/then/allOf/7/then/properties/templateRange",
|
|
4878
|
+
"keyword": "const",
|
|
4879
|
+
"instance": "^4.4.0"
|
|
4880
|
+
},
|
|
4831
4881
|
{
|
|
4832
4882
|
"caseId": "theme-contract-boundary-c0f056ca4fbf9776",
|
|
4833
4883
|
"coveredRuleIds": [
|
|
@@ -5042,11 +5092,11 @@
|
|
|
5042
5092
|
{
|
|
5043
5093
|
"caseId": "theme-contract-boundary-ca7db2353ee526fe",
|
|
5044
5094
|
"coveredRuleIds": [
|
|
5045
|
-
"theme-contract:#/allOf/3/then/properties/contractVersion:
|
|
5095
|
+
"theme-contract:#/allOf/3/then/properties/contractVersion:enum"
|
|
5046
5096
|
],
|
|
5047
5097
|
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5048
5098
|
"schemaPointer": "#/allOf/3/then/properties/contractVersion",
|
|
5049
|
-
"keyword": "
|
|
5099
|
+
"keyword": "enum",
|
|
5050
5100
|
"instance": "4.0.0"
|
|
5051
5101
|
},
|
|
5052
5102
|
{
|
|
@@ -5420,6 +5470,16 @@
|
|
|
5420
5470
|
"keyword": "required",
|
|
5421
5471
|
"instance": { "composition": null }
|
|
5422
5472
|
},
|
|
5473
|
+
{
|
|
5474
|
+
"caseId": "theme-contract-boundary-dc0370a41214c3e4",
|
|
5475
|
+
"coveredRuleIds": [
|
|
5476
|
+
"theme-contract:#/allOf/2/then/allOf/6/if/properties/contractVersion:const"
|
|
5477
|
+
],
|
|
5478
|
+
"schemaId": "urn:gala:schema:theme-contract:2.0.0",
|
|
5479
|
+
"schemaPointer": "#/allOf/2/then/allOf/6/if/properties/contractVersion",
|
|
5480
|
+
"keyword": "const",
|
|
5481
|
+
"instance": "4.0.0"
|
|
5482
|
+
},
|
|
5423
5483
|
{
|
|
5424
5484
|
"caseId": "theme-contract-boundary-dc1935da08adc8e9",
|
|
5425
5485
|
"coveredRuleIds": [
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-0cc22a751f476f4e",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/bcp47:format"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
7
|
+
"keyword": "format",
|
|
8
|
+
"instance": "en-us",
|
|
9
|
+
"expectedCodes": ["BCP47_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-0f8b206fd5ed99e9",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/bcp47:minLength"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
16
|
+
"keyword": "minLength",
|
|
17
|
+
"instance": "",
|
|
18
|
+
"expectedCodes": ["BCP47_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-2217ec28966f4a1e",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/bcp47:x-gala-utf8ByteLength"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
25
|
+
"keyword": "x-gala-utf8ByteLength",
|
|
26
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 256 },
|
|
27
|
+
"expectedCodes": ["BCP47_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-60cec8da06e99b24",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/bcp47:maxLength"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
34
|
+
"keyword": "maxLength",
|
|
35
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 256 },
|
|
36
|
+
"expectedCodes": ["BCP47_INVALID"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "analytics-config-invalid-b6569bd29b64e01a",
|
|
40
|
+
"coveredRuleIds": ["analytics-config:#/$defs/bcp47:pattern"],
|
|
41
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
42
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
43
|
+
"keyword": "pattern",
|
|
44
|
+
"instance": "",
|
|
45
|
+
"expectedCodes": ["BCP47_INVALID"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"caseId": "analytics-config-invalid-ba37bbc3f218a3d4",
|
|
49
|
+
"coveredRuleIds": ["analytics-config:#/$defs/bcp47:type"],
|
|
50
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
51
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
52
|
+
"keyword": "type",
|
|
53
|
+
"instance": null,
|
|
54
|
+
"expectedCodes": ["BCP47_INVALID"]
|
|
55
|
+
}
|
|
56
|
+
]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-48bba0cc8206459a",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/canonicalRoute:format"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/canonicalRoute",
|
|
7
|
+
"keyword": "format",
|
|
8
|
+
"instance": "/../x",
|
|
9
|
+
"expectedCodes": ["CANONICAL_ROUTE_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-7be906c8e3f6239a",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/canonicalRoute:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/canonicalRoute",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["CANONICAL_ROUTE_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-99ad9025558dcc4a",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/canonicalRoute:pattern"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/canonicalRoute",
|
|
25
|
+
"keyword": "pattern",
|
|
26
|
+
"instance": "",
|
|
27
|
+
"expectedCodes": ["CANONICAL_ROUTE_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-ed7dc3e299a84336",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/canonicalRoute:minLength"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/canonicalRoute",
|
|
34
|
+
"keyword": "minLength",
|
|
35
|
+
"instance": "",
|
|
36
|
+
"expectedCodes": ["CANONICAL_ROUTE_INVALID"]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-80cd203691d77d40",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/digest:pattern"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/digest",
|
|
7
|
+
"keyword": "pattern",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["DIGEST_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-bf441eb13af7aa6a",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/digest:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/digest",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["DIGEST_INVALID"]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-3614e084aba6719e",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/extensionKey:type"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/extensionKey",
|
|
7
|
+
"keyword": "type",
|
|
8
|
+
"instance": null,
|
|
9
|
+
"expectedCodes": ["EXTENSION_KEY_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-9672fe58564964a6",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/extensionKey:format"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/extensionKey",
|
|
16
|
+
"keyword": "format",
|
|
17
|
+
"instance": "gala.core",
|
|
18
|
+
"expectedCodes": ["EXTENSION_KEY_INVALID"]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-4adb4e41f0ab7b60",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/gitObjectId:type"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/gitObjectId",
|
|
7
|
+
"keyword": "type",
|
|
8
|
+
"instance": null,
|
|
9
|
+
"expectedCodes": ["GIT_OBJECT_ID_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-d86b1eaabe916878",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/gitObjectId:pattern"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/gitObjectId",
|
|
16
|
+
"keyword": "pattern",
|
|
17
|
+
"instance": "",
|
|
18
|
+
"expectedCodes": ["GIT_OBJECT_ID_INVALID"]
|
|
19
|
+
}
|
|
20
|
+
]
|