@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.
Files changed (48) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +236 -24
  3. package/docs/catalogs/schema-inventory.json +5 -5
  4. package/examples/valid/build-input/rules.json +229 -28
  5. package/examples/valid/interactions-config/rules.json +22 -0
  6. package/examples/valid/publication/rules.json +192 -13
  7. package/fixtures/boundary/build-input/rules.json +265 -33
  8. package/fixtures/boundary/interactions-config/rules.json +22 -0
  9. package/fixtures/boundary/publication/rules.json +243 -33
  10. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +19 -8
  11. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +80 -16
  12. package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +11 -0
  13. package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
  14. package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
  15. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
  16. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +171 -39
  17. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +122 -11
  18. package/fixtures/invalid/build-input/SCHEMA_UNION_INVALID/cases.json +9 -0
  19. package/fixtures/invalid/interactions-config/REQUEST_FIELD_UNKNOWN/cases.json +11 -0
  20. package/fixtures/invalid/interactions-config/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +11 -0
  21. package/fixtures/invalid/interactions-config/SCHEMA_TYPE_INVALID/cases.json +20 -0
  22. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +22 -11
  23. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +62 -9
  24. package/fixtures/invalid/publication/SCHEMA_ARRAY_DUPLICATE/cases.json +13 -0
  25. package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
  26. package/fixtures/invalid/publication/SCHEMA_CONSTANT_INVALID/cases.json +22 -0
  27. package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +22 -0
  28. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +143 -20
  29. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +95 -4
  30. package/fixtures/invalid/publication/SCHEMA_UNION_INVALID/cases.json +11 -0
  31. package/fixtures/manifest.json +1827 -179
  32. package/fixtures/s2/empty-modules-placements.json +943 -0
  33. package/fixtures/s2/manifest.json +13 -1
  34. package/fixtures/s2/normalized-inputs.json +1704 -0
  35. package/fixtures/unknown-field/build-input/rules.json +118 -21
  36. package/fixtures/unknown-field/interactions-config/rules.json +14 -0
  37. package/fixtures/unknown-field/publication/rules.json +92 -9
  38. package/generated/browser/validator-core.mjs +3 -3
  39. package/generated/typescript/contracts/build-input.d.ts +46 -5
  40. package/generated/typescript/contracts/interactions-config.d.ts +3 -0
  41. package/generated/typescript/contracts/publication.d.ts +40 -5
  42. package/openapi/http-catalog.json +2 -2
  43. package/openapi/openapi.yaml +9 -0
  44. package/package.json +1 -1
  45. package/sbom.cdx.json +23 -23
  46. package/schemas/build-input.schema.json +91 -4
  47. package/schemas/interactions-config.schema.json +7 -0
  48. package/schemas/publication.schema.json +85 -7
@@ -412,6 +412,1710 @@
412
412
  "instancePointer": "/publication/sourceDigest"
413
413
  }
414
414
  ]
415
+ },
416
+ {
417
+ "caseId": "normalized-publication-audience-valid",
418
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
419
+ "instance": {
420
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
421
+ "schemaVersion": "2.0.0",
422
+ "contractVersion": "2.0.0",
423
+ "repository": {
424
+ "repositoryId": "1",
425
+ "repositoryOwnerId": "1",
426
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
427
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
428
+ },
429
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
430
+ "packages": {
431
+ "schemas": {
432
+ "package": "@rathnasgala2/schemas",
433
+ "version": "2.0.0",
434
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
435
+ "registry": "https://fixture-1.example.com/"
436
+ },
437
+ "template": {
438
+ "package": "@rathnasgala2/template",
439
+ "version": "2.0.0",
440
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
441
+ "registry": "https://fixture-1.example.com/"
442
+ },
443
+ "theme": {
444
+ "package": "@rathnasgala2/theme-default",
445
+ "version": "2.0.0",
446
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
447
+ "registry": "https://fixture-1.example.com/"
448
+ },
449
+ "publisher": [
450
+ {
451
+ "package": "@rathnasgala2/publish-action",
452
+ "version": "2.0.0",
453
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
454
+ "registry": "https://fixture-1.example.com/"
455
+ },
456
+ {
457
+ "package": "@rathnasgala2/publish-kernel",
458
+ "version": "2.0.0",
459
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
460
+ "registry": "https://fixture-2.example.com/"
461
+ },
462
+ {
463
+ "package": "@rathnasgala2/adapter-protocol",
464
+ "version": "2.0.0",
465
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
466
+ "registry": "https://fixture-3.example.com/"
467
+ },
468
+ {
469
+ "package": "@rathnasgala2/adapter-local-directory",
470
+ "version": "2.0.0",
471
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
472
+ "registry": "https://fixture-4.example.com/"
473
+ }
474
+ ],
475
+ "dependencies": [
476
+ {
477
+ "package": "fixture-1",
478
+ "version": "2.0.0",
479
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
480
+ "registry": "https://fixture-1.example.com/"
481
+ }
482
+ ]
483
+ },
484
+ "publication": {
485
+ "id": "019c0000-0000-7000-8000-000000000001",
486
+ "slug": "fixture-1",
487
+ "title": "fixture-1",
488
+ "description": "fixture-1",
489
+ "canonicalBase": "https://fixture-1.example.com/",
490
+ "defaultLanguage": "en-US",
491
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
492
+ "socialLinks": [
493
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
494
+ ],
495
+ "sourcePath": "content/fixture-1.md",
496
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
497
+ "sharing": { "targets": ["x", "copy-link", "email"] },
498
+ "newsletter": {
499
+ "mode": "galascribe",
500
+ "title": "Subscribe",
501
+ "text": "New posts by email.",
502
+ "emailContent": "full",
503
+ "replyToOwner": true
504
+ },
505
+ "contactForm": {
506
+ "enabled": true,
507
+ "fields": { "website": true, "phone": false },
508
+ "intro": {
509
+ "sourcePath": "gala/theme-pages/contact.md",
510
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
511
+ "bodyMediaType": "text/html",
512
+ "body": "fixture-1",
513
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
514
+ "renderPolicy": {
515
+ "name": "gala-render-policy",
516
+ "version": "2.0.0",
517
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
518
+ }
519
+ }
520
+ }
521
+ },
522
+ "authors": [
523
+ {
524
+ "id": "019c0000-0000-7000-8000-000000000001",
525
+ "displayName": "fixture-1",
526
+ "biography": "fixture-1",
527
+ "links": [
528
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
529
+ ],
530
+ "localized": [
531
+ {
532
+ "language": "en-US",
533
+ "displayName": "fixture-1",
534
+ "biography": "fixture-1"
535
+ }
536
+ ],
537
+ "sourcePath": "content/fixture-1.md",
538
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
539
+ }
540
+ ],
541
+ "content": [
542
+ {
543
+ "frontmatter": {
544
+ "id": "019c0000-0000-7000-8000-000000000001",
545
+ "kind": "article",
546
+ "title": "fixture-1",
547
+ "language": "en-US",
548
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
549
+ "tags": ["fixture-1"],
550
+ "status": "published",
551
+ "createdAt": "2026-09-13T12:00:00.000Z",
552
+ "publishedAt": "2026-09-13T12:00:00.000Z",
553
+ "slug": "fixture-1",
554
+ "redirects": ["/fixture-1"]
555
+ },
556
+ "body": "fixture-1",
557
+ "bodyMediaType": "text/html",
558
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
559
+ "renderPolicy": {
560
+ "name": "gala-render-policy",
561
+ "version": "2.0.0",
562
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
563
+ },
564
+ "sourcePath": "content/fixture-1.md",
565
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
566
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
567
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
568
+ }
569
+ ],
570
+ "navigation": {
571
+ "items": [
572
+ {
573
+ "type": "internal",
574
+ "label": "fixture-1",
575
+ "children": [
576
+ {
577
+ "type": "internal",
578
+ "label": "fixture-1",
579
+ "children": [],
580
+ "route": "/fixture-1"
581
+ }
582
+ ],
583
+ "route": "/fixture-1"
584
+ }
585
+ ],
586
+ "footerItems": [
587
+ {
588
+ "type": "internal",
589
+ "label": "fixture-1",
590
+ "children": [
591
+ {
592
+ "type": "internal",
593
+ "label": "fixture-1",
594
+ "children": [],
595
+ "route": "/fixture-1"
596
+ }
597
+ ],
598
+ "route": "/fixture-1"
599
+ }
600
+ ],
601
+ "source": {
602
+ "kind": "authored",
603
+ "sourcePath": "content/fixture-1.md",
604
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
605
+ }
606
+ },
607
+ "appearance": {
608
+ "theme": "@rathnasgala2/theme-default@2.0.0",
609
+ "colorMode": { "allowed": ["light"], "default": "light" },
610
+ "headerComposition": "mark-and-name",
611
+ "footerComposition": "profile",
612
+ "typeScale": "compact",
613
+ "fontAssets": [
614
+ {
615
+ "path": "content/fixture-1.md",
616
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
617
+ }
618
+ ],
619
+ "tokens": {},
620
+ "source": {
621
+ "kind": "authored",
622
+ "sourcePath": "content/fixture-1.md",
623
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
624
+ }
625
+ },
626
+ "modules": {},
627
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
628
+ "baseUrl": "https://fixture-1.example.com/",
629
+ "basePath": "/fixture-1",
630
+ "destinationCapabilities": {
631
+ "adapter": {
632
+ "adapterId": "local-directory",
633
+ "adapterVersion": "2.0.0",
634
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
635
+ },
636
+ "baseUrl": "https://fixture-1.example.com/",
637
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
638
+ },
639
+ "placements": [],
640
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
641
+ },
642
+ "expectedDiagnostics": []
643
+ },
644
+ {
645
+ "caseId": "normalized-publication-newsletter-link-without-mode-valid",
646
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
647
+ "instance": {
648
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
649
+ "schemaVersion": "2.0.0",
650
+ "contractVersion": "2.0.0",
651
+ "repository": {
652
+ "repositoryId": "1",
653
+ "repositoryOwnerId": "1",
654
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
655
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
656
+ },
657
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
658
+ "packages": {
659
+ "schemas": {
660
+ "package": "@rathnasgala2/schemas",
661
+ "version": "2.0.0",
662
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
663
+ "registry": "https://fixture-1.example.com/"
664
+ },
665
+ "template": {
666
+ "package": "@rathnasgala2/template",
667
+ "version": "2.0.0",
668
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
669
+ "registry": "https://fixture-1.example.com/"
670
+ },
671
+ "theme": {
672
+ "package": "@rathnasgala2/theme-default",
673
+ "version": "2.0.0",
674
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
675
+ "registry": "https://fixture-1.example.com/"
676
+ },
677
+ "publisher": [
678
+ {
679
+ "package": "@rathnasgala2/publish-action",
680
+ "version": "2.0.0",
681
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
682
+ "registry": "https://fixture-1.example.com/"
683
+ },
684
+ {
685
+ "package": "@rathnasgala2/publish-kernel",
686
+ "version": "2.0.0",
687
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
688
+ "registry": "https://fixture-2.example.com/"
689
+ },
690
+ {
691
+ "package": "@rathnasgala2/adapter-protocol",
692
+ "version": "2.0.0",
693
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
694
+ "registry": "https://fixture-3.example.com/"
695
+ },
696
+ {
697
+ "package": "@rathnasgala2/adapter-local-directory",
698
+ "version": "2.0.0",
699
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
700
+ "registry": "https://fixture-4.example.com/"
701
+ }
702
+ ],
703
+ "dependencies": [
704
+ {
705
+ "package": "fixture-1",
706
+ "version": "2.0.0",
707
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
708
+ "registry": "https://fixture-1.example.com/"
709
+ }
710
+ ]
711
+ },
712
+ "publication": {
713
+ "id": "019c0000-0000-7000-8000-000000000001",
714
+ "slug": "fixture-1",
715
+ "title": "fixture-1",
716
+ "description": "fixture-1",
717
+ "canonicalBase": "https://fixture-1.example.com/",
718
+ "defaultLanguage": "en-US",
719
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
720
+ "socialLinks": [
721
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
722
+ ],
723
+ "sourcePath": "content/fixture-1.md",
724
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
725
+ "newsletter": {
726
+ "url": "https://news.example.com/",
727
+ "title": "Subscribe",
728
+ "text": "New posts by email."
729
+ }
730
+ },
731
+ "authors": [
732
+ {
733
+ "id": "019c0000-0000-7000-8000-000000000001",
734
+ "displayName": "fixture-1",
735
+ "biography": "fixture-1",
736
+ "links": [
737
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
738
+ ],
739
+ "localized": [
740
+ {
741
+ "language": "en-US",
742
+ "displayName": "fixture-1",
743
+ "biography": "fixture-1"
744
+ }
745
+ ],
746
+ "sourcePath": "content/fixture-1.md",
747
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
748
+ }
749
+ ],
750
+ "content": [
751
+ {
752
+ "frontmatter": {
753
+ "id": "019c0000-0000-7000-8000-000000000001",
754
+ "kind": "article",
755
+ "title": "fixture-1",
756
+ "language": "en-US",
757
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
758
+ "tags": ["fixture-1"],
759
+ "status": "published",
760
+ "createdAt": "2026-09-13T12:00:00.000Z",
761
+ "publishedAt": "2026-09-13T12:00:00.000Z",
762
+ "slug": "fixture-1",
763
+ "redirects": ["/fixture-1"]
764
+ },
765
+ "body": "fixture-1",
766
+ "bodyMediaType": "text/html",
767
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
768
+ "renderPolicy": {
769
+ "name": "gala-render-policy",
770
+ "version": "2.0.0",
771
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
772
+ },
773
+ "sourcePath": "content/fixture-1.md",
774
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
775
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
776
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
777
+ }
778
+ ],
779
+ "navigation": {
780
+ "items": [
781
+ {
782
+ "type": "internal",
783
+ "label": "fixture-1",
784
+ "children": [
785
+ {
786
+ "type": "internal",
787
+ "label": "fixture-1",
788
+ "children": [],
789
+ "route": "/fixture-1"
790
+ }
791
+ ],
792
+ "route": "/fixture-1"
793
+ }
794
+ ],
795
+ "footerItems": [
796
+ {
797
+ "type": "internal",
798
+ "label": "fixture-1",
799
+ "children": [
800
+ {
801
+ "type": "internal",
802
+ "label": "fixture-1",
803
+ "children": [],
804
+ "route": "/fixture-1"
805
+ }
806
+ ],
807
+ "route": "/fixture-1"
808
+ }
809
+ ],
810
+ "source": {
811
+ "kind": "authored",
812
+ "sourcePath": "content/fixture-1.md",
813
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
814
+ }
815
+ },
816
+ "appearance": {
817
+ "theme": "@rathnasgala2/theme-default@2.0.0",
818
+ "colorMode": { "allowed": ["light"], "default": "light" },
819
+ "headerComposition": "mark-and-name",
820
+ "footerComposition": "profile",
821
+ "typeScale": "compact",
822
+ "fontAssets": [
823
+ {
824
+ "path": "content/fixture-1.md",
825
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
826
+ }
827
+ ],
828
+ "tokens": {},
829
+ "source": {
830
+ "kind": "authored",
831
+ "sourcePath": "content/fixture-1.md",
832
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
833
+ }
834
+ },
835
+ "modules": {},
836
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
837
+ "baseUrl": "https://fixture-1.example.com/",
838
+ "basePath": "/fixture-1",
839
+ "destinationCapabilities": {
840
+ "adapter": {
841
+ "adapterId": "local-directory",
842
+ "adapterVersion": "2.0.0",
843
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
844
+ },
845
+ "baseUrl": "https://fixture-1.example.com/",
846
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
847
+ },
848
+ "placements": [],
849
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
850
+ },
851
+ "expectedDiagnostics": []
852
+ },
853
+ {
854
+ "caseId": "normalized-publication-sharing-empty-valid",
855
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
856
+ "instance": {
857
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
858
+ "schemaVersion": "2.0.0",
859
+ "contractVersion": "2.0.0",
860
+ "repository": {
861
+ "repositoryId": "1",
862
+ "repositoryOwnerId": "1",
863
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
864
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
865
+ },
866
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
867
+ "packages": {
868
+ "schemas": {
869
+ "package": "@rathnasgala2/schemas",
870
+ "version": "2.0.0",
871
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
872
+ "registry": "https://fixture-1.example.com/"
873
+ },
874
+ "template": {
875
+ "package": "@rathnasgala2/template",
876
+ "version": "2.0.0",
877
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
878
+ "registry": "https://fixture-1.example.com/"
879
+ },
880
+ "theme": {
881
+ "package": "@rathnasgala2/theme-default",
882
+ "version": "2.0.0",
883
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
884
+ "registry": "https://fixture-1.example.com/"
885
+ },
886
+ "publisher": [
887
+ {
888
+ "package": "@rathnasgala2/publish-action",
889
+ "version": "2.0.0",
890
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
891
+ "registry": "https://fixture-1.example.com/"
892
+ },
893
+ {
894
+ "package": "@rathnasgala2/publish-kernel",
895
+ "version": "2.0.0",
896
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
897
+ "registry": "https://fixture-2.example.com/"
898
+ },
899
+ {
900
+ "package": "@rathnasgala2/adapter-protocol",
901
+ "version": "2.0.0",
902
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
903
+ "registry": "https://fixture-3.example.com/"
904
+ },
905
+ {
906
+ "package": "@rathnasgala2/adapter-local-directory",
907
+ "version": "2.0.0",
908
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
909
+ "registry": "https://fixture-4.example.com/"
910
+ }
911
+ ],
912
+ "dependencies": [
913
+ {
914
+ "package": "fixture-1",
915
+ "version": "2.0.0",
916
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
917
+ "registry": "https://fixture-1.example.com/"
918
+ }
919
+ ]
920
+ },
921
+ "publication": {
922
+ "id": "019c0000-0000-7000-8000-000000000001",
923
+ "slug": "fixture-1",
924
+ "title": "fixture-1",
925
+ "description": "fixture-1",
926
+ "canonicalBase": "https://fixture-1.example.com/",
927
+ "defaultLanguage": "en-US",
928
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
929
+ "socialLinks": [
930
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
931
+ ],
932
+ "sourcePath": "content/fixture-1.md",
933
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
934
+ "sharing": { "targets": [] }
935
+ },
936
+ "authors": [
937
+ {
938
+ "id": "019c0000-0000-7000-8000-000000000001",
939
+ "displayName": "fixture-1",
940
+ "biography": "fixture-1",
941
+ "links": [
942
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
943
+ ],
944
+ "localized": [
945
+ {
946
+ "language": "en-US",
947
+ "displayName": "fixture-1",
948
+ "biography": "fixture-1"
949
+ }
950
+ ],
951
+ "sourcePath": "content/fixture-1.md",
952
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
953
+ }
954
+ ],
955
+ "content": [
956
+ {
957
+ "frontmatter": {
958
+ "id": "019c0000-0000-7000-8000-000000000001",
959
+ "kind": "article",
960
+ "title": "fixture-1",
961
+ "language": "en-US",
962
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
963
+ "tags": ["fixture-1"],
964
+ "status": "published",
965
+ "createdAt": "2026-09-13T12:00:00.000Z",
966
+ "publishedAt": "2026-09-13T12:00:00.000Z",
967
+ "slug": "fixture-1",
968
+ "redirects": ["/fixture-1"]
969
+ },
970
+ "body": "fixture-1",
971
+ "bodyMediaType": "text/html",
972
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
973
+ "renderPolicy": {
974
+ "name": "gala-render-policy",
975
+ "version": "2.0.0",
976
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
977
+ },
978
+ "sourcePath": "content/fixture-1.md",
979
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
980
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
981
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
982
+ }
983
+ ],
984
+ "navigation": {
985
+ "items": [
986
+ {
987
+ "type": "internal",
988
+ "label": "fixture-1",
989
+ "children": [
990
+ {
991
+ "type": "internal",
992
+ "label": "fixture-1",
993
+ "children": [],
994
+ "route": "/fixture-1"
995
+ }
996
+ ],
997
+ "route": "/fixture-1"
998
+ }
999
+ ],
1000
+ "footerItems": [
1001
+ {
1002
+ "type": "internal",
1003
+ "label": "fixture-1",
1004
+ "children": [
1005
+ {
1006
+ "type": "internal",
1007
+ "label": "fixture-1",
1008
+ "children": [],
1009
+ "route": "/fixture-1"
1010
+ }
1011
+ ],
1012
+ "route": "/fixture-1"
1013
+ }
1014
+ ],
1015
+ "source": {
1016
+ "kind": "authored",
1017
+ "sourcePath": "content/fixture-1.md",
1018
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1019
+ }
1020
+ },
1021
+ "appearance": {
1022
+ "theme": "@rathnasgala2/theme-default@2.0.0",
1023
+ "colorMode": { "allowed": ["light"], "default": "light" },
1024
+ "headerComposition": "mark-and-name",
1025
+ "footerComposition": "profile",
1026
+ "typeScale": "compact",
1027
+ "fontAssets": [
1028
+ {
1029
+ "path": "content/fixture-1.md",
1030
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1031
+ }
1032
+ ],
1033
+ "tokens": {},
1034
+ "source": {
1035
+ "kind": "authored",
1036
+ "sourcePath": "content/fixture-1.md",
1037
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1038
+ }
1039
+ },
1040
+ "modules": {},
1041
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
1042
+ "baseUrl": "https://fixture-1.example.com/",
1043
+ "basePath": "/fixture-1",
1044
+ "destinationCapabilities": {
1045
+ "adapter": {
1046
+ "adapterId": "local-directory",
1047
+ "adapterVersion": "2.0.0",
1048
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1049
+ },
1050
+ "baseUrl": "https://fixture-1.example.com/",
1051
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1052
+ },
1053
+ "placements": [],
1054
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1055
+ },
1056
+ "expectedDiagnostics": []
1057
+ },
1058
+ {
1059
+ "caseId": "normalized-publication-newsletter-both-modes-invalid",
1060
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1061
+ "instance": {
1062
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1063
+ "schemaVersion": "2.0.0",
1064
+ "contractVersion": "2.0.0",
1065
+ "repository": {
1066
+ "repositoryId": "1",
1067
+ "repositoryOwnerId": "1",
1068
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1069
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1070
+ },
1071
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1072
+ "packages": {
1073
+ "schemas": {
1074
+ "package": "@rathnasgala2/schemas",
1075
+ "version": "2.0.0",
1076
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1077
+ "registry": "https://fixture-1.example.com/"
1078
+ },
1079
+ "template": {
1080
+ "package": "@rathnasgala2/template",
1081
+ "version": "2.0.0",
1082
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1083
+ "registry": "https://fixture-1.example.com/"
1084
+ },
1085
+ "theme": {
1086
+ "package": "@rathnasgala2/theme-default",
1087
+ "version": "2.0.0",
1088
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1089
+ "registry": "https://fixture-1.example.com/"
1090
+ },
1091
+ "publisher": [
1092
+ {
1093
+ "package": "@rathnasgala2/publish-action",
1094
+ "version": "2.0.0",
1095
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1096
+ "registry": "https://fixture-1.example.com/"
1097
+ },
1098
+ {
1099
+ "package": "@rathnasgala2/publish-kernel",
1100
+ "version": "2.0.0",
1101
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
1102
+ "registry": "https://fixture-2.example.com/"
1103
+ },
1104
+ {
1105
+ "package": "@rathnasgala2/adapter-protocol",
1106
+ "version": "2.0.0",
1107
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
1108
+ "registry": "https://fixture-3.example.com/"
1109
+ },
1110
+ {
1111
+ "package": "@rathnasgala2/adapter-local-directory",
1112
+ "version": "2.0.0",
1113
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
1114
+ "registry": "https://fixture-4.example.com/"
1115
+ }
1116
+ ],
1117
+ "dependencies": [
1118
+ {
1119
+ "package": "fixture-1",
1120
+ "version": "2.0.0",
1121
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1122
+ "registry": "https://fixture-1.example.com/"
1123
+ }
1124
+ ]
1125
+ },
1126
+ "publication": {
1127
+ "id": "019c0000-0000-7000-8000-000000000001",
1128
+ "slug": "fixture-1",
1129
+ "title": "fixture-1",
1130
+ "description": "fixture-1",
1131
+ "canonicalBase": "https://fixture-1.example.com/",
1132
+ "defaultLanguage": "en-US",
1133
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1134
+ "socialLinks": [
1135
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1136
+ ],
1137
+ "sourcePath": "content/fixture-1.md",
1138
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1139
+ "newsletter": {
1140
+ "mode": "galascribe",
1141
+ "title": "Subscribe",
1142
+ "text": "New posts by email.",
1143
+ "emailContent": "full",
1144
+ "replyToOwner": true,
1145
+ "url": "https://news.example.com/"
1146
+ }
1147
+ },
1148
+ "authors": [
1149
+ {
1150
+ "id": "019c0000-0000-7000-8000-000000000001",
1151
+ "displayName": "fixture-1",
1152
+ "biography": "fixture-1",
1153
+ "links": [
1154
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1155
+ ],
1156
+ "localized": [
1157
+ {
1158
+ "language": "en-US",
1159
+ "displayName": "fixture-1",
1160
+ "biography": "fixture-1"
1161
+ }
1162
+ ],
1163
+ "sourcePath": "content/fixture-1.md",
1164
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1165
+ }
1166
+ ],
1167
+ "content": [
1168
+ {
1169
+ "frontmatter": {
1170
+ "id": "019c0000-0000-7000-8000-000000000001",
1171
+ "kind": "article",
1172
+ "title": "fixture-1",
1173
+ "language": "en-US",
1174
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1175
+ "tags": ["fixture-1"],
1176
+ "status": "published",
1177
+ "createdAt": "2026-09-13T12:00:00.000Z",
1178
+ "publishedAt": "2026-09-13T12:00:00.000Z",
1179
+ "slug": "fixture-1",
1180
+ "redirects": ["/fixture-1"]
1181
+ },
1182
+ "body": "fixture-1",
1183
+ "bodyMediaType": "text/html",
1184
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1185
+ "renderPolicy": {
1186
+ "name": "gala-render-policy",
1187
+ "version": "2.0.0",
1188
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1189
+ },
1190
+ "sourcePath": "content/fixture-1.md",
1191
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1192
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1193
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
1194
+ }
1195
+ ],
1196
+ "navigation": {
1197
+ "items": [
1198
+ {
1199
+ "type": "internal",
1200
+ "label": "fixture-1",
1201
+ "children": [
1202
+ {
1203
+ "type": "internal",
1204
+ "label": "fixture-1",
1205
+ "children": [],
1206
+ "route": "/fixture-1"
1207
+ }
1208
+ ],
1209
+ "route": "/fixture-1"
1210
+ }
1211
+ ],
1212
+ "footerItems": [
1213
+ {
1214
+ "type": "internal",
1215
+ "label": "fixture-1",
1216
+ "children": [
1217
+ {
1218
+ "type": "internal",
1219
+ "label": "fixture-1",
1220
+ "children": [],
1221
+ "route": "/fixture-1"
1222
+ }
1223
+ ],
1224
+ "route": "/fixture-1"
1225
+ }
1226
+ ],
1227
+ "source": {
1228
+ "kind": "authored",
1229
+ "sourcePath": "content/fixture-1.md",
1230
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1231
+ }
1232
+ },
1233
+ "appearance": {
1234
+ "theme": "@rathnasgala2/theme-default@2.0.0",
1235
+ "colorMode": { "allowed": ["light"], "default": "light" },
1236
+ "headerComposition": "mark-and-name",
1237
+ "footerComposition": "profile",
1238
+ "typeScale": "compact",
1239
+ "fontAssets": [
1240
+ {
1241
+ "path": "content/fixture-1.md",
1242
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1243
+ }
1244
+ ],
1245
+ "tokens": {},
1246
+ "source": {
1247
+ "kind": "authored",
1248
+ "sourcePath": "content/fixture-1.md",
1249
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1250
+ }
1251
+ },
1252
+ "modules": {},
1253
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
1254
+ "baseUrl": "https://fixture-1.example.com/",
1255
+ "basePath": "/fixture-1",
1256
+ "destinationCapabilities": {
1257
+ "adapter": {
1258
+ "adapterId": "local-directory",
1259
+ "adapterVersion": "2.0.0",
1260
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1261
+ },
1262
+ "baseUrl": "https://fixture-1.example.com/",
1263
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1264
+ },
1265
+ "placements": [],
1266
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1267
+ },
1268
+ "expectedDiagnostics": [
1269
+ {
1270
+ "code": "SCHEMA_UNION_INVALID",
1271
+ "instancePointer": "/publication/newsletter"
1272
+ }
1273
+ ]
1274
+ },
1275
+ {
1276
+ "caseId": "normalized-publication-newsletter-mode-missing-invalid",
1277
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1278
+ "instance": {
1279
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1280
+ "schemaVersion": "2.0.0",
1281
+ "contractVersion": "2.0.0",
1282
+ "repository": {
1283
+ "repositoryId": "1",
1284
+ "repositoryOwnerId": "1",
1285
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1286
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1287
+ },
1288
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1289
+ "packages": {
1290
+ "schemas": {
1291
+ "package": "@rathnasgala2/schemas",
1292
+ "version": "2.0.0",
1293
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1294
+ "registry": "https://fixture-1.example.com/"
1295
+ },
1296
+ "template": {
1297
+ "package": "@rathnasgala2/template",
1298
+ "version": "2.0.0",
1299
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1300
+ "registry": "https://fixture-1.example.com/"
1301
+ },
1302
+ "theme": {
1303
+ "package": "@rathnasgala2/theme-default",
1304
+ "version": "2.0.0",
1305
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1306
+ "registry": "https://fixture-1.example.com/"
1307
+ },
1308
+ "publisher": [
1309
+ {
1310
+ "package": "@rathnasgala2/publish-action",
1311
+ "version": "2.0.0",
1312
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1313
+ "registry": "https://fixture-1.example.com/"
1314
+ },
1315
+ {
1316
+ "package": "@rathnasgala2/publish-kernel",
1317
+ "version": "2.0.0",
1318
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
1319
+ "registry": "https://fixture-2.example.com/"
1320
+ },
1321
+ {
1322
+ "package": "@rathnasgala2/adapter-protocol",
1323
+ "version": "2.0.0",
1324
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
1325
+ "registry": "https://fixture-3.example.com/"
1326
+ },
1327
+ {
1328
+ "package": "@rathnasgala2/adapter-local-directory",
1329
+ "version": "2.0.0",
1330
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
1331
+ "registry": "https://fixture-4.example.com/"
1332
+ }
1333
+ ],
1334
+ "dependencies": [
1335
+ {
1336
+ "package": "fixture-1",
1337
+ "version": "2.0.0",
1338
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1339
+ "registry": "https://fixture-1.example.com/"
1340
+ }
1341
+ ]
1342
+ },
1343
+ "publication": {
1344
+ "id": "019c0000-0000-7000-8000-000000000001",
1345
+ "slug": "fixture-1",
1346
+ "title": "fixture-1",
1347
+ "description": "fixture-1",
1348
+ "canonicalBase": "https://fixture-1.example.com/",
1349
+ "defaultLanguage": "en-US",
1350
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1351
+ "socialLinks": [
1352
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1353
+ ],
1354
+ "sourcePath": "content/fixture-1.md",
1355
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1356
+ "newsletter": {
1357
+ "title": "Subscribe",
1358
+ "text": "New posts by email.",
1359
+ "emailContent": "full",
1360
+ "replyToOwner": true
1361
+ }
1362
+ },
1363
+ "authors": [
1364
+ {
1365
+ "id": "019c0000-0000-7000-8000-000000000001",
1366
+ "displayName": "fixture-1",
1367
+ "biography": "fixture-1",
1368
+ "links": [
1369
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1370
+ ],
1371
+ "localized": [
1372
+ {
1373
+ "language": "en-US",
1374
+ "displayName": "fixture-1",
1375
+ "biography": "fixture-1"
1376
+ }
1377
+ ],
1378
+ "sourcePath": "content/fixture-1.md",
1379
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1380
+ }
1381
+ ],
1382
+ "content": [
1383
+ {
1384
+ "frontmatter": {
1385
+ "id": "019c0000-0000-7000-8000-000000000001",
1386
+ "kind": "article",
1387
+ "title": "fixture-1",
1388
+ "language": "en-US",
1389
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1390
+ "tags": ["fixture-1"],
1391
+ "status": "published",
1392
+ "createdAt": "2026-09-13T12:00:00.000Z",
1393
+ "publishedAt": "2026-09-13T12:00:00.000Z",
1394
+ "slug": "fixture-1",
1395
+ "redirects": ["/fixture-1"]
1396
+ },
1397
+ "body": "fixture-1",
1398
+ "bodyMediaType": "text/html",
1399
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1400
+ "renderPolicy": {
1401
+ "name": "gala-render-policy",
1402
+ "version": "2.0.0",
1403
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1404
+ },
1405
+ "sourcePath": "content/fixture-1.md",
1406
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1407
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1408
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
1409
+ }
1410
+ ],
1411
+ "navigation": {
1412
+ "items": [
1413
+ {
1414
+ "type": "internal",
1415
+ "label": "fixture-1",
1416
+ "children": [
1417
+ {
1418
+ "type": "internal",
1419
+ "label": "fixture-1",
1420
+ "children": [],
1421
+ "route": "/fixture-1"
1422
+ }
1423
+ ],
1424
+ "route": "/fixture-1"
1425
+ }
1426
+ ],
1427
+ "footerItems": [
1428
+ {
1429
+ "type": "internal",
1430
+ "label": "fixture-1",
1431
+ "children": [
1432
+ {
1433
+ "type": "internal",
1434
+ "label": "fixture-1",
1435
+ "children": [],
1436
+ "route": "/fixture-1"
1437
+ }
1438
+ ],
1439
+ "route": "/fixture-1"
1440
+ }
1441
+ ],
1442
+ "source": {
1443
+ "kind": "authored",
1444
+ "sourcePath": "content/fixture-1.md",
1445
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1446
+ }
1447
+ },
1448
+ "appearance": {
1449
+ "theme": "@rathnasgala2/theme-default@2.0.0",
1450
+ "colorMode": { "allowed": ["light"], "default": "light" },
1451
+ "headerComposition": "mark-and-name",
1452
+ "footerComposition": "profile",
1453
+ "typeScale": "compact",
1454
+ "fontAssets": [
1455
+ {
1456
+ "path": "content/fixture-1.md",
1457
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1458
+ }
1459
+ ],
1460
+ "tokens": {},
1461
+ "source": {
1462
+ "kind": "authored",
1463
+ "sourcePath": "content/fixture-1.md",
1464
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1465
+ }
1466
+ },
1467
+ "modules": {},
1468
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
1469
+ "baseUrl": "https://fixture-1.example.com/",
1470
+ "basePath": "/fixture-1",
1471
+ "destinationCapabilities": {
1472
+ "adapter": {
1473
+ "adapterId": "local-directory",
1474
+ "adapterVersion": "2.0.0",
1475
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1476
+ },
1477
+ "baseUrl": "https://fixture-1.example.com/",
1478
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1479
+ },
1480
+ "placements": [],
1481
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1482
+ },
1483
+ "expectedDiagnostics": [
1484
+ {
1485
+ "code": "SCHEMA_UNION_INVALID",
1486
+ "instancePointer": "/publication/newsletter"
1487
+ }
1488
+ ]
1489
+ },
1490
+ {
1491
+ "caseId": "normalized-publication-sharing-unknown-target-invalid",
1492
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1493
+ "instance": {
1494
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1495
+ "schemaVersion": "2.0.0",
1496
+ "contractVersion": "2.0.0",
1497
+ "repository": {
1498
+ "repositoryId": "1",
1499
+ "repositoryOwnerId": "1",
1500
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1501
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1502
+ },
1503
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1504
+ "packages": {
1505
+ "schemas": {
1506
+ "package": "@rathnasgala2/schemas",
1507
+ "version": "2.0.0",
1508
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1509
+ "registry": "https://fixture-1.example.com/"
1510
+ },
1511
+ "template": {
1512
+ "package": "@rathnasgala2/template",
1513
+ "version": "2.0.0",
1514
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1515
+ "registry": "https://fixture-1.example.com/"
1516
+ },
1517
+ "theme": {
1518
+ "package": "@rathnasgala2/theme-default",
1519
+ "version": "2.0.0",
1520
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1521
+ "registry": "https://fixture-1.example.com/"
1522
+ },
1523
+ "publisher": [
1524
+ {
1525
+ "package": "@rathnasgala2/publish-action",
1526
+ "version": "2.0.0",
1527
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1528
+ "registry": "https://fixture-1.example.com/"
1529
+ },
1530
+ {
1531
+ "package": "@rathnasgala2/publish-kernel",
1532
+ "version": "2.0.0",
1533
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
1534
+ "registry": "https://fixture-2.example.com/"
1535
+ },
1536
+ {
1537
+ "package": "@rathnasgala2/adapter-protocol",
1538
+ "version": "2.0.0",
1539
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
1540
+ "registry": "https://fixture-3.example.com/"
1541
+ },
1542
+ {
1543
+ "package": "@rathnasgala2/adapter-local-directory",
1544
+ "version": "2.0.0",
1545
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
1546
+ "registry": "https://fixture-4.example.com/"
1547
+ }
1548
+ ],
1549
+ "dependencies": [
1550
+ {
1551
+ "package": "fixture-1",
1552
+ "version": "2.0.0",
1553
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1554
+ "registry": "https://fixture-1.example.com/"
1555
+ }
1556
+ ]
1557
+ },
1558
+ "publication": {
1559
+ "id": "019c0000-0000-7000-8000-000000000001",
1560
+ "slug": "fixture-1",
1561
+ "title": "fixture-1",
1562
+ "description": "fixture-1",
1563
+ "canonicalBase": "https://fixture-1.example.com/",
1564
+ "defaultLanguage": "en-US",
1565
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1566
+ "socialLinks": [
1567
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1568
+ ],
1569
+ "sourcePath": "content/fixture-1.md",
1570
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1571
+ "sharing": { "targets": ["mastodon"] }
1572
+ },
1573
+ "authors": [
1574
+ {
1575
+ "id": "019c0000-0000-7000-8000-000000000001",
1576
+ "displayName": "fixture-1",
1577
+ "biography": "fixture-1",
1578
+ "links": [
1579
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1580
+ ],
1581
+ "localized": [
1582
+ {
1583
+ "language": "en-US",
1584
+ "displayName": "fixture-1",
1585
+ "biography": "fixture-1"
1586
+ }
1587
+ ],
1588
+ "sourcePath": "content/fixture-1.md",
1589
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1590
+ }
1591
+ ],
1592
+ "content": [
1593
+ {
1594
+ "frontmatter": {
1595
+ "id": "019c0000-0000-7000-8000-000000000001",
1596
+ "kind": "article",
1597
+ "title": "fixture-1",
1598
+ "language": "en-US",
1599
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1600
+ "tags": ["fixture-1"],
1601
+ "status": "published",
1602
+ "createdAt": "2026-09-13T12:00:00.000Z",
1603
+ "publishedAt": "2026-09-13T12:00:00.000Z",
1604
+ "slug": "fixture-1",
1605
+ "redirects": ["/fixture-1"]
1606
+ },
1607
+ "body": "fixture-1",
1608
+ "bodyMediaType": "text/html",
1609
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1610
+ "renderPolicy": {
1611
+ "name": "gala-render-policy",
1612
+ "version": "2.0.0",
1613
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1614
+ },
1615
+ "sourcePath": "content/fixture-1.md",
1616
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1617
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1618
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
1619
+ }
1620
+ ],
1621
+ "navigation": {
1622
+ "items": [
1623
+ {
1624
+ "type": "internal",
1625
+ "label": "fixture-1",
1626
+ "children": [
1627
+ {
1628
+ "type": "internal",
1629
+ "label": "fixture-1",
1630
+ "children": [],
1631
+ "route": "/fixture-1"
1632
+ }
1633
+ ],
1634
+ "route": "/fixture-1"
1635
+ }
1636
+ ],
1637
+ "footerItems": [
1638
+ {
1639
+ "type": "internal",
1640
+ "label": "fixture-1",
1641
+ "children": [
1642
+ {
1643
+ "type": "internal",
1644
+ "label": "fixture-1",
1645
+ "children": [],
1646
+ "route": "/fixture-1"
1647
+ }
1648
+ ],
1649
+ "route": "/fixture-1"
1650
+ }
1651
+ ],
1652
+ "source": {
1653
+ "kind": "authored",
1654
+ "sourcePath": "content/fixture-1.md",
1655
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1656
+ }
1657
+ },
1658
+ "appearance": {
1659
+ "theme": "@rathnasgala2/theme-default@2.0.0",
1660
+ "colorMode": { "allowed": ["light"], "default": "light" },
1661
+ "headerComposition": "mark-and-name",
1662
+ "footerComposition": "profile",
1663
+ "typeScale": "compact",
1664
+ "fontAssets": [
1665
+ {
1666
+ "path": "content/fixture-1.md",
1667
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1668
+ }
1669
+ ],
1670
+ "tokens": {},
1671
+ "source": {
1672
+ "kind": "authored",
1673
+ "sourcePath": "content/fixture-1.md",
1674
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1675
+ }
1676
+ },
1677
+ "modules": {},
1678
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
1679
+ "baseUrl": "https://fixture-1.example.com/",
1680
+ "basePath": "/fixture-1",
1681
+ "destinationCapabilities": {
1682
+ "adapter": {
1683
+ "adapterId": "local-directory",
1684
+ "adapterVersion": "2.0.0",
1685
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1686
+ },
1687
+ "baseUrl": "https://fixture-1.example.com/",
1688
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1689
+ },
1690
+ "placements": [],
1691
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1692
+ },
1693
+ "expectedDiagnostics": [
1694
+ {
1695
+ "code": "SCHEMA_ENUM_INVALID",
1696
+ "instancePointer": "/publication/sharing/targets/0"
1697
+ }
1698
+ ]
1699
+ },
1700
+ {
1701
+ "caseId": "normalized-publication-sharing-duplicate-target-invalid",
1702
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1703
+ "instance": {
1704
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1705
+ "schemaVersion": "2.0.0",
1706
+ "contractVersion": "2.0.0",
1707
+ "repository": {
1708
+ "repositoryId": "1",
1709
+ "repositoryOwnerId": "1",
1710
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1711
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1712
+ },
1713
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1714
+ "packages": {
1715
+ "schemas": {
1716
+ "package": "@rathnasgala2/schemas",
1717
+ "version": "2.0.0",
1718
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1719
+ "registry": "https://fixture-1.example.com/"
1720
+ },
1721
+ "template": {
1722
+ "package": "@rathnasgala2/template",
1723
+ "version": "2.0.0",
1724
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1725
+ "registry": "https://fixture-1.example.com/"
1726
+ },
1727
+ "theme": {
1728
+ "package": "@rathnasgala2/theme-default",
1729
+ "version": "2.0.0",
1730
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1731
+ "registry": "https://fixture-1.example.com/"
1732
+ },
1733
+ "publisher": [
1734
+ {
1735
+ "package": "@rathnasgala2/publish-action",
1736
+ "version": "2.0.0",
1737
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1738
+ "registry": "https://fixture-1.example.com/"
1739
+ },
1740
+ {
1741
+ "package": "@rathnasgala2/publish-kernel",
1742
+ "version": "2.0.0",
1743
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
1744
+ "registry": "https://fixture-2.example.com/"
1745
+ },
1746
+ {
1747
+ "package": "@rathnasgala2/adapter-protocol",
1748
+ "version": "2.0.0",
1749
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
1750
+ "registry": "https://fixture-3.example.com/"
1751
+ },
1752
+ {
1753
+ "package": "@rathnasgala2/adapter-local-directory",
1754
+ "version": "2.0.0",
1755
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
1756
+ "registry": "https://fixture-4.example.com/"
1757
+ }
1758
+ ],
1759
+ "dependencies": [
1760
+ {
1761
+ "package": "fixture-1",
1762
+ "version": "2.0.0",
1763
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1764
+ "registry": "https://fixture-1.example.com/"
1765
+ }
1766
+ ]
1767
+ },
1768
+ "publication": {
1769
+ "id": "019c0000-0000-7000-8000-000000000001",
1770
+ "slug": "fixture-1",
1771
+ "title": "fixture-1",
1772
+ "description": "fixture-1",
1773
+ "canonicalBase": "https://fixture-1.example.com/",
1774
+ "defaultLanguage": "en-US",
1775
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1776
+ "socialLinks": [
1777
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1778
+ ],
1779
+ "sourcePath": "content/fixture-1.md",
1780
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1781
+ "sharing": { "targets": ["x", "x"] }
1782
+ },
1783
+ "authors": [
1784
+ {
1785
+ "id": "019c0000-0000-7000-8000-000000000001",
1786
+ "displayName": "fixture-1",
1787
+ "biography": "fixture-1",
1788
+ "links": [
1789
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1790
+ ],
1791
+ "localized": [
1792
+ {
1793
+ "language": "en-US",
1794
+ "displayName": "fixture-1",
1795
+ "biography": "fixture-1"
1796
+ }
1797
+ ],
1798
+ "sourcePath": "content/fixture-1.md",
1799
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1800
+ }
1801
+ ],
1802
+ "content": [
1803
+ {
1804
+ "frontmatter": {
1805
+ "id": "019c0000-0000-7000-8000-000000000001",
1806
+ "kind": "article",
1807
+ "title": "fixture-1",
1808
+ "language": "en-US",
1809
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1810
+ "tags": ["fixture-1"],
1811
+ "status": "published",
1812
+ "createdAt": "2026-09-13T12:00:00.000Z",
1813
+ "publishedAt": "2026-09-13T12:00:00.000Z",
1814
+ "slug": "fixture-1",
1815
+ "redirects": ["/fixture-1"]
1816
+ },
1817
+ "body": "fixture-1",
1818
+ "bodyMediaType": "text/html",
1819
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1820
+ "renderPolicy": {
1821
+ "name": "gala-render-policy",
1822
+ "version": "2.0.0",
1823
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1824
+ },
1825
+ "sourcePath": "content/fixture-1.md",
1826
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1827
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1828
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
1829
+ }
1830
+ ],
1831
+ "navigation": {
1832
+ "items": [
1833
+ {
1834
+ "type": "internal",
1835
+ "label": "fixture-1",
1836
+ "children": [
1837
+ {
1838
+ "type": "internal",
1839
+ "label": "fixture-1",
1840
+ "children": [],
1841
+ "route": "/fixture-1"
1842
+ }
1843
+ ],
1844
+ "route": "/fixture-1"
1845
+ }
1846
+ ],
1847
+ "footerItems": [
1848
+ {
1849
+ "type": "internal",
1850
+ "label": "fixture-1",
1851
+ "children": [
1852
+ {
1853
+ "type": "internal",
1854
+ "label": "fixture-1",
1855
+ "children": [],
1856
+ "route": "/fixture-1"
1857
+ }
1858
+ ],
1859
+ "route": "/fixture-1"
1860
+ }
1861
+ ],
1862
+ "source": {
1863
+ "kind": "authored",
1864
+ "sourcePath": "content/fixture-1.md",
1865
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1866
+ }
1867
+ },
1868
+ "appearance": {
1869
+ "theme": "@rathnasgala2/theme-default@2.0.0",
1870
+ "colorMode": { "allowed": ["light"], "default": "light" },
1871
+ "headerComposition": "mark-and-name",
1872
+ "footerComposition": "profile",
1873
+ "typeScale": "compact",
1874
+ "fontAssets": [
1875
+ {
1876
+ "path": "content/fixture-1.md",
1877
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1878
+ }
1879
+ ],
1880
+ "tokens": {},
1881
+ "source": {
1882
+ "kind": "authored",
1883
+ "sourcePath": "content/fixture-1.md",
1884
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1885
+ }
1886
+ },
1887
+ "modules": {},
1888
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
1889
+ "baseUrl": "https://fixture-1.example.com/",
1890
+ "basePath": "/fixture-1",
1891
+ "destinationCapabilities": {
1892
+ "adapter": {
1893
+ "adapterId": "local-directory",
1894
+ "adapterVersion": "2.0.0",
1895
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1896
+ },
1897
+ "baseUrl": "https://fixture-1.example.com/",
1898
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1899
+ },
1900
+ "placements": [],
1901
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1902
+ },
1903
+ "expectedDiagnostics": [
1904
+ {
1905
+ "code": "SCHEMA_ARRAY_DUPLICATE",
1906
+ "instancePointer": "/publication/sharing/targets"
1907
+ }
1908
+ ]
1909
+ },
1910
+ {
1911
+ "caseId": "normalized-publication-contact-form-fields-missing-invalid",
1912
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1913
+ "instance": {
1914
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
1915
+ "schemaVersion": "2.0.0",
1916
+ "contractVersion": "2.0.0",
1917
+ "repository": {
1918
+ "repositoryId": "1",
1919
+ "repositoryOwnerId": "1",
1920
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1921
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
1922
+ },
1923
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
1924
+ "packages": {
1925
+ "schemas": {
1926
+ "package": "@rathnasgala2/schemas",
1927
+ "version": "2.0.0",
1928
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1929
+ "registry": "https://fixture-1.example.com/"
1930
+ },
1931
+ "template": {
1932
+ "package": "@rathnasgala2/template",
1933
+ "version": "2.0.0",
1934
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1935
+ "registry": "https://fixture-1.example.com/"
1936
+ },
1937
+ "theme": {
1938
+ "package": "@rathnasgala2/theme-default",
1939
+ "version": "2.0.0",
1940
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1941
+ "registry": "https://fixture-1.example.com/"
1942
+ },
1943
+ "publisher": [
1944
+ {
1945
+ "package": "@rathnasgala2/publish-action",
1946
+ "version": "2.0.0",
1947
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1948
+ "registry": "https://fixture-1.example.com/"
1949
+ },
1950
+ {
1951
+ "package": "@rathnasgala2/publish-kernel",
1952
+ "version": "2.0.0",
1953
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
1954
+ "registry": "https://fixture-2.example.com/"
1955
+ },
1956
+ {
1957
+ "package": "@rathnasgala2/adapter-protocol",
1958
+ "version": "2.0.0",
1959
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
1960
+ "registry": "https://fixture-3.example.com/"
1961
+ },
1962
+ {
1963
+ "package": "@rathnasgala2/adapter-local-directory",
1964
+ "version": "2.0.0",
1965
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
1966
+ "registry": "https://fixture-4.example.com/"
1967
+ }
1968
+ ],
1969
+ "dependencies": [
1970
+ {
1971
+ "package": "fixture-1",
1972
+ "version": "2.0.0",
1973
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1974
+ "registry": "https://fixture-1.example.com/"
1975
+ }
1976
+ ]
1977
+ },
1978
+ "publication": {
1979
+ "id": "019c0000-0000-7000-8000-000000000001",
1980
+ "slug": "fixture-1",
1981
+ "title": "fixture-1",
1982
+ "description": "fixture-1",
1983
+ "canonicalBase": "https://fixture-1.example.com/",
1984
+ "defaultLanguage": "en-US",
1985
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
1986
+ "socialLinks": [
1987
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
1988
+ ],
1989
+ "sourcePath": "content/fixture-1.md",
1990
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
1991
+ "contactForm": { "enabled": true }
1992
+ },
1993
+ "authors": [
1994
+ {
1995
+ "id": "019c0000-0000-7000-8000-000000000001",
1996
+ "displayName": "fixture-1",
1997
+ "biography": "fixture-1",
1998
+ "links": [
1999
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2000
+ ],
2001
+ "localized": [
2002
+ {
2003
+ "language": "en-US",
2004
+ "displayName": "fixture-1",
2005
+ "biography": "fixture-1"
2006
+ }
2007
+ ],
2008
+ "sourcePath": "content/fixture-1.md",
2009
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2010
+ }
2011
+ ],
2012
+ "content": [
2013
+ {
2014
+ "frontmatter": {
2015
+ "id": "019c0000-0000-7000-8000-000000000001",
2016
+ "kind": "article",
2017
+ "title": "fixture-1",
2018
+ "language": "en-US",
2019
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2020
+ "tags": ["fixture-1"],
2021
+ "status": "published",
2022
+ "createdAt": "2026-09-13T12:00:00.000Z",
2023
+ "publishedAt": "2026-09-13T12:00:00.000Z",
2024
+ "slug": "fixture-1",
2025
+ "redirects": ["/fixture-1"]
2026
+ },
2027
+ "body": "fixture-1",
2028
+ "bodyMediaType": "text/html",
2029
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2030
+ "renderPolicy": {
2031
+ "name": "gala-render-policy",
2032
+ "version": "2.0.0",
2033
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2034
+ },
2035
+ "sourcePath": "content/fixture-1.md",
2036
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2037
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2038
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
2039
+ }
2040
+ ],
2041
+ "navigation": {
2042
+ "items": [
2043
+ {
2044
+ "type": "internal",
2045
+ "label": "fixture-1",
2046
+ "children": [
2047
+ {
2048
+ "type": "internal",
2049
+ "label": "fixture-1",
2050
+ "children": [],
2051
+ "route": "/fixture-1"
2052
+ }
2053
+ ],
2054
+ "route": "/fixture-1"
2055
+ }
2056
+ ],
2057
+ "footerItems": [
2058
+ {
2059
+ "type": "internal",
2060
+ "label": "fixture-1",
2061
+ "children": [
2062
+ {
2063
+ "type": "internal",
2064
+ "label": "fixture-1",
2065
+ "children": [],
2066
+ "route": "/fixture-1"
2067
+ }
2068
+ ],
2069
+ "route": "/fixture-1"
2070
+ }
2071
+ ],
2072
+ "source": {
2073
+ "kind": "authored",
2074
+ "sourcePath": "content/fixture-1.md",
2075
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2076
+ }
2077
+ },
2078
+ "appearance": {
2079
+ "theme": "@rathnasgala2/theme-default@2.0.0",
2080
+ "colorMode": { "allowed": ["light"], "default": "light" },
2081
+ "headerComposition": "mark-and-name",
2082
+ "footerComposition": "profile",
2083
+ "typeScale": "compact",
2084
+ "fontAssets": [
2085
+ {
2086
+ "path": "content/fixture-1.md",
2087
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2088
+ }
2089
+ ],
2090
+ "tokens": {},
2091
+ "source": {
2092
+ "kind": "authored",
2093
+ "sourcePath": "content/fixture-1.md",
2094
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2095
+ }
2096
+ },
2097
+ "modules": {},
2098
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
2099
+ "baseUrl": "https://fixture-1.example.com/",
2100
+ "basePath": "/fixture-1",
2101
+ "destinationCapabilities": {
2102
+ "adapter": {
2103
+ "adapterId": "local-directory",
2104
+ "adapterVersion": "2.0.0",
2105
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2106
+ },
2107
+ "baseUrl": "https://fixture-1.example.com/",
2108
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2109
+ },
2110
+ "placements": [],
2111
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2112
+ },
2113
+ "expectedDiagnostics": [
2114
+ {
2115
+ "code": "SCHEMA_REQUIRED_FIELD_MISSING",
2116
+ "instancePointer": "/publication/contactForm/fields"
2117
+ }
2118
+ ]
415
2119
  }
416
2120
  ]
417
2121
  }