@rathnasgala2/schemas 3.24.0 → 3.25.1
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 +264 -0
- package/docs/catalogs/app-components.json +239 -1
- package/docs/catalogs/app-routes.json +69 -1
- package/docs/catalogs/schema-inventory.json +7 -7
- package/examples/valid/build-input/rules.json +118 -0
- package/examples/valid/content-frontmatter/rules.json +11 -0
- package/examples/valid/deployment-receipt/rules.json +150 -0
- package/examples/valid/problem/rules.json +64 -0
- package/examples/valid/publication/rules.json +107 -0
- package/fixtures/boundary/build-input/rules.json +127 -0
- package/fixtures/boundary/content-frontmatter/rules.json +11 -0
- package/fixtures/boundary/deployment-receipt/rules.json +163 -0
- package/fixtures/boundary/problem/rules.json +64 -0
- package/fixtures/boundary/publication/rules.json +116 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +38 -0
- package/fixtures/invalid/build-input/SCHEMA_ENUM_INVALID/cases.json +18 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_LARGE/cases.json +11 -0
- package/fixtures/invalid/build-input/SCHEMA_NUMBER_TOO_SMALL/cases.json +44 -0
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +9 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +18 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +89 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_PATTERN_INVALID/cases.json +9 -0
- package/fixtures/invalid/content-frontmatter/SCHEMA_TYPE_INVALID/cases.json +9 -0
- package/fixtures/invalid/deployment-receipt/REQUEST_FIELD_UNKNOWN/cases.json +51 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_ARRAY_TOO_LONG/cases.json +15 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_ENUM_INVALID/cases.json +11 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_NUMBER_TOO_SMALL/cases.json +66 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +101 -0
- package/fixtures/invalid/deployment-receipt/SCHEMA_TYPE_INVALID/cases.json +108 -0
- package/fixtures/invalid/problem/REQUEST_FIELD_UNKNOWN/cases.json +15 -0
- package/fixtures/invalid/problem/SCHEMA_NUMBER_TOO_SMALL/cases.json +44 -0
- package/fixtures/invalid/problem/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +56 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +53 -0
- package/fixtures/invalid/publication/REQUEST_FIELD_UNKNOWN/cases.json +38 -0
- package/fixtures/invalid/publication/SCHEMA_ENUM_INVALID/cases.json +18 -0
- package/fixtures/invalid/publication/SCHEMA_NUMBER_TOO_LARGE/cases.json +13 -0
- package/fixtures/invalid/publication/SCHEMA_NUMBER_TOO_SMALL/cases.json +46 -0
- package/fixtures/invalid/publication/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +18 -0
- package/fixtures/invalid/publication/SCHEMA_TYPE_INVALID/cases.json +80 -0
- package/fixtures/manifest.json +2034 -10
- package/fixtures/unknown-field/build-input/rules.json +63 -0
- package/fixtures/unknown-field/content-frontmatter/rules.json +2 -0
- package/fixtures/unknown-field/deployment-receipt/rules.json +76 -0
- package/fixtures/unknown-field/problem/rules.json +30 -0
- package/fixtures/unknown-field/publication/rules.json +61 -0
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/build-input.d.ts +24 -0
- package/generated/typescript/contracts/content-frontmatter.d.ts +3 -0
- package/generated/typescript/contracts/deployment-receipt.d.ts +18 -0
- package/generated/typescript/contracts/problem.d.ts +6 -0
- package/generated/typescript/contracts/publication.d.ts +21 -0
- package/openapi/http-catalog.json +28 -2
- package/openapi/openapi.yaml +487 -6
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/build-input.schema.json +47 -0
- package/schemas/content-frontmatter.schema.json +6 -0
- package/schemas/deployment-receipt.schema.json +35 -0
- package/schemas/problem.schema.json +17 -0
- package/schemas/publication.schema.json +41 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
// Generated from urn:gala:schema:build-input:2.0.0; sourceDesignRevision=a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a.
|
|
2
2
|
// Do not edit.
|
|
3
3
|
|
|
4
|
+
export type BuildInputAiRights = Readonly<{
|
|
5
|
+
readonly licenseUrl?: BuildInputUrlHttps;
|
|
6
|
+
readonly search: 'allow' | 'block';
|
|
7
|
+
readonly training: 'allow' | 'block';
|
|
8
|
+
}>;
|
|
9
|
+
|
|
4
10
|
export type BuildInputAnalyticsConfig = Readonly<{
|
|
5
11
|
readonly consent: Readonly<{
|
|
6
12
|
readonly policy: 'opt-in';
|
|
@@ -158,6 +164,7 @@ export type BuildInputContentEdition = Readonly<{
|
|
|
158
164
|
export type BuildInputContentFrontmatterNormalized = Readonly<{
|
|
159
165
|
readonly authorIds: ReadonlyArray<BuildInputStableId>;
|
|
160
166
|
readonly createdAt: BuildInputRfc3339;
|
|
167
|
+
readonly deleteDate?: BuildInputDeleteDate;
|
|
161
168
|
readonly description?: BuildInputPlainText;
|
|
162
169
|
readonly edition?: BuildInputContentEdition;
|
|
163
170
|
readonly hero?: BuildInputResolvedMedia;
|
|
@@ -187,6 +194,8 @@ export type BuildInputContentSeo = Readonly<{
|
|
|
187
194
|
readonly title?: BuildInputPlainText;
|
|
188
195
|
}>;
|
|
189
196
|
|
|
197
|
+
export type BuildInputDeleteDate = string;
|
|
198
|
+
|
|
190
199
|
export type BuildInputDestinationCapabilityProfile = Readonly<{
|
|
191
200
|
readonly adapter: BuildInputAuthoredAdapterIdentity;
|
|
192
201
|
readonly baseUrl: BuildInputUrlHttps;
|
|
@@ -228,6 +237,10 @@ export type BuildInputInteractionsServiceOrigin = string;
|
|
|
228
237
|
|
|
229
238
|
export type BuildInputIsoCountry = string;
|
|
230
239
|
|
|
240
|
+
export type BuildInputListing = Readonly<{
|
|
241
|
+
readonly pageSize?: number;
|
|
242
|
+
}>;
|
|
243
|
+
|
|
231
244
|
export type BuildInputLocalizedAuthor = Readonly<{
|
|
232
245
|
readonly biography: BuildInputPlainText;
|
|
233
246
|
readonly displayName: BuildInputPlainText;
|
|
@@ -317,6 +330,14 @@ export type BuildInputPackageRange = string;
|
|
|
317
330
|
|
|
318
331
|
export type BuildInputPassiveVisualToken = never;
|
|
319
332
|
|
|
333
|
+
export type BuildInputPerformance = Readonly<{
|
|
334
|
+
readonly budgets?: Readonly<{
|
|
335
|
+
readonly cssBytes?: number;
|
|
336
|
+
readonly htmlBytes?: number;
|
|
337
|
+
readonly jsBytes?: number;
|
|
338
|
+
}>;
|
|
339
|
+
}>;
|
|
340
|
+
|
|
320
341
|
export type BuildInputPlainLabel = string;
|
|
321
342
|
|
|
322
343
|
export type BuildInputPlainText = string;
|
|
@@ -332,6 +353,7 @@ export type BuildInputPolicyPageNormalized = Readonly<{
|
|
|
332
353
|
}>;
|
|
333
354
|
|
|
334
355
|
export type BuildInputPublicationNormalized = Readonly<{
|
|
356
|
+
readonly aiRights?: BuildInputAiRights;
|
|
335
357
|
readonly authorIds: ReadonlyArray<BuildInputStableId>;
|
|
336
358
|
readonly canonicalBase: BuildInputUrlHttps;
|
|
337
359
|
readonly contactAuthorId?: BuildInputStableId;
|
|
@@ -349,7 +371,9 @@ export type BuildInputPublicationNormalized = Readonly<{
|
|
|
349
371
|
readonly heading: BuildInputPlainText;
|
|
350
372
|
}>;
|
|
351
373
|
readonly id: BuildInputStableId;
|
|
374
|
+
readonly listing?: BuildInputListing;
|
|
352
375
|
readonly newsletter?: BuildInputNewsletter;
|
|
376
|
+
readonly performance?: BuildInputPerformance;
|
|
353
377
|
readonly profile?: Readonly<{
|
|
354
378
|
readonly body: BuildInputRenderableBody;
|
|
355
379
|
readonly route: BuildInputCanonicalRoute;
|
|
@@ -24,6 +24,8 @@ export type ContentFrontmatterContentSeo = Readonly<{
|
|
|
24
24
|
readonly title?: ContentFrontmatterPlainText;
|
|
25
25
|
}>;
|
|
26
26
|
|
|
27
|
+
export type ContentFrontmatterDeleteDate = string;
|
|
28
|
+
|
|
27
29
|
export type ContentFrontmatterDigest = string;
|
|
28
30
|
|
|
29
31
|
export type ContentFrontmatterExtensionKey = string;
|
|
@@ -74,6 +76,7 @@ export type ContentFrontmatterUrn = string;
|
|
|
74
76
|
export type ContentFrontmatterDocument = Readonly<{
|
|
75
77
|
readonly authors: ReadonlyArray<ContentFrontmatterStableId>;
|
|
76
78
|
readonly createdAt: ContentFrontmatterRfc3339;
|
|
79
|
+
readonly deleteDate?: ContentFrontmatterDeleteDate;
|
|
77
80
|
readonly description?: ContentFrontmatterPlainText;
|
|
78
81
|
readonly edition?: ContentFrontmatterContentEdition;
|
|
79
82
|
readonly extensions: ContentFrontmatterExtensionMap;
|
|
@@ -745,6 +745,23 @@ export type DeploymentReceiptDeploymentObservation = (
|
|
|
745
745
|
}> &
|
|
746
746
|
unknown;
|
|
747
747
|
|
|
748
|
+
export type DeploymentReceiptDeploymentPerformance = Readonly<{
|
|
749
|
+
readonly budgets: Readonly<{
|
|
750
|
+
readonly cssBytes?: number;
|
|
751
|
+
readonly htmlBytes?: number;
|
|
752
|
+
readonly jsBytes?: number;
|
|
753
|
+
}>;
|
|
754
|
+
readonly overBudget: ReadonlyArray<
|
|
755
|
+
Readonly<{
|
|
756
|
+
readonly budget: number;
|
|
757
|
+
readonly bytes: number;
|
|
758
|
+
readonly kind: 'html' | 'css' | 'js';
|
|
759
|
+
readonly path: DeploymentReceiptRepoRelativePath;
|
|
760
|
+
}>
|
|
761
|
+
>;
|
|
762
|
+
readonly overBudgetCount: number;
|
|
763
|
+
}>;
|
|
764
|
+
|
|
748
765
|
export type DeploymentReceiptDeploymentPolicyDecision = Readonly<{
|
|
749
766
|
readonly activationDetectionIntervalSeconds: 60;
|
|
750
767
|
readonly activationDetectionProfile: 'gala-public-activation-detection-v2';
|
|
@@ -1613,6 +1630,7 @@ export type DeploymentReceiptDocument = (
|
|
|
1613
1630
|
| 'superseded'
|
|
1614
1631
|
| 'unknown-reconciling'
|
|
1615
1632
|
| 'rolled-back';
|
|
1633
|
+
readonly performance?: DeploymentReceiptDeploymentPerformance;
|
|
1616
1634
|
readonly provenanceDigest: DeploymentReceiptDigest;
|
|
1617
1635
|
readonly publisher: DeploymentReceiptPackageIdentity &
|
|
1618
1636
|
Readonly<{
|
|
@@ -67,6 +67,12 @@ export type ProblemDocument = Readonly<{
|
|
|
67
67
|
readonly code: ProblemProblemCode;
|
|
68
68
|
readonly correlationId: ProblemStableId;
|
|
69
69
|
readonly detail: ProblemPlainText;
|
|
70
|
+
readonly details?: Readonly<{
|
|
71
|
+
readonly candidatePageCount: number;
|
|
72
|
+
readonly lostPageCount: number;
|
|
73
|
+
readonly permittedLoss: number;
|
|
74
|
+
readonly previousPageCount: number;
|
|
75
|
+
}>;
|
|
70
76
|
readonly domainState?: string;
|
|
71
77
|
readonly errors: ReadonlyArray<ProblemFieldError>;
|
|
72
78
|
readonly expectedBase?: ProblemUrlHttps;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
// Generated from urn:gala:schema:publication:2.0.0; sourceDesignRevision=a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a.
|
|
2
2
|
// Do not edit.
|
|
3
3
|
|
|
4
|
+
export type PublicationAiRights = Readonly<{
|
|
5
|
+
readonly licenseUrl?: PublicationUrlHttps;
|
|
6
|
+
readonly search: 'allow' | 'block';
|
|
7
|
+
readonly training: 'allow' | 'block';
|
|
8
|
+
}>;
|
|
9
|
+
|
|
4
10
|
export type PublicationBcp47 = string;
|
|
5
11
|
|
|
6
12
|
export type PublicationCanonicalRoute = string;
|
|
@@ -36,6 +42,10 @@ export type PublicationGlob = string;
|
|
|
36
42
|
|
|
37
43
|
export type PublicationIsoCountry = string;
|
|
38
44
|
|
|
45
|
+
export type PublicationListing = Readonly<{
|
|
46
|
+
readonly pageSize?: number;
|
|
47
|
+
}>;
|
|
48
|
+
|
|
39
49
|
export type PublicationNewsletter =
|
|
40
50
|
| Readonly<{
|
|
41
51
|
readonly emailContent: 'card' | 'full';
|
|
@@ -57,6 +67,14 @@ export type PublicationPackageRange = string;
|
|
|
57
67
|
|
|
58
68
|
export type PublicationPassiveVisualToken = never;
|
|
59
69
|
|
|
70
|
+
export type PublicationPerformance = Readonly<{
|
|
71
|
+
readonly budgets?: Readonly<{
|
|
72
|
+
readonly cssBytes?: number;
|
|
73
|
+
readonly htmlBytes?: number;
|
|
74
|
+
readonly jsBytes?: number;
|
|
75
|
+
}>;
|
|
76
|
+
}>;
|
|
77
|
+
|
|
60
78
|
export type PublicationPlainLabel = string;
|
|
61
79
|
|
|
62
80
|
export type PublicationPlainText = string;
|
|
@@ -125,6 +143,7 @@ export type PublicationUrlHttps = string;
|
|
|
125
143
|
export type PublicationUrn = string;
|
|
126
144
|
|
|
127
145
|
export type PublicationDocument = Readonly<{
|
|
146
|
+
readonly aiRights?: PublicationAiRights;
|
|
128
147
|
readonly authors: ReadonlyArray<PublicationRepoRelativePath>;
|
|
129
148
|
readonly canonicalBase: PublicationUrlHttps;
|
|
130
149
|
readonly contactForm?: PublicationContactForm;
|
|
@@ -136,7 +155,9 @@ export type PublicationDocument = Readonly<{
|
|
|
136
155
|
readonly extensions: PublicationExtensionMap;
|
|
137
156
|
readonly footerCard?: PublicationFooterCard;
|
|
138
157
|
readonly id: PublicationStableId;
|
|
158
|
+
readonly listing?: PublicationListing;
|
|
139
159
|
readonly newsletter?: PublicationNewsletter;
|
|
160
|
+
readonly performance?: PublicationPerformance;
|
|
140
161
|
readonly policies?: PublicationPublicationPolicies;
|
|
141
162
|
readonly profile?: PublicationPublicationProfile;
|
|
142
163
|
readonly schemaId: 'urn:gala:schema:publication:2.0.0';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:5023084f9257d1180b98e8115147bfd81aafa3cf1c0a52f4cf8c8eaf84bdb350",
|
|
5
5
|
"operations": [
|
|
6
6
|
{
|
|
7
7
|
"operationId": "getInternalHealth",
|
|
@@ -2230,6 +2230,32 @@
|
|
|
2230
2230
|
"apiKeyScope": null,
|
|
2231
2231
|
"sourceFragment": "platform"
|
|
2232
2232
|
},
|
|
2233
|
+
{
|
|
2234
|
+
"operationId": "getPlatformPrismGenerations",
|
|
2235
|
+
"method": "GET",
|
|
2236
|
+
"path": "/v2/platform/prism-generations",
|
|
2237
|
+
"purpose": "list platform Prism generations",
|
|
2238
|
+
"capabilityKey": "platform.prism.view",
|
|
2239
|
+
"conditionalCapabilityKeys": [],
|
|
2240
|
+
"activationGate": "MVP",
|
|
2241
|
+
"assuranceClass": "SESSION",
|
|
2242
|
+
"actionGrant": "none",
|
|
2243
|
+
"apiKeyScope": null,
|
|
2244
|
+
"sourceFragment": "platform"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"operationId": "postPlatformPrismGenerationsExport",
|
|
2248
|
+
"method": "POST",
|
|
2249
|
+
"path": "/v2/platform/prism-generations:export",
|
|
2250
|
+
"purpose": "export platform Prism generations as CSV",
|
|
2251
|
+
"capabilityKey": "platform.prism.export",
|
|
2252
|
+
"conditionalCapabilityKeys": [],
|
|
2253
|
+
"activationGate": "MVP",
|
|
2254
|
+
"assuranceClass": "RECENT_AUTHENTICATION",
|
|
2255
|
+
"actionGrant": "none",
|
|
2256
|
+
"apiKeyScope": null,
|
|
2257
|
+
"sourceFragment": "platform"
|
|
2258
|
+
},
|
|
2233
2259
|
{
|
|
2234
2260
|
"operationId": "getPlatformSettingsByKey",
|
|
2235
2261
|
"method": "GET",
|
|
@@ -3206,5 +3232,5 @@
|
|
|
3206
3232
|
"sourceFragment": "workloads"
|
|
3207
3233
|
}
|
|
3208
3234
|
],
|
|
3209
|
-
"digest": "sha256:
|
|
3235
|
+
"digest": "sha256:59a5d0108e2da074828eab414140e982903631f3d4bd2e540d6d26b5841aabc1"
|
|
3210
3236
|
}
|