@rathnasgala2/schemas 3.25.0 → 3.26.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 (55) hide show
  1. package/THIRD_PARTY_LICENSES.json +1 -1
  2. package/diagnostics/diagnostic-map.json +174 -0
  3. package/docs/catalogs/app-routes.json +3 -1
  4. package/docs/catalogs/schema-inventory.json +6 -6
  5. package/examples/valid/build-input/rules.json +147 -0
  6. package/examples/valid/content-frontmatter/rules.json +76 -0
  7. package/examples/valid/problem/rules.json +64 -0
  8. package/examples/valid/publication/rules.json +20 -0
  9. package/fixtures/boundary/build-input/rules.json +165 -0
  10. package/fixtures/boundary/content-frontmatter/rules.json +85 -0
  11. package/fixtures/boundary/problem/rules.json +64 -0
  12. package/fixtures/boundary/publication/rules.json +20 -0
  13. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +45 -0
  14. package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
  15. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
  16. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +22 -0
  17. package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +22 -0
  18. package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  19. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +132 -0
  20. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +56 -0
  21. package/fixtures/invalid/content-frontmatter/REQUEST_FIELD_UNKNOWN/cases.json +16 -0
  22. package/fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
  23. package/fixtures/invalid/content-frontmatter/SCHEMA_ENUM_INVALID/cases.json +11 -0
  24. package/fixtures/invalid/content-frontmatter/SCHEMA_NUMBER_TOO_LARGE/cases.json +11 -0
  25. package/fixtures/invalid/content-frontmatter/SCHEMA_NUMBER_TOO_SMALL/cases.json +11 -0
  26. package/fixtures/invalid/content-frontmatter/SCHEMA_PATTERN_INVALID/cases.json +11 -0
  27. package/fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +54 -0
  28. package/fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json +20 -0
  29. package/fixtures/invalid/problem/REQUEST_FIELD_UNKNOWN/cases.json +15 -0
  30. package/fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json +44 -0
  31. package/fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +56 -0
  32. package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +53 -0
  33. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +9 -0
  34. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +9 -0
  35. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  36. package/fixtures/manifest.json +1342 -8
  37. package/fixtures/s2/manifest.json +16 -1
  38. package/fixtures/s2/normalized-inputs.json +3225 -0
  39. package/fixtures/unknown-field/build-input/rules.json +73 -0
  40. package/fixtures/unknown-field/content-frontmatter/rules.json +28 -0
  41. package/fixtures/unknown-field/problem/rules.json +30 -0
  42. package/fixtures/unknown-field/publication/rules.json +14 -0
  43. package/generated/browser/validator-core.mjs +3 -3
  44. package/generated/typescript/contracts/build-input.d.ts +19 -0
  45. package/generated/typescript/contracts/content-frontmatter.d.ts +7 -0
  46. package/generated/typescript/contracts/problem.d.ts +6 -0
  47. package/generated/typescript/contracts/publication.d.ts +5 -0
  48. package/openapi/http-catalog.json +28 -2
  49. package/openapi/openapi.yaml +650 -11
  50. package/package.json +1 -1
  51. package/sbom.cdx.json +23 -23
  52. package/schemas/build-input.schema.json +62 -1
  53. package/schemas/content-frontmatter.schema.json +31 -0
  54. package/schemas/problem.schema.json +17 -0
  55. package/schemas/publication.schema.json +8 -0
@@ -2116,6 +2116,3231 @@
2116
2116
  "instancePointer": "/publication/contactForm/fields"
2117
2117
  }
2118
2118
  ]
2119
+ },
2120
+ {
2121
+ "caseId": "normalized-publication-listen-valid",
2122
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2123
+ "instance": {
2124
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2125
+ "schemaVersion": "2.0.0",
2126
+ "contractVersion": "2.0.0",
2127
+ "repository": {
2128
+ "repositoryId": "1",
2129
+ "repositoryOwnerId": "1",
2130
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2131
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2132
+ },
2133
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2134
+ "packages": {
2135
+ "schemas": {
2136
+ "package": "@rathnasgala2/schemas",
2137
+ "version": "2.0.0",
2138
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2139
+ "registry": "https://fixture-1.example.com/"
2140
+ },
2141
+ "template": {
2142
+ "package": "@rathnasgala2/template",
2143
+ "version": "2.0.0",
2144
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2145
+ "registry": "https://fixture-1.example.com/"
2146
+ },
2147
+ "theme": {
2148
+ "package": "@rathnasgala2/theme-default",
2149
+ "version": "2.0.0",
2150
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2151
+ "registry": "https://fixture-1.example.com/"
2152
+ },
2153
+ "publisher": [
2154
+ {
2155
+ "package": "@rathnasgala2/publish-action",
2156
+ "version": "2.0.0",
2157
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2158
+ "registry": "https://fixture-1.example.com/"
2159
+ },
2160
+ {
2161
+ "package": "@rathnasgala2/publish-kernel",
2162
+ "version": "2.0.0",
2163
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
2164
+ "registry": "https://fixture-2.example.com/"
2165
+ },
2166
+ {
2167
+ "package": "@rathnasgala2/adapter-protocol",
2168
+ "version": "2.0.0",
2169
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
2170
+ "registry": "https://fixture-3.example.com/"
2171
+ },
2172
+ {
2173
+ "package": "@rathnasgala2/adapter-local-directory",
2174
+ "version": "2.0.0",
2175
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
2176
+ "registry": "https://fixture-4.example.com/"
2177
+ }
2178
+ ],
2179
+ "dependencies": [
2180
+ {
2181
+ "package": "fixture-1",
2182
+ "version": "2.0.0",
2183
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2184
+ "registry": "https://fixture-1.example.com/"
2185
+ }
2186
+ ]
2187
+ },
2188
+ "publication": {
2189
+ "id": "019c0000-0000-7000-8000-000000000001",
2190
+ "slug": "fixture-1",
2191
+ "title": "fixture-1",
2192
+ "description": "fixture-1",
2193
+ "canonicalBase": "https://fixture-1.example.com/",
2194
+ "defaultLanguage": "en-US",
2195
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2196
+ "socialLinks": [
2197
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2198
+ ],
2199
+ "sourcePath": "content/fixture-1.md",
2200
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2201
+ "listen": { "enabled": true }
2202
+ },
2203
+ "authors": [
2204
+ {
2205
+ "id": "019c0000-0000-7000-8000-000000000001",
2206
+ "displayName": "fixture-1",
2207
+ "biography": "fixture-1",
2208
+ "links": [
2209
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2210
+ ],
2211
+ "localized": [
2212
+ {
2213
+ "language": "en-US",
2214
+ "displayName": "fixture-1",
2215
+ "biography": "fixture-1"
2216
+ }
2217
+ ],
2218
+ "sourcePath": "content/fixture-1.md",
2219
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2220
+ }
2221
+ ],
2222
+ "content": [
2223
+ {
2224
+ "frontmatter": {
2225
+ "id": "019c0000-0000-7000-8000-000000000001",
2226
+ "kind": "article",
2227
+ "title": "fixture-1",
2228
+ "language": "en-US",
2229
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2230
+ "tags": ["fixture-1"],
2231
+ "status": "published",
2232
+ "createdAt": "2026-09-13T12:00:00.000Z",
2233
+ "publishedAt": "2026-09-13T12:00:00.000Z",
2234
+ "slug": "fixture-1",
2235
+ "redirects": ["/fixture-1"]
2236
+ },
2237
+ "body": "fixture-1",
2238
+ "bodyMediaType": "text/html",
2239
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2240
+ "renderPolicy": {
2241
+ "name": "gala-render-policy",
2242
+ "version": "2.0.0",
2243
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2244
+ },
2245
+ "sourcePath": "content/fixture-1.md",
2246
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2247
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2248
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
2249
+ }
2250
+ ],
2251
+ "navigation": {
2252
+ "items": [
2253
+ {
2254
+ "type": "internal",
2255
+ "label": "fixture-1",
2256
+ "children": [
2257
+ {
2258
+ "type": "internal",
2259
+ "label": "fixture-1",
2260
+ "children": [],
2261
+ "route": "/fixture-1"
2262
+ }
2263
+ ],
2264
+ "route": "/fixture-1"
2265
+ }
2266
+ ],
2267
+ "footerItems": [
2268
+ {
2269
+ "type": "internal",
2270
+ "label": "fixture-1",
2271
+ "children": [
2272
+ {
2273
+ "type": "internal",
2274
+ "label": "fixture-1",
2275
+ "children": [],
2276
+ "route": "/fixture-1"
2277
+ }
2278
+ ],
2279
+ "route": "/fixture-1"
2280
+ }
2281
+ ],
2282
+ "source": {
2283
+ "kind": "authored",
2284
+ "sourcePath": "content/fixture-1.md",
2285
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2286
+ }
2287
+ },
2288
+ "appearance": {
2289
+ "theme": "@rathnasgala2/theme-default@2.0.0",
2290
+ "colorMode": { "allowed": ["light"], "default": "light" },
2291
+ "headerComposition": "mark-and-name",
2292
+ "footerComposition": "profile",
2293
+ "typeScale": "compact",
2294
+ "fontAssets": [
2295
+ {
2296
+ "path": "content/fixture-1.md",
2297
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2298
+ }
2299
+ ],
2300
+ "tokens": {},
2301
+ "source": {
2302
+ "kind": "authored",
2303
+ "sourcePath": "content/fixture-1.md",
2304
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2305
+ }
2306
+ },
2307
+ "modules": {},
2308
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
2309
+ "baseUrl": "https://fixture-1.example.com/",
2310
+ "basePath": "/fixture-1",
2311
+ "destinationCapabilities": {
2312
+ "adapter": {
2313
+ "adapterId": "local-directory",
2314
+ "adapterVersion": "2.0.0",
2315
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2316
+ },
2317
+ "baseUrl": "https://fixture-1.example.com/",
2318
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2319
+ },
2320
+ "placements": [],
2321
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2322
+ },
2323
+ "expectedDiagnostics": []
2324
+ },
2325
+ {
2326
+ "caseId": "normalized-publication-listen-without-enabled-invalid",
2327
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2328
+ "instance": {
2329
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2330
+ "schemaVersion": "2.0.0",
2331
+ "contractVersion": "2.0.0",
2332
+ "repository": {
2333
+ "repositoryId": "1",
2334
+ "repositoryOwnerId": "1",
2335
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2336
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2337
+ },
2338
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2339
+ "packages": {
2340
+ "schemas": {
2341
+ "package": "@rathnasgala2/schemas",
2342
+ "version": "2.0.0",
2343
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2344
+ "registry": "https://fixture-1.example.com/"
2345
+ },
2346
+ "template": {
2347
+ "package": "@rathnasgala2/template",
2348
+ "version": "2.0.0",
2349
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2350
+ "registry": "https://fixture-1.example.com/"
2351
+ },
2352
+ "theme": {
2353
+ "package": "@rathnasgala2/theme-default",
2354
+ "version": "2.0.0",
2355
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2356
+ "registry": "https://fixture-1.example.com/"
2357
+ },
2358
+ "publisher": [
2359
+ {
2360
+ "package": "@rathnasgala2/publish-action",
2361
+ "version": "2.0.0",
2362
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2363
+ "registry": "https://fixture-1.example.com/"
2364
+ },
2365
+ {
2366
+ "package": "@rathnasgala2/publish-kernel",
2367
+ "version": "2.0.0",
2368
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
2369
+ "registry": "https://fixture-2.example.com/"
2370
+ },
2371
+ {
2372
+ "package": "@rathnasgala2/adapter-protocol",
2373
+ "version": "2.0.0",
2374
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
2375
+ "registry": "https://fixture-3.example.com/"
2376
+ },
2377
+ {
2378
+ "package": "@rathnasgala2/adapter-local-directory",
2379
+ "version": "2.0.0",
2380
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
2381
+ "registry": "https://fixture-4.example.com/"
2382
+ }
2383
+ ],
2384
+ "dependencies": [
2385
+ {
2386
+ "package": "fixture-1",
2387
+ "version": "2.0.0",
2388
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2389
+ "registry": "https://fixture-1.example.com/"
2390
+ }
2391
+ ]
2392
+ },
2393
+ "publication": {
2394
+ "id": "019c0000-0000-7000-8000-000000000001",
2395
+ "slug": "fixture-1",
2396
+ "title": "fixture-1",
2397
+ "description": "fixture-1",
2398
+ "canonicalBase": "https://fixture-1.example.com/",
2399
+ "defaultLanguage": "en-US",
2400
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2401
+ "socialLinks": [
2402
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2403
+ ],
2404
+ "sourcePath": "content/fixture-1.md",
2405
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2406
+ "listen": {}
2407
+ },
2408
+ "authors": [
2409
+ {
2410
+ "id": "019c0000-0000-7000-8000-000000000001",
2411
+ "displayName": "fixture-1",
2412
+ "biography": "fixture-1",
2413
+ "links": [
2414
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2415
+ ],
2416
+ "localized": [
2417
+ {
2418
+ "language": "en-US",
2419
+ "displayName": "fixture-1",
2420
+ "biography": "fixture-1"
2421
+ }
2422
+ ],
2423
+ "sourcePath": "content/fixture-1.md",
2424
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2425
+ }
2426
+ ],
2427
+ "content": [
2428
+ {
2429
+ "frontmatter": {
2430
+ "id": "019c0000-0000-7000-8000-000000000001",
2431
+ "kind": "article",
2432
+ "title": "fixture-1",
2433
+ "language": "en-US",
2434
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2435
+ "tags": ["fixture-1"],
2436
+ "status": "published",
2437
+ "createdAt": "2026-09-13T12:00:00.000Z",
2438
+ "publishedAt": "2026-09-13T12:00:00.000Z",
2439
+ "slug": "fixture-1",
2440
+ "redirects": ["/fixture-1"]
2441
+ },
2442
+ "body": "fixture-1",
2443
+ "bodyMediaType": "text/html",
2444
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2445
+ "renderPolicy": {
2446
+ "name": "gala-render-policy",
2447
+ "version": "2.0.0",
2448
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2449
+ },
2450
+ "sourcePath": "content/fixture-1.md",
2451
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2452
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2453
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
2454
+ }
2455
+ ],
2456
+ "navigation": {
2457
+ "items": [
2458
+ {
2459
+ "type": "internal",
2460
+ "label": "fixture-1",
2461
+ "children": [
2462
+ {
2463
+ "type": "internal",
2464
+ "label": "fixture-1",
2465
+ "children": [],
2466
+ "route": "/fixture-1"
2467
+ }
2468
+ ],
2469
+ "route": "/fixture-1"
2470
+ }
2471
+ ],
2472
+ "footerItems": [
2473
+ {
2474
+ "type": "internal",
2475
+ "label": "fixture-1",
2476
+ "children": [
2477
+ {
2478
+ "type": "internal",
2479
+ "label": "fixture-1",
2480
+ "children": [],
2481
+ "route": "/fixture-1"
2482
+ }
2483
+ ],
2484
+ "route": "/fixture-1"
2485
+ }
2486
+ ],
2487
+ "source": {
2488
+ "kind": "authored",
2489
+ "sourcePath": "content/fixture-1.md",
2490
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2491
+ }
2492
+ },
2493
+ "appearance": {
2494
+ "theme": "@rathnasgala2/theme-default@2.0.0",
2495
+ "colorMode": { "allowed": ["light"], "default": "light" },
2496
+ "headerComposition": "mark-and-name",
2497
+ "footerComposition": "profile",
2498
+ "typeScale": "compact",
2499
+ "fontAssets": [
2500
+ {
2501
+ "path": "content/fixture-1.md",
2502
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2503
+ }
2504
+ ],
2505
+ "tokens": {},
2506
+ "source": {
2507
+ "kind": "authored",
2508
+ "sourcePath": "content/fixture-1.md",
2509
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2510
+ }
2511
+ },
2512
+ "modules": {},
2513
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
2514
+ "baseUrl": "https://fixture-1.example.com/",
2515
+ "basePath": "/fixture-1",
2516
+ "destinationCapabilities": {
2517
+ "adapter": {
2518
+ "adapterId": "local-directory",
2519
+ "adapterVersion": "2.0.0",
2520
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2521
+ },
2522
+ "baseUrl": "https://fixture-1.example.com/",
2523
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2524
+ },
2525
+ "placements": [],
2526
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2527
+ },
2528
+ "expectedDiagnostics": [
2529
+ {
2530
+ "code": "SCHEMA_REQUIRED_FIELD_MISSING",
2531
+ "instancePointer": "/publication/listen/enabled"
2532
+ }
2533
+ ]
2534
+ },
2535
+ {
2536
+ "caseId": "normalized-publication-listen-enabled-not-boolean-invalid",
2537
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2538
+ "instance": {
2539
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2540
+ "schemaVersion": "2.0.0",
2541
+ "contractVersion": "2.0.0",
2542
+ "repository": {
2543
+ "repositoryId": "1",
2544
+ "repositoryOwnerId": "1",
2545
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2546
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2547
+ },
2548
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2549
+ "packages": {
2550
+ "schemas": {
2551
+ "package": "@rathnasgala2/schemas",
2552
+ "version": "2.0.0",
2553
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2554
+ "registry": "https://fixture-1.example.com/"
2555
+ },
2556
+ "template": {
2557
+ "package": "@rathnasgala2/template",
2558
+ "version": "2.0.0",
2559
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2560
+ "registry": "https://fixture-1.example.com/"
2561
+ },
2562
+ "theme": {
2563
+ "package": "@rathnasgala2/theme-default",
2564
+ "version": "2.0.0",
2565
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2566
+ "registry": "https://fixture-1.example.com/"
2567
+ },
2568
+ "publisher": [
2569
+ {
2570
+ "package": "@rathnasgala2/publish-action",
2571
+ "version": "2.0.0",
2572
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2573
+ "registry": "https://fixture-1.example.com/"
2574
+ },
2575
+ {
2576
+ "package": "@rathnasgala2/publish-kernel",
2577
+ "version": "2.0.0",
2578
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
2579
+ "registry": "https://fixture-2.example.com/"
2580
+ },
2581
+ {
2582
+ "package": "@rathnasgala2/adapter-protocol",
2583
+ "version": "2.0.0",
2584
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
2585
+ "registry": "https://fixture-3.example.com/"
2586
+ },
2587
+ {
2588
+ "package": "@rathnasgala2/adapter-local-directory",
2589
+ "version": "2.0.0",
2590
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
2591
+ "registry": "https://fixture-4.example.com/"
2592
+ }
2593
+ ],
2594
+ "dependencies": [
2595
+ {
2596
+ "package": "fixture-1",
2597
+ "version": "2.0.0",
2598
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2599
+ "registry": "https://fixture-1.example.com/"
2600
+ }
2601
+ ]
2602
+ },
2603
+ "publication": {
2604
+ "id": "019c0000-0000-7000-8000-000000000001",
2605
+ "slug": "fixture-1",
2606
+ "title": "fixture-1",
2607
+ "description": "fixture-1",
2608
+ "canonicalBase": "https://fixture-1.example.com/",
2609
+ "defaultLanguage": "en-US",
2610
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2611
+ "socialLinks": [
2612
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2613
+ ],
2614
+ "sourcePath": "content/fixture-1.md",
2615
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2616
+ "listen": { "enabled": 1 }
2617
+ },
2618
+ "authors": [
2619
+ {
2620
+ "id": "019c0000-0000-7000-8000-000000000001",
2621
+ "displayName": "fixture-1",
2622
+ "biography": "fixture-1",
2623
+ "links": [
2624
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2625
+ ],
2626
+ "localized": [
2627
+ {
2628
+ "language": "en-US",
2629
+ "displayName": "fixture-1",
2630
+ "biography": "fixture-1"
2631
+ }
2632
+ ],
2633
+ "sourcePath": "content/fixture-1.md",
2634
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2635
+ }
2636
+ ],
2637
+ "content": [
2638
+ {
2639
+ "frontmatter": {
2640
+ "id": "019c0000-0000-7000-8000-000000000001",
2641
+ "kind": "article",
2642
+ "title": "fixture-1",
2643
+ "language": "en-US",
2644
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2645
+ "tags": ["fixture-1"],
2646
+ "status": "published",
2647
+ "createdAt": "2026-09-13T12:00:00.000Z",
2648
+ "publishedAt": "2026-09-13T12:00:00.000Z",
2649
+ "slug": "fixture-1",
2650
+ "redirects": ["/fixture-1"]
2651
+ },
2652
+ "body": "fixture-1",
2653
+ "bodyMediaType": "text/html",
2654
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2655
+ "renderPolicy": {
2656
+ "name": "gala-render-policy",
2657
+ "version": "2.0.0",
2658
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2659
+ },
2660
+ "sourcePath": "content/fixture-1.md",
2661
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2662
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2663
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
2664
+ }
2665
+ ],
2666
+ "navigation": {
2667
+ "items": [
2668
+ {
2669
+ "type": "internal",
2670
+ "label": "fixture-1",
2671
+ "children": [
2672
+ {
2673
+ "type": "internal",
2674
+ "label": "fixture-1",
2675
+ "children": [],
2676
+ "route": "/fixture-1"
2677
+ }
2678
+ ],
2679
+ "route": "/fixture-1"
2680
+ }
2681
+ ],
2682
+ "footerItems": [
2683
+ {
2684
+ "type": "internal",
2685
+ "label": "fixture-1",
2686
+ "children": [
2687
+ {
2688
+ "type": "internal",
2689
+ "label": "fixture-1",
2690
+ "children": [],
2691
+ "route": "/fixture-1"
2692
+ }
2693
+ ],
2694
+ "route": "/fixture-1"
2695
+ }
2696
+ ],
2697
+ "source": {
2698
+ "kind": "authored",
2699
+ "sourcePath": "content/fixture-1.md",
2700
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2701
+ }
2702
+ },
2703
+ "appearance": {
2704
+ "theme": "@rathnasgala2/theme-default@2.0.0",
2705
+ "colorMode": { "allowed": ["light"], "default": "light" },
2706
+ "headerComposition": "mark-and-name",
2707
+ "footerComposition": "profile",
2708
+ "typeScale": "compact",
2709
+ "fontAssets": [
2710
+ {
2711
+ "path": "content/fixture-1.md",
2712
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2713
+ }
2714
+ ],
2715
+ "tokens": {},
2716
+ "source": {
2717
+ "kind": "authored",
2718
+ "sourcePath": "content/fixture-1.md",
2719
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2720
+ }
2721
+ },
2722
+ "modules": {},
2723
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
2724
+ "baseUrl": "https://fixture-1.example.com/",
2725
+ "basePath": "/fixture-1",
2726
+ "destinationCapabilities": {
2727
+ "adapter": {
2728
+ "adapterId": "local-directory",
2729
+ "adapterVersion": "2.0.0",
2730
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2731
+ },
2732
+ "baseUrl": "https://fixture-1.example.com/",
2733
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2734
+ },
2735
+ "placements": [],
2736
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2737
+ },
2738
+ "expectedDiagnostics": [
2739
+ {
2740
+ "code": "SCHEMA_TYPE_INVALID",
2741
+ "instancePointer": "/publication/listen/enabled"
2742
+ }
2743
+ ]
2744
+ },
2745
+ {
2746
+ "caseId": "normalized-publication-listen-unknown-member-invalid",
2747
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2748
+ "instance": {
2749
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2750
+ "schemaVersion": "2.0.0",
2751
+ "contractVersion": "2.0.0",
2752
+ "repository": {
2753
+ "repositoryId": "1",
2754
+ "repositoryOwnerId": "1",
2755
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2756
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2757
+ },
2758
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2759
+ "packages": {
2760
+ "schemas": {
2761
+ "package": "@rathnasgala2/schemas",
2762
+ "version": "2.0.0",
2763
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2764
+ "registry": "https://fixture-1.example.com/"
2765
+ },
2766
+ "template": {
2767
+ "package": "@rathnasgala2/template",
2768
+ "version": "2.0.0",
2769
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2770
+ "registry": "https://fixture-1.example.com/"
2771
+ },
2772
+ "theme": {
2773
+ "package": "@rathnasgala2/theme-default",
2774
+ "version": "2.0.0",
2775
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2776
+ "registry": "https://fixture-1.example.com/"
2777
+ },
2778
+ "publisher": [
2779
+ {
2780
+ "package": "@rathnasgala2/publish-action",
2781
+ "version": "2.0.0",
2782
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2783
+ "registry": "https://fixture-1.example.com/"
2784
+ },
2785
+ {
2786
+ "package": "@rathnasgala2/publish-kernel",
2787
+ "version": "2.0.0",
2788
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
2789
+ "registry": "https://fixture-2.example.com/"
2790
+ },
2791
+ {
2792
+ "package": "@rathnasgala2/adapter-protocol",
2793
+ "version": "2.0.0",
2794
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
2795
+ "registry": "https://fixture-3.example.com/"
2796
+ },
2797
+ {
2798
+ "package": "@rathnasgala2/adapter-local-directory",
2799
+ "version": "2.0.0",
2800
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
2801
+ "registry": "https://fixture-4.example.com/"
2802
+ }
2803
+ ],
2804
+ "dependencies": [
2805
+ {
2806
+ "package": "fixture-1",
2807
+ "version": "2.0.0",
2808
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2809
+ "registry": "https://fixture-1.example.com/"
2810
+ }
2811
+ ]
2812
+ },
2813
+ "publication": {
2814
+ "id": "019c0000-0000-7000-8000-000000000001",
2815
+ "slug": "fixture-1",
2816
+ "title": "fixture-1",
2817
+ "description": "fixture-1",
2818
+ "canonicalBase": "https://fixture-1.example.com/",
2819
+ "defaultLanguage": "en-US",
2820
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2821
+ "socialLinks": [
2822
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2823
+ ],
2824
+ "sourcePath": "content/fixture-1.md",
2825
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2826
+ "listen": { "enabled": true, "autoplay": true }
2827
+ },
2828
+ "authors": [
2829
+ {
2830
+ "id": "019c0000-0000-7000-8000-000000000001",
2831
+ "displayName": "fixture-1",
2832
+ "biography": "fixture-1",
2833
+ "links": [
2834
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
2835
+ ],
2836
+ "localized": [
2837
+ {
2838
+ "language": "en-US",
2839
+ "displayName": "fixture-1",
2840
+ "biography": "fixture-1"
2841
+ }
2842
+ ],
2843
+ "sourcePath": "content/fixture-1.md",
2844
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2845
+ }
2846
+ ],
2847
+ "content": [
2848
+ {
2849
+ "frontmatter": {
2850
+ "id": "019c0000-0000-7000-8000-000000000001",
2851
+ "kind": "article",
2852
+ "title": "fixture-1",
2853
+ "language": "en-US",
2854
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
2855
+ "tags": ["fixture-1"],
2856
+ "status": "published",
2857
+ "createdAt": "2026-09-13T12:00:00.000Z",
2858
+ "publishedAt": "2026-09-13T12:00:00.000Z",
2859
+ "slug": "fixture-1",
2860
+ "redirects": ["/fixture-1"]
2861
+ },
2862
+ "body": "fixture-1",
2863
+ "bodyMediaType": "text/html",
2864
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2865
+ "renderPolicy": {
2866
+ "name": "gala-render-policy",
2867
+ "version": "2.0.0",
2868
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2869
+ },
2870
+ "sourcePath": "content/fixture-1.md",
2871
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2872
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2873
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
2874
+ }
2875
+ ],
2876
+ "navigation": {
2877
+ "items": [
2878
+ {
2879
+ "type": "internal",
2880
+ "label": "fixture-1",
2881
+ "children": [
2882
+ {
2883
+ "type": "internal",
2884
+ "label": "fixture-1",
2885
+ "children": [],
2886
+ "route": "/fixture-1"
2887
+ }
2888
+ ],
2889
+ "route": "/fixture-1"
2890
+ }
2891
+ ],
2892
+ "footerItems": [
2893
+ {
2894
+ "type": "internal",
2895
+ "label": "fixture-1",
2896
+ "children": [
2897
+ {
2898
+ "type": "internal",
2899
+ "label": "fixture-1",
2900
+ "children": [],
2901
+ "route": "/fixture-1"
2902
+ }
2903
+ ],
2904
+ "route": "/fixture-1"
2905
+ }
2906
+ ],
2907
+ "source": {
2908
+ "kind": "authored",
2909
+ "sourcePath": "content/fixture-1.md",
2910
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2911
+ }
2912
+ },
2913
+ "appearance": {
2914
+ "theme": "@rathnasgala2/theme-default@2.0.0",
2915
+ "colorMode": { "allowed": ["light"], "default": "light" },
2916
+ "headerComposition": "mark-and-name",
2917
+ "footerComposition": "profile",
2918
+ "typeScale": "compact",
2919
+ "fontAssets": [
2920
+ {
2921
+ "path": "content/fixture-1.md",
2922
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2923
+ }
2924
+ ],
2925
+ "tokens": {},
2926
+ "source": {
2927
+ "kind": "authored",
2928
+ "sourcePath": "content/fixture-1.md",
2929
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2930
+ }
2931
+ },
2932
+ "modules": {},
2933
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
2934
+ "baseUrl": "https://fixture-1.example.com/",
2935
+ "basePath": "/fixture-1",
2936
+ "destinationCapabilities": {
2937
+ "adapter": {
2938
+ "adapterId": "local-directory",
2939
+ "adapterVersion": "2.0.0",
2940
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2941
+ },
2942
+ "baseUrl": "https://fixture-1.example.com/",
2943
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2944
+ },
2945
+ "placements": [],
2946
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2947
+ },
2948
+ "expectedDiagnostics": [
2949
+ {
2950
+ "code": "REQUEST_FIELD_UNKNOWN",
2951
+ "instancePointer": "/publication/listen/autoplay"
2952
+ }
2953
+ ]
2954
+ },
2955
+ {
2956
+ "caseId": "normalized-content-listen-valid",
2957
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2958
+ "instance": {
2959
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
2960
+ "schemaVersion": "2.0.0",
2961
+ "contractVersion": "2.0.0",
2962
+ "repository": {
2963
+ "repositoryId": "1",
2964
+ "repositoryOwnerId": "1",
2965
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2966
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
2967
+ },
2968
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
2969
+ "packages": {
2970
+ "schemas": {
2971
+ "package": "@rathnasgala2/schemas",
2972
+ "version": "2.0.0",
2973
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2974
+ "registry": "https://fixture-1.example.com/"
2975
+ },
2976
+ "template": {
2977
+ "package": "@rathnasgala2/template",
2978
+ "version": "2.0.0",
2979
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2980
+ "registry": "https://fixture-1.example.com/"
2981
+ },
2982
+ "theme": {
2983
+ "package": "@rathnasgala2/theme-default",
2984
+ "version": "2.0.0",
2985
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2986
+ "registry": "https://fixture-1.example.com/"
2987
+ },
2988
+ "publisher": [
2989
+ {
2990
+ "package": "@rathnasgala2/publish-action",
2991
+ "version": "2.0.0",
2992
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
2993
+ "registry": "https://fixture-1.example.com/"
2994
+ },
2995
+ {
2996
+ "package": "@rathnasgala2/publish-kernel",
2997
+ "version": "2.0.0",
2998
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
2999
+ "registry": "https://fixture-2.example.com/"
3000
+ },
3001
+ {
3002
+ "package": "@rathnasgala2/adapter-protocol",
3003
+ "version": "2.0.0",
3004
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
3005
+ "registry": "https://fixture-3.example.com/"
3006
+ },
3007
+ {
3008
+ "package": "@rathnasgala2/adapter-local-directory",
3009
+ "version": "2.0.0",
3010
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
3011
+ "registry": "https://fixture-4.example.com/"
3012
+ }
3013
+ ],
3014
+ "dependencies": [
3015
+ {
3016
+ "package": "fixture-1",
3017
+ "version": "2.0.0",
3018
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3019
+ "registry": "https://fixture-1.example.com/"
3020
+ }
3021
+ ]
3022
+ },
3023
+ "publication": {
3024
+ "id": "019c0000-0000-7000-8000-000000000001",
3025
+ "slug": "fixture-1",
3026
+ "title": "fixture-1",
3027
+ "description": "fixture-1",
3028
+ "canonicalBase": "https://fixture-1.example.com/",
3029
+ "defaultLanguage": "en-US",
3030
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3031
+ "socialLinks": [
3032
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3033
+ ],
3034
+ "sourcePath": "content/fixture-1.md",
3035
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3036
+ },
3037
+ "authors": [
3038
+ {
3039
+ "id": "019c0000-0000-7000-8000-000000000001",
3040
+ "displayName": "fixture-1",
3041
+ "biography": "fixture-1",
3042
+ "links": [
3043
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3044
+ ],
3045
+ "localized": [
3046
+ {
3047
+ "language": "en-US",
3048
+ "displayName": "fixture-1",
3049
+ "biography": "fixture-1"
3050
+ }
3051
+ ],
3052
+ "sourcePath": "content/fixture-1.md",
3053
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3054
+ }
3055
+ ],
3056
+ "content": [
3057
+ {
3058
+ "frontmatter": {
3059
+ "id": "019c0000-0000-7000-8000-000000000001",
3060
+ "kind": "article",
3061
+ "title": "fixture-1",
3062
+ "language": "en-US",
3063
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3064
+ "tags": ["fixture-1"],
3065
+ "status": "published",
3066
+ "createdAt": "2026-09-13T12:00:00.000Z",
3067
+ "publishedAt": "2026-09-13T12:00:00.000Z",
3068
+ "slug": "fixture-1",
3069
+ "redirects": ["/fixture-1"],
3070
+ "listen": {
3071
+ "audio": {
3072
+ "sourcePath": "assets/listen/episode.mp3",
3073
+ "mediaType": "audio/mpeg",
3074
+ "bytes": 4243000,
3075
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3076
+ },
3077
+ "durationSeconds": 424,
3078
+ "format": "conversation"
3079
+ }
3080
+ },
3081
+ "body": "fixture-1",
3082
+ "bodyMediaType": "text/html",
3083
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3084
+ "renderPolicy": {
3085
+ "name": "gala-render-policy",
3086
+ "version": "2.0.0",
3087
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3088
+ },
3089
+ "sourcePath": "content/fixture-1.md",
3090
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3091
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3092
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
3093
+ }
3094
+ ],
3095
+ "navigation": {
3096
+ "items": [
3097
+ {
3098
+ "type": "internal",
3099
+ "label": "fixture-1",
3100
+ "children": [
3101
+ {
3102
+ "type": "internal",
3103
+ "label": "fixture-1",
3104
+ "children": [],
3105
+ "route": "/fixture-1"
3106
+ }
3107
+ ],
3108
+ "route": "/fixture-1"
3109
+ }
3110
+ ],
3111
+ "footerItems": [
3112
+ {
3113
+ "type": "internal",
3114
+ "label": "fixture-1",
3115
+ "children": [
3116
+ {
3117
+ "type": "internal",
3118
+ "label": "fixture-1",
3119
+ "children": [],
3120
+ "route": "/fixture-1"
3121
+ }
3122
+ ],
3123
+ "route": "/fixture-1"
3124
+ }
3125
+ ],
3126
+ "source": {
3127
+ "kind": "authored",
3128
+ "sourcePath": "content/fixture-1.md",
3129
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3130
+ }
3131
+ },
3132
+ "appearance": {
3133
+ "theme": "@rathnasgala2/theme-default@2.0.0",
3134
+ "colorMode": { "allowed": ["light"], "default": "light" },
3135
+ "headerComposition": "mark-and-name",
3136
+ "footerComposition": "profile",
3137
+ "typeScale": "compact",
3138
+ "fontAssets": [
3139
+ {
3140
+ "path": "content/fixture-1.md",
3141
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3142
+ }
3143
+ ],
3144
+ "tokens": {},
3145
+ "source": {
3146
+ "kind": "authored",
3147
+ "sourcePath": "content/fixture-1.md",
3148
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3149
+ }
3150
+ },
3151
+ "modules": {},
3152
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
3153
+ "baseUrl": "https://fixture-1.example.com/",
3154
+ "basePath": "/fixture-1",
3155
+ "destinationCapabilities": {
3156
+ "adapter": {
3157
+ "adapterId": "local-directory",
3158
+ "adapterVersion": "2.0.0",
3159
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3160
+ },
3161
+ "baseUrl": "https://fixture-1.example.com/",
3162
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3163
+ },
3164
+ "placements": [],
3165
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3166
+ },
3167
+ "expectedDiagnostics": []
3168
+ },
3169
+ {
3170
+ "caseId": "normalized-content-listen-m4a-valid",
3171
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3172
+ "instance": {
3173
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3174
+ "schemaVersion": "2.0.0",
3175
+ "contractVersion": "2.0.0",
3176
+ "repository": {
3177
+ "repositoryId": "1",
3178
+ "repositoryOwnerId": "1",
3179
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3180
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3181
+ },
3182
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3183
+ "packages": {
3184
+ "schemas": {
3185
+ "package": "@rathnasgala2/schemas",
3186
+ "version": "2.0.0",
3187
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3188
+ "registry": "https://fixture-1.example.com/"
3189
+ },
3190
+ "template": {
3191
+ "package": "@rathnasgala2/template",
3192
+ "version": "2.0.0",
3193
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3194
+ "registry": "https://fixture-1.example.com/"
3195
+ },
3196
+ "theme": {
3197
+ "package": "@rathnasgala2/theme-default",
3198
+ "version": "2.0.0",
3199
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3200
+ "registry": "https://fixture-1.example.com/"
3201
+ },
3202
+ "publisher": [
3203
+ {
3204
+ "package": "@rathnasgala2/publish-action",
3205
+ "version": "2.0.0",
3206
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3207
+ "registry": "https://fixture-1.example.com/"
3208
+ },
3209
+ {
3210
+ "package": "@rathnasgala2/publish-kernel",
3211
+ "version": "2.0.0",
3212
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
3213
+ "registry": "https://fixture-2.example.com/"
3214
+ },
3215
+ {
3216
+ "package": "@rathnasgala2/adapter-protocol",
3217
+ "version": "2.0.0",
3218
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
3219
+ "registry": "https://fixture-3.example.com/"
3220
+ },
3221
+ {
3222
+ "package": "@rathnasgala2/adapter-local-directory",
3223
+ "version": "2.0.0",
3224
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
3225
+ "registry": "https://fixture-4.example.com/"
3226
+ }
3227
+ ],
3228
+ "dependencies": [
3229
+ {
3230
+ "package": "fixture-1",
3231
+ "version": "2.0.0",
3232
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3233
+ "registry": "https://fixture-1.example.com/"
3234
+ }
3235
+ ]
3236
+ },
3237
+ "publication": {
3238
+ "id": "019c0000-0000-7000-8000-000000000001",
3239
+ "slug": "fixture-1",
3240
+ "title": "fixture-1",
3241
+ "description": "fixture-1",
3242
+ "canonicalBase": "https://fixture-1.example.com/",
3243
+ "defaultLanguage": "en-US",
3244
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3245
+ "socialLinks": [
3246
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3247
+ ],
3248
+ "sourcePath": "content/fixture-1.md",
3249
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3250
+ },
3251
+ "authors": [
3252
+ {
3253
+ "id": "019c0000-0000-7000-8000-000000000001",
3254
+ "displayName": "fixture-1",
3255
+ "biography": "fixture-1",
3256
+ "links": [
3257
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3258
+ ],
3259
+ "localized": [
3260
+ {
3261
+ "language": "en-US",
3262
+ "displayName": "fixture-1",
3263
+ "biography": "fixture-1"
3264
+ }
3265
+ ],
3266
+ "sourcePath": "content/fixture-1.md",
3267
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3268
+ }
3269
+ ],
3270
+ "content": [
3271
+ {
3272
+ "frontmatter": {
3273
+ "id": "019c0000-0000-7000-8000-000000000001",
3274
+ "kind": "article",
3275
+ "title": "fixture-1",
3276
+ "language": "en-US",
3277
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3278
+ "tags": ["fixture-1"],
3279
+ "status": "published",
3280
+ "createdAt": "2026-09-13T12:00:00.000Z",
3281
+ "publishedAt": "2026-09-13T12:00:00.000Z",
3282
+ "slug": "fixture-1",
3283
+ "redirects": ["/fixture-1"],
3284
+ "listen": {
3285
+ "audio": {
3286
+ "sourcePath": "assets/listen/episode.m4a",
3287
+ "mediaType": "audio/mp4",
3288
+ "bytes": 4243000,
3289
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3290
+ },
3291
+ "durationSeconds": 10800,
3292
+ "format": "narration"
3293
+ }
3294
+ },
3295
+ "body": "fixture-1",
3296
+ "bodyMediaType": "text/html",
3297
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3298
+ "renderPolicy": {
3299
+ "name": "gala-render-policy",
3300
+ "version": "2.0.0",
3301
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3302
+ },
3303
+ "sourcePath": "content/fixture-1.md",
3304
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3305
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3306
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
3307
+ }
3308
+ ],
3309
+ "navigation": {
3310
+ "items": [
3311
+ {
3312
+ "type": "internal",
3313
+ "label": "fixture-1",
3314
+ "children": [
3315
+ {
3316
+ "type": "internal",
3317
+ "label": "fixture-1",
3318
+ "children": [],
3319
+ "route": "/fixture-1"
3320
+ }
3321
+ ],
3322
+ "route": "/fixture-1"
3323
+ }
3324
+ ],
3325
+ "footerItems": [
3326
+ {
3327
+ "type": "internal",
3328
+ "label": "fixture-1",
3329
+ "children": [
3330
+ {
3331
+ "type": "internal",
3332
+ "label": "fixture-1",
3333
+ "children": [],
3334
+ "route": "/fixture-1"
3335
+ }
3336
+ ],
3337
+ "route": "/fixture-1"
3338
+ }
3339
+ ],
3340
+ "source": {
3341
+ "kind": "authored",
3342
+ "sourcePath": "content/fixture-1.md",
3343
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3344
+ }
3345
+ },
3346
+ "appearance": {
3347
+ "theme": "@rathnasgala2/theme-default@2.0.0",
3348
+ "colorMode": { "allowed": ["light"], "default": "light" },
3349
+ "headerComposition": "mark-and-name",
3350
+ "footerComposition": "profile",
3351
+ "typeScale": "compact",
3352
+ "fontAssets": [
3353
+ {
3354
+ "path": "content/fixture-1.md",
3355
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3356
+ }
3357
+ ],
3358
+ "tokens": {},
3359
+ "source": {
3360
+ "kind": "authored",
3361
+ "sourcePath": "content/fixture-1.md",
3362
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3363
+ }
3364
+ },
3365
+ "modules": {},
3366
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
3367
+ "baseUrl": "https://fixture-1.example.com/",
3368
+ "basePath": "/fixture-1",
3369
+ "destinationCapabilities": {
3370
+ "adapter": {
3371
+ "adapterId": "local-directory",
3372
+ "adapterVersion": "2.0.0",
3373
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3374
+ },
3375
+ "baseUrl": "https://fixture-1.example.com/",
3376
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3377
+ },
3378
+ "placements": [],
3379
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3380
+ },
3381
+ "expectedDiagnostics": []
3382
+ },
3383
+ {
3384
+ "caseId": "normalized-content-listen-on-page-invalid",
3385
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3386
+ "instance": {
3387
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3388
+ "schemaVersion": "2.0.0",
3389
+ "contractVersion": "2.0.0",
3390
+ "repository": {
3391
+ "repositoryId": "1",
3392
+ "repositoryOwnerId": "1",
3393
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3394
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3395
+ },
3396
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3397
+ "packages": {
3398
+ "schemas": {
3399
+ "package": "@rathnasgala2/schemas",
3400
+ "version": "2.0.0",
3401
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3402
+ "registry": "https://fixture-1.example.com/"
3403
+ },
3404
+ "template": {
3405
+ "package": "@rathnasgala2/template",
3406
+ "version": "2.0.0",
3407
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3408
+ "registry": "https://fixture-1.example.com/"
3409
+ },
3410
+ "theme": {
3411
+ "package": "@rathnasgala2/theme-default",
3412
+ "version": "2.0.0",
3413
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3414
+ "registry": "https://fixture-1.example.com/"
3415
+ },
3416
+ "publisher": [
3417
+ {
3418
+ "package": "@rathnasgala2/publish-action",
3419
+ "version": "2.0.0",
3420
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3421
+ "registry": "https://fixture-1.example.com/"
3422
+ },
3423
+ {
3424
+ "package": "@rathnasgala2/publish-kernel",
3425
+ "version": "2.0.0",
3426
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
3427
+ "registry": "https://fixture-2.example.com/"
3428
+ },
3429
+ {
3430
+ "package": "@rathnasgala2/adapter-protocol",
3431
+ "version": "2.0.0",
3432
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
3433
+ "registry": "https://fixture-3.example.com/"
3434
+ },
3435
+ {
3436
+ "package": "@rathnasgala2/adapter-local-directory",
3437
+ "version": "2.0.0",
3438
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
3439
+ "registry": "https://fixture-4.example.com/"
3440
+ }
3441
+ ],
3442
+ "dependencies": [
3443
+ {
3444
+ "package": "fixture-1",
3445
+ "version": "2.0.0",
3446
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3447
+ "registry": "https://fixture-1.example.com/"
3448
+ }
3449
+ ]
3450
+ },
3451
+ "publication": {
3452
+ "id": "019c0000-0000-7000-8000-000000000001",
3453
+ "slug": "fixture-1",
3454
+ "title": "fixture-1",
3455
+ "description": "fixture-1",
3456
+ "canonicalBase": "https://fixture-1.example.com/",
3457
+ "defaultLanguage": "en-US",
3458
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3459
+ "socialLinks": [
3460
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3461
+ ],
3462
+ "sourcePath": "content/fixture-1.md",
3463
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3464
+ },
3465
+ "authors": [
3466
+ {
3467
+ "id": "019c0000-0000-7000-8000-000000000001",
3468
+ "displayName": "fixture-1",
3469
+ "biography": "fixture-1",
3470
+ "links": [
3471
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3472
+ ],
3473
+ "localized": [
3474
+ {
3475
+ "language": "en-US",
3476
+ "displayName": "fixture-1",
3477
+ "biography": "fixture-1"
3478
+ }
3479
+ ],
3480
+ "sourcePath": "content/fixture-1.md",
3481
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3482
+ }
3483
+ ],
3484
+ "content": [
3485
+ {
3486
+ "frontmatter": {
3487
+ "id": "019c0000-0000-7000-8000-000000000001",
3488
+ "kind": "page",
3489
+ "title": "fixture-1",
3490
+ "language": "en-US",
3491
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3492
+ "tags": ["fixture-1"],
3493
+ "status": "published",
3494
+ "createdAt": "2026-09-13T12:00:00.000Z",
3495
+ "publishedAt": "2026-09-13T12:00:00.000Z",
3496
+ "slug": "fixture-1",
3497
+ "redirects": ["/fixture-1"],
3498
+ "listen": {
3499
+ "audio": {
3500
+ "sourcePath": "assets/listen/episode.mp3",
3501
+ "mediaType": "audio/mpeg",
3502
+ "bytes": 4243000,
3503
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3504
+ },
3505
+ "durationSeconds": 424,
3506
+ "format": "conversation"
3507
+ }
3508
+ },
3509
+ "body": "fixture-1",
3510
+ "bodyMediaType": "text/html",
3511
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3512
+ "renderPolicy": {
3513
+ "name": "gala-render-policy",
3514
+ "version": "2.0.0",
3515
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3516
+ },
3517
+ "sourcePath": "content/fixture-1.md",
3518
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3519
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3520
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
3521
+ }
3522
+ ],
3523
+ "navigation": {
3524
+ "items": [
3525
+ {
3526
+ "type": "internal",
3527
+ "label": "fixture-1",
3528
+ "children": [
3529
+ {
3530
+ "type": "internal",
3531
+ "label": "fixture-1",
3532
+ "children": [],
3533
+ "route": "/fixture-1"
3534
+ }
3535
+ ],
3536
+ "route": "/fixture-1"
3537
+ }
3538
+ ],
3539
+ "footerItems": [
3540
+ {
3541
+ "type": "internal",
3542
+ "label": "fixture-1",
3543
+ "children": [
3544
+ {
3545
+ "type": "internal",
3546
+ "label": "fixture-1",
3547
+ "children": [],
3548
+ "route": "/fixture-1"
3549
+ }
3550
+ ],
3551
+ "route": "/fixture-1"
3552
+ }
3553
+ ],
3554
+ "source": {
3555
+ "kind": "authored",
3556
+ "sourcePath": "content/fixture-1.md",
3557
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3558
+ }
3559
+ },
3560
+ "appearance": {
3561
+ "theme": "@rathnasgala2/theme-default@2.0.0",
3562
+ "colorMode": { "allowed": ["light"], "default": "light" },
3563
+ "headerComposition": "mark-and-name",
3564
+ "footerComposition": "profile",
3565
+ "typeScale": "compact",
3566
+ "fontAssets": [
3567
+ {
3568
+ "path": "content/fixture-1.md",
3569
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3570
+ }
3571
+ ],
3572
+ "tokens": {},
3573
+ "source": {
3574
+ "kind": "authored",
3575
+ "sourcePath": "content/fixture-1.md",
3576
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3577
+ }
3578
+ },
3579
+ "modules": {},
3580
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
3581
+ "baseUrl": "https://fixture-1.example.com/",
3582
+ "basePath": "/fixture-1",
3583
+ "destinationCapabilities": {
3584
+ "adapter": {
3585
+ "adapterId": "local-directory",
3586
+ "adapterVersion": "2.0.0",
3587
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3588
+ },
3589
+ "baseUrl": "https://fixture-1.example.com/",
3590
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3591
+ },
3592
+ "placements": [],
3593
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3594
+ },
3595
+ "expectedDiagnostics": [
3596
+ {
3597
+ "code": "SCHEMA_CONSTANT_INVALID",
3598
+ "instancePointer": "/content/0/frontmatter/kind"
3599
+ }
3600
+ ]
3601
+ },
3602
+ {
3603
+ "caseId": "normalized-content-listen-audio-missing-invalid",
3604
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3605
+ "instance": {
3606
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3607
+ "schemaVersion": "2.0.0",
3608
+ "contractVersion": "2.0.0",
3609
+ "repository": {
3610
+ "repositoryId": "1",
3611
+ "repositoryOwnerId": "1",
3612
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3613
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3614
+ },
3615
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3616
+ "packages": {
3617
+ "schemas": {
3618
+ "package": "@rathnasgala2/schemas",
3619
+ "version": "2.0.0",
3620
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3621
+ "registry": "https://fixture-1.example.com/"
3622
+ },
3623
+ "template": {
3624
+ "package": "@rathnasgala2/template",
3625
+ "version": "2.0.0",
3626
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3627
+ "registry": "https://fixture-1.example.com/"
3628
+ },
3629
+ "theme": {
3630
+ "package": "@rathnasgala2/theme-default",
3631
+ "version": "2.0.0",
3632
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3633
+ "registry": "https://fixture-1.example.com/"
3634
+ },
3635
+ "publisher": [
3636
+ {
3637
+ "package": "@rathnasgala2/publish-action",
3638
+ "version": "2.0.0",
3639
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3640
+ "registry": "https://fixture-1.example.com/"
3641
+ },
3642
+ {
3643
+ "package": "@rathnasgala2/publish-kernel",
3644
+ "version": "2.0.0",
3645
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
3646
+ "registry": "https://fixture-2.example.com/"
3647
+ },
3648
+ {
3649
+ "package": "@rathnasgala2/adapter-protocol",
3650
+ "version": "2.0.0",
3651
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
3652
+ "registry": "https://fixture-3.example.com/"
3653
+ },
3654
+ {
3655
+ "package": "@rathnasgala2/adapter-local-directory",
3656
+ "version": "2.0.0",
3657
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
3658
+ "registry": "https://fixture-4.example.com/"
3659
+ }
3660
+ ],
3661
+ "dependencies": [
3662
+ {
3663
+ "package": "fixture-1",
3664
+ "version": "2.0.0",
3665
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3666
+ "registry": "https://fixture-1.example.com/"
3667
+ }
3668
+ ]
3669
+ },
3670
+ "publication": {
3671
+ "id": "019c0000-0000-7000-8000-000000000001",
3672
+ "slug": "fixture-1",
3673
+ "title": "fixture-1",
3674
+ "description": "fixture-1",
3675
+ "canonicalBase": "https://fixture-1.example.com/",
3676
+ "defaultLanguage": "en-US",
3677
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3678
+ "socialLinks": [
3679
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3680
+ ],
3681
+ "sourcePath": "content/fixture-1.md",
3682
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3683
+ },
3684
+ "authors": [
3685
+ {
3686
+ "id": "019c0000-0000-7000-8000-000000000001",
3687
+ "displayName": "fixture-1",
3688
+ "biography": "fixture-1",
3689
+ "links": [
3690
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3691
+ ],
3692
+ "localized": [
3693
+ {
3694
+ "language": "en-US",
3695
+ "displayName": "fixture-1",
3696
+ "biography": "fixture-1"
3697
+ }
3698
+ ],
3699
+ "sourcePath": "content/fixture-1.md",
3700
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3701
+ }
3702
+ ],
3703
+ "content": [
3704
+ {
3705
+ "frontmatter": {
3706
+ "id": "019c0000-0000-7000-8000-000000000001",
3707
+ "kind": "article",
3708
+ "title": "fixture-1",
3709
+ "language": "en-US",
3710
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3711
+ "tags": ["fixture-1"],
3712
+ "status": "published",
3713
+ "createdAt": "2026-09-13T12:00:00.000Z",
3714
+ "publishedAt": "2026-09-13T12:00:00.000Z",
3715
+ "slug": "fixture-1",
3716
+ "redirects": ["/fixture-1"],
3717
+ "listen": { "durationSeconds": 424, "format": "skit" }
3718
+ },
3719
+ "body": "fixture-1",
3720
+ "bodyMediaType": "text/html",
3721
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3722
+ "renderPolicy": {
3723
+ "name": "gala-render-policy",
3724
+ "version": "2.0.0",
3725
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3726
+ },
3727
+ "sourcePath": "content/fixture-1.md",
3728
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3729
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3730
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
3731
+ }
3732
+ ],
3733
+ "navigation": {
3734
+ "items": [
3735
+ {
3736
+ "type": "internal",
3737
+ "label": "fixture-1",
3738
+ "children": [
3739
+ {
3740
+ "type": "internal",
3741
+ "label": "fixture-1",
3742
+ "children": [],
3743
+ "route": "/fixture-1"
3744
+ }
3745
+ ],
3746
+ "route": "/fixture-1"
3747
+ }
3748
+ ],
3749
+ "footerItems": [
3750
+ {
3751
+ "type": "internal",
3752
+ "label": "fixture-1",
3753
+ "children": [
3754
+ {
3755
+ "type": "internal",
3756
+ "label": "fixture-1",
3757
+ "children": [],
3758
+ "route": "/fixture-1"
3759
+ }
3760
+ ],
3761
+ "route": "/fixture-1"
3762
+ }
3763
+ ],
3764
+ "source": {
3765
+ "kind": "authored",
3766
+ "sourcePath": "content/fixture-1.md",
3767
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3768
+ }
3769
+ },
3770
+ "appearance": {
3771
+ "theme": "@rathnasgala2/theme-default@2.0.0",
3772
+ "colorMode": { "allowed": ["light"], "default": "light" },
3773
+ "headerComposition": "mark-and-name",
3774
+ "footerComposition": "profile",
3775
+ "typeScale": "compact",
3776
+ "fontAssets": [
3777
+ {
3778
+ "path": "content/fixture-1.md",
3779
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3780
+ }
3781
+ ],
3782
+ "tokens": {},
3783
+ "source": {
3784
+ "kind": "authored",
3785
+ "sourcePath": "content/fixture-1.md",
3786
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3787
+ }
3788
+ },
3789
+ "modules": {},
3790
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
3791
+ "baseUrl": "https://fixture-1.example.com/",
3792
+ "basePath": "/fixture-1",
3793
+ "destinationCapabilities": {
3794
+ "adapter": {
3795
+ "adapterId": "local-directory",
3796
+ "adapterVersion": "2.0.0",
3797
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3798
+ },
3799
+ "baseUrl": "https://fixture-1.example.com/",
3800
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3801
+ },
3802
+ "placements": [],
3803
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3804
+ },
3805
+ "expectedDiagnostics": [
3806
+ {
3807
+ "code": "SCHEMA_REQUIRED_FIELD_MISSING",
3808
+ "instancePointer": "/content/0/frontmatter/listen/audio"
3809
+ }
3810
+ ]
3811
+ },
3812
+ {
3813
+ "caseId": "normalized-content-listen-media-type-invalid",
3814
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3815
+ "instance": {
3816
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
3817
+ "schemaVersion": "2.0.0",
3818
+ "contractVersion": "2.0.0",
3819
+ "repository": {
3820
+ "repositoryId": "1",
3821
+ "repositoryOwnerId": "1",
3822
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3823
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3824
+ },
3825
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3826
+ "packages": {
3827
+ "schemas": {
3828
+ "package": "@rathnasgala2/schemas",
3829
+ "version": "2.0.0",
3830
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3831
+ "registry": "https://fixture-1.example.com/"
3832
+ },
3833
+ "template": {
3834
+ "package": "@rathnasgala2/template",
3835
+ "version": "2.0.0",
3836
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3837
+ "registry": "https://fixture-1.example.com/"
3838
+ },
3839
+ "theme": {
3840
+ "package": "@rathnasgala2/theme-default",
3841
+ "version": "2.0.0",
3842
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3843
+ "registry": "https://fixture-1.example.com/"
3844
+ },
3845
+ "publisher": [
3846
+ {
3847
+ "package": "@rathnasgala2/publish-action",
3848
+ "version": "2.0.0",
3849
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3850
+ "registry": "https://fixture-1.example.com/"
3851
+ },
3852
+ {
3853
+ "package": "@rathnasgala2/publish-kernel",
3854
+ "version": "2.0.0",
3855
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
3856
+ "registry": "https://fixture-2.example.com/"
3857
+ },
3858
+ {
3859
+ "package": "@rathnasgala2/adapter-protocol",
3860
+ "version": "2.0.0",
3861
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
3862
+ "registry": "https://fixture-3.example.com/"
3863
+ },
3864
+ {
3865
+ "package": "@rathnasgala2/adapter-local-directory",
3866
+ "version": "2.0.0",
3867
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
3868
+ "registry": "https://fixture-4.example.com/"
3869
+ }
3870
+ ],
3871
+ "dependencies": [
3872
+ {
3873
+ "package": "fixture-1",
3874
+ "version": "2.0.0",
3875
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3876
+ "registry": "https://fixture-1.example.com/"
3877
+ }
3878
+ ]
3879
+ },
3880
+ "publication": {
3881
+ "id": "019c0000-0000-7000-8000-000000000001",
3882
+ "slug": "fixture-1",
3883
+ "title": "fixture-1",
3884
+ "description": "fixture-1",
3885
+ "canonicalBase": "https://fixture-1.example.com/",
3886
+ "defaultLanguage": "en-US",
3887
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3888
+ "socialLinks": [
3889
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3890
+ ],
3891
+ "sourcePath": "content/fixture-1.md",
3892
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3893
+ },
3894
+ "authors": [
3895
+ {
3896
+ "id": "019c0000-0000-7000-8000-000000000001",
3897
+ "displayName": "fixture-1",
3898
+ "biography": "fixture-1",
3899
+ "links": [
3900
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
3901
+ ],
3902
+ "localized": [
3903
+ {
3904
+ "language": "en-US",
3905
+ "displayName": "fixture-1",
3906
+ "biography": "fixture-1"
3907
+ }
3908
+ ],
3909
+ "sourcePath": "content/fixture-1.md",
3910
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3911
+ }
3912
+ ],
3913
+ "content": [
3914
+ {
3915
+ "frontmatter": {
3916
+ "id": "019c0000-0000-7000-8000-000000000001",
3917
+ "kind": "article",
3918
+ "title": "fixture-1",
3919
+ "language": "en-US",
3920
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
3921
+ "tags": ["fixture-1"],
3922
+ "status": "published",
3923
+ "createdAt": "2026-09-13T12:00:00.000Z",
3924
+ "publishedAt": "2026-09-13T12:00:00.000Z",
3925
+ "slug": "fixture-1",
3926
+ "redirects": ["/fixture-1"],
3927
+ "listen": {
3928
+ "audio": {
3929
+ "sourcePath": "assets/listen/episode.mp3",
3930
+ "mediaType": "audio/ogg",
3931
+ "bytes": 4243000,
3932
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3933
+ },
3934
+ "durationSeconds": 424,
3935
+ "format": "conversation"
3936
+ }
3937
+ },
3938
+ "body": "fixture-1",
3939
+ "bodyMediaType": "text/html",
3940
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3941
+ "renderPolicy": {
3942
+ "name": "gala-render-policy",
3943
+ "version": "2.0.0",
3944
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3945
+ },
3946
+ "sourcePath": "content/fixture-1.md",
3947
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
3948
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
3949
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
3950
+ }
3951
+ ],
3952
+ "navigation": {
3953
+ "items": [
3954
+ {
3955
+ "type": "internal",
3956
+ "label": "fixture-1",
3957
+ "children": [
3958
+ {
3959
+ "type": "internal",
3960
+ "label": "fixture-1",
3961
+ "children": [],
3962
+ "route": "/fixture-1"
3963
+ }
3964
+ ],
3965
+ "route": "/fixture-1"
3966
+ }
3967
+ ],
3968
+ "footerItems": [
3969
+ {
3970
+ "type": "internal",
3971
+ "label": "fixture-1",
3972
+ "children": [
3973
+ {
3974
+ "type": "internal",
3975
+ "label": "fixture-1",
3976
+ "children": [],
3977
+ "route": "/fixture-1"
3978
+ }
3979
+ ],
3980
+ "route": "/fixture-1"
3981
+ }
3982
+ ],
3983
+ "source": {
3984
+ "kind": "authored",
3985
+ "sourcePath": "content/fixture-1.md",
3986
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3987
+ }
3988
+ },
3989
+ "appearance": {
3990
+ "theme": "@rathnasgala2/theme-default@2.0.0",
3991
+ "colorMode": { "allowed": ["light"], "default": "light" },
3992
+ "headerComposition": "mark-and-name",
3993
+ "footerComposition": "profile",
3994
+ "typeScale": "compact",
3995
+ "fontAssets": [
3996
+ {
3997
+ "path": "content/fixture-1.md",
3998
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
3999
+ }
4000
+ ],
4001
+ "tokens": {},
4002
+ "source": {
4003
+ "kind": "authored",
4004
+ "sourcePath": "content/fixture-1.md",
4005
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4006
+ }
4007
+ },
4008
+ "modules": {},
4009
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
4010
+ "baseUrl": "https://fixture-1.example.com/",
4011
+ "basePath": "/fixture-1",
4012
+ "destinationCapabilities": {
4013
+ "adapter": {
4014
+ "adapterId": "local-directory",
4015
+ "adapterVersion": "2.0.0",
4016
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4017
+ },
4018
+ "baseUrl": "https://fixture-1.example.com/",
4019
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4020
+ },
4021
+ "placements": [],
4022
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4023
+ },
4024
+ "expectedDiagnostics": [
4025
+ {
4026
+ "code": "SCHEMA_ENUM_INVALID",
4027
+ "instancePointer": "/content/0/frontmatter/listen/audio/mediaType"
4028
+ }
4029
+ ]
4030
+ },
4031
+ {
4032
+ "caseId": "normalized-content-listen-path-extension-invalid",
4033
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4034
+ "instance": {
4035
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4036
+ "schemaVersion": "2.0.0",
4037
+ "contractVersion": "2.0.0",
4038
+ "repository": {
4039
+ "repositoryId": "1",
4040
+ "repositoryOwnerId": "1",
4041
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4042
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4043
+ },
4044
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4045
+ "packages": {
4046
+ "schemas": {
4047
+ "package": "@rathnasgala2/schemas",
4048
+ "version": "2.0.0",
4049
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4050
+ "registry": "https://fixture-1.example.com/"
4051
+ },
4052
+ "template": {
4053
+ "package": "@rathnasgala2/template",
4054
+ "version": "2.0.0",
4055
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4056
+ "registry": "https://fixture-1.example.com/"
4057
+ },
4058
+ "theme": {
4059
+ "package": "@rathnasgala2/theme-default",
4060
+ "version": "2.0.0",
4061
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4062
+ "registry": "https://fixture-1.example.com/"
4063
+ },
4064
+ "publisher": [
4065
+ {
4066
+ "package": "@rathnasgala2/publish-action",
4067
+ "version": "2.0.0",
4068
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4069
+ "registry": "https://fixture-1.example.com/"
4070
+ },
4071
+ {
4072
+ "package": "@rathnasgala2/publish-kernel",
4073
+ "version": "2.0.0",
4074
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
4075
+ "registry": "https://fixture-2.example.com/"
4076
+ },
4077
+ {
4078
+ "package": "@rathnasgala2/adapter-protocol",
4079
+ "version": "2.0.0",
4080
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
4081
+ "registry": "https://fixture-3.example.com/"
4082
+ },
4083
+ {
4084
+ "package": "@rathnasgala2/adapter-local-directory",
4085
+ "version": "2.0.0",
4086
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
4087
+ "registry": "https://fixture-4.example.com/"
4088
+ }
4089
+ ],
4090
+ "dependencies": [
4091
+ {
4092
+ "package": "fixture-1",
4093
+ "version": "2.0.0",
4094
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4095
+ "registry": "https://fixture-1.example.com/"
4096
+ }
4097
+ ]
4098
+ },
4099
+ "publication": {
4100
+ "id": "019c0000-0000-7000-8000-000000000001",
4101
+ "slug": "fixture-1",
4102
+ "title": "fixture-1",
4103
+ "description": "fixture-1",
4104
+ "canonicalBase": "https://fixture-1.example.com/",
4105
+ "defaultLanguage": "en-US",
4106
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4107
+ "socialLinks": [
4108
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4109
+ ],
4110
+ "sourcePath": "content/fixture-1.md",
4111
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4112
+ },
4113
+ "authors": [
4114
+ {
4115
+ "id": "019c0000-0000-7000-8000-000000000001",
4116
+ "displayName": "fixture-1",
4117
+ "biography": "fixture-1",
4118
+ "links": [
4119
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4120
+ ],
4121
+ "localized": [
4122
+ {
4123
+ "language": "en-US",
4124
+ "displayName": "fixture-1",
4125
+ "biography": "fixture-1"
4126
+ }
4127
+ ],
4128
+ "sourcePath": "content/fixture-1.md",
4129
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4130
+ }
4131
+ ],
4132
+ "content": [
4133
+ {
4134
+ "frontmatter": {
4135
+ "id": "019c0000-0000-7000-8000-000000000001",
4136
+ "kind": "article",
4137
+ "title": "fixture-1",
4138
+ "language": "en-US",
4139
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4140
+ "tags": ["fixture-1"],
4141
+ "status": "published",
4142
+ "createdAt": "2026-09-13T12:00:00.000Z",
4143
+ "publishedAt": "2026-09-13T12:00:00.000Z",
4144
+ "slug": "fixture-1",
4145
+ "redirects": ["/fixture-1"],
4146
+ "listen": {
4147
+ "audio": {
4148
+ "sourcePath": "assets/listen/episode.wav",
4149
+ "mediaType": "audio/mpeg",
4150
+ "bytes": 4243000,
4151
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4152
+ },
4153
+ "durationSeconds": 424,
4154
+ "format": "conversation"
4155
+ }
4156
+ },
4157
+ "body": "fixture-1",
4158
+ "bodyMediaType": "text/html",
4159
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4160
+ "renderPolicy": {
4161
+ "name": "gala-render-policy",
4162
+ "version": "2.0.0",
4163
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4164
+ },
4165
+ "sourcePath": "content/fixture-1.md",
4166
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4167
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4168
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
4169
+ }
4170
+ ],
4171
+ "navigation": {
4172
+ "items": [
4173
+ {
4174
+ "type": "internal",
4175
+ "label": "fixture-1",
4176
+ "children": [
4177
+ {
4178
+ "type": "internal",
4179
+ "label": "fixture-1",
4180
+ "children": [],
4181
+ "route": "/fixture-1"
4182
+ }
4183
+ ],
4184
+ "route": "/fixture-1"
4185
+ }
4186
+ ],
4187
+ "footerItems": [
4188
+ {
4189
+ "type": "internal",
4190
+ "label": "fixture-1",
4191
+ "children": [
4192
+ {
4193
+ "type": "internal",
4194
+ "label": "fixture-1",
4195
+ "children": [],
4196
+ "route": "/fixture-1"
4197
+ }
4198
+ ],
4199
+ "route": "/fixture-1"
4200
+ }
4201
+ ],
4202
+ "source": {
4203
+ "kind": "authored",
4204
+ "sourcePath": "content/fixture-1.md",
4205
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4206
+ }
4207
+ },
4208
+ "appearance": {
4209
+ "theme": "@rathnasgala2/theme-default@2.0.0",
4210
+ "colorMode": { "allowed": ["light"], "default": "light" },
4211
+ "headerComposition": "mark-and-name",
4212
+ "footerComposition": "profile",
4213
+ "typeScale": "compact",
4214
+ "fontAssets": [
4215
+ {
4216
+ "path": "content/fixture-1.md",
4217
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4218
+ }
4219
+ ],
4220
+ "tokens": {},
4221
+ "source": {
4222
+ "kind": "authored",
4223
+ "sourcePath": "content/fixture-1.md",
4224
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4225
+ }
4226
+ },
4227
+ "modules": {},
4228
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
4229
+ "baseUrl": "https://fixture-1.example.com/",
4230
+ "basePath": "/fixture-1",
4231
+ "destinationCapabilities": {
4232
+ "adapter": {
4233
+ "adapterId": "local-directory",
4234
+ "adapterVersion": "2.0.0",
4235
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4236
+ },
4237
+ "baseUrl": "https://fixture-1.example.com/",
4238
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4239
+ },
4240
+ "placements": [],
4241
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4242
+ },
4243
+ "expectedDiagnostics": [
4244
+ {
4245
+ "code": "SCHEMA_PATTERN_INVALID",
4246
+ "instancePointer": "/content/0/frontmatter/listen/audio/sourcePath"
4247
+ }
4248
+ ]
4249
+ },
4250
+ {
4251
+ "caseId": "normalized-content-listen-file-over-25-mib-invalid",
4252
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4253
+ "instance": {
4254
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4255
+ "schemaVersion": "2.0.0",
4256
+ "contractVersion": "2.0.0",
4257
+ "repository": {
4258
+ "repositoryId": "1",
4259
+ "repositoryOwnerId": "1",
4260
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4261
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4262
+ },
4263
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4264
+ "packages": {
4265
+ "schemas": {
4266
+ "package": "@rathnasgala2/schemas",
4267
+ "version": "2.0.0",
4268
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4269
+ "registry": "https://fixture-1.example.com/"
4270
+ },
4271
+ "template": {
4272
+ "package": "@rathnasgala2/template",
4273
+ "version": "2.0.0",
4274
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4275
+ "registry": "https://fixture-1.example.com/"
4276
+ },
4277
+ "theme": {
4278
+ "package": "@rathnasgala2/theme-default",
4279
+ "version": "2.0.0",
4280
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4281
+ "registry": "https://fixture-1.example.com/"
4282
+ },
4283
+ "publisher": [
4284
+ {
4285
+ "package": "@rathnasgala2/publish-action",
4286
+ "version": "2.0.0",
4287
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4288
+ "registry": "https://fixture-1.example.com/"
4289
+ },
4290
+ {
4291
+ "package": "@rathnasgala2/publish-kernel",
4292
+ "version": "2.0.0",
4293
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
4294
+ "registry": "https://fixture-2.example.com/"
4295
+ },
4296
+ {
4297
+ "package": "@rathnasgala2/adapter-protocol",
4298
+ "version": "2.0.0",
4299
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
4300
+ "registry": "https://fixture-3.example.com/"
4301
+ },
4302
+ {
4303
+ "package": "@rathnasgala2/adapter-local-directory",
4304
+ "version": "2.0.0",
4305
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
4306
+ "registry": "https://fixture-4.example.com/"
4307
+ }
4308
+ ],
4309
+ "dependencies": [
4310
+ {
4311
+ "package": "fixture-1",
4312
+ "version": "2.0.0",
4313
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4314
+ "registry": "https://fixture-1.example.com/"
4315
+ }
4316
+ ]
4317
+ },
4318
+ "publication": {
4319
+ "id": "019c0000-0000-7000-8000-000000000001",
4320
+ "slug": "fixture-1",
4321
+ "title": "fixture-1",
4322
+ "description": "fixture-1",
4323
+ "canonicalBase": "https://fixture-1.example.com/",
4324
+ "defaultLanguage": "en-US",
4325
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4326
+ "socialLinks": [
4327
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4328
+ ],
4329
+ "sourcePath": "content/fixture-1.md",
4330
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4331
+ },
4332
+ "authors": [
4333
+ {
4334
+ "id": "019c0000-0000-7000-8000-000000000001",
4335
+ "displayName": "fixture-1",
4336
+ "biography": "fixture-1",
4337
+ "links": [
4338
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4339
+ ],
4340
+ "localized": [
4341
+ {
4342
+ "language": "en-US",
4343
+ "displayName": "fixture-1",
4344
+ "biography": "fixture-1"
4345
+ }
4346
+ ],
4347
+ "sourcePath": "content/fixture-1.md",
4348
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4349
+ }
4350
+ ],
4351
+ "content": [
4352
+ {
4353
+ "frontmatter": {
4354
+ "id": "019c0000-0000-7000-8000-000000000001",
4355
+ "kind": "article",
4356
+ "title": "fixture-1",
4357
+ "language": "en-US",
4358
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4359
+ "tags": ["fixture-1"],
4360
+ "status": "published",
4361
+ "createdAt": "2026-09-13T12:00:00.000Z",
4362
+ "publishedAt": "2026-09-13T12:00:00.000Z",
4363
+ "slug": "fixture-1",
4364
+ "redirects": ["/fixture-1"],
4365
+ "listen": {
4366
+ "audio": {
4367
+ "sourcePath": "assets/listen/episode.mp3",
4368
+ "mediaType": "audio/mpeg",
4369
+ "bytes": 26214401,
4370
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4371
+ },
4372
+ "durationSeconds": 424,
4373
+ "format": "conversation"
4374
+ }
4375
+ },
4376
+ "body": "fixture-1",
4377
+ "bodyMediaType": "text/html",
4378
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4379
+ "renderPolicy": {
4380
+ "name": "gala-render-policy",
4381
+ "version": "2.0.0",
4382
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4383
+ },
4384
+ "sourcePath": "content/fixture-1.md",
4385
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4386
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4387
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
4388
+ }
4389
+ ],
4390
+ "navigation": {
4391
+ "items": [
4392
+ {
4393
+ "type": "internal",
4394
+ "label": "fixture-1",
4395
+ "children": [
4396
+ {
4397
+ "type": "internal",
4398
+ "label": "fixture-1",
4399
+ "children": [],
4400
+ "route": "/fixture-1"
4401
+ }
4402
+ ],
4403
+ "route": "/fixture-1"
4404
+ }
4405
+ ],
4406
+ "footerItems": [
4407
+ {
4408
+ "type": "internal",
4409
+ "label": "fixture-1",
4410
+ "children": [
4411
+ {
4412
+ "type": "internal",
4413
+ "label": "fixture-1",
4414
+ "children": [],
4415
+ "route": "/fixture-1"
4416
+ }
4417
+ ],
4418
+ "route": "/fixture-1"
4419
+ }
4420
+ ],
4421
+ "source": {
4422
+ "kind": "authored",
4423
+ "sourcePath": "content/fixture-1.md",
4424
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4425
+ }
4426
+ },
4427
+ "appearance": {
4428
+ "theme": "@rathnasgala2/theme-default@2.0.0",
4429
+ "colorMode": { "allowed": ["light"], "default": "light" },
4430
+ "headerComposition": "mark-and-name",
4431
+ "footerComposition": "profile",
4432
+ "typeScale": "compact",
4433
+ "fontAssets": [
4434
+ {
4435
+ "path": "content/fixture-1.md",
4436
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4437
+ }
4438
+ ],
4439
+ "tokens": {},
4440
+ "source": {
4441
+ "kind": "authored",
4442
+ "sourcePath": "content/fixture-1.md",
4443
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4444
+ }
4445
+ },
4446
+ "modules": {},
4447
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
4448
+ "baseUrl": "https://fixture-1.example.com/",
4449
+ "basePath": "/fixture-1",
4450
+ "destinationCapabilities": {
4451
+ "adapter": {
4452
+ "adapterId": "local-directory",
4453
+ "adapterVersion": "2.0.0",
4454
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4455
+ },
4456
+ "baseUrl": "https://fixture-1.example.com/",
4457
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4458
+ },
4459
+ "placements": [],
4460
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4461
+ },
4462
+ "expectedDiagnostics": [
4463
+ {
4464
+ "code": "SCHEMA_NUMBER_TOO_LARGE",
4465
+ "instancePointer": "/content/0/frontmatter/listen/audio/bytes"
4466
+ }
4467
+ ]
4468
+ },
4469
+ {
4470
+ "caseId": "normalized-content-listen-empty-file-invalid",
4471
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4472
+ "instance": {
4473
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4474
+ "schemaVersion": "2.0.0",
4475
+ "contractVersion": "2.0.0",
4476
+ "repository": {
4477
+ "repositoryId": "1",
4478
+ "repositoryOwnerId": "1",
4479
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4480
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4481
+ },
4482
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4483
+ "packages": {
4484
+ "schemas": {
4485
+ "package": "@rathnasgala2/schemas",
4486
+ "version": "2.0.0",
4487
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4488
+ "registry": "https://fixture-1.example.com/"
4489
+ },
4490
+ "template": {
4491
+ "package": "@rathnasgala2/template",
4492
+ "version": "2.0.0",
4493
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4494
+ "registry": "https://fixture-1.example.com/"
4495
+ },
4496
+ "theme": {
4497
+ "package": "@rathnasgala2/theme-default",
4498
+ "version": "2.0.0",
4499
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4500
+ "registry": "https://fixture-1.example.com/"
4501
+ },
4502
+ "publisher": [
4503
+ {
4504
+ "package": "@rathnasgala2/publish-action",
4505
+ "version": "2.0.0",
4506
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4507
+ "registry": "https://fixture-1.example.com/"
4508
+ },
4509
+ {
4510
+ "package": "@rathnasgala2/publish-kernel",
4511
+ "version": "2.0.0",
4512
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
4513
+ "registry": "https://fixture-2.example.com/"
4514
+ },
4515
+ {
4516
+ "package": "@rathnasgala2/adapter-protocol",
4517
+ "version": "2.0.0",
4518
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
4519
+ "registry": "https://fixture-3.example.com/"
4520
+ },
4521
+ {
4522
+ "package": "@rathnasgala2/adapter-local-directory",
4523
+ "version": "2.0.0",
4524
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
4525
+ "registry": "https://fixture-4.example.com/"
4526
+ }
4527
+ ],
4528
+ "dependencies": [
4529
+ {
4530
+ "package": "fixture-1",
4531
+ "version": "2.0.0",
4532
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4533
+ "registry": "https://fixture-1.example.com/"
4534
+ }
4535
+ ]
4536
+ },
4537
+ "publication": {
4538
+ "id": "019c0000-0000-7000-8000-000000000001",
4539
+ "slug": "fixture-1",
4540
+ "title": "fixture-1",
4541
+ "description": "fixture-1",
4542
+ "canonicalBase": "https://fixture-1.example.com/",
4543
+ "defaultLanguage": "en-US",
4544
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4545
+ "socialLinks": [
4546
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4547
+ ],
4548
+ "sourcePath": "content/fixture-1.md",
4549
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4550
+ },
4551
+ "authors": [
4552
+ {
4553
+ "id": "019c0000-0000-7000-8000-000000000001",
4554
+ "displayName": "fixture-1",
4555
+ "biography": "fixture-1",
4556
+ "links": [
4557
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4558
+ ],
4559
+ "localized": [
4560
+ {
4561
+ "language": "en-US",
4562
+ "displayName": "fixture-1",
4563
+ "biography": "fixture-1"
4564
+ }
4565
+ ],
4566
+ "sourcePath": "content/fixture-1.md",
4567
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4568
+ }
4569
+ ],
4570
+ "content": [
4571
+ {
4572
+ "frontmatter": {
4573
+ "id": "019c0000-0000-7000-8000-000000000001",
4574
+ "kind": "article",
4575
+ "title": "fixture-1",
4576
+ "language": "en-US",
4577
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4578
+ "tags": ["fixture-1"],
4579
+ "status": "published",
4580
+ "createdAt": "2026-09-13T12:00:00.000Z",
4581
+ "publishedAt": "2026-09-13T12:00:00.000Z",
4582
+ "slug": "fixture-1",
4583
+ "redirects": ["/fixture-1"],
4584
+ "listen": {
4585
+ "audio": {
4586
+ "sourcePath": "assets/listen/episode.mp3",
4587
+ "mediaType": "audio/mpeg",
4588
+ "bytes": 0,
4589
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4590
+ },
4591
+ "durationSeconds": 424,
4592
+ "format": "conversation"
4593
+ }
4594
+ },
4595
+ "body": "fixture-1",
4596
+ "bodyMediaType": "text/html",
4597
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4598
+ "renderPolicy": {
4599
+ "name": "gala-render-policy",
4600
+ "version": "2.0.0",
4601
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4602
+ },
4603
+ "sourcePath": "content/fixture-1.md",
4604
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4605
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4606
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
4607
+ }
4608
+ ],
4609
+ "navigation": {
4610
+ "items": [
4611
+ {
4612
+ "type": "internal",
4613
+ "label": "fixture-1",
4614
+ "children": [
4615
+ {
4616
+ "type": "internal",
4617
+ "label": "fixture-1",
4618
+ "children": [],
4619
+ "route": "/fixture-1"
4620
+ }
4621
+ ],
4622
+ "route": "/fixture-1"
4623
+ }
4624
+ ],
4625
+ "footerItems": [
4626
+ {
4627
+ "type": "internal",
4628
+ "label": "fixture-1",
4629
+ "children": [
4630
+ {
4631
+ "type": "internal",
4632
+ "label": "fixture-1",
4633
+ "children": [],
4634
+ "route": "/fixture-1"
4635
+ }
4636
+ ],
4637
+ "route": "/fixture-1"
4638
+ }
4639
+ ],
4640
+ "source": {
4641
+ "kind": "authored",
4642
+ "sourcePath": "content/fixture-1.md",
4643
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4644
+ }
4645
+ },
4646
+ "appearance": {
4647
+ "theme": "@rathnasgala2/theme-default@2.0.0",
4648
+ "colorMode": { "allowed": ["light"], "default": "light" },
4649
+ "headerComposition": "mark-and-name",
4650
+ "footerComposition": "profile",
4651
+ "typeScale": "compact",
4652
+ "fontAssets": [
4653
+ {
4654
+ "path": "content/fixture-1.md",
4655
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4656
+ }
4657
+ ],
4658
+ "tokens": {},
4659
+ "source": {
4660
+ "kind": "authored",
4661
+ "sourcePath": "content/fixture-1.md",
4662
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4663
+ }
4664
+ },
4665
+ "modules": {},
4666
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
4667
+ "baseUrl": "https://fixture-1.example.com/",
4668
+ "basePath": "/fixture-1",
4669
+ "destinationCapabilities": {
4670
+ "adapter": {
4671
+ "adapterId": "local-directory",
4672
+ "adapterVersion": "2.0.0",
4673
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4674
+ },
4675
+ "baseUrl": "https://fixture-1.example.com/",
4676
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4677
+ },
4678
+ "placements": [],
4679
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4680
+ },
4681
+ "expectedDiagnostics": [
4682
+ {
4683
+ "code": "SCHEMA_NUMBER_TOO_SMALL",
4684
+ "instancePointer": "/content/0/frontmatter/listen/audio/bytes"
4685
+ }
4686
+ ]
4687
+ },
4688
+ {
4689
+ "caseId": "normalized-content-listen-duration-over-three-hours-invalid",
4690
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4691
+ "instance": {
4692
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4693
+ "schemaVersion": "2.0.0",
4694
+ "contractVersion": "2.0.0",
4695
+ "repository": {
4696
+ "repositoryId": "1",
4697
+ "repositoryOwnerId": "1",
4698
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4699
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4700
+ },
4701
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4702
+ "packages": {
4703
+ "schemas": {
4704
+ "package": "@rathnasgala2/schemas",
4705
+ "version": "2.0.0",
4706
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4707
+ "registry": "https://fixture-1.example.com/"
4708
+ },
4709
+ "template": {
4710
+ "package": "@rathnasgala2/template",
4711
+ "version": "2.0.0",
4712
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4713
+ "registry": "https://fixture-1.example.com/"
4714
+ },
4715
+ "theme": {
4716
+ "package": "@rathnasgala2/theme-default",
4717
+ "version": "2.0.0",
4718
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4719
+ "registry": "https://fixture-1.example.com/"
4720
+ },
4721
+ "publisher": [
4722
+ {
4723
+ "package": "@rathnasgala2/publish-action",
4724
+ "version": "2.0.0",
4725
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4726
+ "registry": "https://fixture-1.example.com/"
4727
+ },
4728
+ {
4729
+ "package": "@rathnasgala2/publish-kernel",
4730
+ "version": "2.0.0",
4731
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
4732
+ "registry": "https://fixture-2.example.com/"
4733
+ },
4734
+ {
4735
+ "package": "@rathnasgala2/adapter-protocol",
4736
+ "version": "2.0.0",
4737
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
4738
+ "registry": "https://fixture-3.example.com/"
4739
+ },
4740
+ {
4741
+ "package": "@rathnasgala2/adapter-local-directory",
4742
+ "version": "2.0.0",
4743
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
4744
+ "registry": "https://fixture-4.example.com/"
4745
+ }
4746
+ ],
4747
+ "dependencies": [
4748
+ {
4749
+ "package": "fixture-1",
4750
+ "version": "2.0.0",
4751
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4752
+ "registry": "https://fixture-1.example.com/"
4753
+ }
4754
+ ]
4755
+ },
4756
+ "publication": {
4757
+ "id": "019c0000-0000-7000-8000-000000000001",
4758
+ "slug": "fixture-1",
4759
+ "title": "fixture-1",
4760
+ "description": "fixture-1",
4761
+ "canonicalBase": "https://fixture-1.example.com/",
4762
+ "defaultLanguage": "en-US",
4763
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4764
+ "socialLinks": [
4765
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4766
+ ],
4767
+ "sourcePath": "content/fixture-1.md",
4768
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4769
+ },
4770
+ "authors": [
4771
+ {
4772
+ "id": "019c0000-0000-7000-8000-000000000001",
4773
+ "displayName": "fixture-1",
4774
+ "biography": "fixture-1",
4775
+ "links": [
4776
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4777
+ ],
4778
+ "localized": [
4779
+ {
4780
+ "language": "en-US",
4781
+ "displayName": "fixture-1",
4782
+ "biography": "fixture-1"
4783
+ }
4784
+ ],
4785
+ "sourcePath": "content/fixture-1.md",
4786
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4787
+ }
4788
+ ],
4789
+ "content": [
4790
+ {
4791
+ "frontmatter": {
4792
+ "id": "019c0000-0000-7000-8000-000000000001",
4793
+ "kind": "article",
4794
+ "title": "fixture-1",
4795
+ "language": "en-US",
4796
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4797
+ "tags": ["fixture-1"],
4798
+ "status": "published",
4799
+ "createdAt": "2026-09-13T12:00:00.000Z",
4800
+ "publishedAt": "2026-09-13T12:00:00.000Z",
4801
+ "slug": "fixture-1",
4802
+ "redirects": ["/fixture-1"],
4803
+ "listen": {
4804
+ "audio": {
4805
+ "sourcePath": "assets/listen/episode.mp3",
4806
+ "mediaType": "audio/mpeg",
4807
+ "bytes": 4243000,
4808
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4809
+ },
4810
+ "durationSeconds": 10801,
4811
+ "format": "conversation"
4812
+ }
4813
+ },
4814
+ "body": "fixture-1",
4815
+ "bodyMediaType": "text/html",
4816
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4817
+ "renderPolicy": {
4818
+ "name": "gala-render-policy",
4819
+ "version": "2.0.0",
4820
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4821
+ },
4822
+ "sourcePath": "content/fixture-1.md",
4823
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4824
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4825
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
4826
+ }
4827
+ ],
4828
+ "navigation": {
4829
+ "items": [
4830
+ {
4831
+ "type": "internal",
4832
+ "label": "fixture-1",
4833
+ "children": [
4834
+ {
4835
+ "type": "internal",
4836
+ "label": "fixture-1",
4837
+ "children": [],
4838
+ "route": "/fixture-1"
4839
+ }
4840
+ ],
4841
+ "route": "/fixture-1"
4842
+ }
4843
+ ],
4844
+ "footerItems": [
4845
+ {
4846
+ "type": "internal",
4847
+ "label": "fixture-1",
4848
+ "children": [
4849
+ {
4850
+ "type": "internal",
4851
+ "label": "fixture-1",
4852
+ "children": [],
4853
+ "route": "/fixture-1"
4854
+ }
4855
+ ],
4856
+ "route": "/fixture-1"
4857
+ }
4858
+ ],
4859
+ "source": {
4860
+ "kind": "authored",
4861
+ "sourcePath": "content/fixture-1.md",
4862
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4863
+ }
4864
+ },
4865
+ "appearance": {
4866
+ "theme": "@rathnasgala2/theme-default@2.0.0",
4867
+ "colorMode": { "allowed": ["light"], "default": "light" },
4868
+ "headerComposition": "mark-and-name",
4869
+ "footerComposition": "profile",
4870
+ "typeScale": "compact",
4871
+ "fontAssets": [
4872
+ {
4873
+ "path": "content/fixture-1.md",
4874
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4875
+ }
4876
+ ],
4877
+ "tokens": {},
4878
+ "source": {
4879
+ "kind": "authored",
4880
+ "sourcePath": "content/fixture-1.md",
4881
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4882
+ }
4883
+ },
4884
+ "modules": {},
4885
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
4886
+ "baseUrl": "https://fixture-1.example.com/",
4887
+ "basePath": "/fixture-1",
4888
+ "destinationCapabilities": {
4889
+ "adapter": {
4890
+ "adapterId": "local-directory",
4891
+ "adapterVersion": "2.0.0",
4892
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4893
+ },
4894
+ "baseUrl": "https://fixture-1.example.com/",
4895
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4896
+ },
4897
+ "placements": [],
4898
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4899
+ },
4900
+ "expectedDiagnostics": [
4901
+ {
4902
+ "code": "SCHEMA_NUMBER_TOO_LARGE",
4903
+ "instancePointer": "/content/0/frontmatter/listen/durationSeconds"
4904
+ }
4905
+ ]
4906
+ },
4907
+ {
4908
+ "caseId": "normalized-content-listen-duration-zero-invalid",
4909
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4910
+ "instance": {
4911
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
4912
+ "schemaVersion": "2.0.0",
4913
+ "contractVersion": "2.0.0",
4914
+ "repository": {
4915
+ "repositoryId": "1",
4916
+ "repositoryOwnerId": "1",
4917
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4918
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4919
+ },
4920
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
4921
+ "packages": {
4922
+ "schemas": {
4923
+ "package": "@rathnasgala2/schemas",
4924
+ "version": "2.0.0",
4925
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4926
+ "registry": "https://fixture-1.example.com/"
4927
+ },
4928
+ "template": {
4929
+ "package": "@rathnasgala2/template",
4930
+ "version": "2.0.0",
4931
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4932
+ "registry": "https://fixture-1.example.com/"
4933
+ },
4934
+ "theme": {
4935
+ "package": "@rathnasgala2/theme-default",
4936
+ "version": "2.0.0",
4937
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4938
+ "registry": "https://fixture-1.example.com/"
4939
+ },
4940
+ "publisher": [
4941
+ {
4942
+ "package": "@rathnasgala2/publish-action",
4943
+ "version": "2.0.0",
4944
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4945
+ "registry": "https://fixture-1.example.com/"
4946
+ },
4947
+ {
4948
+ "package": "@rathnasgala2/publish-kernel",
4949
+ "version": "2.0.0",
4950
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
4951
+ "registry": "https://fixture-2.example.com/"
4952
+ },
4953
+ {
4954
+ "package": "@rathnasgala2/adapter-protocol",
4955
+ "version": "2.0.0",
4956
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
4957
+ "registry": "https://fixture-3.example.com/"
4958
+ },
4959
+ {
4960
+ "package": "@rathnasgala2/adapter-local-directory",
4961
+ "version": "2.0.0",
4962
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
4963
+ "registry": "https://fixture-4.example.com/"
4964
+ }
4965
+ ],
4966
+ "dependencies": [
4967
+ {
4968
+ "package": "fixture-1",
4969
+ "version": "2.0.0",
4970
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
4971
+ "registry": "https://fixture-1.example.com/"
4972
+ }
4973
+ ]
4974
+ },
4975
+ "publication": {
4976
+ "id": "019c0000-0000-7000-8000-000000000001",
4977
+ "slug": "fixture-1",
4978
+ "title": "fixture-1",
4979
+ "description": "fixture-1",
4980
+ "canonicalBase": "https://fixture-1.example.com/",
4981
+ "defaultLanguage": "en-US",
4982
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
4983
+ "socialLinks": [
4984
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4985
+ ],
4986
+ "sourcePath": "content/fixture-1.md",
4987
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
4988
+ },
4989
+ "authors": [
4990
+ {
4991
+ "id": "019c0000-0000-7000-8000-000000000001",
4992
+ "displayName": "fixture-1",
4993
+ "biography": "fixture-1",
4994
+ "links": [
4995
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
4996
+ ],
4997
+ "localized": [
4998
+ {
4999
+ "language": "en-US",
5000
+ "displayName": "fixture-1",
5001
+ "biography": "fixture-1"
5002
+ }
5003
+ ],
5004
+ "sourcePath": "content/fixture-1.md",
5005
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5006
+ }
5007
+ ],
5008
+ "content": [
5009
+ {
5010
+ "frontmatter": {
5011
+ "id": "019c0000-0000-7000-8000-000000000001",
5012
+ "kind": "article",
5013
+ "title": "fixture-1",
5014
+ "language": "en-US",
5015
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
5016
+ "tags": ["fixture-1"],
5017
+ "status": "published",
5018
+ "createdAt": "2026-09-13T12:00:00.000Z",
5019
+ "publishedAt": "2026-09-13T12:00:00.000Z",
5020
+ "slug": "fixture-1",
5021
+ "redirects": ["/fixture-1"],
5022
+ "listen": {
5023
+ "audio": {
5024
+ "sourcePath": "assets/listen/episode.mp3",
5025
+ "mediaType": "audio/mpeg",
5026
+ "bytes": 4243000,
5027
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5028
+ },
5029
+ "durationSeconds": 0,
5030
+ "format": "conversation"
5031
+ }
5032
+ },
5033
+ "body": "fixture-1",
5034
+ "bodyMediaType": "text/html",
5035
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5036
+ "renderPolicy": {
5037
+ "name": "gala-render-policy",
5038
+ "version": "2.0.0",
5039
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5040
+ },
5041
+ "sourcePath": "content/fixture-1.md",
5042
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
5043
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5044
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
5045
+ }
5046
+ ],
5047
+ "navigation": {
5048
+ "items": [
5049
+ {
5050
+ "type": "internal",
5051
+ "label": "fixture-1",
5052
+ "children": [
5053
+ {
5054
+ "type": "internal",
5055
+ "label": "fixture-1",
5056
+ "children": [],
5057
+ "route": "/fixture-1"
5058
+ }
5059
+ ],
5060
+ "route": "/fixture-1"
5061
+ }
5062
+ ],
5063
+ "footerItems": [
5064
+ {
5065
+ "type": "internal",
5066
+ "label": "fixture-1",
5067
+ "children": [
5068
+ {
5069
+ "type": "internal",
5070
+ "label": "fixture-1",
5071
+ "children": [],
5072
+ "route": "/fixture-1"
5073
+ }
5074
+ ],
5075
+ "route": "/fixture-1"
5076
+ }
5077
+ ],
5078
+ "source": {
5079
+ "kind": "authored",
5080
+ "sourcePath": "content/fixture-1.md",
5081
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5082
+ }
5083
+ },
5084
+ "appearance": {
5085
+ "theme": "@rathnasgala2/theme-default@2.0.0",
5086
+ "colorMode": { "allowed": ["light"], "default": "light" },
5087
+ "headerComposition": "mark-and-name",
5088
+ "footerComposition": "profile",
5089
+ "typeScale": "compact",
5090
+ "fontAssets": [
5091
+ {
5092
+ "path": "content/fixture-1.md",
5093
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5094
+ }
5095
+ ],
5096
+ "tokens": {},
5097
+ "source": {
5098
+ "kind": "authored",
5099
+ "sourcePath": "content/fixture-1.md",
5100
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5101
+ }
5102
+ },
5103
+ "modules": {},
5104
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
5105
+ "baseUrl": "https://fixture-1.example.com/",
5106
+ "basePath": "/fixture-1",
5107
+ "destinationCapabilities": {
5108
+ "adapter": {
5109
+ "adapterId": "local-directory",
5110
+ "adapterVersion": "2.0.0",
5111
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5112
+ },
5113
+ "baseUrl": "https://fixture-1.example.com/",
5114
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5115
+ },
5116
+ "placements": [],
5117
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5118
+ },
5119
+ "expectedDiagnostics": [
5120
+ {
5121
+ "code": "SCHEMA_NUMBER_TOO_SMALL",
5122
+ "instancePointer": "/content/0/frontmatter/listen/durationSeconds"
5123
+ }
5124
+ ]
5125
+ },
5126
+ {
5127
+ "caseId": "normalized-content-listen-format-unknown-invalid",
5128
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
5129
+ "instance": {
5130
+ "schemaId": "urn:gala:schema:build-input:2.0.0",
5131
+ "schemaVersion": "2.0.0",
5132
+ "contractVersion": "2.0.0",
5133
+ "repository": {
5134
+ "repositoryId": "1",
5135
+ "repositoryOwnerId": "1",
5136
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
5137
+ "rootDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5138
+ },
5139
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
5140
+ "packages": {
5141
+ "schemas": {
5142
+ "package": "@rathnasgala2/schemas",
5143
+ "version": "2.0.0",
5144
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5145
+ "registry": "https://fixture-1.example.com/"
5146
+ },
5147
+ "template": {
5148
+ "package": "@rathnasgala2/template",
5149
+ "version": "2.0.0",
5150
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5151
+ "registry": "https://fixture-1.example.com/"
5152
+ },
5153
+ "theme": {
5154
+ "package": "@rathnasgala2/theme-default",
5155
+ "version": "2.0.0",
5156
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5157
+ "registry": "https://fixture-1.example.com/"
5158
+ },
5159
+ "publisher": [
5160
+ {
5161
+ "package": "@rathnasgala2/publish-action",
5162
+ "version": "2.0.0",
5163
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5164
+ "registry": "https://fixture-1.example.com/"
5165
+ },
5166
+ {
5167
+ "package": "@rathnasgala2/publish-kernel",
5168
+ "version": "2.0.0",
5169
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000002",
5170
+ "registry": "https://fixture-2.example.com/"
5171
+ },
5172
+ {
5173
+ "package": "@rathnasgala2/adapter-protocol",
5174
+ "version": "2.0.0",
5175
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000003",
5176
+ "registry": "https://fixture-3.example.com/"
5177
+ },
5178
+ {
5179
+ "package": "@rathnasgala2/adapter-local-directory",
5180
+ "version": "2.0.0",
5181
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000004",
5182
+ "registry": "https://fixture-4.example.com/"
5183
+ }
5184
+ ],
5185
+ "dependencies": [
5186
+ {
5187
+ "package": "fixture-1",
5188
+ "version": "2.0.0",
5189
+ "integrity": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5190
+ "registry": "https://fixture-1.example.com/"
5191
+ }
5192
+ ]
5193
+ },
5194
+ "publication": {
5195
+ "id": "019c0000-0000-7000-8000-000000000001",
5196
+ "slug": "fixture-1",
5197
+ "title": "fixture-1",
5198
+ "description": "fixture-1",
5199
+ "canonicalBase": "https://fixture-1.example.com/",
5200
+ "defaultLanguage": "en-US",
5201
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
5202
+ "socialLinks": [
5203
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
5204
+ ],
5205
+ "sourcePath": "content/fixture-1.md",
5206
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5207
+ },
5208
+ "authors": [
5209
+ {
5210
+ "id": "019c0000-0000-7000-8000-000000000001",
5211
+ "displayName": "fixture-1",
5212
+ "biography": "fixture-1",
5213
+ "links": [
5214
+ { "type": "website", "uri": "https://fixture-1.example.com/" }
5215
+ ],
5216
+ "localized": [
5217
+ {
5218
+ "language": "en-US",
5219
+ "displayName": "fixture-1",
5220
+ "biography": "fixture-1"
5221
+ }
5222
+ ],
5223
+ "sourcePath": "content/fixture-1.md",
5224
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5225
+ }
5226
+ ],
5227
+ "content": [
5228
+ {
5229
+ "frontmatter": {
5230
+ "id": "019c0000-0000-7000-8000-000000000001",
5231
+ "kind": "article",
5232
+ "title": "fixture-1",
5233
+ "language": "en-US",
5234
+ "authorIds": ["019c0000-0000-7000-8000-000000000001"],
5235
+ "tags": ["fixture-1"],
5236
+ "status": "published",
5237
+ "createdAt": "2026-09-13T12:00:00.000Z",
5238
+ "publishedAt": "2026-09-13T12:00:00.000Z",
5239
+ "slug": "fixture-1",
5240
+ "redirects": ["/fixture-1"],
5241
+ "listen": {
5242
+ "audio": {
5243
+ "sourcePath": "assets/listen/episode.mp3",
5244
+ "mediaType": "audio/mpeg",
5245
+ "bytes": 4243000,
5246
+ "sha256": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5247
+ },
5248
+ "durationSeconds": 424,
5249
+ "format": "podcast"
5250
+ }
5251
+ },
5252
+ "body": "fixture-1",
5253
+ "bodyMediaType": "text/html",
5254
+ "bodyDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5255
+ "renderPolicy": {
5256
+ "name": "gala-render-policy",
5257
+ "version": "2.0.0",
5258
+ "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5259
+ },
5260
+ "sourcePath": "content/fixture-1.md",
5261
+ "sourceRevision": "sha1:0000000000000000000000000000000000000001",
5262
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001",
5263
+ "resolvedAuthorIds": ["019c0000-0000-7000-8000-000000000001"]
5264
+ }
5265
+ ],
5266
+ "navigation": {
5267
+ "items": [
5268
+ {
5269
+ "type": "internal",
5270
+ "label": "fixture-1",
5271
+ "children": [
5272
+ {
5273
+ "type": "internal",
5274
+ "label": "fixture-1",
5275
+ "children": [],
5276
+ "route": "/fixture-1"
5277
+ }
5278
+ ],
5279
+ "route": "/fixture-1"
5280
+ }
5281
+ ],
5282
+ "footerItems": [
5283
+ {
5284
+ "type": "internal",
5285
+ "label": "fixture-1",
5286
+ "children": [
5287
+ {
5288
+ "type": "internal",
5289
+ "label": "fixture-1",
5290
+ "children": [],
5291
+ "route": "/fixture-1"
5292
+ }
5293
+ ],
5294
+ "route": "/fixture-1"
5295
+ }
5296
+ ],
5297
+ "source": {
5298
+ "kind": "authored",
5299
+ "sourcePath": "content/fixture-1.md",
5300
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5301
+ }
5302
+ },
5303
+ "appearance": {
5304
+ "theme": "@rathnasgala2/theme-default@2.0.0",
5305
+ "colorMode": { "allowed": ["light"], "default": "light" },
5306
+ "headerComposition": "mark-and-name",
5307
+ "footerComposition": "profile",
5308
+ "typeScale": "compact",
5309
+ "fontAssets": [
5310
+ {
5311
+ "path": "content/fixture-1.md",
5312
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5313
+ }
5314
+ ],
5315
+ "tokens": {},
5316
+ "source": {
5317
+ "kind": "authored",
5318
+ "sourcePath": "content/fixture-1.md",
5319
+ "sourceDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5320
+ }
5321
+ },
5322
+ "modules": {},
5323
+ "buildEpoch": "2026-09-13T12:00:00.000Z",
5324
+ "baseUrl": "https://fixture-1.example.com/",
5325
+ "basePath": "/fixture-1",
5326
+ "destinationCapabilities": {
5327
+ "adapter": {
5328
+ "adapterId": "local-directory",
5329
+ "adapterVersion": "2.0.0",
5330
+ "adapterDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5331
+ },
5332
+ "baseUrl": "https://fixture-1.example.com/",
5333
+ "capabilityDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5334
+ },
5335
+ "placements": [],
5336
+ "inputDigest": "sha256:0000000000000000000000000000000000000000000000000000000000000001"
5337
+ },
5338
+ "expectedDiagnostics": [
5339
+ {
5340
+ "code": "SCHEMA_ENUM_INVALID",
5341
+ "instancePointer": "/content/0/frontmatter/listen/format"
5342
+ }
5343
+ ]
2119
5344
  }
2120
5345
  ]
2121
5346
  }