@rathnasgala2/schemas 3.42.0 → 3.44.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/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +52 -22
- package/docs/catalogs/app-components.json +969 -59
- package/docs/catalogs/app-routes.json +288 -1
- package/docs/catalogs/schema-inventory.json +4 -4
- package/examples/valid/build-input/rules.json +81 -35
- package/fixtures/boundary/build-input/rules.json +107 -61
- package/fixtures/boundary/publication/rules.json +14 -14
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -9
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_DUPLICATE/cases.json +9 -9
- package/fixtures/invalid/build-input/SCHEMA_ARRAY_TOO_LONG/cases.json +10 -10
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +11 -11
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +22 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +31 -9
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +62 -18
- package/fixtures/invalid/publication/SCHEMA_ARRAY_TOO_LONG/cases.json +1 -1
- package/fixtures/manifest.json +414 -184
- package/fixtures/unknown-field/build-input/rules.json +48 -18
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +24 -17
- package/generated/typescript/contracts/publication.d.ts +1 -0
- package/openapi/http-catalog.json +340 -2
- package/openapi/openapi.yaml +5360 -787
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +21 -4
- package/schemas/publication.schema.json +3 -2
package/package.json
CHANGED
package/sbom.cdx.json
CHANGED
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"type": "library",
|
|
98
98
|
"name": "schemas",
|
|
99
99
|
"group": "@rathnasgala2",
|
|
100
|
-
"version": "3.
|
|
101
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
100
|
+
"version": "3.44.0",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0",
|
|
102
102
|
"description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
|
|
103
103
|
"licenses": [
|
|
104
104
|
{
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"purl": "pkg:npm/%40rathnasgala2/schemas@3.
|
|
111
|
+
"purl": "pkg:npm/%40rathnasgala2/schemas@3.44.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
|
|
112
112
|
"externalReferences": [
|
|
113
113
|
{
|
|
114
114
|
"url": "https://github.com/rathnasgala2/schema/issues",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"type": "library",
|
|
154
154
|
"name": "ajv-formats",
|
|
155
155
|
"version": "3.0.1",
|
|
156
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
156
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0|ajv-formats@3.0.1",
|
|
157
157
|
"licenses": [
|
|
158
158
|
{
|
|
159
159
|
"license": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"type": "library",
|
|
188
188
|
"name": "ajv",
|
|
189
189
|
"version": "8.20.0",
|
|
190
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
190
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0|ajv@8.20.0",
|
|
191
191
|
"licenses": [
|
|
192
192
|
{
|
|
193
193
|
"license": {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"type": "library",
|
|
222
222
|
"name": "fast-deep-equal",
|
|
223
223
|
"version": "3.1.3",
|
|
224
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
224
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0|fast-deep-equal@3.1.3",
|
|
225
225
|
"licenses": [
|
|
226
226
|
{
|
|
227
227
|
"license": {
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"type": "library",
|
|
256
256
|
"name": "fast-uri",
|
|
257
257
|
"version": "3.1.8",
|
|
258
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
258
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0|fast-uri@3.1.8",
|
|
259
259
|
"licenses": [
|
|
260
260
|
{
|
|
261
261
|
"license": {
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"type": "library",
|
|
290
290
|
"name": "json-schema-traverse",
|
|
291
291
|
"version": "1.0.0",
|
|
292
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
292
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0|json-schema-traverse@1.0.0",
|
|
293
293
|
"licenses": [
|
|
294
294
|
{
|
|
295
295
|
"license": {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"type": "library",
|
|
324
324
|
"name": "require-from-string",
|
|
325
325
|
"version": "2.0.2",
|
|
326
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
326
|
+
"bom-ref": "@rathnasgala2/schemas@3.44.0|require-from-string@2.0.2",
|
|
327
327
|
"licenses": [
|
|
328
328
|
{
|
|
329
329
|
"license": {
|
|
@@ -1064,10 +1064,10 @@
|
|
|
1064
1064
|
],
|
|
1065
1065
|
"dependencies": [
|
|
1066
1066
|
{
|
|
1067
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1067
|
+
"ref": "@rathnasgala2/schemas@3.44.0",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@3.
|
|
1070
|
-
"@rathnasgala2/schemas@3.
|
|
1069
|
+
"@rathnasgala2/schemas@3.44.0|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@3.44.0|ajv@8.20.0",
|
|
1071
1071
|
"pkg:npm/semver@7.8.5",
|
|
1072
1072
|
"urn:gala:source-data:iana-ipv4-special-registry",
|
|
1073
1073
|
"urn:gala:source-data:iana-ipv6-special-registry",
|
|
@@ -1089,31 +1089,31 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1092
|
+
"ref": "@rathnasgala2/schemas@3.44.0|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@3.
|
|
1094
|
+
"@rathnasgala2/schemas@3.44.0|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@3.44.0|ajv@8.20.0",
|
|
1099
1099
|
"dependsOn": [
|
|
1100
|
-
"@rathnasgala2/schemas@3.
|
|
1101
|
-
"@rathnasgala2/schemas@3.
|
|
1102
|
-
"@rathnasgala2/schemas@3.
|
|
1103
|
-
"@rathnasgala2/schemas@3.
|
|
1100
|
+
"@rathnasgala2/schemas@3.44.0|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@3.44.0|fast-uri@3.1.8",
|
|
1102
|
+
"@rathnasgala2/schemas@3.44.0|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@3.44.0|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@3.44.0|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@3.44.0|fast-uri@3.1.8"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@3.44.0|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@3.44.0|require-from-string@2.0.2"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
1119
|
"ref": "pkg:npm/semver@7.8.5"
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
"aiRights": { "$ref": "#/$defs/aiRights" },
|
|
546
546
|
"performance": { "$ref": "#/$defs/performance" },
|
|
547
547
|
"newsletter": { "$ref": "#/$defs/newsletter" },
|
|
548
|
-
"sharing": { "$ref": "#/$defs/
|
|
548
|
+
"sharing": { "$ref": "#/$defs/resolvedSharing" },
|
|
549
549
|
"contactForm": { "$ref": "#/$defs/contactFormNormalized" },
|
|
550
550
|
"listen": {
|
|
551
551
|
"$ref": "#/$defs/listen",
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
}
|
|
620
620
|
]
|
|
621
621
|
},
|
|
622
|
-
"
|
|
622
|
+
"resolvedSharing": {
|
|
623
623
|
"type": "object",
|
|
624
624
|
"required": ["targets"],
|
|
625
625
|
"properties": {
|
|
@@ -631,6 +631,7 @@
|
|
|
631
631
|
"native",
|
|
632
632
|
"x",
|
|
633
633
|
"bluesky",
|
|
634
|
+
"threads",
|
|
634
635
|
"linkedin",
|
|
635
636
|
"facebook",
|
|
636
637
|
"hacker-news",
|
|
@@ -641,12 +642,28 @@
|
|
|
641
642
|
]
|
|
642
643
|
},
|
|
643
644
|
"minItems": 0,
|
|
644
|
-
"maxItems":
|
|
645
|
+
"maxItems": 12,
|
|
645
646
|
"uniqueItems": true
|
|
647
|
+
},
|
|
648
|
+
"reddit": {
|
|
649
|
+
"type": "object",
|
|
650
|
+
"required": ["community"],
|
|
651
|
+
"properties": {
|
|
652
|
+
"community": { "type": "string", "pattern": "^[A-Za-z0-9_]{0,21}$" }
|
|
653
|
+
},
|
|
654
|
+
"additionalProperties": false
|
|
655
|
+
},
|
|
656
|
+
"x": {
|
|
657
|
+
"type": "object",
|
|
658
|
+
"required": ["via"],
|
|
659
|
+
"properties": {
|
|
660
|
+
"via": { "type": "string", "pattern": "^[A-Za-z0-9_]{0,15}$" }
|
|
661
|
+
},
|
|
662
|
+
"additionalProperties": false
|
|
646
663
|
}
|
|
647
664
|
},
|
|
648
665
|
"additionalProperties": false,
|
|
649
|
-
"description": "SCHEMA-3.
|
|
666
|
+
"description": "SCHEMA-3.44.0: the share buttons shown on each article. `targets` is the display order and is already resolved by the toolchain: the site's own list intersected with the platform catalogue, or the platform default share set when the site sets none (0 to 12 unique members of the closed target set). Optional `reddit.community` (subreddit name without `r/`; empty means plain submit) and `x.via` (X handle without `@`; empty means none) are copied from the platform."
|
|
650
667
|
},
|
|
651
668
|
"listing": {
|
|
652
669
|
"type": "object",
|
|
@@ -369,6 +369,7 @@
|
|
|
369
369
|
"native",
|
|
370
370
|
"x",
|
|
371
371
|
"bluesky",
|
|
372
|
+
"threads",
|
|
372
373
|
"linkedin",
|
|
373
374
|
"facebook",
|
|
374
375
|
"hacker-news",
|
|
@@ -379,12 +380,12 @@
|
|
|
379
380
|
]
|
|
380
381
|
},
|
|
381
382
|
"minItems": 0,
|
|
382
|
-
"maxItems":
|
|
383
|
+
"maxItems": 12,
|
|
383
384
|
"uniqueItems": true
|
|
384
385
|
}
|
|
385
386
|
},
|
|
386
387
|
"additionalProperties": false,
|
|
387
|
-
"description": "SCHEMA-3.22.0: the share buttons shown on each article. `targets` is the display order: 0 to
|
|
388
|
+
"description": "SCHEMA-3.22.0: the share buttons shown on each article. `targets` is the display order: 0 to 12 unique members of the closed target set; an empty `targets` array means no share buttons. SCHEMA-3.44.0: an absent `sharing` member now means the platform's default share set, resolved at build time by the toolchain from `GET /v2/public/sharing` (it was the Copy link button only); a present `targets` is the site's own ordered list. `native` is shown only where the browser offers the system share sheet; every other target is a plain link to that service's documented share URL. Bookmark is not a share target and is unaffected."
|
|
388
389
|
},
|
|
389
390
|
"contactForm": {
|
|
390
391
|
"type": "object",
|