@rathnasgala2/schemas 3.2.0 → 3.4.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 +12 -9
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +138 -0
- package/docs/catalogs/app-components.json +701 -1
- package/docs/catalogs/app-routes.json +365 -11
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/appearance/rules.json +22 -0
- package/examples/valid/build-input/rules.json +136 -0
- package/examples/valid/content-frontmatter/rules.json +108 -0
- package/fixtures/boundary/appearance/rules.json +22 -0
- package/fixtures/boundary/build-input/rules.json +136 -0
- package/fixtures/boundary/content-frontmatter/rules.json +108 -0
- package/fixtures/invalid/appearance/REQUEST_FIELD_UNKNOWN/cases.json +9 -0
- package/fixtures/invalid/appearance/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +9 -0
- package/fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json +20 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +47 -0
- package/fixtures/invalid/build-input/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_NEGATED_RULE_MATCHED/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +173 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +40 -0
- package/fixtures/invalid/content-frontmatter/REQUEST_FIELD_UNKNOWN/cases.json +38 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_CONSTANT_INVALID/cases.json +11 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_ENUM_INVALID/cases.json +22 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_NEGATED_RULE_MATCHED/cases.json +9 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +164 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json +20 -0
- package/fixtures/manifest.json +1064 -6
- package/fixtures/unknown-field/appearance/rules.json +14 -0
- package/fixtures/unknown-field/build-input/rules.json +69 -0
- package/fixtures/unknown-field/content-frontmatter/rules.json +55 -0
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/appearance.d.ts +5 -0
- package/generated/typescript/contracts/build-input.d.ts +21 -2
- package/generated/typescript/contracts/content-frontmatter.d.ts +14 -1
- package/openapi/http-catalog.json +549 -9
- package/openapi/openapi.yaml +18340 -4755
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/appearance.schema.json +8 -0
- package/schemas/build-input.schema.json +44 -3
- package/schemas/content-frontmatter.schema.json +32 -1
package/README.md
CHANGED
|
@@ -672,16 +672,19 @@ remediation, and documentation URL fields without including authored values.
|
|
|
672
672
|
- `docs/catalogs/app-components.json` — generated digest-bound catalog of the 15
|
|
673
673
|
closed semantic App components and the per-screen title/summary/status/
|
|
674
674
|
recovery content-key inventory for every registered route.
|
|
675
|
-
- `docs/catalogs/app-routes.json` — generated digest-bound catalog of the
|
|
676
|
-
|
|
677
|
-
`/invitations/accept
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
`openapi/
|
|
675
|
+
- `docs/catalogs/app-routes.json` — generated digest-bound catalog of the 33 App
|
|
676
|
+
route registry entries (S5 brief section 4, plus LOCAL-21's
|
|
677
|
+
`/invitations/accept`, SCHEMA-2.8.0's Reviews list, the v1 site screens, and
|
|
678
|
+
SCHEMA-3.3.0's site Domain screen and three `/platform` operator screens),
|
|
679
|
+
each with its derived `routeId`/`screenId`, `componentIds`, `contentKeyIds`,
|
|
680
|
+
`apiOperationIds` validated against `openapi/openapi.yaml`, and
|
|
681
|
+
`capabilityKeys` projected from `openapi/http-catalog.json`.
|
|
681
682
|
- `openapi/source/` — reviewed, complete OpenAPI root, component, and path
|
|
682
|
-
fragments
|
|
683
|
-
|
|
684
|
-
|
|
683
|
+
fragments, one fragment per tag, grouped by resource or by feature
|
|
684
|
+
(SCHEMA-3.3.0 adds `publication-transfers`, `domains`, `prism` and
|
|
685
|
+
`platform`); the root tags name exactly the fragments on disk. A build input,
|
|
686
|
+
not part of the npm payload (SCH-H7: `!openapi/source/` in `package.json`'s
|
|
687
|
+
`files`) -- a consumer reads the materialized `openapi/openapi.yaml` instead.
|
|
685
688
|
- `openapi/openapi.yaml` — deterministic OpenAPI 3.1 bundle for the MVP
|
|
686
689
|
operations plus health.
|
|
687
690
|
- `openapi/http-catalog.json` — generated digest-bound method/path/purpose and
|
|
@@ -3590,6 +3590,18 @@
|
|
|
3590
3590
|
"adapter-capability:#:type": {
|
|
3591
3591
|
"code": "SCHEMA_TYPE_INVALID"
|
|
3592
3592
|
},
|
|
3593
|
+
"appearance:#/$defs/attribution/properties/showMadeWith:type": {
|
|
3594
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
3595
|
+
},
|
|
3596
|
+
"appearance:#/$defs/attribution:additionalProperties": {
|
|
3597
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
3598
|
+
},
|
|
3599
|
+
"appearance:#/$defs/attribution:required:showMadeWith": {
|
|
3600
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
3601
|
+
},
|
|
3602
|
+
"appearance:#/$defs/attribution:type": {
|
|
3603
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
3604
|
+
},
|
|
3593
3605
|
"appearance:#/$defs/bcp47:format": {
|
|
3594
3606
|
"code": "BCP47_INVALID"
|
|
3595
3607
|
},
|
|
@@ -5705,6 +5717,18 @@
|
|
|
5705
5717
|
"build-input:#/$defs/appearanceNormalized:type": {
|
|
5706
5718
|
"code": "SCHEMA_TYPE_INVALID"
|
|
5707
5719
|
},
|
|
5720
|
+
"build-input:#/$defs/attribution/properties/showMadeWith:type": {
|
|
5721
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
5722
|
+
},
|
|
5723
|
+
"build-input:#/$defs/attribution:additionalProperties": {
|
|
5724
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
5725
|
+
},
|
|
5726
|
+
"build-input:#/$defs/attribution:required:showMadeWith": {
|
|
5727
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
5728
|
+
},
|
|
5729
|
+
"build-input:#/$defs/attribution:type": {
|
|
5730
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
5731
|
+
},
|
|
5708
5732
|
"build-input:#/$defs/authorNormalized/properties/biography:x-gala-graphemeLength": {
|
|
5709
5733
|
"code": "GRAPHEME_LENGTH_INVALID"
|
|
5710
5734
|
},
|
|
@@ -6047,6 +6071,63 @@
|
|
|
6047
6071
|
"build-input:#/$defs/contentBuildRecord:type": {
|
|
6048
6072
|
"code": "SCHEMA_TYPE_INVALID"
|
|
6049
6073
|
},
|
|
6074
|
+
"build-input:#/$defs/contentEdition/properties/generation/properties/provider:enum": {
|
|
6075
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
6076
|
+
},
|
|
6077
|
+
"build-input:#/$defs/contentEdition/properties/generation:additionalProperties": {
|
|
6078
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
6079
|
+
},
|
|
6080
|
+
"build-input:#/$defs/contentEdition/properties/generation:required:generationId": {
|
|
6081
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6082
|
+
},
|
|
6083
|
+
"build-input:#/$defs/contentEdition/properties/generation:required:model": {
|
|
6084
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6085
|
+
},
|
|
6086
|
+
"build-input:#/$defs/contentEdition/properties/generation:required:provider": {
|
|
6087
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6088
|
+
},
|
|
6089
|
+
"build-input:#/$defs/contentEdition/properties/generation:type": {
|
|
6090
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
6091
|
+
},
|
|
6092
|
+
"build-input:#/$defs/contentEdition/properties/kind:enum": {
|
|
6093
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
6094
|
+
},
|
|
6095
|
+
"build-input:#/$defs/contentEdition:additionalProperties": {
|
|
6096
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
6097
|
+
},
|
|
6098
|
+
"build-input:#/$defs/contentEdition:required:approvedAt": {
|
|
6099
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6100
|
+
},
|
|
6101
|
+
"build-input:#/$defs/contentEdition:required:generation": {
|
|
6102
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6103
|
+
},
|
|
6104
|
+
"build-input:#/$defs/contentEdition:required:kind": {
|
|
6105
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6106
|
+
},
|
|
6107
|
+
"build-input:#/$defs/contentEdition:required:of": {
|
|
6108
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6109
|
+
},
|
|
6110
|
+
"build-input:#/$defs/contentEdition:required:sourceDigest": {
|
|
6111
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6112
|
+
},
|
|
6113
|
+
"build-input:#/$defs/contentEdition:type": {
|
|
6114
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
6115
|
+
},
|
|
6116
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/0/else/not:required:edition": {
|
|
6117
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6118
|
+
},
|
|
6119
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/0/else:not": {
|
|
6120
|
+
"code": "SCHEMA_NEGATED_RULE_MATCHED"
|
|
6121
|
+
},
|
|
6122
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/0/if/properties/kind:const": {
|
|
6123
|
+
"code": "SCHEMA_CONSTANT_INVALID"
|
|
6124
|
+
},
|
|
6125
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/0/if:required:kind": {
|
|
6126
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6127
|
+
},
|
|
6128
|
+
"build-input:#/$defs/contentFrontmatterNormalized/allOf/0/then:required:edition": {
|
|
6129
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
6130
|
+
},
|
|
6050
6131
|
"build-input:#/$defs/contentFrontmatterNormalized/properties/authorIds:maxItems": {
|
|
6051
6132
|
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
6052
6133
|
},
|
|
@@ -8363,6 +8444,48 @@
|
|
|
8363
8444
|
"content-frontmatter:#/$defs/canonicalRoute:type": {
|
|
8364
8445
|
"code": "CANONICAL_ROUTE_INVALID"
|
|
8365
8446
|
},
|
|
8447
|
+
"content-frontmatter:#/$defs/contentEdition/properties/generation/properties/provider:enum": {
|
|
8448
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
8449
|
+
},
|
|
8450
|
+
"content-frontmatter:#/$defs/contentEdition/properties/generation:additionalProperties": {
|
|
8451
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
8452
|
+
},
|
|
8453
|
+
"content-frontmatter:#/$defs/contentEdition/properties/generation:required:generationId": {
|
|
8454
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8455
|
+
},
|
|
8456
|
+
"content-frontmatter:#/$defs/contentEdition/properties/generation:required:model": {
|
|
8457
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8458
|
+
},
|
|
8459
|
+
"content-frontmatter:#/$defs/contentEdition/properties/generation:required:provider": {
|
|
8460
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8461
|
+
},
|
|
8462
|
+
"content-frontmatter:#/$defs/contentEdition/properties/generation:type": {
|
|
8463
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
8464
|
+
},
|
|
8465
|
+
"content-frontmatter:#/$defs/contentEdition/properties/kind:enum": {
|
|
8466
|
+
"code": "SCHEMA_ENUM_INVALID"
|
|
8467
|
+
},
|
|
8468
|
+
"content-frontmatter:#/$defs/contentEdition:additionalProperties": {
|
|
8469
|
+
"code": "REQUEST_FIELD_UNKNOWN"
|
|
8470
|
+
},
|
|
8471
|
+
"content-frontmatter:#/$defs/contentEdition:required:approvedAt": {
|
|
8472
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8473
|
+
},
|
|
8474
|
+
"content-frontmatter:#/$defs/contentEdition:required:generation": {
|
|
8475
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8476
|
+
},
|
|
8477
|
+
"content-frontmatter:#/$defs/contentEdition:required:kind": {
|
|
8478
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8479
|
+
},
|
|
8480
|
+
"content-frontmatter:#/$defs/contentEdition:required:of": {
|
|
8481
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8482
|
+
},
|
|
8483
|
+
"content-frontmatter:#/$defs/contentEdition:required:sourceDigest": {
|
|
8484
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8485
|
+
},
|
|
8486
|
+
"content-frontmatter:#/$defs/contentEdition:type": {
|
|
8487
|
+
"code": "SCHEMA_TYPE_INVALID"
|
|
8488
|
+
},
|
|
8366
8489
|
"content-frontmatter:#/$defs/digest:pattern": {
|
|
8367
8490
|
"code": "DIGEST_INVALID"
|
|
8368
8491
|
},
|
|
@@ -8594,6 +8717,21 @@
|
|
|
8594
8717
|
"content-frontmatter:#/allOf/0/then:required:publishedAt": {
|
|
8595
8718
|
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8596
8719
|
},
|
|
8720
|
+
"content-frontmatter:#/allOf/1/else/not:required:edition": {
|
|
8721
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8722
|
+
},
|
|
8723
|
+
"content-frontmatter:#/allOf/1/else:not": {
|
|
8724
|
+
"code": "SCHEMA_NEGATED_RULE_MATCHED"
|
|
8725
|
+
},
|
|
8726
|
+
"content-frontmatter:#/allOf/1/if/properties/kind:const": {
|
|
8727
|
+
"code": "SCHEMA_CONSTANT_INVALID"
|
|
8728
|
+
},
|
|
8729
|
+
"content-frontmatter:#/allOf/1/if:required:kind": {
|
|
8730
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8731
|
+
},
|
|
8732
|
+
"content-frontmatter:#/allOf/1/then:required:edition": {
|
|
8733
|
+
"code": "SCHEMA_REQUIRED_FIELD_MISSING"
|
|
8734
|
+
},
|
|
8597
8735
|
"content-frontmatter:#/properties/authors:maxItems": {
|
|
8598
8736
|
"code": "SCHEMA_ARRAY_TOO_LONG"
|
|
8599
8737
|
},
|