@rathnasgala2/schemas 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -42
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +557 -7
- package/docs/catalogs/app-components.json +435 -1
- package/docs/catalogs/app-routes.json +153 -2
- package/docs/catalogs/schema-inventory.json +15 -5
- package/examples/valid/artifact-manifest/rules.json +2 -2
- package/examples/valid/build-input/rules.json +341 -1
- package/examples/valid/build-provenance/rules.json +2 -2
- package/examples/valid/interactions-config/canonical.json +18 -0
- package/examples/valid/interactions-config/rules.json +529 -0
- package/fixtures/boundary/artifact-manifest/rules.json +2 -2
- package/fixtures/boundary/build-input/rules.json +408 -9
- package/fixtures/boundary/build-provenance/rules.json +2 -2
- package/fixtures/boundary/interactions-config/root.json +18 -0
- package/fixtures/boundary/interactions-config/rules.json +725 -0
- package/fixtures/invalid/artifact-manifest/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
- package/fixtures/invalid/artifact-manifest/SCHEMA_TYPE_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/HTTPS_URL_INVALID/cases.json +29 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +141 -0
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +20 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +379 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +190 -0
- package/fixtures/invalid/build-input/SCHEMA_VERSION_UNSUPPORTED/cases.json +22 -0
- package/fixtures/invalid/build-provenance/SCHEMA_CONSTANT_INVALID/cases.json +0 -11
- package/fixtures/invalid/build-provenance/SCHEMA_TYPE_INVALID/cases.json +11 -0
- package/fixtures/invalid/interactions-config/BCP47_INVALID/cases.json +58 -0
- package/fixtures/invalid/interactions-config/CANONICAL_ROUTE_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/DIGEST_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/EXTENSION_KEY_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/GIT_OBJECT_ID_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/GRAPHEME_LENGTH_INVALID/cases.json +13 -0
- package/fixtures/invalid/interactions-config/HTTPS_URL_INVALID/cases.json +29 -0
- package/fixtures/invalid/interactions-config/ISO_COUNTRY_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/PACKAGE_EXACT_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/PACKAGE_RANGE_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/PASSIVE_VISUAL_TOKEN_INVALID/cases.json +11 -0
- package/fixtures/invalid/interactions-config/PLAIN_LABEL_INVALID/cases.json +31 -0
- package/fixtures/invalid/interactions-config/PLAIN_TEXT_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/REPOSITORY_GLOB_INVALID/cases.json +49 -0
- package/fixtures/invalid/interactions-config/REPOSITORY_PATH_INVALID/cases.json +62 -0
- package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +108 -0
- package/fixtures/invalid/interactions-config/RFC3339_INVALID/cases.json +29 -0
- package/fixtures/invalid/interactions-config/SCHEMA_ARRAY_TOO_LONG/cases.json +17 -0
- package/fixtures/invalid/interactions-config/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
- package/fixtures/invalid/interactions-config/SCHEMA_ENUM_INVALID/cases.json +13 -0
- package/fixtures/invalid/interactions-config/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_LARGE/cases.json +24 -0
- package/fixtures/invalid/interactions-config/SCHEMA_NUMBER_TOO_SMALL/cases.json +24 -0
- package/fixtures/invalid/interactions-config/SCHEMA_PATTERN_INVALID/cases.json +11 -0
- package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +305 -0
- package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +175 -0
- package/fixtures/invalid/interactions-config/SCHEMA_VERSION_UNSUPPORTED/cases.json +20 -0
- package/fixtures/invalid/interactions-config/SEMVER_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/SEMVER_RANGE_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/SLUG_INVALID/cases.json +38 -0
- package/fixtures/invalid/interactions-config/STABLE_ID_INVALID/cases.json +20 -0
- package/fixtures/invalid/interactions-config/URN_INVALID/cases.json +38 -0
- package/fixtures/manifest.json +4287 -26
- package/fixtures/s2/empty-modules-placements.json +233 -3
- package/fixtures/s2/manifest.json +1 -0
- package/fixtures/unknown-field/artifact-manifest/rules.json +1 -1
- package/fixtures/unknown-field/build-input/rules.json +198 -1
- package/fixtures/unknown-field/build-provenance/rules.json +1 -1
- package/fixtures/unknown-field/interactions-config/root.json +19 -0
- package/fixtures/unknown-field/interactions-config/rules.json +227 -0
- package/generated/browser/validator-core.mjs +4 -3
- package/generated/typescript/contracts/artifact-manifest.d.ts +1 -1
- package/generated/typescript/contracts/build-input.d.ts +58 -1
- package/generated/typescript/contracts/build-provenance.d.ts +1 -1
- package/generated/typescript/contracts/interactions-config.d.ts +91 -0
- package/generated/typescript/index.d.ts +4 -0
- package/generated/typescript/index.js +14 -0
- package/openapi/http-catalog.json +242 -2
- package/openapi/openapi.yaml +6511 -1752
- package/package.json +2 -1
- package/sbom.cdx.json +23 -23
- package/schemas/artifact-manifest.schema.json +1 -1
- package/schemas/build-input.schema.json +117 -2
- package/schemas/build-provenance.schema.json +1 -1
- package/schemas/interactions-config.schema.json +222 -0
- package/src/internal/schema-validator.js +3 -0
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
392
392
|
}
|
|
393
393
|
},
|
|
394
|
-
"modules": { "
|
|
394
|
+
"modules": { "newsletter": {} },
|
|
395
395
|
"buildEpoch": "2026-09-13T12:00:00.000Z",
|
|
396
396
|
"baseUrl": "https://fixture-1.example.com/",
|
|
397
397
|
"basePath": "/fixture-1",
|
|
@@ -408,13 +408,243 @@
|
|
|
408
408
|
"inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
409
409
|
},
|
|
410
410
|
"expectedDiagnostics": [
|
|
411
|
-
{ "code": "SCHEMA_OBJECT_TOO_LARGE", "instancePointer": "/modules" },
|
|
412
411
|
{
|
|
413
412
|
"code": "REQUEST_FIELD_UNKNOWN",
|
|
414
|
-
"instancePointer": "/modules/
|
|
413
|
+
"instancePointer": "/modules/newsletter"
|
|
415
414
|
}
|
|
416
415
|
]
|
|
417
416
|
},
|
|
417
|
+
{
|
|
418
|
+
"caseId": "build-input-valid-interactions-module",
|
|
419
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
420
|
+
"instance": {
|
|
421
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
422
|
+
"schemaVersion": "2.0.0",
|
|
423
|
+
"contractVersion": "2.0.0",
|
|
424
|
+
"repository": {
|
|
425
|
+
"repositoryId": "1",
|
|
426
|
+
"repositoryOwnerId": "1",
|
|
427
|
+
"sourceRevision": "sha1:0000000000000000000000000000000000000001",
|
|
428
|
+
"rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
429
|
+
},
|
|
430
|
+
"sourceRevision": "sha1:0000000000000000000000000000000000000001",
|
|
431
|
+
"packages": {
|
|
432
|
+
"schemas": {
|
|
433
|
+
"package": "@rathnasgala2/schemas",
|
|
434
|
+
"version": "2.0.0",
|
|
435
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
436
|
+
"registry": "https://fixture-1.example.com/"
|
|
437
|
+
},
|
|
438
|
+
"template": {
|
|
439
|
+
"package": "@rathnasgala2/template",
|
|
440
|
+
"version": "2.0.0",
|
|
441
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
442
|
+
"registry": "https://fixture-1.example.com/"
|
|
443
|
+
},
|
|
444
|
+
"theme": {
|
|
445
|
+
"package": "@rathnasgala2/theme-default",
|
|
446
|
+
"version": "2.0.0",
|
|
447
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
448
|
+
"registry": "https://fixture-1.example.com/"
|
|
449
|
+
},
|
|
450
|
+
"publisher": [
|
|
451
|
+
{
|
|
452
|
+
"package": "@rathnasgala2/publish-action",
|
|
453
|
+
"version": "2.0.0",
|
|
454
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
455
|
+
"registry": "https://fixture-1.example.com/"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"package": "@rathnasgala2/publish-kernel",
|
|
459
|
+
"version": "2.0.0",
|
|
460
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
|
|
461
|
+
"registry": "https://fixture-2.example.com/"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"package": "@rathnasgala2/adapter-protocol",
|
|
465
|
+
"version": "2.0.0",
|
|
466
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
|
|
467
|
+
"registry": "https://fixture-3.example.com/"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"package": "@rathnasgala2/adapter-local-directory",
|
|
471
|
+
"version": "2.0.0",
|
|
472
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
|
|
473
|
+
"registry": "https://fixture-4.example.com/"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"dependencies": [
|
|
477
|
+
{
|
|
478
|
+
"package": "fixture-1",
|
|
479
|
+
"version": "2.0.0",
|
|
480
|
+
"integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
481
|
+
"registry": "https://fixture-1.example.com/"
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
"publication": {
|
|
486
|
+
"id": "019c0000-0000-7000-8000-000000000001",
|
|
487
|
+
"slug": "fixture-1",
|
|
488
|
+
"title": "fixture-1",
|
|
489
|
+
"description": "fixture-1",
|
|
490
|
+
"canonicalBase": "https://fixture-1.example.com/",
|
|
491
|
+
"defaultLanguage": "en-US",
|
|
492
|
+
"authorIds": ["019c0000-0000-7000-8000-000000000001"],
|
|
493
|
+
"socialLinks": [
|
|
494
|
+
{ "type": "website", "uri": "https://fixture-1.example.com/" }
|
|
495
|
+
],
|
|
496
|
+
"sourcePath": "content/fixture-1.md",
|
|
497
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
498
|
+
},
|
|
499
|
+
"authors": [
|
|
500
|
+
{
|
|
501
|
+
"id": "019c0000-0000-7000-8000-000000000001",
|
|
502
|
+
"displayName": "fixture-1",
|
|
503
|
+
"biography": "fixture-1",
|
|
504
|
+
"links": [
|
|
505
|
+
{ "type": "website", "uri": "https://fixture-1.example.com/" }
|
|
506
|
+
],
|
|
507
|
+
"localized": [
|
|
508
|
+
{
|
|
509
|
+
"language": "en-US",
|
|
510
|
+
"displayName": "fixture-1",
|
|
511
|
+
"biography": "fixture-1"
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"sourcePath": "content/fixture-1.md",
|
|
515
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"content": [
|
|
519
|
+
{
|
|
520
|
+
"frontmatter": {
|
|
521
|
+
"id": "019c0000-0000-7000-8000-000000000001",
|
|
522
|
+
"kind": "article",
|
|
523
|
+
"title": "fixture-1",
|
|
524
|
+
"language": "en-US",
|
|
525
|
+
"authorIds": ["019c0000-0000-7000-8000-000000000001"],
|
|
526
|
+
"tags": ["fixture-1"],
|
|
527
|
+
"status": "published",
|
|
528
|
+
"createdAt": "2026-09-13T12:00:00.000Z",
|
|
529
|
+
"publishedAt": "2026-09-13T12:00:00.000Z",
|
|
530
|
+
"slug": "fixture-1",
|
|
531
|
+
"redirects": ["/fixture-1"]
|
|
532
|
+
},
|
|
533
|
+
"body": "fixture-1",
|
|
534
|
+
"bodyMediaType": "text/html",
|
|
535
|
+
"bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
536
|
+
"renderPolicy": {
|
|
537
|
+
"name": "gala-render-policy",
|
|
538
|
+
"version": "2.0.0",
|
|
539
|
+
"digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
540
|
+
},
|
|
541
|
+
"sourcePath": "content/fixture-1.md",
|
|
542
|
+
"sourceRevision": "sha1:0000000000000000000000000000000000000001",
|
|
543
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
|
|
544
|
+
"resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"navigation": {
|
|
548
|
+
"items": [
|
|
549
|
+
{
|
|
550
|
+
"type": "internal",
|
|
551
|
+
"label": "fixture-1",
|
|
552
|
+
"children": [
|
|
553
|
+
{
|
|
554
|
+
"type": "internal",
|
|
555
|
+
"label": "fixture-1",
|
|
556
|
+
"children": [],
|
|
557
|
+
"route": "/fixture-1"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"route": "/fixture-1"
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"footerItems": [
|
|
564
|
+
{
|
|
565
|
+
"type": "internal",
|
|
566
|
+
"label": "fixture-1",
|
|
567
|
+
"children": [
|
|
568
|
+
{
|
|
569
|
+
"type": "internal",
|
|
570
|
+
"label": "fixture-1",
|
|
571
|
+
"children": [],
|
|
572
|
+
"route": "/fixture-1"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
"route": "/fixture-1"
|
|
576
|
+
}
|
|
577
|
+
],
|
|
578
|
+
"source": {
|
|
579
|
+
"kind": "authored",
|
|
580
|
+
"sourcePath": "content/fixture-1.md",
|
|
581
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"appearance": {
|
|
585
|
+
"theme": "@rathnasgala2/theme-default@2.0.0",
|
|
586
|
+
"colorMode": { "allowed": ["light"], "default": "light" },
|
|
587
|
+
"headerComposition": "mark-and-name",
|
|
588
|
+
"footerComposition": "profile",
|
|
589
|
+
"typeScale": "compact",
|
|
590
|
+
"fontAssets": [
|
|
591
|
+
{
|
|
592
|
+
"path": "content/fixture-1.md",
|
|
593
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"tokens": {},
|
|
597
|
+
"source": {
|
|
598
|
+
"kind": "authored",
|
|
599
|
+
"sourcePath": "content/fixture-1.md",
|
|
600
|
+
"sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"modules": {
|
|
604
|
+
"interactions": {
|
|
605
|
+
"config": {
|
|
606
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
607
|
+
"schemaVersion": "2.0.0",
|
|
608
|
+
"reactions": {
|
|
609
|
+
"enabled": true,
|
|
610
|
+
"definitions": [
|
|
611
|
+
{
|
|
612
|
+
"key": "insightful",
|
|
613
|
+
"label": "Insightful",
|
|
614
|
+
"visual": { "kind": "emoji", "token": "💡" },
|
|
615
|
+
"order": 1,
|
|
616
|
+
"enabled": true
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
"comments": {
|
|
621
|
+
"enabled": true,
|
|
622
|
+
"allowReplies": true,
|
|
623
|
+
"maxDepth": 3
|
|
624
|
+
},
|
|
625
|
+
"publicCounts": { "reactions": true, "comments": true }
|
|
626
|
+
},
|
|
627
|
+
"apiOrigin": "https://api.galascribe.com",
|
|
628
|
+
"appOrigin": "http://localhost:5173"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"buildEpoch": "2026-09-13T12:00:00.000Z",
|
|
632
|
+
"baseUrl": "https://fixture-1.example.com/",
|
|
633
|
+
"basePath": "/fixture-1",
|
|
634
|
+
"destinationCapabilities": {
|
|
635
|
+
"adapter": {
|
|
636
|
+
"adapterId": "local-directory",
|
|
637
|
+
"adapterVersion": "2.0.0",
|
|
638
|
+
"adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
639
|
+
},
|
|
640
|
+
"baseUrl": "https://fixture-1.example.com/",
|
|
641
|
+
"capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
642
|
+
},
|
|
643
|
+
"placements": [],
|
|
644
|
+
"inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
|
|
645
|
+
},
|
|
646
|
+
"expectedDiagnostics": []
|
|
647
|
+
},
|
|
418
648
|
{
|
|
419
649
|
"caseId": "build-input-rejects-nonempty-placements",
|
|
420
650
|
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"caseIds": [
|
|
26
26
|
"build-input-valid-empty-modules-placements",
|
|
27
27
|
"build-input-rejects-nonempty-modules",
|
|
28
|
+
"build-input-valid-interactions-module",
|
|
28
29
|
"build-input-rejects-nonempty-placements"
|
|
29
30
|
],
|
|
30
31
|
"publicCoverage": "registered-schema-structural-vectors",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"caseId": "artifact-manifest-unknown-0bdf51ac816e1256",
|
|
29
29
|
"coveredRuleIds": [
|
|
30
|
-
"artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:
|
|
30
|
+
"artifact-manifest:#/$defs/manifestRoute/properties/interactionBearing:type",
|
|
31
31
|
"artifact-manifest:#/$defs/manifestRoute/properties/mediaType:enum",
|
|
32
32
|
"artifact-manifest:#/$defs/manifestRoute/properties/routeClass:enum",
|
|
33
33
|
"artifact-manifest:#/$defs/manifestRoute:additionalProperties",
|
|
@@ -210,6 +210,31 @@
|
|
|
210
210
|
},
|
|
211
211
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
212
212
|
},
|
|
213
|
+
{
|
|
214
|
+
"caseId": "build-input-unknown-0ac82bcd811aa1d8",
|
|
215
|
+
"coveredRuleIds": [
|
|
216
|
+
"build-input:#/$defs/interactionsConfig/properties/comments/properties/allowReplies:type",
|
|
217
|
+
"build-input:#/$defs/interactionsConfig/properties/comments/properties/enabled:type",
|
|
218
|
+
"build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:maximum",
|
|
219
|
+
"build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:minimum",
|
|
220
|
+
"build-input:#/$defs/interactionsConfig/properties/comments/properties/maxDepth:type",
|
|
221
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:additionalProperties",
|
|
222
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:required:allowReplies",
|
|
223
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:required:enabled",
|
|
224
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:required:maxDepth",
|
|
225
|
+
"build-input:#/$defs/interactionsConfig/properties/comments:type"
|
|
226
|
+
],
|
|
227
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
228
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/comments",
|
|
229
|
+
"keyword": "additionalProperties",
|
|
230
|
+
"instance": {
|
|
231
|
+
"enabled": false,
|
|
232
|
+
"allowReplies": false,
|
|
233
|
+
"maxDepth": 1,
|
|
234
|
+
"unexpected": true
|
|
235
|
+
},
|
|
236
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
237
|
+
},
|
|
213
238
|
{
|
|
214
239
|
"caseId": "build-input-unknown-18d12a682083a474",
|
|
215
240
|
"coveredRuleIds": [
|
|
@@ -353,6 +378,36 @@
|
|
|
353
378
|
},
|
|
354
379
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
355
380
|
},
|
|
381
|
+
{
|
|
382
|
+
"caseId": "build-input-unknown-32690b22292983d6",
|
|
383
|
+
"coveredRuleIds": [
|
|
384
|
+
"build-input:#/$defs/reactionDefinition/properties/enabled:type",
|
|
385
|
+
"build-input:#/$defs/reactionDefinition/properties/label:type",
|
|
386
|
+
"build-input:#/$defs/reactionDefinition/properties/label:x-gala-graphemeLength",
|
|
387
|
+
"build-input:#/$defs/reactionDefinition/properties/order:maximum",
|
|
388
|
+
"build-input:#/$defs/reactionDefinition/properties/order:minimum",
|
|
389
|
+
"build-input:#/$defs/reactionDefinition/properties/order:type",
|
|
390
|
+
"build-input:#/$defs/reactionDefinition:additionalProperties",
|
|
391
|
+
"build-input:#/$defs/reactionDefinition:required:enabled",
|
|
392
|
+
"build-input:#/$defs/reactionDefinition:required:key",
|
|
393
|
+
"build-input:#/$defs/reactionDefinition:required:label",
|
|
394
|
+
"build-input:#/$defs/reactionDefinition:required:order",
|
|
395
|
+
"build-input:#/$defs/reactionDefinition:required:visual",
|
|
396
|
+
"build-input:#/$defs/reactionDefinition:type"
|
|
397
|
+
],
|
|
398
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
399
|
+
"schemaPointer": "#/$defs/reactionDefinition",
|
|
400
|
+
"keyword": "additionalProperties",
|
|
401
|
+
"instance": {
|
|
402
|
+
"key": "fixture-1",
|
|
403
|
+
"label": "fixture-1",
|
|
404
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
405
|
+
"order": 1,
|
|
406
|
+
"enabled": false,
|
|
407
|
+
"unexpected": true
|
|
408
|
+
},
|
|
409
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
410
|
+
},
|
|
356
411
|
{
|
|
357
412
|
"caseId": "build-input-unknown-334359b90efed75d",
|
|
358
413
|
"coveredRuleIds": [
|
|
@@ -383,6 +438,9 @@
|
|
|
383
438
|
"build-input:#/$defs/glob:minLength",
|
|
384
439
|
"build-input:#/$defs/glob:type",
|
|
385
440
|
"build-input:#/$defs/glob:x-gala-utf8ByteLength",
|
|
441
|
+
"build-input:#/$defs/interactionsServiceOrigin:maxLength",
|
|
442
|
+
"build-input:#/$defs/interactionsServiceOrigin:pattern",
|
|
443
|
+
"build-input:#/$defs/interactionsServiceOrigin:type",
|
|
386
444
|
"build-input:#/$defs/isoCountry:format",
|
|
387
445
|
"build-input:#/$defs/isoCountry:pattern",
|
|
388
446
|
"build-input:#/$defs/isoCountry:type",
|
|
@@ -406,6 +464,10 @@
|
|
|
406
464
|
"build-input:#/$defs/plainLabel:x-gala-graphemeLength",
|
|
407
465
|
"build-input:#/$defs/plainText:format",
|
|
408
466
|
"build-input:#/$defs/plainText:type",
|
|
467
|
+
"build-input:#/$defs/reactionKey/not:const",
|
|
468
|
+
"build-input:#/$defs/reactionKey:not",
|
|
469
|
+
"build-input:#/$defs/reactionKey:pattern",
|
|
470
|
+
"build-input:#/$defs/reactionKey:type",
|
|
409
471
|
"build-input:#/$defs/repoRelativePath:format",
|
|
410
472
|
"build-input:#/$defs/repoRelativePath:maxLength",
|
|
411
473
|
"build-input:#/$defs/repoRelativePath:minLength",
|
|
@@ -705,6 +767,80 @@
|
|
|
705
767
|
},
|
|
706
768
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
707
769
|
},
|
|
770
|
+
{
|
|
771
|
+
"caseId": "build-input-unknown-39a0234ee4a035d0",
|
|
772
|
+
"coveredRuleIds": [
|
|
773
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:additionalProperties",
|
|
774
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:required:apiOrigin",
|
|
775
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:required:appOrigin",
|
|
776
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:required:config",
|
|
777
|
+
"build-input:#/$defs/moduleBuildSelection/properties/interactions:type"
|
|
778
|
+
],
|
|
779
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
780
|
+
"schemaPointer": "#/$defs/moduleBuildSelection/properties/interactions",
|
|
781
|
+
"keyword": "additionalProperties",
|
|
782
|
+
"instance": {
|
|
783
|
+
"config": {
|
|
784
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
785
|
+
"schemaVersion": "2.0.0",
|
|
786
|
+
"reactions": {
|
|
787
|
+
"enabled": false,
|
|
788
|
+
"definitions": [
|
|
789
|
+
{
|
|
790
|
+
"key": "fixture-1",
|
|
791
|
+
"label": "fixture-1",
|
|
792
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
793
|
+
"order": 1,
|
|
794
|
+
"enabled": false
|
|
795
|
+
}
|
|
796
|
+
]
|
|
797
|
+
},
|
|
798
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
799
|
+
"publicCounts": { "reactions": false, "comments": false }
|
|
800
|
+
},
|
|
801
|
+
"apiOrigin": "https://fixture-1.example.com",
|
|
802
|
+
"appOrigin": "https://fixture-1.example.com",
|
|
803
|
+
"unexpected": true
|
|
804
|
+
},
|
|
805
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"caseId": "build-input-unknown-3e63676d6a733634",
|
|
809
|
+
"coveredRuleIds": [
|
|
810
|
+
"build-input:#/$defs/interactionsConfig/properties/schemaId:const",
|
|
811
|
+
"build-input:#/$defs/interactionsConfig/properties/schemaVersion:const",
|
|
812
|
+
"build-input:#/$defs/interactionsConfig:additionalProperties",
|
|
813
|
+
"build-input:#/$defs/interactionsConfig:required:comments",
|
|
814
|
+
"build-input:#/$defs/interactionsConfig:required:publicCounts",
|
|
815
|
+
"build-input:#/$defs/interactionsConfig:required:reactions",
|
|
816
|
+
"build-input:#/$defs/interactionsConfig:required:schemaId",
|
|
817
|
+
"build-input:#/$defs/interactionsConfig:required:schemaVersion",
|
|
818
|
+
"build-input:#/$defs/interactionsConfig:type"
|
|
819
|
+
],
|
|
820
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
821
|
+
"schemaPointer": "#/$defs/interactionsConfig",
|
|
822
|
+
"keyword": "additionalProperties",
|
|
823
|
+
"instance": {
|
|
824
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
825
|
+
"schemaVersion": "2.0.0",
|
|
826
|
+
"reactions": {
|
|
827
|
+
"enabled": false,
|
|
828
|
+
"definitions": [
|
|
829
|
+
{
|
|
830
|
+
"key": "fixture-1",
|
|
831
|
+
"label": "fixture-1",
|
|
832
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
833
|
+
"order": 1,
|
|
834
|
+
"enabled": false
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
},
|
|
838
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
839
|
+
"publicCounts": { "reactions": false, "comments": false },
|
|
840
|
+
"unexpected": true
|
|
841
|
+
},
|
|
842
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
843
|
+
},
|
|
708
844
|
{
|
|
709
845
|
"caseId": "build-input-unknown-463216841286e49b",
|
|
710
846
|
"coveredRuleIds": [
|
|
@@ -956,11 +1092,26 @@
|
|
|
956
1092
|
},
|
|
957
1093
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
958
1094
|
},
|
|
1095
|
+
{
|
|
1096
|
+
"caseId": "build-input-unknown-aa780f7f611f7ee7",
|
|
1097
|
+
"coveredRuleIds": [
|
|
1098
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/comments:type",
|
|
1099
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts/properties/reactions:type",
|
|
1100
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts:additionalProperties",
|
|
1101
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts:required:comments",
|
|
1102
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts:required:reactions",
|
|
1103
|
+
"build-input:#/$defs/interactionsConfig/properties/publicCounts:type"
|
|
1104
|
+
],
|
|
1105
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1106
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/publicCounts",
|
|
1107
|
+
"keyword": "additionalProperties",
|
|
1108
|
+
"instance": { "reactions": false, "comments": false, "unexpected": true },
|
|
1109
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1110
|
+
},
|
|
959
1111
|
{
|
|
960
1112
|
"caseId": "build-input-unknown-ad3a9e70024dcd1c",
|
|
961
1113
|
"coveredRuleIds": [
|
|
962
1114
|
"build-input:#/$defs/moduleBuildSelection:additionalProperties",
|
|
963
|
-
"build-input:#/$defs/moduleBuildSelection:maxProperties",
|
|
964
1115
|
"build-input:#/$defs/moduleBuildSelection:type"
|
|
965
1116
|
],
|
|
966
1117
|
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
@@ -1024,6 +1175,52 @@
|
|
|
1024
1175
|
"instance": { "unexpected": true },
|
|
1025
1176
|
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1026
1177
|
},
|
|
1178
|
+
{
|
|
1179
|
+
"caseId": "build-input-unknown-e33d59edd841db65",
|
|
1180
|
+
"coveredRuleIds": [
|
|
1181
|
+
"build-input:#/$defs/reactionVisual/properties/kind:const",
|
|
1182
|
+
"build-input:#/$defs/reactionVisual/properties/token:enum",
|
|
1183
|
+
"build-input:#/$defs/reactionVisual:additionalProperties",
|
|
1184
|
+
"build-input:#/$defs/reactionVisual:required:kind",
|
|
1185
|
+
"build-input:#/$defs/reactionVisual:required:token",
|
|
1186
|
+
"build-input:#/$defs/reactionVisual:type"
|
|
1187
|
+
],
|
|
1188
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1189
|
+
"schemaPointer": "#/$defs/reactionVisual",
|
|
1190
|
+
"keyword": "additionalProperties",
|
|
1191
|
+
"instance": { "kind": "emoji", "token": "👍", "unexpected": true },
|
|
1192
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"caseId": "build-input-unknown-f10e4d8207bd7581",
|
|
1196
|
+
"coveredRuleIds": [
|
|
1197
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:maxItems",
|
|
1198
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:minItems",
|
|
1199
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions/properties/definitions:type",
|
|
1200
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions/properties/enabled:type",
|
|
1201
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions:additionalProperties",
|
|
1202
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions:required:definitions",
|
|
1203
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions:required:enabled",
|
|
1204
|
+
"build-input:#/$defs/interactionsConfig/properties/reactions:type"
|
|
1205
|
+
],
|
|
1206
|
+
"schemaId": "urn:gala:schema:build-input:2.0.0",
|
|
1207
|
+
"schemaPointer": "#/$defs/interactionsConfig/properties/reactions",
|
|
1208
|
+
"keyword": "additionalProperties",
|
|
1209
|
+
"instance": {
|
|
1210
|
+
"enabled": false,
|
|
1211
|
+
"definitions": [
|
|
1212
|
+
{
|
|
1213
|
+
"key": "fixture-1",
|
|
1214
|
+
"label": "fixture-1",
|
|
1215
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
1216
|
+
"order": 1,
|
|
1217
|
+
"enabled": false
|
|
1218
|
+
}
|
|
1219
|
+
],
|
|
1220
|
+
"unexpected": true
|
|
1221
|
+
},
|
|
1222
|
+
"expectedCodes": ["REQUEST_FIELD_UNKNOWN"]
|
|
1223
|
+
},
|
|
1027
1224
|
{
|
|
1028
1225
|
"caseId": "build-input-unknown-f3a17a27206407ab",
|
|
1029
1226
|
"coveredRuleIds": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"caseId": "build-provenance-unknown-0bdf51ac816e1256",
|
|
29
29
|
"coveredRuleIds": [
|
|
30
|
-
"build-provenance:#/$defs/manifestRoute/properties/interactionBearing:
|
|
30
|
+
"build-provenance:#/$defs/manifestRoute/properties/interactionBearing:type",
|
|
31
31
|
"build-provenance:#/$defs/manifestRoute/properties/mediaType:enum",
|
|
32
32
|
"build-provenance:#/$defs/manifestRoute/properties/routeClass:enum",
|
|
33
33
|
"build-provenance:#/$defs/manifestRoute:additionalProperties",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaId": "urn:gala:schema:interactions-config:2.0.0",
|
|
3
|
+
"schemaVersion": "2.0.0",
|
|
4
|
+
"reactions": {
|
|
5
|
+
"enabled": false,
|
|
6
|
+
"definitions": [
|
|
7
|
+
{
|
|
8
|
+
"key": "fixture-1",
|
|
9
|
+
"label": "fixture-1",
|
|
10
|
+
"visual": { "kind": "emoji", "token": "👍" },
|
|
11
|
+
"order": 1,
|
|
12
|
+
"enabled": false
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"comments": { "enabled": false, "allowReplies": false, "maxDepth": 1 },
|
|
17
|
+
"publicCounts": { "reactions": false, "comments": false },
|
|
18
|
+
"unexpected": true
|
|
19
|
+
}
|