@rathnasgala2/schemas 3.21.0 → 3.22.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/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +236 -24
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/build-input/rules.json +229 -28
- package/examples/valid/interactions-config/rules.json +22 -0
- package/examples/valid/publication/rules.json +192 -13
- package/fixtures/boundary/build-input/rules.json +265 -33
- package/fixtures/boundary/interactions-config/rules.json +22 -0
- package/fixtures/boundary/publication/rules.json +243 -33
- package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +19 -8
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +80 -16
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +171 -39
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +122 -11
- package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +9 -0
- package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +20 -0
- package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +22 -11
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +62 -9
- package/fixtures/invalid/publication/SCHEMA_ARRAY_DUPLICATE/cases.json +13 -0
- package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/publication/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
- package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +143 -20
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +95 -4
- package/fixtures/invalid/publication/SCHEMA_UNION_INVALID/cases.json +11 -0
- package/fixtures/manifest.json +1827 -179
- package/fixtures/s2/empty-modules-placements.json +943 -0
- package/fixtures/s2/manifest.json +13 -1
- package/fixtures/s2/normalized-inputs.json +1704 -0
- package/fixtures/unknown-field/build-input/rules.json +118 -21
- package/fixtures/unknown-field/interactions-config/rules.json +14 -0
- package/fixtures/unknown-field/publication/rules.json +92 -9
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +46 -5
- package/generated/typescript/contracts/interactions-config.d.ts +3 -0
- package/generated/typescript/contracts/publication.d.ts +40 -5
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +9 -0
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +91 -4
- package/schemas/interactions-config.schema.json +7 -0
- package/schemas/publication.schema.json +85 -7
|
@@ -35,6 +35,19 @@
|
|
|
35
35
|
"extensions": {}
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"caseId": "publication-boundary-05c61c29d8f8ed0c",
|
|
40
|
+
"coveredRuleIds": ["publication:#/$defs/newsletter:oneOf"],
|
|
41
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
42
|
+
"schemaPointer": "#/$defs/newsletter",
|
|
43
|
+
"keyword": "oneOf",
|
|
44
|
+
"instance": {
|
|
45
|
+
"mode": "link",
|
|
46
|
+
"url": "https://fixture-1.example.com/",
|
|
47
|
+
"title": "fixture-1",
|
|
48
|
+
"text": "fixture-1"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
38
51
|
{
|
|
39
52
|
"caseId": "publication-boundary-066bd9029dbb6d63",
|
|
40
53
|
"coveredRuleIds": [
|
|
@@ -93,24 +106,6 @@
|
|
|
93
106
|
"direction": "maximum"
|
|
94
107
|
}
|
|
95
108
|
},
|
|
96
|
-
{
|
|
97
|
-
"caseId": "publication-boundary-181255b07e180d55",
|
|
98
|
-
"coveredRuleIds": [
|
|
99
|
-
"publication:#/$defs/newsletter:additionalProperties",
|
|
100
|
-
"publication:#/$defs/newsletter:required:text",
|
|
101
|
-
"publication:#/$defs/newsletter:required:title",
|
|
102
|
-
"publication:#/$defs/newsletter:required:url",
|
|
103
|
-
"publication:#/$defs/newsletter:type"
|
|
104
|
-
],
|
|
105
|
-
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
106
|
-
"schemaPointer": "#/$defs/newsletter",
|
|
107
|
-
"keyword": "additionalProperties",
|
|
108
|
-
"instance": {
|
|
109
|
-
"url": "https://fixture-1.example.com/",
|
|
110
|
-
"title": "fixture-1",
|
|
111
|
-
"text": "fixture-1"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
109
|
{
|
|
115
110
|
"caseId": "publication-boundary-1994b0284b84ae9c",
|
|
116
111
|
"coveredRuleIds": [
|
|
@@ -122,6 +117,16 @@
|
|
|
122
117
|
"keyword": "format",
|
|
123
118
|
"instance": "**"
|
|
124
119
|
},
|
|
120
|
+
{
|
|
121
|
+
"caseId": "publication-boundary-1b52344c23a7950c",
|
|
122
|
+
"coveredRuleIds": [
|
|
123
|
+
"publication:#/$defs/newsletter/oneOf/1/properties/replyToOwner:type"
|
|
124
|
+
],
|
|
125
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
126
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/replyToOwner",
|
|
127
|
+
"keyword": "type",
|
|
128
|
+
"instance": false
|
|
129
|
+
},
|
|
125
130
|
{
|
|
126
131
|
"caseId": "publication-boundary-21d490e9f18e9020",
|
|
127
132
|
"coveredRuleIds": [
|
|
@@ -138,21 +143,6 @@
|
|
|
138
143
|
"direction": "maximum"
|
|
139
144
|
}
|
|
140
145
|
},
|
|
141
|
-
{
|
|
142
|
-
"caseId": "publication-boundary-23211bada0bd9a59",
|
|
143
|
-
"coveredRuleIds": [
|
|
144
|
-
"publication:#/$defs/newsletter/properties/text:x-gala-graphemeLength"
|
|
145
|
-
],
|
|
146
|
-
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
147
|
-
"schemaPointer": "#/$defs/newsletter/properties/text",
|
|
148
|
-
"keyword": "x-gala-graphemeLength",
|
|
149
|
-
"recipe": {
|
|
150
|
-
"kind": "schema-string-boundary",
|
|
151
|
-
"schemaPointer": "#/$defs/newsletter/properties/text",
|
|
152
|
-
"length": 300,
|
|
153
|
-
"direction": "maximum"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
146
|
{
|
|
157
147
|
"caseId": "publication-boundary-232c094fac473629",
|
|
158
148
|
"coveredRuleIds": ["publication:#/properties/socialLinks:minItems"],
|
|
@@ -201,6 +191,24 @@
|
|
|
201
191
|
"keyword": "const",
|
|
202
192
|
"instance": "urn:gala:schema:publication:2.0.0"
|
|
203
193
|
},
|
|
194
|
+
{
|
|
195
|
+
"caseId": "publication-boundary-2e9a35b77cd24581",
|
|
196
|
+
"coveredRuleIds": [
|
|
197
|
+
"publication:#/$defs/newsletter/oneOf/0:additionalProperties",
|
|
198
|
+
"publication:#/$defs/newsletter/oneOf/0:required:text",
|
|
199
|
+
"publication:#/$defs/newsletter/oneOf/0:required:title",
|
|
200
|
+
"publication:#/$defs/newsletter/oneOf/0:required:url",
|
|
201
|
+
"publication:#/$defs/newsletter/oneOf/0:type"
|
|
202
|
+
],
|
|
203
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
204
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0",
|
|
205
|
+
"keyword": "additionalProperties",
|
|
206
|
+
"instance": {
|
|
207
|
+
"url": "https://fixture-1.example.com/",
|
|
208
|
+
"title": "fixture-1",
|
|
209
|
+
"text": "fixture-1"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
204
212
|
{
|
|
205
213
|
"caseId": "publication-boundary-3084d1d86c619ace",
|
|
206
214
|
"coveredRuleIds": [
|
|
@@ -268,6 +276,31 @@
|
|
|
268
276
|
"privacy": { "title": "fixture-1", "body": "content/fixture-1.md" }
|
|
269
277
|
}
|
|
270
278
|
},
|
|
279
|
+
{
|
|
280
|
+
"caseId": "publication-boundary-3958dd106f444d0e",
|
|
281
|
+
"coveredRuleIds": [
|
|
282
|
+
"publication:#/$defs/contactForm/properties/fields/properties/phone:type"
|
|
283
|
+
],
|
|
284
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
285
|
+
"schemaPointer": "#/$defs/contactForm/properties/fields/properties/phone",
|
|
286
|
+
"keyword": "type",
|
|
287
|
+
"instance": false
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"caseId": "publication-boundary-397d7ac6c36a4768",
|
|
291
|
+
"coveredRuleIds": [
|
|
292
|
+
"publication:#/$defs/newsletter/oneOf/0/properties/text:x-gala-graphemeLength"
|
|
293
|
+
],
|
|
294
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
295
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0/properties/text",
|
|
296
|
+
"keyword": "x-gala-graphemeLength",
|
|
297
|
+
"recipe": {
|
|
298
|
+
"kind": "schema-string-boundary",
|
|
299
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0/properties/text",
|
|
300
|
+
"length": 300,
|
|
301
|
+
"direction": "maximum"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
271
304
|
{
|
|
272
305
|
"caseId": "publication-boundary-3fa7f1868d3b6fb8",
|
|
273
306
|
"coveredRuleIds": [
|
|
@@ -316,6 +349,42 @@
|
|
|
316
349
|
"direction": "maximum"
|
|
317
350
|
}
|
|
318
351
|
},
|
|
352
|
+
{
|
|
353
|
+
"caseId": "publication-boundary-494471d885cb98f6",
|
|
354
|
+
"coveredRuleIds": [
|
|
355
|
+
"publication:#/$defs/newsletter/oneOf/1/properties/mode:const"
|
|
356
|
+
],
|
|
357
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
358
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/mode",
|
|
359
|
+
"keyword": "const",
|
|
360
|
+
"instance": "galascribe"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"caseId": "publication-boundary-4a9e2c3837badeff",
|
|
364
|
+
"coveredRuleIds": [
|
|
365
|
+
"publication:#/$defs/contactForm:additionalProperties",
|
|
366
|
+
"publication:#/$defs/contactForm:required:enabled",
|
|
367
|
+
"publication:#/$defs/contactForm:required:fields",
|
|
368
|
+
"publication:#/$defs/contactForm:type"
|
|
369
|
+
],
|
|
370
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
371
|
+
"schemaPointer": "#/$defs/contactForm",
|
|
372
|
+
"keyword": "additionalProperties",
|
|
373
|
+
"instance": {
|
|
374
|
+
"enabled": false,
|
|
375
|
+
"fields": { "website": false, "phone": false }
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"caseId": "publication-boundary-51a3f7ddb6f3b657",
|
|
380
|
+
"coveredRuleIds": [
|
|
381
|
+
"publication:#/$defs/contactForm/properties/fields/properties/website:type"
|
|
382
|
+
],
|
|
383
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
384
|
+
"schemaPointer": "#/$defs/contactForm/properties/fields/properties/website",
|
|
385
|
+
"keyword": "type",
|
|
386
|
+
"instance": false
|
|
387
|
+
},
|
|
319
388
|
{
|
|
320
389
|
"caseId": "publication-boundary-52475c96730913c0",
|
|
321
390
|
"coveredRuleIds": ["publication:#/$defs/socialLink/properties/type:enum"],
|
|
@@ -414,6 +483,16 @@
|
|
|
414
483
|
"keyword": "type",
|
|
415
484
|
"instance": "fixture-1"
|
|
416
485
|
},
|
|
486
|
+
{
|
|
487
|
+
"caseId": "publication-boundary-6cb29f23efb6e3b4",
|
|
488
|
+
"coveredRuleIds": [
|
|
489
|
+
"publication:#/$defs/contactForm/properties/enabled:type"
|
|
490
|
+
],
|
|
491
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
492
|
+
"schemaPointer": "#/$defs/contactForm/properties/enabled",
|
|
493
|
+
"keyword": "type",
|
|
494
|
+
"instance": false
|
|
495
|
+
},
|
|
417
496
|
{
|
|
418
497
|
"caseId": "publication-boundary-6d8e769d019903ac",
|
|
419
498
|
"coveredRuleIds": ["publication:#/$defs/urn:minLength"],
|
|
@@ -438,6 +517,34 @@
|
|
|
438
517
|
"keyword": "format",
|
|
439
518
|
"instance": "fixture-1"
|
|
440
519
|
},
|
|
520
|
+
{
|
|
521
|
+
"caseId": "publication-boundary-78978194b4b4cc73",
|
|
522
|
+
"coveredRuleIds": [
|
|
523
|
+
"publication:#/$defs/sharing/properties/targets:maxItems"
|
|
524
|
+
],
|
|
525
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
526
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
527
|
+
"keyword": "maxItems",
|
|
528
|
+
"recipe": {
|
|
529
|
+
"kind": "schema-array-boundary",
|
|
530
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
531
|
+
"length": 11
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"caseId": "publication-boundary-828f03cc5f6277b3",
|
|
536
|
+
"coveredRuleIds": [
|
|
537
|
+
"publication:#/$defs/sharing/properties/targets:minItems"
|
|
538
|
+
],
|
|
539
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
540
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
541
|
+
"keyword": "minItems",
|
|
542
|
+
"recipe": {
|
|
543
|
+
"kind": "schema-array-boundary",
|
|
544
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
545
|
+
"length": 0
|
|
546
|
+
}
|
|
547
|
+
},
|
|
441
548
|
{
|
|
442
549
|
"caseId": "publication-boundary-83ef50b3c971e4ce",
|
|
443
550
|
"coveredRuleIds": [
|
|
@@ -449,6 +556,28 @@
|
|
|
449
556
|
"keyword": "pattern",
|
|
450
557
|
"instance": "019c0000-0000-7000-8000-000000000001"
|
|
451
558
|
},
|
|
559
|
+
{
|
|
560
|
+
"caseId": "publication-boundary-85bcd006aab15d72",
|
|
561
|
+
"coveredRuleIds": [
|
|
562
|
+
"publication:#/$defs/newsletter/oneOf/1:additionalProperties",
|
|
563
|
+
"publication:#/$defs/newsletter/oneOf/1:required:emailContent",
|
|
564
|
+
"publication:#/$defs/newsletter/oneOf/1:required:mode",
|
|
565
|
+
"publication:#/$defs/newsletter/oneOf/1:required:replyToOwner",
|
|
566
|
+
"publication:#/$defs/newsletter/oneOf/1:required:text",
|
|
567
|
+
"publication:#/$defs/newsletter/oneOf/1:required:title",
|
|
568
|
+
"publication:#/$defs/newsletter/oneOf/1:type"
|
|
569
|
+
],
|
|
570
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
571
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
572
|
+
"keyword": "additionalProperties",
|
|
573
|
+
"instance": {
|
|
574
|
+
"mode": "galascribe",
|
|
575
|
+
"title": "fixture-1",
|
|
576
|
+
"text": "fixture-1",
|
|
577
|
+
"emailContent": "card",
|
|
578
|
+
"replyToOwner": false
|
|
579
|
+
}
|
|
580
|
+
},
|
|
452
581
|
{
|
|
453
582
|
"caseId": "publication-boundary-876ecdceb7d1f950",
|
|
454
583
|
"coveredRuleIds": [
|
|
@@ -472,6 +601,21 @@
|
|
|
472
601
|
"direction": "minimum"
|
|
473
602
|
}
|
|
474
603
|
},
|
|
604
|
+
{
|
|
605
|
+
"caseId": "publication-boundary-90e44c18c023670a",
|
|
606
|
+
"coveredRuleIds": [
|
|
607
|
+
"publication:#/$defs/newsletter/oneOf/1/properties/text:x-gala-graphemeLength"
|
|
608
|
+
],
|
|
609
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
610
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/text",
|
|
611
|
+
"keyword": "x-gala-graphemeLength",
|
|
612
|
+
"recipe": {
|
|
613
|
+
"kind": "schema-string-boundary",
|
|
614
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/text",
|
|
615
|
+
"length": 300,
|
|
616
|
+
"direction": "maximum"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
475
619
|
{
|
|
476
620
|
"caseId": "publication-boundary-9513b91bbfc3d7b8",
|
|
477
621
|
"coveredRuleIds": [
|
|
@@ -522,6 +666,16 @@
|
|
|
522
666
|
"keyword": "type",
|
|
523
667
|
"instance": ["019c0000-0000-7000-8000-000000000001"]
|
|
524
668
|
},
|
|
669
|
+
{
|
|
670
|
+
"caseId": "publication-boundary-9fcb1d37a6781c84",
|
|
671
|
+
"coveredRuleIds": [
|
|
672
|
+
"publication:#/$defs/newsletter/oneOf/1/properties/emailContent:enum"
|
|
673
|
+
],
|
|
674
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
675
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/emailContent",
|
|
676
|
+
"keyword": "enum",
|
|
677
|
+
"instance": "card"
|
|
678
|
+
},
|
|
525
679
|
{
|
|
526
680
|
"caseId": "publication-boundary-a9defb191b0db7c2",
|
|
527
681
|
"coveredRuleIds": [
|
|
@@ -534,6 +688,27 @@
|
|
|
534
688
|
"keyword": "format",
|
|
535
689
|
"instance": "content/fixture-1.md"
|
|
536
690
|
},
|
|
691
|
+
{
|
|
692
|
+
"caseId": "publication-boundary-ac3e4ccc674c61c9",
|
|
693
|
+
"coveredRuleIds": [
|
|
694
|
+
"publication:#/$defs/sharing/properties/targets:type",
|
|
695
|
+
"publication:#/$defs/sharing/properties/targets:uniqueItems"
|
|
696
|
+
],
|
|
697
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
698
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
699
|
+
"keyword": "type",
|
|
700
|
+
"instance": ["copy-link"]
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"caseId": "publication-boundary-ad0cc326d56bcd8e",
|
|
704
|
+
"coveredRuleIds": [
|
|
705
|
+
"publication:#/$defs/newsletter/oneOf/0/properties/mode:const"
|
|
706
|
+
],
|
|
707
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
708
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0/properties/mode",
|
|
709
|
+
"keyword": "const",
|
|
710
|
+
"instance": "link"
|
|
711
|
+
},
|
|
537
712
|
{
|
|
538
713
|
"caseId": "publication-boundary-ae454e97b6666108",
|
|
539
714
|
"coveredRuleIds": [
|
|
@@ -650,6 +825,18 @@
|
|
|
650
825
|
"direction": "maximum"
|
|
651
826
|
}
|
|
652
827
|
},
|
|
828
|
+
{
|
|
829
|
+
"caseId": "publication-boundary-c3007be347f752d2",
|
|
830
|
+
"coveredRuleIds": [
|
|
831
|
+
"publication:#/$defs/sharing:additionalProperties",
|
|
832
|
+
"publication:#/$defs/sharing:required:targets",
|
|
833
|
+
"publication:#/$defs/sharing:type"
|
|
834
|
+
],
|
|
835
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
836
|
+
"schemaPointer": "#/$defs/sharing",
|
|
837
|
+
"keyword": "additionalProperties",
|
|
838
|
+
"instance": { "targets": ["copy-link"] }
|
|
839
|
+
},
|
|
653
840
|
{
|
|
654
841
|
"caseId": "publication-boundary-c361402aaeb0dfad",
|
|
655
842
|
"coveredRuleIds": [
|
|
@@ -725,6 +912,16 @@
|
|
|
725
912
|
"keyword": "additionalProperties",
|
|
726
913
|
"instance": { "type": "website", "uri": "https://fixture-1.example.com/" }
|
|
727
914
|
},
|
|
915
|
+
{
|
|
916
|
+
"caseId": "publication-boundary-d2eb877dfcf9dac4",
|
|
917
|
+
"coveredRuleIds": [
|
|
918
|
+
"publication:#/$defs/sharing/properties/targets/items:enum"
|
|
919
|
+
],
|
|
920
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
921
|
+
"schemaPointer": "#/$defs/sharing/properties/targets/items",
|
|
922
|
+
"keyword": "enum",
|
|
923
|
+
"instance": "copy-link"
|
|
924
|
+
},
|
|
728
925
|
{
|
|
729
926
|
"caseId": "publication-boundary-d74f0c9e553e593e",
|
|
730
927
|
"coveredRuleIds": [
|
|
@@ -775,6 +972,19 @@
|
|
|
775
972
|
"direction": "maximum"
|
|
776
973
|
}
|
|
777
974
|
},
|
|
975
|
+
{
|
|
976
|
+
"caseId": "publication-boundary-e38eb4c626f416e9",
|
|
977
|
+
"coveredRuleIds": [
|
|
978
|
+
"publication:#/$defs/contactForm/properties/fields:additionalProperties",
|
|
979
|
+
"publication:#/$defs/contactForm/properties/fields:required:phone",
|
|
980
|
+
"publication:#/$defs/contactForm/properties/fields:required:website",
|
|
981
|
+
"publication:#/$defs/contactForm/properties/fields:type"
|
|
982
|
+
],
|
|
983
|
+
"schemaId": "urn:gala:schema:publication:2.0.0",
|
|
984
|
+
"schemaPointer": "#/$defs/contactForm/properties/fields",
|
|
985
|
+
"keyword": "additionalProperties",
|
|
986
|
+
"instance": { "website": false, "phone": false }
|
|
987
|
+
},
|
|
778
988
|
{
|
|
779
989
|
"caseId": "publication-boundary-eaa5211f77e460f8",
|
|
780
990
|
"coveredRuleIds": [
|
|
@@ -121,25 +121,25 @@
|
|
|
121
121
|
"expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
"caseId": "build-input-invalid-
|
|
124
|
+
"caseId": "build-input-invalid-a5de27eba0f13731",
|
|
125
125
|
"coveredRuleIds": [
|
|
126
|
-
"build-input:#/$defs/publicationNormalized/properties/
|
|
126
|
+
"build-input:#/$defs/publicationNormalized/properties/footerCard/properties/heading:x-gala-graphemeLength"
|
|
127
127
|
],
|
|
128
128
|
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
129
|
-
"schemaPointer": "#/$defs/publicationNormalized/properties/
|
|
129
|
+
"schemaPointer": "#/$defs/publicationNormalized/properties/footerCard/properties/heading",
|
|
130
130
|
"keyword": "x-gala-graphemeLength",
|
|
131
|
-
"recipe": { "kind": "repeat-string", "value": "a", "count":
|
|
131
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 121 },
|
|
132
132
|
"expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"caseId": "build-input-invalid-
|
|
135
|
+
"caseId": "build-input-invalid-b1ed1454af230bba",
|
|
136
136
|
"coveredRuleIds": [
|
|
137
|
-
"build-input:#/$defs/
|
|
137
|
+
"build-input:#/$defs/newsletter/oneOf/1/properties/text:x-gala-graphemeLength"
|
|
138
138
|
],
|
|
139
139
|
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
140
|
-
"schemaPointer": "#/$defs/
|
|
140
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/text",
|
|
141
141
|
"keyword": "x-gala-graphemeLength",
|
|
142
|
-
"recipe": { "kind": "repeat-string", "value": "a", "count":
|
|
142
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 301 },
|
|
143
143
|
"expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
|
|
144
144
|
},
|
|
145
145
|
{
|
|
@@ -174,5 +174,16 @@
|
|
|
174
174
|
"keyword": "x-gala-graphemeLength",
|
|
175
175
|
"recipe": { "kind": "repeat-string", "value": "a", "count": 121 },
|
|
176
176
|
"expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"caseId": "build-input-invalid-f2e0033f3c53e9db",
|
|
180
|
+
"coveredRuleIds": [
|
|
181
|
+
"build-input:#/$defs/newsletter/oneOf/0/properties/text:x-gala-graphemeLength"
|
|
182
|
+
],
|
|
183
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
184
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0/properties/text",
|
|
185
|
+
"keyword": "x-gala-graphemeLength",
|
|
186
|
+
"recipe": { "kind": "repeat-string", "value": "a", "count": 301 },
|
|
187
|
+
"expectedCodes": ["GRAPHEME_LENGTH_INVALID"]
|
|
177
188
|
}
|
|
178
189
|
]
|
|
@@ -68,6 +68,15 @@
|
|
|
68
68
|
},
|
|
69
69
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
70
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"caseId": "build-input-invalid-189e08bc8655b952",
|
|
73
|
+
"coveredRuleIds": ["build-input:#/$defs/sharing:additionalProperties"],
|
|
74
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
75
|
+
"schemaPointer": "#/$defs/sharing",
|
|
76
|
+
"keyword": "additionalProperties",
|
|
77
|
+
"instance": { "targets": ["copy-link"], "unexpected": true },
|
|
78
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
79
|
+
},
|
|
71
80
|
{
|
|
72
81
|
"caseId": "build-input-invalid-1f81fa4597994a19",
|
|
73
82
|
"coveredRuleIds": [
|
|
@@ -302,6 +311,35 @@
|
|
|
302
311
|
},
|
|
303
312
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
304
313
|
},
|
|
314
|
+
{
|
|
315
|
+
"caseId": "build-input-invalid-49a788d0f9d0bb33",
|
|
316
|
+
"coveredRuleIds": [
|
|
317
|
+
"build-input:#/$defs/newsletter/oneOf/1:additionalProperties"
|
|
318
|
+
],
|
|
319
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
320
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1",
|
|
321
|
+
"keyword": "additionalProperties",
|
|
322
|
+
"instance": {
|
|
323
|
+
"mode": "galascribe",
|
|
324
|
+
"title": "fixture-1",
|
|
325
|
+
"text": "fixture-1",
|
|
326
|
+
"emailContent": "card",
|
|
327
|
+
"replyToOwner": false,
|
|
328
|
+
"unexpected": true
|
|
329
|
+
},
|
|
330
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"caseId": "build-input-invalid-4aa9868a8e34c0c0",
|
|
334
|
+
"coveredRuleIds": [
|
|
335
|
+
"build-input:#/$defs/interactionsConfig/properties/follows:additionalProperties"
|
|
336
|
+
],
|
|
337
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
338
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/follows",
|
|
339
|
+
"keyword": "additionalProperties",
|
|
340
|
+
"instance": { "enabled": false, "unexpected": true },
|
|
341
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
342
|
+
},
|
|
305
343
|
{
|
|
306
344
|
"caseId": "build-input-invalid-4df34ff7bd3501db",
|
|
307
345
|
"coveredRuleIds": [
|
|
@@ -380,22 +418,6 @@
|
|
|
380
418
|
},
|
|
381
419
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
382
420
|
},
|
|
383
|
-
{
|
|
384
|
-
"caseId": "build-input-invalid-5f914f6e417eae91",
|
|
385
|
-
"coveredRuleIds": [
|
|
386
|
-
"build-input:#/$defs/publicationNormalized/properties/newsletter:additionalProperties"
|
|
387
|
-
],
|
|
388
|
-
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
389
|
-
"schemaPointer": "#/$defs/publicationNormalized/properties/newsletter",
|
|
390
|
-
"keyword": "additionalProperties",
|
|
391
|
-
"instance": {
|
|
392
|
-
"url": "https://fixture-1.example.com/",
|
|
393
|
-
"title": "fixture-1",
|
|
394
|
-
"text": "fixture-1",
|
|
395
|
-
"unexpected": true
|
|
396
|
-
},
|
|
397
|
-
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
398
|
-
},
|
|
399
421
|
{
|
|
400
422
|
"caseId": "build-input-invalid-5fb2cbe20ce5ef24",
|
|
401
423
|
"coveredRuleIds": [
|
|
@@ -469,6 +491,17 @@
|
|
|
469
491
|
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
470
492
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
471
493
|
},
|
|
494
|
+
{
|
|
495
|
+
"caseId": "build-input-invalid-705805d28f2b5059",
|
|
496
|
+
"coveredRuleIds": [
|
|
497
|
+
"build-input:#/$defs/contactFormNormalized/properties/fields:additionalProperties"
|
|
498
|
+
],
|
|
499
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
500
|
+
"schemaPointer": "#/$defs/contactFormNormalized/properties/fields",
|
|
501
|
+
"keyword": "additionalProperties",
|
|
502
|
+
"instance": { "website": false, "phone": false, "unexpected": true },
|
|
503
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
504
|
+
},
|
|
472
505
|
{
|
|
473
506
|
"caseId": "build-input-invalid-73109553f2feec1c",
|
|
474
507
|
"coveredRuleIds": [
|
|
@@ -527,6 +560,21 @@
|
|
|
527
560
|
"instance": { "unexpected": true },
|
|
528
561
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
529
562
|
},
|
|
563
|
+
{
|
|
564
|
+
"caseId": "build-input-invalid-8f75c8019535ca6d",
|
|
565
|
+
"coveredRuleIds": [
|
|
566
|
+
"build-input:#/$defs/contactFormNormalized:additionalProperties"
|
|
567
|
+
],
|
|
568
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
569
|
+
"schemaPointer": "#/$defs/contactFormNormalized",
|
|
570
|
+
"keyword": "additionalProperties",
|
|
571
|
+
"instance": {
|
|
572
|
+
"enabled": false,
|
|
573
|
+
"fields": { "website": false, "phone": false },
|
|
574
|
+
"unexpected": true
|
|
575
|
+
},
|
|
576
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
577
|
+
},
|
|
530
578
|
{
|
|
531
579
|
"caseId": "build-input-invalid-911c87822866f8d1",
|
|
532
580
|
"coveredRuleIds": [
|
|
@@ -1089,6 +1137,22 @@
|
|
|
1089
1137
|
"instance": { "light": "#000000", "dark": "#000000", "unexpected": true },
|
|
1090
1138
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1091
1139
|
},
|
|
1140
|
+
{
|
|
1141
|
+
"caseId": "build-input-invalid-cfb0d42e56c515a9",
|
|
1142
|
+
"coveredRuleIds": [
|
|
1143
|
+
"build-input:#/$defs/newsletter/oneOf/0:additionalProperties"
|
|
1144
|
+
],
|
|
1145
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1146
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0",
|
|
1147
|
+
"keyword": "additionalProperties",
|
|
1148
|
+
"instance": {
|
|
1149
|
+
"url": "https://fixture-1.example.com/",
|
|
1150
|
+
"title": "fixture-1",
|
|
1151
|
+
"text": "fixture-1",
|
|
1152
|
+
"unexpected": true
|
|
1153
|
+
},
|
|
1154
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1155
|
+
},
|
|
1092
1156
|
{
|
|
1093
1157
|
"caseId": "build-input-invalid-cff55357f8adf2b6",
|
|
1094
1158
|
"coveredRuleIds": [
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
"instance": [null, null],
|
|
22
22
|
"expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"caseId": "build-input-invalid-c3309a7bb211ffa6",
|
|
26
|
+
"coveredRuleIds": [
|
|
27
|
+
"build-input:#/$defs/sharing/properties/targets:uniqueItems"
|
|
28
|
+
],
|
|
29
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
30
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
31
|
+
"keyword": "uniqueItems",
|
|
32
|
+
"instance": [null, null],
|
|
33
|
+
"expectedCodes": ["SCHEMA_ARRAY_DUPLICATE"]
|
|
34
|
+
},
|
|
24
35
|
{
|
|
25
36
|
"caseId": "build-input-invalid-e2bfb348b8f4f086",
|
|
26
37
|
"coveredRuleIds": [
|
|
@@ -72,6 +72,21 @@
|
|
|
72
72
|
},
|
|
73
73
|
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
74
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"caseId": "build-input-invalid-23c3710671377946",
|
|
77
|
+
"coveredRuleIds": [
|
|
78
|
+
"build-input:#/$defs/sharing/properties/targets:maxItems"
|
|
79
|
+
],
|
|
80
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
81
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
82
|
+
"keyword": "maxItems",
|
|
83
|
+
"recipe": {
|
|
84
|
+
"kind": "schema-array-count",
|
|
85
|
+
"schemaPointer": "#/$defs/sharing/properties/targets",
|
|
86
|
+
"length": 12
|
|
87
|
+
},
|
|
88
|
+
"expectedCodes": ["SCHEMA_ARRAY_TOO_LONG"]
|
|
89
|
+
},
|
|
75
90
|
{
|
|
76
91
|
"caseId": "build-input-invalid-2933c5f5b1c3fba2",
|
|
77
92
|
"coveredRuleIds": [
|
|
@@ -96,6 +96,17 @@
|
|
|
96
96
|
"instance": "@rathnasgala2/publish-action-invalid",
|
|
97
97
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
98
98
|
},
|
|
99
|
+
{
|
|
100
|
+
"caseId": "build-input-invalid-5ec9409ddbfbc0e2",
|
|
101
|
+
"coveredRuleIds": [
|
|
102
|
+
"build-input:#/$defs/newsletter/oneOf/0/properties/mode:const"
|
|
103
|
+
],
|
|
104
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
105
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/0/properties/mode",
|
|
106
|
+
"keyword": "const",
|
|
107
|
+
"instance": "link-invalid",
|
|
108
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
109
|
+
},
|
|
99
110
|
{
|
|
100
111
|
"caseId": "build-input-invalid-6b0d2d54e2e7d558",
|
|
101
112
|
"coveredRuleIds": [
|
|
@@ -215,6 +226,17 @@
|
|
|
215
226
|
"instance": "like-invalid",
|
|
216
227
|
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
217
228
|
},
|
|
229
|
+
{
|
|
230
|
+
"caseId": "build-input-invalid-ad776671cc2803e2",
|
|
231
|
+
"coveredRuleIds": [
|
|
232
|
+
"build-input:#/$defs/newsletter/oneOf/1/properties/mode:const"
|
|
233
|
+
],
|
|
234
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
235
|
+
"schemaPointer": "#/$defs/newsletter/oneOf/1/properties/mode",
|
|
236
|
+
"keyword": "const",
|
|
237
|
+
"instance": "galascribe-invalid",
|
|
238
|
+
"expectedCodes": ["SCHEMA_CONSTANT_INVALID"]
|
|
239
|
+
},
|
|
218
240
|
{
|
|
219
241
|
"caseId": "build-input-invalid-ba59109f4a794651",
|
|
220
242
|
"coveredRuleIds": [
|