@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.
- package/README.md +31 -30
- package/THIRD_PARTY_LICENSES.json +3 -3
- package/diagnostics/diagnostic-map.json +706 -4
- package/docs/catalogs/app-components.json +1107 -1
- package/docs/catalogs/app-routes.json +444 -1
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/build-input/rules.json +50 -0
- package/examples/valid/publication/rules.json +48 -0
- package/examples/valid/theme-contract/canonical.json +355 -19
- package/examples/valid/theme-contract/default-3.0.json +660 -0
- package/examples/valid/theme-contract/rules.json +3456 -552
- package/fixtures/boundary/build-input/rules.json +55 -0
- package/fixtures/boundary/publication/rules.json +53 -0
- package/fixtures/boundary/theme-contract/root.json +355 -19
- package/fixtures/boundary/theme-contract/rules.json +4158 -1226
- package/fixtures/invalid/build-input/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +27 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +50 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +22 -0
- package/fixtures/invalid/publication/GRAPHEME_LENGTH_INVALID/cases.json +11 -0
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +23 -0
- package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +9 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +42 -0
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +18 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +421 -20
- package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +2 -2
- package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_SHORT/cases.json +1 -1
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +2155 -296
- package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +229 -9
- package/fixtures/invalid/theme-contract/SCHEMA_PATTERN_INVALID/cases.json +176 -0
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +8812 -1517
- package/fixtures/invalid/theme-contract/SCHEMA_STRING_TOO_LONG/cases.json +22 -0
- package/fixtures/manifest.json +5543 -161
- package/fixtures/s2/manifest.json +1 -1
- package/fixtures/s2/theme-contracts-digest-cycle.json +888 -36
- package/fixtures/unknown-field/build-input/rules.json +35 -0
- package/fixtures/unknown-field/publication/rules.json +35 -0
- package/fixtures/unknown-field/theme-contract/root.json +355 -19
- package/fixtures/unknown-field/theme-contract/rules.json +637 -22
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +8 -0
- package/generated/typescript/contracts/publication.d.ts +12 -0
- package/generated/typescript/contracts/theme-contract.d.ts +529 -9
- package/openapi/http-catalog.json +40 -2
- package/openapi/openapi.yaml +1348 -162
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +19 -0
- package/schemas/publication.schema.json +21 -0
- 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
|
|
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,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
`docs/catalogs/app-components.json` and
|
|
80
|
-
every `apiOperationIds` entry validated
|
|
81
|
-
`componentIds`/`contentKeyIds` entry
|
|
82
|
-
and `capabilityKeys` projected from
|
|
83
|
-
separately generated `fixtures/s4/`
|
|
84
|
-
family (deployment-intent,
|
|
85
|
-
public-generation-marker, and
|
|
86
|
-
`github-pages`, and `do-spaces`)
|
|
87
|
-
each with its own manifest.
|
|
88
|
-
`/invitations/accept` (`routeId`
|
|
89
|
-
`SESSION_REQUIRED` `APP` route (not
|
|
90
|
-
App origin after sign-in, unlike the
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
|
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@
|
|
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.
|
|
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-
|
|
2632
|
+
"integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="
|
|
2633
2633
|
},
|
|
2634
2634
|
{
|
|
2635
2635
|
"name": "spdx-correct",
|