@rathnasgala2/schemas 2.21.0 → 3.0.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 (51) hide show
  1. package/README.md +31 -30
  2. package/THIRD_PARTY_LICENSES.json +3 -3
  3. package/diagnostics/diagnostic-map.json +706 -4
  4. package/docs/catalogs/app-components.json +1107 -1
  5. package/docs/catalogs/app-routes.json +444 -1
  6. package/docs/catalogs/schema-inventory.json +5 -5
  7. package/examples/valid/build-input/rules.json +50 -0
  8. package/examples/valid/publication/rules.json +48 -0
  9. package/examples/valid/theme-contract/canonical.json +355 -19
  10. package/examples/valid/theme-contract/default-3.0.json +660 -0
  11. package/examples/valid/theme-contract/rules.json +3456 -552
  12. package/fixtures/boundary/build-input/rules.json +55 -0
  13. package/fixtures/boundary/publication/rules.json +53 -0
  14. package/fixtures/boundary/theme-contract/root.json +355 -19
  15. package/fixtures/boundary/theme-contract/rules.json +4158 -1226
  16. package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  17. package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +27 -0
  18. package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
  19. package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +50 -0
  20. package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
  21. package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
  22. package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
  23. package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
  24. package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
  25. package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
  26. package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
  27. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
  28. package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
  29. package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
  30. package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
  31. package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
  32. package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
  33. package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
  34. package/fixtures/manifest.json +5543 -161
  35. package/fixtures/s2/manifest.json +1 -1
  36. package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
  37. package/fixtures/unknown-field/build-input/rules.json +35 -0
  38. package/fixtures/unknown-field/publication/rules.json +35 -0
  39. package/fixtures/unknown-field/theme-contract/root.json +355 -19
  40. package/fixtures/unknown-field/theme-contract/rules.json +637 -22
  41. package/generated/browser/validator-core.mjs +3 -3
  42. package/generated/typescript/contracts/build-input.d.ts +8 -0
  43. package/generated/typescript/contracts/publication.d.ts +12 -0
  44. package/generated/typescript/contracts/theme-contract.d.ts +529 -9
  45. package/openapi/http-catalog.json +40 -2
  46. package/openapi/openapi.yaml +1348 -162
  47. package/package.json +1 -1
  48. package/sbom.cdx.json +23 -23
  49. package/schemas/build-input.schema.json +19 -0
  50. package/schemas/publication.schema.json +21 -0
  51. package/schemas/theme-contract.schema.json +1178 -83
package/README.md CHANGED
@@ -59,38 +59,39 @@ removed it as unconsumed -- see "Package layout"). The schema inventory adds the
59
59
  separately owned OpenAPI contract as the twenty-first identity and carries
60
60
  DEC-091's domain-separated `sourceDesignRevision`. S0-T07 materializes the
61
61
  reviewed OpenAPI 3.1 source fragments, deterministic bundle, and digest-bound
62
- HTTP catalog for exactly 87 MVP operations plus `/internal/health` (88 catalog
62
+ HTTP catalog for exactly 90 MVP operations plus `/internal/health` (91 catalog
63
63
  rows; 71 at S0-T07, plus the two SCHEMA-2.8.0 reads, the two SCHEMA-2.10.0
64
64
  publication-destination reads/writes, the SCHEMA-2.13.0 repository create, and
65
65
  the nine SCHEMA-2.14.0 write/preview/publish operations, and the SCHEMA-2.20.3
66
- review event stream, and the SCHEMA-2.21.0 appearance read). The bundle includes
67
- the accepted DEC-097 receipt-exchange and deployment-receipt amendments and
68
- serializes the fixed OpenAPI Generator 7.25.0 option sets. Every operation also
69
- declares its tenant scope, lifecycle and activation guards, maps every reachable
70
- problem, and carries schema-validated nominal and problem examples. S0-T08
71
- projects the exact 19 admitted transition families into 77 independently
72
- identified event actions (SCHEMA-2.11.0 adds the `github_installation` family so
73
- the worker-only compare-and-set writer can retire into the sole aggregate
74
- gateway). Each action binds its aggregate and organization or publication scope,
75
- exact predecessor/target states, the closed DEC-101 payload, the transactional
76
- outbox producer, and a non-empty registered consumer set. S5-T00 materializes
77
- document 07's closed 15-component App semantic catalog and document 14's
78
- 20-entry MVP App route registry (S5 brief section 4) as
79
- `docs/catalogs/app-components.json` and `docs/catalogs/app-routes.json`, with
80
- every `apiOperationIds` entry validated against `openapi/openapi.yaml`, every
81
- `componentIds`/`contentKeyIds` entry validated against the component catalog,
82
- and `capabilityKeys` projected from `openapi/http-catalog.json`. S4-T01 adds the
83
- separately generated `fixtures/s4/` deployment/certification consumer-fixture
84
- family (deployment-intent, deployment-observation, deployment-receipt,
85
- public-generation-marker, and adapter-capability rows for `local-directory`,
86
- `github-pages`, and `do-spaces`) alongside the existing `fixtures/s2/` family,
87
- each with its own manifest. LOCAL-21 admits a 21st App route,
88
- `/invitations/accept` (`routeId` `invitations.accept`), an ordinary
89
- `SESSION_REQUIRED` `APP` route (not `TRANSACTIONAL_LINK`: it is served by the
90
- App origin after sign-in, unlike the deferred `/t/**` template family) that
91
- calls `postMembershipInvitationsByTokenAccept`; its non-enumerating failure
92
- states collapse onto that operation's single declared `INVALID_SOURCE_STATE`
93
- problem, which covers an expired, already-used or unknown token alike.
66
+ review event stream, the SCHEMA-2.21.0 appearance read, and the SCHEMA-2.22.0
67
+ site, history and batch-publish contracts). The bundle includes the accepted
68
+ DEC-097 receipt-exchange and deployment-receipt amendments and serializes the
69
+ fixed OpenAPI Generator 7.25.0 option sets. Every operation also declares its
70
+ tenant scope, lifecycle and activation guards, maps every reachable problem, and
71
+ carries schema-validated nominal and problem examples. S0-T08 projects the exact
72
+ 19 admitted transition families into 77 independently identified event actions
73
+ (SCHEMA-2.11.0 adds the `github_installation` family so the worker-only
74
+ compare-and-set writer can retire into the sole aggregate gateway). Each action
75
+ binds its aggregate and organization or publication scope, exact
76
+ predecessor/target states, the closed DEC-101 payload, the transactional outbox
77
+ producer, and a non-empty registered consumer set. S5-T00 materializes document
78
+ 07's closed 15-component App semantic catalog and document 14's 20-entry MVP App
79
+ route registry (S5 brief section 4) as `docs/catalogs/app-components.json` and
80
+ `docs/catalogs/app-routes.json`, with every `apiOperationIds` entry validated
81
+ against `openapi/openapi.yaml`, every `componentIds`/`contentKeyIds` entry
82
+ validated against the component catalog, and `capabilityKeys` projected from
83
+ `openapi/http-catalog.json`. S4-T01 adds the separately generated `fixtures/s4/`
84
+ deployment/certification consumer-fixture family (deployment-intent,
85
+ deployment-observation, deployment-receipt, public-generation-marker, and
86
+ adapter-capability rows for `local-directory`, `github-pages`, and `do-spaces`)
87
+ alongside the existing `fixtures/s2/` family, each with its own manifest.
88
+ LOCAL-21 admits a 21st App route, `/invitations/accept` (`routeId`
89
+ `invitations.accept`), an ordinary `SESSION_REQUIRED` `APP` route (not
90
+ `TRANSACTIONAL_LINK`: it is served by the App origin after sign-in, unlike the
91
+ deferred `/t/**` template family) that calls
92
+ `postMembershipInvitationsByTokenAccept`; its non-enumerating failure states
93
+ collapse onto that operation's single declared `INVALID_SOURCE_STATE` problem,
94
+ which covers an expired, already-used or unknown token alike.
94
95
 
95
96
  SCHEMA-2.17.0 (design `scrap/20260928_write-preview-publish.md` section 9) is
96
97
  media in articles: a cover image, and images, sound and video referenced from an
@@ -684,7 +685,7 @@ remediation, and documentation URL fields without including authored values.
684
685
  fragments grouped by the first literal resource token. A build input, not part
685
686
  of the npm payload (SCH-H7: `!openapi/source/` in `package.json`'s `files`) --
686
687
  a consumer reads the materialized `openapi/openapi.yaml` instead.
687
- - `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the exact 87 MVP
688
+ - `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the exact 90 MVP
688
689
  operations plus health.
689
690
  - `openapi/http-catalog.json` — generated digest-bound method/path/purpose and
690
691
  capability inventory, including `conditionalCapabilityKeys` (SCHEMA-2.7.1) and
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "package": "@rathnasgala2/schemas@2.21.0",
3
+ "package": "@rathnasgala2/schemas@3.0.0",
4
4
  "source": "package-lock.json",
5
5
  "dependencies": [
6
6
  {
@@ -2624,12 +2624,12 @@
2624
2624
  },
2625
2625
  {
2626
2626
  "name": "source-map-js",
2627
- "version": "1.2.1",
2627
+ "version": "1.2.2",
2628
2628
  "license": "BSD-3-Clause",
2629
2629
  "development": true,
2630
2630
  "optional": false,
2631
2631
  "peer": false,
2632
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="
2632
+ "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="
2633
2633
  },
2634
2634
  {
2635
2635
  "name": "spdx-correct",