@rathnasgala2/schemas 3.43.0 → 3.45.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/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 +15 -2
- package/openapi/openapi.yaml +171 -9
- 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
|
@@ -405,7 +405,7 @@ export type BuildInputPublicationNormalized = Readonly<{
|
|
|
405
405
|
readonly route: BuildInputCanonicalRoute;
|
|
406
406
|
}>;
|
|
407
407
|
readonly recommendations?: ReadonlyArray<BuildInputRecommendation>;
|
|
408
|
-
readonly sharing?:
|
|
408
|
+
readonly sharing?: BuildInputResolvedSharing;
|
|
409
409
|
readonly slug: BuildInputSlug;
|
|
410
410
|
readonly socialLinks: ReadonlyArray<BuildInputSocialLink>;
|
|
411
411
|
readonly sourceDigest: BuildInputDigest;
|
|
@@ -481,6 +481,29 @@ export type BuildInputResolvedMedia = Readonly<{
|
|
|
481
481
|
}> &
|
|
482
482
|
unknown;
|
|
483
483
|
|
|
484
|
+
export type BuildInputResolvedSharing = Readonly<{
|
|
485
|
+
readonly reddit?: Readonly<{
|
|
486
|
+
readonly community: string;
|
|
487
|
+
}>;
|
|
488
|
+
readonly targets: ReadonlyArray<
|
|
489
|
+
| 'copy-link'
|
|
490
|
+
| 'native'
|
|
491
|
+
| 'x'
|
|
492
|
+
| 'bluesky'
|
|
493
|
+
| 'threads'
|
|
494
|
+
| 'linkedin'
|
|
495
|
+
| 'facebook'
|
|
496
|
+
| 'hacker-news'
|
|
497
|
+
| 'whatsapp'
|
|
498
|
+
| 'telegram'
|
|
499
|
+
| 'reddit'
|
|
500
|
+
| 'email'
|
|
501
|
+
>;
|
|
502
|
+
readonly x?: Readonly<{
|
|
503
|
+
readonly via: string;
|
|
504
|
+
}>;
|
|
505
|
+
}>;
|
|
506
|
+
|
|
484
507
|
export type BuildInputRfc3339 = string;
|
|
485
508
|
|
|
486
509
|
export type BuildInputSemanticTokens = Readonly<{
|
|
@@ -502,22 +525,6 @@ export type BuildInputSemver = string;
|
|
|
502
525
|
|
|
503
526
|
export type BuildInputSemverRange = string;
|
|
504
527
|
|
|
505
|
-
export type BuildInputSharing = Readonly<{
|
|
506
|
-
readonly targets: ReadonlyArray<
|
|
507
|
-
| 'copy-link'
|
|
508
|
-
| 'native'
|
|
509
|
-
| 'x'
|
|
510
|
-
| 'bluesky'
|
|
511
|
-
| 'linkedin'
|
|
512
|
-
| 'facebook'
|
|
513
|
-
| 'hacker-news'
|
|
514
|
-
| 'whatsapp'
|
|
515
|
-
| 'telegram'
|
|
516
|
-
| 'reddit'
|
|
517
|
-
| 'email'
|
|
518
|
-
>;
|
|
519
|
-
}>;
|
|
520
|
-
|
|
521
528
|
export type BuildInputSlug = string;
|
|
522
529
|
|
|
523
530
|
export type BuildInputSocialLink = Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:34e87a5be47dbd8919fac01b649cfa47ed9a13c884ef726485b705161ffb8ad9",
|
|
5
5
|
"operations": [
|
|
6
6
|
{
|
|
7
7
|
"operationId": "getInternalHealth",
|
|
@@ -3452,6 +3452,19 @@
|
|
|
3452
3452
|
"apiKeyScope": null,
|
|
3453
3453
|
"sourceFragment": "audience"
|
|
3454
3454
|
},
|
|
3455
|
+
{
|
|
3456
|
+
"operationId": "getPublicSharing",
|
|
3457
|
+
"method": "GET",
|
|
3458
|
+
"path": "/v2/public/sharing",
|
|
3459
|
+
"purpose": "read the platform sharing document",
|
|
3460
|
+
"capabilityKey": null,
|
|
3461
|
+
"conditionalCapabilityKeys": [],
|
|
3462
|
+
"activationGate": "MVP",
|
|
3463
|
+
"assuranceClass": "SESSION",
|
|
3464
|
+
"actionGrant": "none",
|
|
3465
|
+
"apiKeyScope": null,
|
|
3466
|
+
"sourceFragment": "public-interactions"
|
|
3467
|
+
},
|
|
3455
3468
|
{
|
|
3456
3469
|
"operationId": "getPublicToday",
|
|
3457
3470
|
"method": "GET",
|
|
@@ -4220,5 +4233,5 @@
|
|
|
4220
4233
|
"sourceFragment": "workloads"
|
|
4221
4234
|
}
|
|
4222
4235
|
],
|
|
4223
|
-
"digest": "sha256:
|
|
4236
|
+
"digest": "sha256:9224319473d810b4e50005de4c86cbf4adf6afc409b9f6e8e4a6f4b647aaea10"
|
|
4224
4237
|
}
|
package/openapi/openapi.yaml
CHANGED
|
@@ -21,6 +21,13 @@ components:
|
|
|
21
21
|
- private, no-cache
|
|
22
22
|
- no-cache, private
|
|
23
23
|
type: string
|
|
24
|
+
CacheControlPublicMaxAge300:
|
|
25
|
+
description: "SCHEMA-3.44.0: `public, max-age=300` -- a shared cache or browser may reuse the body for five minutes."
|
|
26
|
+
required: true
|
|
27
|
+
schema:
|
|
28
|
+
pattern: ^public, max-age=300$
|
|
29
|
+
type: string
|
|
30
|
+
x-gala-const: public, max-age=300
|
|
24
31
|
ContentDispositionAttachment:
|
|
25
32
|
description: "The archive is a download: `attachment` with its file name."
|
|
26
33
|
required: true
|
|
@@ -5667,6 +5674,8 @@ components:
|
|
|
5667
5674
|
- origin
|
|
5668
5675
|
- publicBaseUrl
|
|
5669
5676
|
type: object
|
|
5677
|
+
GetPublicSharingResponse:
|
|
5678
|
+
$ref: "#/components/schemas/PublicSharingDocument"
|
|
5670
5679
|
GetPublicTodayResponse:
|
|
5671
5680
|
$ref: "#/components/schemas/PublicTodayDrop"
|
|
5672
5681
|
GetPublicTodayTopicsResponse:
|
|
@@ -17773,7 +17782,7 @@ components:
|
|
|
17773
17782
|
maximum: 512
|
|
17774
17783
|
PortablePublicationSharing:
|
|
17775
17784
|
additionalProperties: false
|
|
17776
|
-
description: "SCHEMA-3.22.0: the share buttons shown on each article. `targets` is the display order: 0 to
|
|
17785
|
+
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."
|
|
17777
17786
|
properties:
|
|
17778
17787
|
targets:
|
|
17779
17788
|
items:
|
|
@@ -17782,6 +17791,7 @@ components:
|
|
|
17782
17791
|
- native
|
|
17783
17792
|
- x
|
|
17784
17793
|
- bluesky
|
|
17794
|
+
- threads
|
|
17785
17795
|
- linkedin
|
|
17786
17796
|
- facebook
|
|
17787
17797
|
- hacker-news
|
|
@@ -17789,7 +17799,7 @@ components:
|
|
|
17789
17799
|
- telegram
|
|
17790
17800
|
- reddit
|
|
17791
17801
|
- email
|
|
17792
|
-
maxItems:
|
|
17802
|
+
maxItems: 12
|
|
17793
17803
|
minItems: 0
|
|
17794
17804
|
type: array
|
|
17795
17805
|
uniqueItems: true
|
|
@@ -21482,6 +21492,73 @@ components:
|
|
|
21482
21492
|
- count
|
|
21483
21493
|
- viewerActive
|
|
21484
21494
|
type: object
|
|
21495
|
+
PublicSharingDocument:
|
|
21496
|
+
additionalProperties: false
|
|
21497
|
+
description: "SCHEMA-3.44.0: the platform sharing document. `networks` is the ordered catalogue of share targets the platform offers; `defaults` is the subset an undecided site shows (a site with no `sharing` member); `reddit.community` is the subreddit name without `r/` (empty means plain submit); `x.via` is the X handle without `@` appended as `via=` (empty means none)."
|
|
21498
|
+
properties:
|
|
21499
|
+
defaults:
|
|
21500
|
+
items:
|
|
21501
|
+
enum:
|
|
21502
|
+
- copy-link
|
|
21503
|
+
- native
|
|
21504
|
+
- x
|
|
21505
|
+
- bluesky
|
|
21506
|
+
- threads
|
|
21507
|
+
- linkedin
|
|
21508
|
+
- facebook
|
|
21509
|
+
- hacker-news
|
|
21510
|
+
- reddit
|
|
21511
|
+
- whatsapp
|
|
21512
|
+
- telegram
|
|
21513
|
+
- email
|
|
21514
|
+
type: string
|
|
21515
|
+
maxItems: 12
|
|
21516
|
+
type: array
|
|
21517
|
+
uniqueItems: true
|
|
21518
|
+
networks:
|
|
21519
|
+
items:
|
|
21520
|
+
enum:
|
|
21521
|
+
- copy-link
|
|
21522
|
+
- native
|
|
21523
|
+
- x
|
|
21524
|
+
- bluesky
|
|
21525
|
+
- threads
|
|
21526
|
+
- linkedin
|
|
21527
|
+
- facebook
|
|
21528
|
+
- hacker-news
|
|
21529
|
+
- reddit
|
|
21530
|
+
- whatsapp
|
|
21531
|
+
- telegram
|
|
21532
|
+
- email
|
|
21533
|
+
type: string
|
|
21534
|
+
maxItems: 12
|
|
21535
|
+
minItems: 1
|
|
21536
|
+
type: array
|
|
21537
|
+
uniqueItems: true
|
|
21538
|
+
reddit:
|
|
21539
|
+
additionalProperties: false
|
|
21540
|
+
properties:
|
|
21541
|
+
community:
|
|
21542
|
+
pattern: ^[A-Za-z0-9_]{0,21}$
|
|
21543
|
+
type: string
|
|
21544
|
+
required:
|
|
21545
|
+
- community
|
|
21546
|
+
type: object
|
|
21547
|
+
x:
|
|
21548
|
+
additionalProperties: false
|
|
21549
|
+
properties:
|
|
21550
|
+
via:
|
|
21551
|
+
pattern: ^[A-Za-z0-9_]{0,15}$
|
|
21552
|
+
type: string
|
|
21553
|
+
required:
|
|
21554
|
+
- via
|
|
21555
|
+
type: object
|
|
21556
|
+
required:
|
|
21557
|
+
- networks
|
|
21558
|
+
- defaults
|
|
21559
|
+
- reddit
|
|
21560
|
+
- x
|
|
21561
|
+
type: object
|
|
21485
21562
|
PublicTodayDrop:
|
|
21486
21563
|
additionalProperties: false
|
|
21487
21564
|
description: "SCHEMA-3.43.0: the network-wide drop for one UTC day, the same for every visitor; no personal signal is used."
|
|
@@ -22685,7 +22762,9 @@ components:
|
|
|
22685
22762
|
additionalProperties: false
|
|
22686
22763
|
properties:
|
|
22687
22764
|
targets:
|
|
22688
|
-
|
|
22765
|
+
oneOf:
|
|
22766
|
+
- $ref: "#/components/schemas/SharingTargets"
|
|
22767
|
+
- type: "null"
|
|
22689
22768
|
required:
|
|
22690
22769
|
- targets
|
|
22691
22770
|
type: object
|
|
@@ -24125,7 +24204,7 @@ components:
|
|
|
24125
24204
|
type: object
|
|
24126
24205
|
SharingSettings:
|
|
24127
24206
|
additionalProperties: false
|
|
24128
|
-
description: "SCHEMA-3.23.0: the `sharing` member of `gala/publication.json` at the linked repository's main branch head.
|
|
24207
|
+
description: "SCHEMA-3.23.0: the `sharing` member of `gala/publication.json` at the linked repository's main branch head. SCHEMA-3.45.0: `targets` is `null` when the site has no `sharing` member and so follows the platform default share set; it is the site's own ordered list otherwise (an explicit empty list stays `[]`). `openChange` names an existing not-yet-published change of this publication that touches the file, or is null. `setUp` matches `GET .../repository/setup` `state`."
|
|
24129
24208
|
properties:
|
|
24130
24209
|
openChange:
|
|
24131
24210
|
oneOf:
|
|
@@ -24134,7 +24213,9 @@ components:
|
|
|
24134
24213
|
setUp:
|
|
24135
24214
|
type: boolean
|
|
24136
24215
|
targets:
|
|
24137
|
-
|
|
24216
|
+
oneOf:
|
|
24217
|
+
- $ref: "#/components/schemas/SharingTargets"
|
|
24218
|
+
- type: "null"
|
|
24138
24219
|
required:
|
|
24139
24220
|
- targets
|
|
24140
24221
|
- openChange
|
|
@@ -24147,6 +24228,7 @@ components:
|
|
|
24147
24228
|
- native
|
|
24148
24229
|
- x
|
|
24149
24230
|
- bluesky
|
|
24231
|
+
- threads
|
|
24150
24232
|
- linkedin
|
|
24151
24233
|
- facebook
|
|
24152
24234
|
- hacker-news
|
|
@@ -24156,10 +24238,10 @@ components:
|
|
|
24156
24238
|
- email
|
|
24157
24239
|
type: string
|
|
24158
24240
|
SharingTargets:
|
|
24159
|
-
description: "SCHEMA-3.23.0: the ordered share buttons, 0 to
|
|
24241
|
+
description: "SCHEMA-3.23.0: the ordered share buttons, 0 to 12 distinct targets. An empty list shows no share buttons."
|
|
24160
24242
|
items:
|
|
24161
24243
|
$ref: "#/components/schemas/SharingTarget"
|
|
24162
|
-
maxItems:
|
|
24244
|
+
maxItems: 12
|
|
24163
24245
|
type: array
|
|
24164
24246
|
uniqueItems: true
|
|
24165
24247
|
SiteActor:
|
|
@@ -64900,7 +64982,7 @@ paths:
|
|
|
64900
64982
|
x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
|
|
64901
64983
|
/v2/organizations/{organizationId}/publications/{publicationId}/sharing-settings:
|
|
64902
64984
|
get:
|
|
64903
|
-
description: Reads the `sharing` member of `gala/publication.json` at the linked repository's current main branch head.
|
|
64985
|
+
description: "Reads the `sharing` member of `gala/publication.json` at the linked repository's current main branch head. SCHEMA-3.45.0: a publication with no `sharing` member reads `targets: null` and follows the platform default share set (`GET /v2/public/sharing`); an explicit empty list reads `[]`."
|
|
64904
64986
|
operationId: getOrganizationsByOrganizationIdPublicationsByPublicationIdSharingSettings
|
|
64905
64987
|
parameters:
|
|
64906
64988
|
- $ref: "#/components/parameters/XCorrelationId"
|
|
@@ -64932,6 +65014,12 @@ paths:
|
|
|
64932
65014
|
setUp: true
|
|
64933
65015
|
targets:
|
|
64934
65016
|
- copy-link
|
|
65017
|
+
platformDefault:
|
|
65018
|
+
summary: The site follows the platform default
|
|
65019
|
+
value:
|
|
65020
|
+
openChange: null
|
|
65021
|
+
setUp: true
|
|
65022
|
+
targets: null
|
|
64935
65023
|
schema:
|
|
64936
65024
|
$ref: "#/components/schemas/GetOrganizationsByOrganizationIdPublicationsByPublicationIdSharingSettingsResponse"
|
|
64937
65025
|
description: read this publication's share buttons at the main branch head succeeded
|
|
@@ -65071,7 +65159,7 @@ paths:
|
|
|
65071
65159
|
x-gala-success-category: query
|
|
65072
65160
|
x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
|
|
65073
65161
|
put:
|
|
65074
|
-
description: The server writes the `sharing` member of `gala/publication.json` as a repository change, the way `interaction-settings` writes `gala/modules/interactions.json`. The order of `targets` is the order of the buttons; an empty list shows none. Publishing the change uses the normal publish flow. `change` has the shape the theme-selection write returns.
|
|
65162
|
+
description: "The server writes the `sharing` member of `gala/publication.json` as a repository change, the way `interaction-settings` writes `gala/modules/interactions.json`. The order of `targets` is the order of the buttons; an empty list shows none. Publishing the change uses the normal publish flow. SCHEMA-3.45.0: `targets: null` removes the `sharing` member so the site follows the platform default share set. `change` has the shape the theme-selection write returns."
|
|
65075
65163
|
operationId: putOrganizationsByOrganizationIdPublicationsByPublicationIdSharingSettings
|
|
65076
65164
|
parameters:
|
|
65077
65165
|
- $ref: "#/components/parameters/XCorrelationId"
|
|
@@ -65105,6 +65193,10 @@ paths:
|
|
|
65105
65193
|
- x
|
|
65106
65194
|
- bluesky
|
|
65107
65195
|
- linkedin
|
|
65196
|
+
platformDefault:
|
|
65197
|
+
summary: Back to the platform default
|
|
65198
|
+
value:
|
|
65199
|
+
targets: null
|
|
65108
65200
|
schema:
|
|
65109
65201
|
$ref: "#/components/schemas/PutOrganizationsByOrganizationIdPublicationsByPublicationIdSharingSettingsRequest"
|
|
65110
65202
|
required: true
|
|
@@ -82281,6 +82373,76 @@ paths:
|
|
|
82281
82373
|
- NONE
|
|
82282
82374
|
x-gala-success-category: async
|
|
82283
82375
|
x-gala-tenant-scope: NONE
|
|
82376
|
+
/v2/public/sharing:
|
|
82377
|
+
get:
|
|
82378
|
+
description: "The platform sharing document, with no authentication: the share targets the platform offers, the default set for a site that has not chosen its own, and the Reddit community and X handle used in share links. The toolchain reads it at build time. Answered with `Cache-Control: public, max-age=300`."
|
|
82379
|
+
operationId: getPublicSharing
|
|
82380
|
+
parameters:
|
|
82381
|
+
- $ref: "#/components/parameters/XCorrelationId"
|
|
82382
|
+
responses:
|
|
82383
|
+
"200":
|
|
82384
|
+
content:
|
|
82385
|
+
application/json:
|
|
82386
|
+
examples:
|
|
82387
|
+
nominal:
|
|
82388
|
+
summary: Nominal successful response
|
|
82389
|
+
value:
|
|
82390
|
+
defaults:
|
|
82391
|
+
- copy-link
|
|
82392
|
+
- x
|
|
82393
|
+
- bluesky
|
|
82394
|
+
- threads
|
|
82395
|
+
- linkedin
|
|
82396
|
+
- facebook
|
|
82397
|
+
- hacker-news
|
|
82398
|
+
- reddit
|
|
82399
|
+
- whatsapp
|
|
82400
|
+
- telegram
|
|
82401
|
+
- email
|
|
82402
|
+
networks:
|
|
82403
|
+
- copy-link
|
|
82404
|
+
- native
|
|
82405
|
+
- x
|
|
82406
|
+
- bluesky
|
|
82407
|
+
- threads
|
|
82408
|
+
- linkedin
|
|
82409
|
+
- facebook
|
|
82410
|
+
- hacker-news
|
|
82411
|
+
- reddit
|
|
82412
|
+
- whatsapp
|
|
82413
|
+
- telegram
|
|
82414
|
+
- email
|
|
82415
|
+
reddit:
|
|
82416
|
+
community: Galascribe
|
|
82417
|
+
x:
|
|
82418
|
+
via: ""
|
|
82419
|
+
schema:
|
|
82420
|
+
$ref: "#/components/schemas/GetPublicSharingResponse"
|
|
82421
|
+
description: read the platform sharing document succeeded
|
|
82422
|
+
headers:
|
|
82423
|
+
Cache-Control:
|
|
82424
|
+
$ref: "#/components/headers/CacheControlPublicMaxAge300"
|
|
82425
|
+
X-Correlation-Id:
|
|
82426
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
82427
|
+
security: []
|
|
82428
|
+
summary: read the platform sharing document
|
|
82429
|
+
tags:
|
|
82430
|
+
- public-interactions
|
|
82431
|
+
x-gala-activation-gate: MVP
|
|
82432
|
+
x-gala-activation-guards:
|
|
82433
|
+
- NONE
|
|
82434
|
+
x-gala-capability-key: null
|
|
82435
|
+
x-gala-concurrency: none
|
|
82436
|
+
x-gala-conditional-capabilities: []
|
|
82437
|
+
x-gala-example-profile: NOMINAL_SUCCESS_AND_EACH_REACHABLE_PROBLEM
|
|
82438
|
+
x-gala-nullability: required-and-nullable-are-explicit
|
|
82439
|
+
x-gala-purpose: read the platform sharing document
|
|
82440
|
+
x-gala-reachable-problems: []
|
|
82441
|
+
x-gala-replay-identity: safe-query
|
|
82442
|
+
x-gala-state-guards:
|
|
82443
|
+
- NONE
|
|
82444
|
+
x-gala-success-category: query
|
|
82445
|
+
x-gala-tenant-scope: NONE
|
|
82284
82446
|
/v2/public/today:
|
|
82285
82447
|
get:
|
|
82286
82448
|
description: The network-wide drop for the current UTC day, identical for every visitor and computed once at the platform drop hour. `404 TODAY_NOT_PUBLIC` while Today is off or fewer eligible publications have posts in the window than the launch threshold.
|
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.45.0",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@3.45.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.45.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.45.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.45.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.45.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.45.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.45.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.45.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.45.0",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@3.
|
|
1070
|
-
"@rathnasgala2/schemas@3.
|
|
1069
|
+
"@rathnasgala2/schemas@3.45.0|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@3.45.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.45.0|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@3.
|
|
1094
|
+
"@rathnasgala2/schemas@3.45.0|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@3.45.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.45.0|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@3.45.0|fast-uri@3.1.8",
|
|
1102
|
+
"@rathnasgala2/schemas@3.45.0|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@3.45.0|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@3.45.0|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@3.45.0|fast-uri@3.1.8"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@3.45.0|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@3.45.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",
|