@rathnasgala2/schemas 3.14.1 → 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 +41 -34
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +399 -4
- package/docs/catalogs/app-components.json +3421 -4320
- package/docs/catalogs/app-routes.json +1921 -2435
- 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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-5eee64c4f8a2e08c",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/urlHttps:format"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/urlHttps",
|
|
7
|
+
"keyword": "format",
|
|
8
|
+
"instance": "https://%/",
|
|
9
|
+
"expectedCodes": ["HTTPS_URL_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-c5e620c67625e74b",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/urlHttps:pattern"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/urlHttps",
|
|
16
|
+
"keyword": "pattern",
|
|
17
|
+
"instance": "",
|
|
18
|
+
"expectedCodes": ["HTTPS_URL_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-de16cd06ac352828",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/urlHttps:type"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/urlHttps",
|
|
25
|
+
"keyword": "type",
|
|
26
|
+
"instance": null,
|
|
27
|
+
"expectedCodes": ["HTTPS_URL_INVALID"]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-cac9d996200296b7",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/isoCountry:pattern"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/isoCountry",
|
|
7
|
+
"keyword": "pattern",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["ISO_COUNTRY_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-e03682eb55bbf46c",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/isoCountry:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/isoCountry",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["ISO_COUNTRY_INVALID"]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-1ed68ac323bc2c4d",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageExact:minLength"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/packageExact",
|
|
7
|
+
"keyword": "minLength",
|
|
8
|
+
"instance": "aa",
|
|
9
|
+
"expectedCodes": ["PACKAGE_EXACT_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-323f2d0e9d3d8072",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageExact:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/packageExact",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["PACKAGE_EXACT_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-59324bdc36ac73ec",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageExact:pattern"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/packageExact",
|
|
25
|
+
"keyword": "pattern",
|
|
26
|
+
"instance": "",
|
|
27
|
+
"expectedCodes": ["PACKAGE_EXACT_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-6519df8df64fa143",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageExact:format"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/packageExact",
|
|
34
|
+
"keyword": "format",
|
|
35
|
+
"instance": "a@latest",
|
|
36
|
+
"expectedCodes": ["PACKAGE_EXACT_INVALID"]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-39f47a25004f2cf0",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageRange:minLength"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/packageRange",
|
|
7
|
+
"keyword": "minLength",
|
|
8
|
+
"instance": "aa",
|
|
9
|
+
"expectedCodes": ["PACKAGE_RANGE_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-669e71371b9a06be",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageRange:pattern"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/packageRange",
|
|
16
|
+
"keyword": "pattern",
|
|
17
|
+
"instance": "",
|
|
18
|
+
"expectedCodes": ["PACKAGE_RANGE_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-dbeff6db017b160a",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageRange:format"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/packageRange",
|
|
25
|
+
"keyword": "format",
|
|
26
|
+
"instance": "a@latest",
|
|
27
|
+
"expectedCodes": ["PACKAGE_RANGE_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-e13bfe4a90f75a7f",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/packageRange:type"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/packageRange",
|
|
34
|
+
"keyword": "type",
|
|
35
|
+
"instance": null,
|
|
36
|
+
"expectedCodes": ["PACKAGE_RANGE_INVALID"]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-6532bc1e4fcab956",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/passiveVisualToken:false"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/passiveVisualToken",
|
|
7
|
+
"keyword": "false",
|
|
8
|
+
"instance": null,
|
|
9
|
+
"expectedCodes": ["PASSIVE_VISUAL_TOKEN_INVALID"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-9b1e51d0d353dbe4",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/plainLabel:format"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/plainLabel",
|
|
7
|
+
"keyword": "format",
|
|
8
|
+
"instance": "<",
|
|
9
|
+
"expectedCodes": ["PLAIN_LABEL_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-b0dffe2b57324828",
|
|
13
|
+
"coveredRuleIds": [
|
|
14
|
+
"analytics-config:#/$defs/plainLabel:x-gala-graphemeLength"
|
|
15
|
+
],
|
|
16
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
17
|
+
"schemaPointer": "#/$defs/plainLabel",
|
|
18
|
+
"keyword": "x-gala-graphemeLength",
|
|
19
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 81 },
|
|
20
|
+
"expectedCodes": ["PLAIN_LABEL_INVALID"]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"caseId": "analytics-config-invalid-ea81d24d8cfb2768",
|
|
24
|
+
"coveredRuleIds": ["analytics-config:#/$defs/plainLabel:type"],
|
|
25
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
26
|
+
"schemaPointer": "#/$defs/plainLabel",
|
|
27
|
+
"keyword": "type",
|
|
28
|
+
"instance": null,
|
|
29
|
+
"expectedCodes": ["PLAIN_LABEL_INVALID"]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-14093ded816ceacc",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/plainText:type"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/plainText",
|
|
7
|
+
"keyword": "type",
|
|
8
|
+
"instance": null,
|
|
9
|
+
"expectedCodes": ["PLAIN_TEXT_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-ed79f7fad9b3d29b",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/plainText:format"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/plainText",
|
|
16
|
+
"keyword": "format",
|
|
17
|
+
"instance": "\u0000",
|
|
18
|
+
"expectedCodes": ["PLAIN_TEXT_INVALID"]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-0a579d2c0ee3ef39",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/glob:minLength"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/glob",
|
|
7
|
+
"keyword": "minLength",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["REPOSITORY_GLOB_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-3abd1abc87722ba2",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/glob:x-gala-utf8ByteLength"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/glob",
|
|
16
|
+
"keyword": "x-gala-utf8ByteLength",
|
|
17
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 257 },
|
|
18
|
+
"expectedCodes": ["REPOSITORY_GLOB_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-8b0fce57817a4855",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/glob:format"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/glob",
|
|
25
|
+
"keyword": "format",
|
|
26
|
+
"instance": "../a",
|
|
27
|
+
"expectedCodes": ["REPOSITORY_GLOB_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-cea981f8c4e42045",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/glob:maxLength"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/glob",
|
|
34
|
+
"keyword": "maxLength",
|
|
35
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 257 },
|
|
36
|
+
"expectedCodes": ["REPOSITORY_GLOB_INVALID"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "analytics-config-invalid-d9084be2d09878cd",
|
|
40
|
+
"coveredRuleIds": ["analytics-config:#/$defs/glob:type"],
|
|
41
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
42
|
+
"schemaPointer": "#/$defs/glob",
|
|
43
|
+
"keyword": "type",
|
|
44
|
+
"instance": null,
|
|
45
|
+
"expectedCodes": ["REPOSITORY_GLOB_INVALID"]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-24daf7096d691e76",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/repoRelativePath:maxLength"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
7
|
+
"keyword": "maxLength",
|
|
8
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
|
|
9
|
+
"expectedCodes": ["REPOSITORY_PATH_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-486296663bbd31d2",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/repoRelativePath:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["REPOSITORY_PATH_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-996fa38764b56c37",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/repoRelativePath:format"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
25
|
+
"keyword": "format",
|
|
26
|
+
"instance": "../a",
|
|
27
|
+
"expectedCodes": ["REPOSITORY_PATH_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-a63d6b0614f25cf1",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/repoRelativePath:pattern"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
34
|
+
"keyword": "pattern",
|
|
35
|
+
"instance": "",
|
|
36
|
+
"expectedCodes": ["REPOSITORY_PATH_INVALID"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "analytics-config-invalid-ba2c5f9b705a543a",
|
|
40
|
+
"coveredRuleIds": [
|
|
41
|
+
"analytics-config:#/$defs/repoRelativePath:x-gala-utf8ByteLength"
|
|
42
|
+
],
|
|
43
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
44
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
45
|
+
"keyword": "x-gala-utf8ByteLength",
|
|
46
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 513 },
|
|
47
|
+
"expectedCodes": ["REPOSITORY_PATH_INVALID"]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"caseId": "analytics-config-invalid-d4ad71795a6d73bf",
|
|
51
|
+
"coveredRuleIds": ["analytics-config:#/$defs/repoRelativePath:minLength"],
|
|
52
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
53
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
54
|
+
"keyword": "minLength",
|
|
55
|
+
"instance": "",
|
|
56
|
+
"expectedCodes": ["REPOSITORY_PATH_INVALID"]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-7132917f4fc8b38e",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"analytics-config:#/properties/provider:additionalProperties"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
8
|
+
"schemaPointer": "#/properties/provider",
|
|
9
|
+
"keyword": "additionalProperties",
|
|
10
|
+
"instance": {
|
|
11
|
+
"kind": "google-analytics-4",
|
|
12
|
+
"measurementId": "G-ABC123XYZ",
|
|
13
|
+
"unexpected": true
|
|
14
|
+
},
|
|
15
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"caseId": "analytics-config-invalid-952c1d1018c413fd",
|
|
19
|
+
"coveredRuleIds": [
|
|
20
|
+
"analytics-config:#/properties/consent:additionalProperties"
|
|
21
|
+
],
|
|
22
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
23
|
+
"schemaPointer": "#/properties/consent",
|
|
24
|
+
"keyword": "additionalProperties",
|
|
25
|
+
"instance": { "policy": "opt-in", "unexpected": true },
|
|
26
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"caseId": "analytics-config-invalid-ff84eed1c7cbde78",
|
|
30
|
+
"coveredRuleIds": ["analytics-config:#:additionalProperties"],
|
|
31
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
32
|
+
"schemaPointer": "#",
|
|
33
|
+
"keyword": "additionalProperties",
|
|
34
|
+
"instance": {
|
|
35
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
36
|
+
"schemaVersion": "2.0.0",
|
|
37
|
+
"provider": {
|
|
38
|
+
"kind": "google-analytics-4",
|
|
39
|
+
"measurementId": "G-ABC123XYZ"
|
|
40
|
+
},
|
|
41
|
+
"consent": { "policy": "opt-in" },
|
|
42
|
+
"unexpected": true
|
|
43
|
+
},
|
|
44
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
45
|
+
}
|
|
46
|
+
]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-51f0c2d85f38de0d",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/rfc3339:pattern"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/rfc3339",
|
|
7
|
+
"keyword": "pattern",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["RFC3339_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-5e70bc12ec8247d7",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/rfc3339:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/rfc3339",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["RFC3339_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-7fb1a780445f9acc",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/rfc3339:format"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/rfc3339",
|
|
25
|
+
"keyword": "format",
|
|
26
|
+
"instance": "2026-02-31T12:00:00.000Z",
|
|
27
|
+
"expectedCodes": ["RFC3339_INVALID"]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-33d3b5243ef39599",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"analytics-config:#/properties/provider/properties/kind:enum"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
8
|
+
"schemaPointer": "#/properties/provider/properties/kind",
|
|
9
|
+
"keyword": "enum",
|
|
10
|
+
"instance": "__invalid_enum__",
|
|
11
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"caseId": "analytics-config-invalid-fdf60c6e9f633971",
|
|
15
|
+
"coveredRuleIds": [
|
|
16
|
+
"analytics-config:#/properties/consent/properties/policy:enum"
|
|
17
|
+
],
|
|
18
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
19
|
+
"schemaPointer": "#/properties/consent/properties/policy",
|
|
20
|
+
"keyword": "enum",
|
|
21
|
+
"instance": "__invalid_enum__",
|
|
22
|
+
"expectedCodes": ["SCHEMA_ENUM_INVALID"]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-c9410e47de09947f",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"analytics-config:#/properties/provider/properties/measurementId:pattern"
|
|
6
|
+
],
|
|
7
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
8
|
+
"schemaPointer": "#/properties/provider/properties/measurementId",
|
|
9
|
+
"keyword": "pattern",
|
|
10
|
+
"instance": "",
|
|
11
|
+
"expectedCodes": ["SCHEMA_PATTERN_INVALID"]
|
|
12
|
+
}
|
|
13
|
+
]
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-061ff4a78f9c0293",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/properties/consent:required:policy"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/properties/consent",
|
|
7
|
+
"keyword": "required",
|
|
8
|
+
"instance": {},
|
|
9
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-2807b9c65aab317a",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#:required:consent"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#",
|
|
16
|
+
"keyword": "required",
|
|
17
|
+
"instance": {
|
|
18
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
19
|
+
"schemaVersion": "2.0.0",
|
|
20
|
+
"provider": {
|
|
21
|
+
"kind": "google-analytics-4",
|
|
22
|
+
"measurementId": "G-ABC123XYZ"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"caseId": "analytics-config-invalid-3dce1a1d1597f18b",
|
|
29
|
+
"coveredRuleIds": [
|
|
30
|
+
"analytics-config:#/properties/provider:required:measurementId"
|
|
31
|
+
],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/properties/provider",
|
|
34
|
+
"keyword": "required",
|
|
35
|
+
"instance": { "kind": "google-analytics-4" },
|
|
36
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "analytics-config-invalid-6d1ef210cbd746e6",
|
|
40
|
+
"coveredRuleIds": ["analytics-config:#:required:provider"],
|
|
41
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
42
|
+
"schemaPointer": "#",
|
|
43
|
+
"keyword": "required",
|
|
44
|
+
"instance": {
|
|
45
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
46
|
+
"schemaVersion": "2.0.0",
|
|
47
|
+
"consent": { "policy": "opt-in" }
|
|
48
|
+
},
|
|
49
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"caseId": "analytics-config-invalid-94083d74b410a376",
|
|
53
|
+
"coveredRuleIds": ["analytics-config:#:required:schemaId"],
|
|
54
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
55
|
+
"schemaPointer": "#",
|
|
56
|
+
"keyword": "required",
|
|
57
|
+
"instance": {
|
|
58
|
+
"schemaVersion": "2.0.0",
|
|
59
|
+
"provider": {
|
|
60
|
+
"kind": "google-analytics-4",
|
|
61
|
+
"measurementId": "G-ABC123XYZ"
|
|
62
|
+
},
|
|
63
|
+
"consent": { "policy": "opt-in" }
|
|
64
|
+
},
|
|
65
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"caseId": "analytics-config-invalid-c47f4f66bccee475",
|
|
69
|
+
"coveredRuleIds": ["analytics-config:#:required:schemaVersion"],
|
|
70
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
71
|
+
"schemaPointer": "#",
|
|
72
|
+
"keyword": "required",
|
|
73
|
+
"instance": {
|
|
74
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
75
|
+
"provider": {
|
|
76
|
+
"kind": "google-analytics-4",
|
|
77
|
+
"measurementId": "G-ABC123XYZ"
|
|
78
|
+
},
|
|
79
|
+
"consent": { "policy": "opt-in" }
|
|
80
|
+
},
|
|
81
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"caseId": "analytics-config-invalid-fa4ba3f1736171b3",
|
|
85
|
+
"coveredRuleIds": ["analytics-config:#/properties/provider:required:kind"],
|
|
86
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
87
|
+
"schemaPointer": "#/properties/provider",
|
|
88
|
+
"keyword": "required",
|
|
89
|
+
"instance": { "measurementId": "G-ABC123XYZ" },
|
|
90
|
+
"expectedCodes": ["SCHEMA_REQUIRED_FIELD_MISSING"]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-6c33b9d939ff2b1a",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/properties/provider:type"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/properties/provider",
|
|
7
|
+
"keyword": "type",
|
|
8
|
+
"instance": [],
|
|
9
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-79541c57a051c1db",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": [],
|
|
18
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-9f16d0b70e4d0c73",
|
|
22
|
+
"coveredRuleIds": [
|
|
23
|
+
"analytics-config:#/properties/provider/properties/measurementId:type"
|
|
24
|
+
],
|
|
25
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
26
|
+
"schemaPointer": "#/properties/provider/properties/measurementId",
|
|
27
|
+
"keyword": "type",
|
|
28
|
+
"instance": null,
|
|
29
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"caseId": "analytics-config-invalid-cdbfcec3a154548d",
|
|
33
|
+
"coveredRuleIds": ["analytics-config:#/properties/consent:type"],
|
|
34
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
35
|
+
"schemaPointer": "#/properties/consent",
|
|
36
|
+
"keyword": "type",
|
|
37
|
+
"instance": [],
|
|
38
|
+
"expectedCodes": ["SCHEMA_TYPE_INVALID"]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-5aebb1a18fc9abbd",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/properties/schemaId:const"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/properties/schemaId",
|
|
7
|
+
"keyword": "const",
|
|
8
|
+
"instance": "urn:gala:schema:analytics-config:2.0.0-invalid",
|
|
9
|
+
"expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-5c28721fe4b207b1",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/properties/schemaVersion:const"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/properties/schemaVersion",
|
|
16
|
+
"keyword": "const",
|
|
17
|
+
"instance": "2.0.0-invalid",
|
|
18
|
+
"expectedCodes": ["SCHEMA_VERSION_UNSUPPORTED"]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-7158d77eec7029f3",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/semver:pattern"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/semver",
|
|
7
|
+
"keyword": "pattern",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["SEMVER_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-9e71191a72c3909f",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/semver:type"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/semver",
|
|
16
|
+
"keyword": "type",
|
|
17
|
+
"instance": null,
|
|
18
|
+
"expectedCodes": ["SEMVER_INVALID"]
|
|
19
|
+
}
|
|
20
|
+
]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "analytics-config-invalid-63611624c6f851be",
|
|
4
|
+
"coveredRuleIds": ["analytics-config:#/$defs/semverRange:minLength"],
|
|
5
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
6
|
+
"schemaPointer": "#/$defs/semverRange",
|
|
7
|
+
"keyword": "minLength",
|
|
8
|
+
"instance": "",
|
|
9
|
+
"expectedCodes": ["SEMVER_RANGE_INVALID"]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"caseId": "analytics-config-invalid-9d45c71f32a296a5",
|
|
13
|
+
"coveredRuleIds": ["analytics-config:#/$defs/semverRange:pattern"],
|
|
14
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
15
|
+
"schemaPointer": "#/$defs/semverRange",
|
|
16
|
+
"keyword": "pattern",
|
|
17
|
+
"instance": "",
|
|
18
|
+
"expectedCodes": ["SEMVER_RANGE_INVALID"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"caseId": "analytics-config-invalid-d543122abd14a198",
|
|
22
|
+
"coveredRuleIds": ["analytics-config:#/$defs/semverRange:type"],
|
|
23
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
24
|
+
"schemaPointer": "#/$defs/semverRange",
|
|
25
|
+
"keyword": "type",
|
|
26
|
+
"instance": null,
|
|
27
|
+
"expectedCodes": ["SEMVER_RANGE_INVALID"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"caseId": "analytics-config-invalid-db638f13eef9fafd",
|
|
31
|
+
"coveredRuleIds": ["analytics-config:#/$defs/semverRange:format"],
|
|
32
|
+
"schemaId": "urn:gala:schema:analytics-config:2.0.0",
|
|
33
|
+
"schemaPointer": "#/$defs/semverRange",
|
|
34
|
+
"keyword": "format",
|
|
35
|
+
"instance": "latest",
|
|
36
|
+
"expectedCodes": ["SEMVER_RANGE_INVALID"]
|
|
37
|
+
}
|
|
38
|
+
]
|