@rathnasgala2/schemas 2.22.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 +3 -3
- package/diagnostics/diagnostic-map.json +2701 -1449
- package/docs/catalogs/app-components.json +435 -1
- package/docs/catalogs/app-routes.json +152 -2
- package/docs/catalogs/schema-inventory.json +17 -7
- package/examples/valid/artifact-manifest/rules.json +2 -2
- package/examples/valid/build-input/rules.json +391 -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/examples/valid/publication/rules.json +48 -0
- package/examples/valid/theme-contract/canonical.json +355 -19
- package/examples/valid/theme-contract/default-3.0.json +660 -0
- package/examples/valid/theme-contract/rules.json +3456 -552
- package/fixtures/boundary/artifact-manifest/rules.json +2 -2
- package/fixtures/boundary/build-input/rules.json +463 -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/boundary/publication/rules.json +53 -0
- package/fixtures/boundary/theme-contract/root.json +355 -19
- package/fixtures/boundary/theme-contract/rules.json +4158 -1226
- 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 +22 -0
- package/fixtures/invalid/build-input/HTTPS_URL_INVALID/cases.json +29 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +168 -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 +22 -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 +429 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +212 -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/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
- package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
- package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
- package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
- package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
- package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
- package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
- package/fixtures/manifest.json +21925 -12282
- package/fixtures/s2/empty-modules-placements.json +233 -3
- package/fixtures/s2/manifest.json +2 -1
- package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
- package/fixtures/unknown-field/artifact-manifest/rules.json +1 -1
- package/fixtures/unknown-field/build-input/rules.json +233 -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/fixtures/unknown-field/publication/rules.json +35 -0
- package/fixtures/unknown-field/theme-contract/root.json +355 -19
- package/fixtures/unknown-field/theme-contract/rules.json +637 -22
- 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 +66 -1
- package/generated/typescript/contracts/build-provenance.d.ts +1 -1
- package/generated/typescript/contracts/interactions-config.d.ts +91 -0
- package/generated/typescript/contracts/publication.d.ts +12 -0
- package/generated/typescript/contracts/theme-contract.d.ts +529 -9
- 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 +136 -2
- package/schemas/build-provenance.schema.json +1 -1
- package/schemas/interactions-config.schema.json +222 -0
- package/schemas/publication.schema.json +21 -0
- package/schemas/theme-contract.schema.json +1178 -83
- package/src/internal/schema-validator.js +3 -0
|
@@ -0,0 +1,529 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"caseId": "interactions-config-valid-176d4596f966eed4",
|
|
4
|
+
"coveredRuleIds": [
|
|
5
|
+
"interactions-config:#/$defs/rfc3339:format",
|
|
6
|
+
"interactions-config:#/$defs/rfc3339:pattern",
|
|
7
|
+
"interactions-config:#/$defs/rfc3339:type"
|
|
8
|
+
],
|
|
9
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
10
|
+
"schemaPointer": "#/$defs/rfc3339",
|
|
11
|
+
"keyword": "format",
|
|
12
|
+
"instance": "2026-09-13T12:00:00.000Z"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"caseId": "interactions-config-valid-18e62fca60a4f9c6",
|
|
16
|
+
"coveredRuleIds": [
|
|
17
|
+
"interactions-config:#/$defs/semver:pattern",
|
|
18
|
+
"interactions-config:#/$defs/semver:type"
|
|
19
|
+
],
|
|
20
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
21
|
+
"schemaPointer": "#/$defs/semver",
|
|
22
|
+
"keyword": "pattern",
|
|
23
|
+
"instance": "2.0.0"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"caseId": "interactions-config-valid-227809fbe76d181d",
|
|
27
|
+
"coveredRuleIds": [
|
|
28
|
+
"interactions-config:#/$defs/reactionDefinition/properties/enabled:type"
|
|
29
|
+
],
|
|
30
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
31
|
+
"schemaPointer": "#/$defs/reactionDefinition/properties/enabled",
|
|
32
|
+
"keyword": "type",
|
|
33
|
+
"instance": false
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"caseId": "interactions-config-valid-2b3f0ba08f805101",
|
|
37
|
+
"coveredRuleIds": [
|
|
38
|
+
"interactions-config:#/$defs/slug:maxLength",
|
|
39
|
+
"interactions-config:#/$defs/slug:minLength",
|
|
40
|
+
"interactions-config:#/$defs/slug:pattern",
|
|
41
|
+
"interactions-config:#/$defs/slug:type"
|
|
42
|
+
],
|
|
43
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
44
|
+
"schemaPointer": "#/$defs/slug",
|
|
45
|
+
"keyword": "maxLength",
|
|
46
|
+
"instance": "fixture-1"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"caseId": "interactions-config-valid-2c969bd109b9c2cb",
|
|
50
|
+
"coveredRuleIds": [
|
|
51
|
+
"interactions-config:#/$defs/repoRelativePath:format",
|
|
52
|
+
"interactions-config:#/$defs/repoRelativePath:maxLength",
|
|
53
|
+
"interactions-config:#/$defs/repoRelativePath:minLength",
|
|
54
|
+
"interactions-config:#/$defs/repoRelativePath:pattern",
|
|
55
|
+
"interactions-config:#/$defs/repoRelativePath:type",
|
|
56
|
+
"interactions-config:#/$defs/repoRelativePath:x-gala-utf8ByteLength"
|
|
57
|
+
],
|
|
58
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
59
|
+
"schemaPointer": "#/$defs/repoRelativePath",
|
|
60
|
+
"keyword": "format",
|
|
61
|
+
"instance": "content/fixture-1.md"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"caseId": "interactions-config-valid-2e8a613ca0a902cd",
|
|
65
|
+
"coveredRuleIds": [
|
|
66
|
+
"interactions-config:#/$defs/extensionKey:format",
|
|
67
|
+
"interactions-config:#/$defs/extensionKey:type"
|
|
68
|
+
],
|
|
69
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
70
|
+
"schemaPointer": "#/$defs/extensionKey",
|
|
71
|
+
"keyword": "format",
|
|
72
|
+
"instance": "com.example.fixture-1"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"caseId": "interactions-config-valid-3096f75655ac2a57",
|
|
76
|
+
"coveredRuleIds": [
|
|
77
|
+
"interactions-config:#/$defs/isoCountry:format",
|
|
78
|
+
"interactions-config:#/$defs/isoCountry:pattern",
|
|
79
|
+
"interactions-config:#/$defs/isoCountry:type"
|
|
80
|
+
],
|
|
81
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
82
|
+
"schemaPointer": "#/$defs/isoCountry",
|
|
83
|
+
"keyword": "format",
|
|
84
|
+
"instance": "US"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"caseId": "interactions-config-valid-32690b22292983d6",
|
|
88
|
+
"coveredRuleIds": [
|
|
89
|
+
"interactions-config:#/$defs/reactionDefinition:additionalProperties",
|
|
90
|
+
"interactions-config:#/$defs/reactionDefinition:required:enabled",
|
|
91
|
+
"interactions-config:#/$defs/reactionDefinition:required:key",
|
|
92
|
+
"interactions-config:#/$defs/reactionDefinition:required:label",
|
|
93
|
+
"interactions-config:#/$defs/reactionDefinition:required:order",
|
|
94
|
+
"interactions-config:#/$defs/reactionDefinition:required:visual",
|
|
95
|
+
"interactions-config:#/$defs/reactionDefinition:type"
|
|
96
|
+
],
|
|
97
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
98
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
99
|
+
"keyword": "additionalProperties",
|
|
100
|
+
"instance": {
|
|
101
|
+
"key": "fixture-1",
|
|
102
|
+
"label": "fixture-1",
|
|
103
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
104
|
+
"order": 1,
|
|
105
|
+
"enabled": false
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"caseId": "interactions-config-valid-32d286f6b3477b79",
|
|
110
|
+
"coveredRuleIds": [
|
|
111
|
+
"interactions-config:#/$defs/reactionVisual/properties/token:enum"
|
|
112
|
+
],
|
|
113
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
114
|
+
"schemaPointer": "#/$defs/reactionVisual/properties/token",
|
|
115
|
+
"keyword": "enum",
|
|
116
|
+
"instance": "👍"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"caseId": "interactions-config-valid-334359b90efed75d",
|
|
120
|
+
"coveredRuleIds": [
|
|
121
|
+
"interactions-config:#:additionalProperties",
|
|
122
|
+
"interactions-config:#:required:comments",
|
|
123
|
+
"interactions-config:#:required:publicCounts",
|
|
124
|
+
"interactions-config:#:required:reactions",
|
|
125
|
+
"interactions-config:#:required:schemaId",
|
|
126
|
+
"interactions-config:#:required:schemaVersion",
|
|
127
|
+
"interactions-config:#:type"
|
|
128
|
+
],
|
|
129
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
130
|
+
"schemaPointer": "#",
|
|
131
|
+
"keyword": "additionalProperties",
|
|
132
|
+
"instance": {
|
|
133
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
134
|
+
"schemaVersion": "2.0.0",
|
|
135
|
+
"reactions": {
|
|
136
|
+
"enabled": false,
|
|
137
|
+
"definitions": [
|
|
138
|
+
{
|
|
139
|
+
"key": "fixture-1",
|
|
140
|
+
"label": "fixture-1",
|
|
141
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
142
|
+
"order": 1,
|
|
143
|
+
"enabled": false
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
148
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"caseId": "interactions-config-valid-3615348319901a40",
|
|
153
|
+
"coveredRuleIds": ["interactions-config:#/properties/schemaVersion:const"],
|
|
154
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
155
|
+
"schemaPointer": "#/properties/schemaVersion",
|
|
156
|
+
"keyword": "const",
|
|
157
|
+
"instance": "2.0.0"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"caseId": "interactions-config-valid-38eb03f36cd27aef",
|
|
161
|
+
"coveredRuleIds": [
|
|
162
|
+
"interactions-config:#/properties/reactions:additionalProperties",
|
|
163
|
+
"interactions-config:#/properties/reactions:required:definitions",
|
|
164
|
+
"interactions-config:#/properties/reactions:required:enabled",
|
|
165
|
+
"interactions-config:#/properties/reactions:type"
|
|
166
|
+
],
|
|
167
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
168
|
+
"schemaPointer": "#/properties/reactions",
|
|
169
|
+
"keyword": "additionalProperties",
|
|
170
|
+
"instance": {
|
|
171
|
+
"enabled": false,
|
|
172
|
+
"definitions": [
|
|
173
|
+
{
|
|
174
|
+
"key": "fixture-1",
|
|
175
|
+
"label": "fixture-1",
|
|
176
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
177
|
+
"order": 1,
|
|
178
|
+
"enabled": false
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"caseId": "interactions-config-valid-40fb872b1238f8e7",
|
|
185
|
+
"coveredRuleIds": [
|
|
186
|
+
"interactions-config:#/properties/comments/properties/allowReplies:type"
|
|
187
|
+
],
|
|
188
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
189
|
+
"schemaPointer": "#/properties/comments/properties/allowReplies",
|
|
190
|
+
"keyword": "type",
|
|
191
|
+
"instance": false
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"caseId": "interactions-config-valid-4300914392f6e0e9",
|
|
195
|
+
"coveredRuleIds": [
|
|
196
|
+
"interactions-config:#/properties/publicCounts:additionalProperties",
|
|
197
|
+
"interactions-config:#/properties/publicCounts:required:comments",
|
|
198
|
+
"interactions-config:#/properties/publicCounts:required:reactions",
|
|
199
|
+
"interactions-config:#/properties/publicCounts:type"
|
|
200
|
+
],
|
|
201
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
202
|
+
"schemaPointer": "#/properties/publicCounts",
|
|
203
|
+
"keyword": "additionalProperties",
|
|
204
|
+
"instance": { "reactions": false, "comments": false }
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"caseId": "interactions-config-valid-4c5e3a7c692b3f82",
|
|
208
|
+
"coveredRuleIds": [
|
|
209
|
+
"interactions-config:#/properties/comments:additionalProperties",
|
|
210
|
+
"interactions-config:#/properties/comments:required:allowReplies",
|
|
211
|
+
"interactions-config:#/properties/comments:required:enabled",
|
|
212
|
+
"interactions-config:#/properties/comments:required:maxDepth",
|
|
213
|
+
"interactions-config:#/properties/comments:type"
|
|
214
|
+
],
|
|
215
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
216
|
+
"schemaPointer": "#/properties/comments",
|
|
217
|
+
"keyword": "additionalProperties",
|
|
218
|
+
"instance": { "enabled": false, "allowReplies": false, "maxDepth": 1 }
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"caseId": "interactions-config-valid-4ff50995104c6288",
|
|
222
|
+
"coveredRuleIds": [
|
|
223
|
+
"interactions-config:#/$defs/urn:format",
|
|
224
|
+
"interactions-config:#/$defs/urn:maxLength",
|
|
225
|
+
"interactions-config:#/$defs/urn:minLength",
|
|
226
|
+
"interactions-config:#/$defs/urn:pattern",
|
|
227
|
+
"interactions-config:#/$defs/urn:type"
|
|
228
|
+
],
|
|
229
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
230
|
+
"schemaPointer": "#/$defs/urn",
|
|
231
|
+
"keyword": "format",
|
|
232
|
+
"instance": "urn:gala:fixture:value-1"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"caseId": "interactions-config-valid-57a4e9646af8b6f1",
|
|
236
|
+
"coveredRuleIds": [
|
|
237
|
+
"interactions-config:#/$defs/reactionDefinition/properties/order:maximum",
|
|
238
|
+
"interactions-config:#/$defs/reactionDefinition/properties/order:minimum",
|
|
239
|
+
"interactions-config:#/$defs/reactionDefinition/properties/order:type"
|
|
240
|
+
],
|
|
241
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
242
|
+
"schemaPointer": "#/$defs/reactionDefinition/properties/order",
|
|
243
|
+
"keyword": "maximum",
|
|
244
|
+
"instance": 1
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"caseId": "interactions-config-valid-5838043483525c02",
|
|
248
|
+
"coveredRuleIds": [
|
|
249
|
+
"interactions-config:#/$defs/digest:pattern",
|
|
250
|
+
"interactions-config:#/$defs/digest:type"
|
|
251
|
+
],
|
|
252
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
253
|
+
"schemaPointer": "#/$defs/digest",
|
|
254
|
+
"keyword": "pattern",
|
|
255
|
+
"instance": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"caseId": "interactions-config-valid-5db0a48228342bab",
|
|
259
|
+
"coveredRuleIds": [
|
|
260
|
+
"interactions-config:#/properties/publicCounts/properties/reactions:type"
|
|
261
|
+
],
|
|
262
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
263
|
+
"schemaPointer": "#/properties/publicCounts/properties/reactions",
|
|
264
|
+
"keyword": "type",
|
|
265
|
+
"instance": false
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"caseId": "interactions-config-valid-60afd7fb506f64f8",
|
|
269
|
+
"coveredRuleIds": ["interactions-config:#/properties/schemaId:const"],
|
|
270
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
271
|
+
"schemaPointer": "#/properties/schemaId",
|
|
272
|
+
"keyword": "const",
|
|
273
|
+
"instance": "urn:gala:schema:interactions-config:2.0.0"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"caseId": "interactions-config-valid-61f7310cdea83c5b",
|
|
277
|
+
"coveredRuleIds": [
|
|
278
|
+
"interactions-config:#/$defs/urlHttps:format",
|
|
279
|
+
"interactions-config:#/$defs/urlHttps:pattern",
|
|
280
|
+
"interactions-config:#/$defs/urlHttps:type"
|
|
281
|
+
],
|
|
282
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
283
|
+
"schemaPointer": "#/$defs/urlHttps",
|
|
284
|
+
"keyword": "format",
|
|
285
|
+
"instance": "https://fixture-1.example.com/"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"caseId": "interactions-config-valid-6a75ae389f594781",
|
|
289
|
+
"coveredRuleIds": [
|
|
290
|
+
"interactions-config:#/$defs/reactionKey:not",
|
|
291
|
+
"interactions-config:#/$defs/reactionKey:pattern",
|
|
292
|
+
"interactions-config:#/$defs/reactionKey:type"
|
|
293
|
+
],
|
|
294
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
295
|
+
"schemaPointer": "#/$defs/reactionKey",
|
|
296
|
+
"keyword": "not",
|
|
297
|
+
"instance": "fixture-1"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"caseId": "interactions-config-valid-7314e2e8181b7a0a",
|
|
301
|
+
"coveredRuleIds": ["interactions-config:#/$defs/reactionKey/not:const"],
|
|
302
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
303
|
+
"schemaPointer": "#/$defs/reactionKey/not",
|
|
304
|
+
"keyword": "const",
|
|
305
|
+
"instance": "like"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"caseId": "interactions-config-valid-7851b76a6333d44e",
|
|
309
|
+
"coveredRuleIds": [
|
|
310
|
+
"interactions-config:#/properties/comments/properties/enabled:type"
|
|
311
|
+
],
|
|
312
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
313
|
+
"schemaPointer": "#/properties/comments/properties/enabled",
|
|
314
|
+
"keyword": "type",
|
|
315
|
+
"instance": false
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"caseId": "interactions-config-valid-81e47acb3276faad",
|
|
319
|
+
"coveredRuleIds": [
|
|
320
|
+
"interactions-config:#/$defs/semverRange:format",
|
|
321
|
+
"interactions-config:#/$defs/semverRange:minLength",
|
|
322
|
+
"interactions-config:#/$defs/semverRange:pattern",
|
|
323
|
+
"interactions-config:#/$defs/semverRange:type"
|
|
324
|
+
],
|
|
325
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
326
|
+
"schemaPointer": "#/$defs/semverRange",
|
|
327
|
+
"keyword": "format",
|
|
328
|
+
"instance": "^2.0.0"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"caseId": "interactions-config-valid-8aabccc9b84aae9f",
|
|
332
|
+
"coveredRuleIds": [
|
|
333
|
+
"interactions-config:#/properties/comments/properties/maxDepth:maximum",
|
|
334
|
+
"interactions-config:#/properties/comments/properties/maxDepth:minimum",
|
|
335
|
+
"interactions-config:#/properties/comments/properties/maxDepth:type"
|
|
336
|
+
],
|
|
337
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
338
|
+
"schemaPointer": "#/properties/comments/properties/maxDepth",
|
|
339
|
+
"keyword": "maximum",
|
|
340
|
+
"instance": 1
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"caseId": "interactions-config-valid-95d49e2494515cd8",
|
|
344
|
+
"coveredRuleIds": [
|
|
345
|
+
"interactions-config:#/$defs/canonicalRoute:format",
|
|
346
|
+
"interactions-config:#/$defs/canonicalRoute:minLength",
|
|
347
|
+
"interactions-config:#/$defs/canonicalRoute:pattern",
|
|
348
|
+
"interactions-config:#/$defs/canonicalRoute:type"
|
|
349
|
+
],
|
|
350
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
351
|
+
"schemaPointer": "#/$defs/canonicalRoute",
|
|
352
|
+
"keyword": "format",
|
|
353
|
+
"instance": "/fixture-1"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"caseId": "interactions-config-valid-9cf336b170e93720",
|
|
357
|
+
"coveredRuleIds": [
|
|
358
|
+
"interactions-config:#/$defs/glob:format",
|
|
359
|
+
"interactions-config:#/$defs/glob:maxLength",
|
|
360
|
+
"interactions-config:#/$defs/glob:minLength",
|
|
361
|
+
"interactions-config:#/$defs/glob:type",
|
|
362
|
+
"interactions-config:#/$defs/glob:x-gala-utf8ByteLength"
|
|
363
|
+
],
|
|
364
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
365
|
+
"schemaPointer": "#/$defs/glob",
|
|
366
|
+
"keyword": "format",
|
|
367
|
+
"instance": "**"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"caseId": "interactions-config-valid-b24bbede1ab69bed",
|
|
371
|
+
"coveredRuleIds": [
|
|
372
|
+
"interactions-config:#/$defs/gitObjectId:pattern",
|
|
373
|
+
"interactions-config:#/$defs/gitObjectId:type"
|
|
374
|
+
],
|
|
375
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
376
|
+
"schemaPointer": "#/$defs/gitObjectId",
|
|
377
|
+
"keyword": "pattern",
|
|
378
|
+
"instance": "sha1:0000000000000000000000000000000000000001"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"caseId": "interactions-config-valid-bb7f065e3079bbd1",
|
|
382
|
+
"coveredRuleIds": [
|
|
383
|
+
"interactions-config:#/$defs/plainLabel:format",
|
|
384
|
+
"interactions-config:#/$defs/plainLabel:type",
|
|
385
|
+
"interactions-config:#/$defs/plainLabel:x-gala-graphemeLength"
|
|
386
|
+
],
|
|
387
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
388
|
+
"schemaPointer": "#/$defs/plainLabel",
|
|
389
|
+
"keyword": "format",
|
|
390
|
+
"instance": "fixture-1"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"caseId": "interactions-config-valid-bf46138580c35681",
|
|
394
|
+
"coveredRuleIds": [
|
|
395
|
+
"interactions-config:#/properties/publicCounts/properties/comments:type"
|
|
396
|
+
],
|
|
397
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
398
|
+
"schemaPointer": "#/properties/publicCounts/properties/comments",
|
|
399
|
+
"keyword": "type",
|
|
400
|
+
"instance": false
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"caseId": "interactions-config-valid-c5b3e214132702c8",
|
|
404
|
+
"coveredRuleIds": [
|
|
405
|
+
"interactions-config:#/$defs/plainText:format",
|
|
406
|
+
"interactions-config:#/$defs/plainText:type"
|
|
407
|
+
],
|
|
408
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
409
|
+
"schemaPointer": "#/$defs/plainText",
|
|
410
|
+
"keyword": "format",
|
|
411
|
+
"instance": "fixture-1"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"caseId": "interactions-config-valid-cf7f7f1d7cb4c32d",
|
|
415
|
+
"coveredRuleIds": [
|
|
416
|
+
"interactions-config:#/$defs/reactionVisual/properties/kind:const"
|
|
417
|
+
],
|
|
418
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
419
|
+
"schemaPointer": "#/$defs/reactionVisual/properties/kind",
|
|
420
|
+
"keyword": "const",
|
|
421
|
+
"instance": "emoji"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"caseId": "interactions-config-valid-d6e93e5874292f77",
|
|
425
|
+
"coveredRuleIds": [
|
|
426
|
+
"interactions-config:#/properties/reactions/properties/definitions:maxItems",
|
|
427
|
+
"interactions-config:#/properties/reactions/properties/definitions:minItems",
|
|
428
|
+
"interactions-config:#/properties/reactions/properties/definitions:type"
|
|
429
|
+
],
|
|
430
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
431
|
+
"schemaPointer": "#/properties/reactions/properties/definitions",
|
|
432
|
+
"keyword": "maxItems",
|
|
433
|
+
"instance": [
|
|
434
|
+
{
|
|
435
|
+
"key": "fixture-1",
|
|
436
|
+
"label": "fixture-1",
|
|
437
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
438
|
+
"order": 1,
|
|
439
|
+
"enabled": false
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"caseId": "interactions-config-valid-d8c8652dc1a8a4dc",
|
|
445
|
+
"coveredRuleIds": [
|
|
446
|
+
"interactions-config:#/$defs/packageRange:format",
|
|
447
|
+
"interactions-config:#/$defs/packageRange:minLength",
|
|
448
|
+
"interactions-config:#/$defs/packageRange:pattern",
|
|
449
|
+
"interactions-config:#/$defs/packageRange:type"
|
|
450
|
+
],
|
|
451
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
452
|
+
"schemaPointer": "#/$defs/packageRange",
|
|
453
|
+
"keyword": "format",
|
|
454
|
+
"instance": "@rathnasgala2/fixture-1@^2.0.0"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"caseId": "interactions-config-valid-e33d59edd841db65",
|
|
458
|
+
"coveredRuleIds": [
|
|
459
|
+
"interactions-config:#/$defs/reactionVisual:additionalProperties",
|
|
460
|
+
"interactions-config:#/$defs/reactionVisual:required:kind",
|
|
461
|
+
"interactions-config:#/$defs/reactionVisual:required:token",
|
|
462
|
+
"interactions-config:#/$defs/reactionVisual:type"
|
|
463
|
+
],
|
|
464
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
465
|
+
"schemaPointer": "#/$defs/reactionVisual",
|
|
466
|
+
"keyword": "additionalProperties",
|
|
467
|
+
"instance": { "kind": "emoji", "token": "👍" }
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"caseId": "interactions-config-valid-e70d81bda3bf3484",
|
|
471
|
+
"coveredRuleIds": [
|
|
472
|
+
"interactions-config:#/$defs/packageExact:format",
|
|
473
|
+
"interactions-config:#/$defs/packageExact:minLength",
|
|
474
|
+
"interactions-config:#/$defs/packageExact:pattern",
|
|
475
|
+
"interactions-config:#/$defs/packageExact:type"
|
|
476
|
+
],
|
|
477
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
478
|
+
"schemaPointer": "#/$defs/packageExact",
|
|
479
|
+
"keyword": "format",
|
|
480
|
+
"instance": "@rathnasgala2/fixture-1@2.0.0"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"caseId": "interactions-config-valid-f06fd8bdc6febb47",
|
|
484
|
+
"coveredRuleIds": [
|
|
485
|
+
"interactions-config:#/$defs/stableId:pattern",
|
|
486
|
+
"interactions-config:#/$defs/stableId:type"
|
|
487
|
+
],
|
|
488
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
489
|
+
"schemaPointer": "#/$defs/stableId",
|
|
490
|
+
"keyword": "pattern",
|
|
491
|
+
"instance": "019c0000-0000-7000-8000-000000000001"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"caseId": "interactions-config-valid-f47050489e881708",
|
|
495
|
+
"coveredRuleIds": [
|
|
496
|
+
"interactions-config:#/$defs/reactionDefinition/properties/label:type",
|
|
497
|
+
"interactions-config:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength"
|
|
498
|
+
],
|
|
499
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
500
|
+
"schemaPointer": "#/$defs/reactionDefinition/properties/label",
|
|
501
|
+
"keyword": "type",
|
|
502
|
+
"instance": "fixture-1"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"caseId": "interactions-config-valid-fca709108f384882",
|
|
506
|
+
"coveredRuleIds": [
|
|
507
|
+
"interactions-config:#/$defs/bcp47:format",
|
|
508
|
+
"interactions-config:#/$defs/bcp47:maxLength",
|
|
509
|
+
"interactions-config:#/$defs/bcp47:minLength",
|
|
510
|
+
"interactions-config:#/$defs/bcp47:pattern",
|
|
511
|
+
"interactions-config:#/$defs/bcp47:type",
|
|
512
|
+
"interactions-config:#/$defs/bcp47:x-gala-utf8ByteLength"
|
|
513
|
+
],
|
|
514
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
515
|
+
"schemaPointer": "#/$defs/bcp47",
|
|
516
|
+
"keyword": "format",
|
|
517
|
+
"instance": "en-US"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"caseId": "interactions-config-valid-ff5ee7147769467f",
|
|
521
|
+
"coveredRuleIds": [
|
|
522
|
+
"interactions-config:#/properties/reactions/properties/enabled:type"
|
|
523
|
+
],
|
|
524
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
525
|
+
"schemaPointer": "#/properties/reactions/properties/enabled",
|
|
526
|
+
"keyword": "type",
|
|
527
|
+
"instance": false
|
|
528
|
+
}
|
|
529
|
+
]
|
|
@@ -34,6 +34,14 @@
|
|
|
34
34
|
"keyword": "pattern",
|
|
35
35
|
"instance": "2.0.0"
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"caseId": "publication-valid-1b8cc44fb62cabb8",
|
|
39
|
+
"coveredRuleIds": ["publication:#/$defs/crawlers/properties/ai:enum"],
|
|
40
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
41
|
+
"schemaPointer": "#/$defs/crawlers/properties/ai",
|
|
42
|
+
"keyword": "enum",
|
|
43
|
+
"instance": "allow"
|
|
44
|
+
},
|
|
37
45
|
{
|
|
38
46
|
"caseId": "publication-valid-2b3f0ba08f805101",
|
|
39
47
|
"coveredRuleIds": [
|
|
@@ -303,6 +311,18 @@
|
|
|
303
311
|
"keyword": "maxItems",
|
|
304
312
|
"instance": [{ "type": "website", "uri": "https://fixture-1.example.com/" }]
|
|
305
313
|
},
|
|
314
|
+
{
|
|
315
|
+
"caseId": "publication-valid-a5c8f595a0500178",
|
|
316
|
+
"coveredRuleIds": [
|
|
317
|
+
"publication:#/$defs/crawlers:additionalProperties",
|
|
318
|
+
"publication:#/$defs/crawlers:required:ai",
|
|
319
|
+
"publication:#/$defs/crawlers:type"
|
|
320
|
+
],
|
|
321
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
322
|
+
"schemaPointer": "#/$defs/crawlers",
|
|
323
|
+
"keyword": "additionalProperties",
|
|
324
|
+
"instance": { "ai": "allow" }
|
|
325
|
+
},
|
|
306
326
|
{
|
|
307
327
|
"caseId": "publication-valid-b0424c1acb3ba01a",
|
|
308
328
|
"coveredRuleIds": [
|
|
@@ -382,6 +402,16 @@
|
|
|
382
402
|
"keyword": "format",
|
|
383
403
|
"instance": "fixture-1"
|
|
384
404
|
},
|
|
405
|
+
{
|
|
406
|
+
"caseId": "publication-valid-c8d035f79b6d86e7",
|
|
407
|
+
"coveredRuleIds": [
|
|
408
|
+
"publication:#/$defs/newsletter/properties/text:x-gala-graphemeLength"
|
|
409
|
+
],
|
|
410
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
411
|
+
"schemaPointer": "#/$defs/newsletter/properties/text",
|
|
412
|
+
"keyword": "x-gala-graphemeLength",
|
|
413
|
+
"instance": "fixture-1"
|
|
414
|
+
},
|
|
385
415
|
{
|
|
386
416
|
"caseId": "publication-valid-d3b21fbedf6bb2b4",
|
|
387
417
|
"coveredRuleIds": [
|
|
@@ -415,6 +445,24 @@
|
|
|
415
445
|
"keyword": "type",
|
|
416
446
|
"instance": false
|
|
417
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"caseId": "publication-valid-e1bd8415f65d2e3c",
|
|
450
|
+
"coveredRuleIds": [
|
|
451
|
+
"publication:#/$defs/newsletter:additionalProperties",
|
|
452
|
+
"publication:#/$defs/newsletter:required:text",
|
|
453
|
+
"publication:#/$defs/newsletter:required:title",
|
|
454
|
+
"publication:#/$defs/newsletter:required:url",
|
|
455
|
+
"publication:#/$defs/newsletter:type"
|
|
456
|
+
],
|
|
457
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
458
|
+
"schemaPointer": "#/$defs/newsletter",
|
|
459
|
+
"keyword": "additionalProperties",
|
|
460
|
+
"instance": {
|
|
461
|
+
"url": "https://fixture-1.example.com/",
|
|
462
|
+
"title": "fixture-1",
|
|
463
|
+
"text": "fixture-1"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
418
466
|
{
|
|
419
467
|
"caseId": "publication-valid-e70d81bda3bf3484",
|
|
420
468
|
"coveredRuleIds": [
|