@synopackageland/cli 0.48.14 → 0.48.15

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.48.15
4
+
5
+ - Accept identity_gateway.secure_context: required; check and build reject it when the pinned SDK does not support it, and the gateway shows a localized HTTPS guidance page for HTTP visits without redirecting
6
+ - Validate DSM WebAPI requests in tests against a strict request contract
7
+
3
8
  ## 0.48.14
4
9
 
5
10
  - status, install, uninstall and deploy no longer request the unsupported installing_target package-list field, so DSM versions that reject it work again
package/README.md CHANGED
@@ -107,6 +107,9 @@ package Unix sockets. The audit follows each shipped Linux binary's import graph
107
107
  unimported development commands are excluded. Use
108
108
  `identity_gateway.upstream_auth_paths` for client API paths that use upstream
109
109
  authentication. See [App entry and registration](docs/app-entry.md).
110
+ Apps needing a secure context can declare `identity_gateway.secure_context: required`
111
+ with the latest SDK; HTTP navigation then shows standard HTTPS guidance. See
112
+ [HTTPS guidance](docs/path-ingress.md#apps-requiring-https).
110
113
 
111
114
  `init` and `add` read their templates from the locally installed
112
115
  `@synopackageland/templates`. The CLI's npm dependency range selects compatible
@@ -19,6 +19,7 @@ export interface GatewayExternalAccess {
19
19
  /** One-URL upstream: DSM launch and local navigations go to the primary external origin. */
20
20
  single_origin?: true;
21
21
  }
22
+ export declare const SECURE_CONTEXT_MIN_SDK = "0.50.8";
22
23
  export declare const EXTERNAL_ACCESS_MIN_SDK = "0.29.0";
23
24
  /** SDK 0.28 has the diagnostic ping only; older gateways reject external JSON. */
24
25
  export declare function externalAccessSdkSupported(sdk: string): boolean;
@@ -48,6 +49,8 @@ export interface IdentityGateway {
48
49
  /** The SDK release the gateway is built from. */
49
50
  sdk: string;
50
51
  external_access?: GatewayExternalAccess;
52
+ /** Require an HTTPS browser origin before serving App routes. Omit to allow HTTP. */
53
+ secure_context?: "required";
51
54
  mode: GatewayMode;
52
55
  /** Fixed same-origin menu target, including optional query and fragment. */
53
56
  launch_path?: string;
@@ -20,6 +20,11 @@ export const GATEWAY_SETTINGS_CGI_PATH = "ui/sso/settings.cgi";
20
20
  export const GATEWAY_PAYLOAD_DIR = "_sso";
21
21
  export const GATEWAY_EXEC = `${GATEWAY_PAYLOAD_DIR}/gateway`;
22
22
  export const GATEWAY_CONFIG_PATH = "sso/gateway.json";
23
+ export const SECURE_CONTEXT_MIN_SDK = "0.50.8";
24
+ function secureContextReleaseSupported(sdk) {
25
+ const [major, minor, patch] = sdk.split(".").map(Number);
26
+ return major > 0 || minor > 50 || minor === 50 && patch >= 8;
27
+ }
23
28
  export const EXTERNAL_ACCESS_MIN_SDK = "0.29.0";
24
29
  /** SDK 0.28 has the diagnostic ping only; older gateways reject external JSON. */
25
30
  export function externalAccessSdkSupported(sdk) {
@@ -50,6 +55,10 @@ const pathPrefix = (path, prefix) => {
50
55
  const upstreamPrefix = (v) => typeof v === "string" && v.length <= 512 && /^\/[A-Za-z0-9._~/-]+$/.test(v) &&
51
56
  v !== "/" && !v.includes("//") && !v.split("/").some(p => p === "." || p === "..") &&
52
57
  !pathPrefix(v, "/_sso") && !pathPrefix(v, "/_spl");
58
+ function secureContextSdkSupported(dir) {
59
+ const source = join(dir, "idgateway/secure_context.go");
60
+ return existsSync(source) && /const SecureContextVersion = 1\b/.test(readFileSync(source, "utf8"));
61
+ }
53
62
  function upstreamAuthSdkSupported(dir) {
54
63
  const source = join(dir, "idgateway/upstream_auth.go");
55
64
  return existsSync(source) && /const UpstreamAuthPathsVersion = 1\b/.test(readFileSync(source, "utf8"));
@@ -154,6 +163,7 @@ export function readIdentityGateway(value, daemon, fail, packagedPayload = false
154
163
  !only(value, [
155
164
  "sdk",
156
165
  "external_access",
166
+ "secure_context",
157
167
  "mode",
158
168
  "access",
159
169
  "upstream_access",
@@ -176,9 +186,11 @@ export function readIdentityGateway(value, daemon, fail, packagedPayload = false
176
186
  "token",
177
187
  "account",
178
188
  ])) {
179
- return invalid("accepts only sdk, external_access, mode, access, upstream_access, groups, upstream, listen, passthrough, upstream_auth_paths, optional_passthrough, redirects, email_domain, session_ttl, roles, headers, oidc, token and account.");
189
+ return invalid("accepts only sdk, external_access, secure_context, mode, access, upstream_access, groups, upstream, listen, passthrough, upstream_auth_paths, optional_passthrough, redirects, email_domain, session_ttl, roles, headers, oidc, token and account.");
180
190
  }
181
191
  const v = value;
192
+ if (v.secure_context !== undefined && v.secure_context !== "required")
193
+ return invalid("secure_context must be required or omitted.");
182
194
  let externalAccess;
183
195
  if (v.external_access !== undefined) {
184
196
  const external = v.external_access;
@@ -230,6 +242,17 @@ export function readIdentityGateway(value, daemon, fail, packagedPayload = false
230
242
  return invalid("response_header_timeout_seconds must be 1–3600.");
231
243
  if (typeof v.sdk !== "string" || !/^\d+\.\d+\.\d+$/.test(v.sdk))
232
244
  return invalid("sdk must be the SDK release (x.y.z) to build the gateway from.");
245
+ if (v.secure_context !== undefined) {
246
+ if (!secureContextReleaseSupported(v.sdk))
247
+ return invalid(`secure_context requires SDK ${SECURE_CONTEXT_MIN_SDK} or later; upgrade identity_gateway.sdk and use matching SDK sources.`);
248
+ try {
249
+ if (!secureContextSdkSupported(sdkSource(v.sdk).goDir))
250
+ return invalid("secure_context requires an SDK with HTTPS guidance support; upgrade the selected SDK and use matching SDK sources.");
251
+ }
252
+ catch {
253
+ return invalid("The SDK source for secure_context is unavailable; select an SDK with HTTPS guidance support and matching sources.");
254
+ }
255
+ }
233
256
  if (externalAccess && !externalAccessSdkSupported(v.sdk)) {
234
257
  fail({ code: "STANDALONE_IDENTITY_GATEWAY_EXTERNAL_SDK_REQUIRED", message: `identity_gateway.external_access requires SDK ${EXTERNAL_ACCESS_MIN_SDK} or later; SDK 0.28.0 provides the diagnostic ping only.` });
235
258
  return undefined;
@@ -340,6 +363,7 @@ export function readIdentityGateway(value, daemon, fail, packagedPayload = false
340
363
  ...(ingress ? { ingress: ingress } : {}),
341
364
  ...(v.launch_path !== undefined ? { launch_path: v.launch_path } : {}),
342
365
  access,
366
+ ...(v.secure_context !== undefined ? { secure_context: "required" } : {}),
343
367
  ...(v.upstream_access !== undefined ? { upstream_access: v.upstream_access } : {}),
344
368
  ...(Array.isArray(v.groups) ? { groups: v.groups } : {}),
345
369
  ...(v.max_upload_bytes !== undefined
@@ -489,6 +513,7 @@ export function identityGatewayConfig(m) {
489
513
  stop_seconds: m.daemon?.timeouts.stop ?? m.lifecycleTimeouts?.stop ?? 30,
490
514
  } : {}),
491
515
  mode: g.mode,
516
+ ...(g.secure_context ? { secure_context: g.secure_context } : {}),
492
517
  ...(g.launch_path ? { launch_path: g.launch_path } : {}),
493
518
  access: g.access ?? "dsm-users",
494
519
  ...(g.upstream_access ? { upstream_access: g.upstream_access } : {}),
@@ -561,6 +586,8 @@ export function gatewayDaemon(daemon) {
561
586
  export async function buildIdentityGateway(m, arch, work, run) {
562
587
  if (!m.identityGateway)
563
588
  return undefined;
589
+ if (m.identityGateway.secure_context && !secureContextReleaseSupported(m.identityGateway.sdk))
590
+ throw new StandaloneBuildError("STANDALONE_IDENTITY_GATEWAY_INVALID", `secure_context requires SDK ${SECURE_CONTEXT_MIN_SDK} or later; upgrade identity_gateway.sdk and use matching SDK sources.`);
564
591
  let sdk;
565
592
  try {
566
593
  sdk = sdkSource(m.identityGateway.sdk);
@@ -569,6 +596,8 @@ export async function buildIdentityGateway(m, arch, work, run) {
569
596
  throw new StandaloneBuildError("SDK_DOWNLOAD_FAILED", error.message.replace(/^\[[A-Z_]+\] /, ""));
570
597
  }
571
598
  runtimeBudgetSource(sdk.goDir, m);
599
+ if (m.identityGateway.secure_context && !secureContextSdkSupported(sdk.goDir))
600
+ throw new StandaloneBuildError("STANDALONE_IDENTITY_GATEWAY_INVALID", "secure_context requires an SDK with HTTPS guidance support; upgrade the selected SDK and use matching SDK sources.");
572
601
  if (m.identityGateway.upstream_auth_paths && !upstreamAuthSdkSupported(sdk.goDir))
573
602
  throw new StandaloneBuildError("STANDALONE_IDENTITY_GATEWAY_INVALID", "The selected SDK lacks upstream_auth_paths and its build-bound entry policy; use matching SDK sources.");
574
603
  if (gatewayExternalAccess(m.identityGateway)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/cli",
3
- "version": "0.48.14",
3
+ "version": "0.48.15",
4
4
  "description": "Syno Package Land Developer Kit CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,14 +22,16 @@
22
22
  "scripts": {
23
23
  "check:docs": "node --test scripts/check-doc-versions.test.mjs && node scripts/check-doc-versions.mjs",
24
24
  "build": "rm -rf dist && tsc",
25
- "test": "npm run build && node --import tsx --test --test-concurrency=${SYNOPKGLAND_GATE_JOBS:-3} test/*.test.ts test/ctl/*.test.ts",
25
+ "test": "npm run build && node --import tsx --import ./test/helpers/strict-dsm-setup.ts --test --test-concurrency=${SYNOPKGLAND_GATE_JOBS:-3} test/*.test.ts test/ctl/*.test.ts",
26
26
  "test:glossary": "node --test scripts/test/glossary-drift.test.mjs",
27
27
  "test:scripts": "node --test scripts/test/gate.test.mjs scripts/test/release.test.mjs scripts/test/pack-docker.test.mjs scripts/test/npm-pack.test.mjs scripts/test/executor-bump.test.mjs scripts/test/smoke-exports.test.mjs scripts/test/parallel.test.mjs scripts/test/scaffold-matrix.test.mjs scripts/test/frontend-deps.test.mjs scripts/test/docker-gate.test.mjs scripts/test/gate-plan.test.mjs scripts/test/gates.test.mjs && python3 scripts/test/npm-publish.py",
28
28
  "gates": "bash scripts/ci/gates.sh",
29
29
  "gates:fast": "bash scripts/ci/gates.sh",
30
30
  "prepublishOnly": "npm run build",
31
31
  "gates:full": "bash scripts/ci/gates.sh --full",
32
- "test:basic": "node --import tsx --test test/schema.test.ts test/standalone-manifest.test.ts test/native-arch.test.ts test/archive-inventory.test.ts"
32
+ "test:basic": "node --import tsx --test test/schema.test.ts test/standalone-manifest.test.ts test/native-arch.test.ts test/archive-inventory.test.ts",
33
+ "check:dsm-contract": "node scripts/check-dsm-api-contract.mjs",
34
+ "check:dsm-hub": "node scripts/check-dsm-api-hub.mjs"
33
35
  },
34
36
  "dependencies": {
35
37
  "@napi-rs/keyring": "^2.1.1",
@@ -0,0 +1,1127 @@
1
+ {
2
+ "formatVersion": 1,
3
+ "description": "Minimal CLI request inventory. Unverified means no release-specific support claim; the mock enforces the reviewed wire subset, not a full DSM emulator.",
4
+ "dsmVersions": [
5
+ "7.2",
6
+ "7.3",
7
+ "7.4"
8
+ ],
9
+ "transportParameters": [
10
+ "_sid",
11
+ "SynoToken",
12
+ "SynoConfirmPWToken"
13
+ ],
14
+ "operations": [
15
+ {
16
+ "api": "SYNO.API.Auth",
17
+ "method": "login",
18
+ "version": 7,
19
+ "dsm": {
20
+ "7.2": "unverified",
21
+ "7.3": "unverified",
22
+ "7.4": "unverified"
23
+ },
24
+ "parameters": {
25
+ "account": {},
26
+ "passwd": {},
27
+ "session": {},
28
+ "format": {},
29
+ "enable_syno_token": {},
30
+ "enable_device_token": {},
31
+ "device_name": {},
32
+ "device_id": {},
33
+ "otp_code": {}
34
+ },
35
+ "enums": {
36
+ "format": [
37
+ "cookie"
38
+ ],
39
+ "enable_syno_token": [
40
+ "yes"
41
+ ],
42
+ "enable_device_token": [
43
+ "yes",
44
+ "no"
45
+ ],
46
+ "session": [
47
+ "DSM"
48
+ ]
49
+ },
50
+ "sources": [
51
+ "nas/auth.ts"
52
+ ],
53
+ "hubConfirmed": []
54
+ },
55
+ {
56
+ "api": "SYNO.API.Auth",
57
+ "method": "logout",
58
+ "version": 7,
59
+ "dsm": {
60
+ "7.2": "unverified",
61
+ "7.3": "unverified",
62
+ "7.4": "confirmed"
63
+ },
64
+ "parameters": {},
65
+ "sources": [
66
+ "nas/auth.ts"
67
+ ],
68
+ "hubConfirmed": [
69
+ "7.4"
70
+ ]
71
+ },
72
+ {
73
+ "api": "SYNO.API.Info",
74
+ "method": "query",
75
+ "version": 1,
76
+ "dsm": {
77
+ "7.2": "unverified",
78
+ "7.3": "unverified",
79
+ "7.4": "unverified"
80
+ },
81
+ "parameters": {
82
+ "query": {}
83
+ },
84
+ "enums": {
85
+ "query": [
86
+ "SYNO.Core.AppPortal"
87
+ ]
88
+ },
89
+ "sources": [
90
+ "standalone/portal-window.ts"
91
+ ],
92
+ "hubConfirmed": []
93
+ },
94
+ {
95
+ "api": "SYNO.Core.Package",
96
+ "method": "list",
97
+ "version": 2,
98
+ "dsm": {
99
+ "7.2": "unverified",
100
+ "7.3": "confirmed",
101
+ "7.4": "unverified"
102
+ },
103
+ "parameters": {
104
+ "additional": {},
105
+ "ignore_hidden": {}
106
+ },
107
+ "enums": {
108
+ "ignore_hidden": [
109
+ false
110
+ ]
111
+ },
112
+ "arrayEnums": {
113
+ "additional": [
114
+ "status",
115
+ "installed_info"
116
+ ]
117
+ },
118
+ "sources": [
119
+ "host/catalog-install.ts",
120
+ "host/dsm-port-profile.ts",
121
+ "host/package-commands.ts",
122
+ "ctl/service.ts"
123
+ ],
124
+ "hubConfirmed": []
125
+ },
126
+ {
127
+ "api": "SYNO.Core.Package",
128
+ "method": "list_status",
129
+ "version": 1,
130
+ "dsm": {
131
+ "7.2": "unverified",
132
+ "7.3": "unverified",
133
+ "7.4": "confirmed"
134
+ },
135
+ "parameters": {},
136
+ "sources": [
137
+ "host/catalog-install.ts"
138
+ ],
139
+ "hubConfirmed": [
140
+ "7.4"
141
+ ]
142
+ },
143
+ {
144
+ "api": "SYNO.Core.Package",
145
+ "method": "get",
146
+ "version": 1,
147
+ "dsm": {
148
+ "7.2": "unverified",
149
+ "7.3": "unverified",
150
+ "7.4": "confirmed"
151
+ },
152
+ "parameters": {
153
+ "id": {},
154
+ "additional": {}
155
+ },
156
+ "arrayEnums": {
157
+ "additional": [
158
+ "status",
159
+ "dsm_apps"
160
+ ]
161
+ },
162
+ "sources": [
163
+ "host/catalog-install.ts"
164
+ ],
165
+ "hubConfirmed": [
166
+ "7.4"
167
+ ]
168
+ },
169
+ {
170
+ "api": "SYNO.Core.Package.Info",
171
+ "method": "get",
172
+ "version": 1,
173
+ "dsm": {
174
+ "7.2": "unverified",
175
+ "7.3": "unverified",
176
+ "7.4": "confirmed"
177
+ },
178
+ "parameters": {},
179
+ "sources": [
180
+ "host/package-commands.ts"
181
+ ],
182
+ "hubConfirmed": [
183
+ "7.4"
184
+ ]
185
+ },
186
+ {
187
+ "api": "SYNO.DSM.Info",
188
+ "method": "getinfo",
189
+ "version": 2,
190
+ "dsm": {
191
+ "7.2": "unverified",
192
+ "7.3": "unverified",
193
+ "7.4": "confirmed"
194
+ },
195
+ "parameters": {},
196
+ "sources": [
197
+ "host/package-commands.ts"
198
+ ],
199
+ "hubConfirmed": [
200
+ "7.4"
201
+ ]
202
+ },
203
+ {
204
+ "api": "SYNO.Core.System",
205
+ "method": "info",
206
+ "version": 1,
207
+ "dsm": {
208
+ "7.2": "unverified",
209
+ "7.3": "unverified",
210
+ "7.4": "confirmed"
211
+ },
212
+ "parameters": {},
213
+ "sources": [
214
+ "host/dsm-client.ts"
215
+ ],
216
+ "hubConfirmed": [
217
+ "7.4"
218
+ ]
219
+ },
220
+ {
221
+ "api": "SYNO.Core.User.Home",
222
+ "method": "get",
223
+ "version": 1,
224
+ "dsm": {
225
+ "7.2": "unverified",
226
+ "7.3": "unverified",
227
+ "7.4": "confirmed"
228
+ },
229
+ "parameters": {},
230
+ "sources": [
231
+ "host/dsm-client.ts"
232
+ ],
233
+ "hubConfirmed": [
234
+ "7.4"
235
+ ]
236
+ },
237
+ {
238
+ "api": "SYNO.Core.Desktop.Initdata",
239
+ "method": "get_user_service",
240
+ "version": 1,
241
+ "dsm": {
242
+ "7.2": "unverified",
243
+ "7.3": "unverified",
244
+ "7.4": "confirmed"
245
+ },
246
+ "parameters": {},
247
+ "sources": [
248
+ "e2e/dsm.ts"
249
+ ],
250
+ "hubConfirmed": [
251
+ "7.4"
252
+ ]
253
+ },
254
+ {
255
+ "api": "SYNO.Core.Service.PortInfo",
256
+ "method": "load",
257
+ "version": 1,
258
+ "dsm": {
259
+ "7.2": "unverified",
260
+ "7.3": "unverified",
261
+ "7.4": "confirmed"
262
+ },
263
+ "parameters": {},
264
+ "sources": [
265
+ "host/port-info-lookup.ts",
266
+ "host/dsm-port-profile.ts",
267
+ "standalone/install-ports.ts"
268
+ ],
269
+ "hubConfirmed": [
270
+ "7.4"
271
+ ]
272
+ },
273
+ {
274
+ "api": "SYNO.Core.Share",
275
+ "method": "list",
276
+ "version": 1,
277
+ "dsm": {
278
+ "7.2": "unverified",
279
+ "7.3": "confirmed",
280
+ "7.4": "unverified"
281
+ },
282
+ "parameters": {
283
+ "additional": {},
284
+ "offset": {},
285
+ "limit": {}
286
+ },
287
+ "arrayEnums": {
288
+ "additional": [
289
+ "real_path"
290
+ ]
291
+ },
292
+ "sources": [
293
+ "host/share-lookup.ts",
294
+ "build-spk/share-combobox.ts"
295
+ ],
296
+ "hubConfirmed": []
297
+ },
298
+ {
299
+ "api": "SYNO.Core.Share",
300
+ "method": "get",
301
+ "version": 1,
302
+ "dsm": {
303
+ "7.2": "unverified",
304
+ "7.3": "confirmed",
305
+ "7.4": "unverified"
306
+ },
307
+ "parameters": {
308
+ "name": {},
309
+ "additional": {}
310
+ },
311
+ "arrayEnums": {
312
+ "additional": [
313
+ "encryption",
314
+ "is_aclmode",
315
+ "is_force_readonly",
316
+ "is_share_moving",
317
+ "is_missing_share",
318
+ "is_offline_share",
319
+ "is_c2_share",
320
+ "load_worm_attr",
321
+ "load_tiering_attr",
322
+ "is_tiering_bucket",
323
+ "is_cluster_share",
324
+ "is_cold_storage_share"
325
+ ]
326
+ },
327
+ "sources": [
328
+ "build-spk/share-validation.ts"
329
+ ],
330
+ "hubConfirmed": []
331
+ },
332
+ {
333
+ "api": "SYNO.Core.Share.Permission",
334
+ "method": "list",
335
+ "version": 1,
336
+ "dsm": {
337
+ "7.2": "unverified",
338
+ "7.3": "unverified",
339
+ "7.4": "confirmed"
340
+ },
341
+ "parameters": {
342
+ "name": {},
343
+ "user_group_type": {},
344
+ "offset": {},
345
+ "limit": {}
346
+ },
347
+ "enums": {
348
+ "user_group_type": [
349
+ "local_user",
350
+ "local_group"
351
+ ]
352
+ },
353
+ "sources": [
354
+ "host/share-permission-lookup.ts"
355
+ ],
356
+ "hubConfirmed": [
357
+ "7.4"
358
+ ]
359
+ },
360
+ {
361
+ "api": "SYNO.Core.Group",
362
+ "method": "list",
363
+ "version": 1,
364
+ "dsm": {
365
+ "7.2": "unverified",
366
+ "7.3": "unverified",
367
+ "7.4": "confirmed"
368
+ },
369
+ "parameters": {
370
+ "offset": {},
371
+ "limit": {}
372
+ },
373
+ "sources": [
374
+ "host/share-permission-lookup.ts"
375
+ ],
376
+ "hubConfirmed": [
377
+ "7.4"
378
+ ]
379
+ },
380
+ {
381
+ "api": "SYNO.Core.Group.Member",
382
+ "method": "list",
383
+ "version": 1,
384
+ "dsm": {
385
+ "7.2": "unverified",
386
+ "7.3": "unverified",
387
+ "7.4": "confirmed"
388
+ },
389
+ "parameters": {
390
+ "group": {},
391
+ "offset": {},
392
+ "limit": {}
393
+ },
394
+ "sources": [
395
+ "host/share-permission-lookup.ts",
396
+ "host/dsm-client.ts",
397
+ "nas/connection.ts"
398
+ ],
399
+ "hubConfirmed": [
400
+ "7.4"
401
+ ]
402
+ },
403
+ {
404
+ "api": "SYNO.Core.Package.Control",
405
+ "method": "stop",
406
+ "version": 1,
407
+ "dsm": {
408
+ "7.2": "unverified",
409
+ "7.3": "unverified",
410
+ "7.4": "confirmed"
411
+ },
412
+ "parameters": {
413
+ "id": {}
414
+ },
415
+ "sources": [
416
+ "host/catalog-install.ts"
417
+ ],
418
+ "hubConfirmed": [
419
+ "7.4"
420
+ ]
421
+ },
422
+ {
423
+ "api": "SYNO.Core.Package.Uninstallation",
424
+ "method": "uninstall",
425
+ "version": 1,
426
+ "dsm": {
427
+ "7.2": "unverified",
428
+ "7.3": "unverified",
429
+ "7.4": "confirmed"
430
+ },
431
+ "parameters": {
432
+ "id": {},
433
+ "extra_values": {}
434
+ },
435
+ "sources": [
436
+ "host/catalog-install.ts"
437
+ ],
438
+ "hubConfirmed": [
439
+ "7.4"
440
+ ]
441
+ },
442
+ {
443
+ "api": "SYNO.Core.Package.Installation",
444
+ "method": "status",
445
+ "version": 1,
446
+ "dsm": {
447
+ "7.2": "unverified",
448
+ "7.3": "unverified",
449
+ "7.4": "confirmed"
450
+ },
451
+ "parameters": {
452
+ "task_id": {}
453
+ },
454
+ "sources": [
455
+ "host/catalog-install.ts"
456
+ ],
457
+ "hubConfirmed": [
458
+ "7.4"
459
+ ]
460
+ },
461
+ {
462
+ "api": "SYNO.Core.Package.Installation",
463
+ "method": "upload",
464
+ "version": 1,
465
+ "dsm": {
466
+ "7.2": "unverified",
467
+ "7.3": "unverified",
468
+ "7.4": "unverified"
469
+ },
470
+ "parameters": {
471
+ "file": {}
472
+ },
473
+ "sources": [
474
+ "host/catalog-install.ts"
475
+ ],
476
+ "hubConfirmed": []
477
+ },
478
+ {
479
+ "api": "SYNO.Core.Package.Installation",
480
+ "method": "check",
481
+ "version": 2,
482
+ "dsm": {
483
+ "7.2": "unverified",
484
+ "7.3": "unverified",
485
+ "7.4": "unverified"
486
+ },
487
+ "parameters": {
488
+ "depsers": {},
489
+ "deppkgs": {},
490
+ "conflictpkgs": {},
491
+ "breakpkgs": {},
492
+ "replacepkgs": {},
493
+ "ver": {},
494
+ "size": {},
495
+ "id": {},
496
+ "blupgrade": {},
497
+ "install_type": {},
498
+ "install_on_cold_storage": {},
499
+ "blCheckDep": {}
500
+ },
501
+ "sources": [
502
+ "host/catalog-install.ts"
503
+ ],
504
+ "enums": {
505
+ "blCheckDep": [
506
+ true
507
+ ],
508
+ "blupgrade": [
509
+ true,
510
+ false
511
+ ],
512
+ "install_type": [
513
+ ""
514
+ ],
515
+ "install_on_cold_storage": [
516
+ "",
517
+ false
518
+ ]
519
+ },
520
+ "hubConfirmed": []
521
+ },
522
+ {
523
+ "api": "SYNO.Core.Package.Installation",
524
+ "method": "install",
525
+ "version": 1,
526
+ "dsm": {
527
+ "7.2": "unverified",
528
+ "7.3": "unverified",
529
+ "7.4": "unverified"
530
+ },
531
+ "parameters": {
532
+ "name": {},
533
+ "is_syno": {},
534
+ "beta": {},
535
+ "url": {},
536
+ "checksum": {},
537
+ "filesize": {},
538
+ "type": {},
539
+ "blqinst": {},
540
+ "operation": {},
541
+ "volume_path": {},
542
+ "extra_values": {},
543
+ "check_codesign": {},
544
+ "force": {},
545
+ "installrunpackage": {},
546
+ "task_id": {}
547
+ },
548
+ "enums": {
549
+ "type": [
550
+ 0
551
+ ],
552
+ "operation": [
553
+ "install",
554
+ "upgrade"
555
+ ],
556
+ "is_syno": [
557
+ false
558
+ ],
559
+ "beta": [
560
+ true,
561
+ false
562
+ ],
563
+ "blqinst": [
564
+ true,
565
+ false
566
+ ],
567
+ "check_codesign": [
568
+ false
569
+ ],
570
+ "force": [
571
+ false
572
+ ],
573
+ "installrunpackage": [
574
+ true
575
+ ]
576
+ },
577
+ "sources": [
578
+ "host/catalog-install.ts"
579
+ ],
580
+ "hubConfirmed": []
581
+ },
582
+ {
583
+ "api": "SYNO.Entry.Request",
584
+ "method": "request",
585
+ "version": 1,
586
+ "dsm": {
587
+ "7.2": "unverified",
588
+ "7.3": "unverified",
589
+ "7.4": "unverified"
590
+ },
591
+ "parameters": {
592
+ "stop_when_error": {},
593
+ "mode": {},
594
+ "compound": {}
595
+ },
596
+ "enums": {
597
+ "mode": [
598
+ "sequential"
599
+ ],
600
+ "stop_when_error": [
601
+ true
602
+ ]
603
+ },
604
+ "sources": [
605
+ "host/catalog-install.ts"
606
+ ],
607
+ "hubConfirmed": []
608
+ },
609
+ {
610
+ "api": "SYNO.Docker.Image",
611
+ "method": "list",
612
+ "version": 1,
613
+ "dsm": {
614
+ "7.2": "unverified",
615
+ "7.3": "confirmed",
616
+ "7.4": "unverified"
617
+ },
618
+ "parameters": {
619
+ "offset": {},
620
+ "limit": {}
621
+ },
622
+ "sources": [
623
+ "host/container-pull.ts"
624
+ ],
625
+ "hubConfirmed": []
626
+ },
627
+ {
628
+ "api": "SYNO.Docker.Image",
629
+ "method": "pull_start",
630
+ "version": 1,
631
+ "dsm": {
632
+ "7.2": "unverified",
633
+ "7.3": "unverified",
634
+ "7.4": "unverified"
635
+ },
636
+ "parameters": {
637
+ "repository": {},
638
+ "tag": {}
639
+ },
640
+ "sources": [
641
+ "host/container-pull.ts"
642
+ ],
643
+ "hubConfirmed": []
644
+ },
645
+ {
646
+ "api": "SYNO.Docker.Image",
647
+ "method": "pull_status",
648
+ "version": 1,
649
+ "dsm": {
650
+ "7.2": "unverified",
651
+ "7.3": "unverified",
652
+ "7.4": "unverified"
653
+ },
654
+ "parameters": {
655
+ "task_id": {}
656
+ },
657
+ "sources": [
658
+ "host/container-pull.ts"
659
+ ],
660
+ "hubConfirmed": []
661
+ },
662
+ {
663
+ "api": "SYNO.Core.AppPortal",
664
+ "method": "get",
665
+ "version": 2,
666
+ "dsm": {
667
+ "7.2": "unverified",
668
+ "7.3": "unverified",
669
+ "7.4": "unverified"
670
+ },
671
+ "parameters": {
672
+ "id": {},
673
+ "additional": {}
674
+ },
675
+ "arrayEnums": {
676
+ "additional": [
677
+ "default_setting"
678
+ ]
679
+ },
680
+ "sources": [
681
+ "standalone/portal-window.ts"
682
+ ],
683
+ "hubConfirmed": []
684
+ },
685
+ {
686
+ "api": "SYNO.Core.AppPortal",
687
+ "method": "set",
688
+ "version": 2,
689
+ "dsm": {
690
+ "7.2": "unverified",
691
+ "7.3": "unverified",
692
+ "7.4": "confirmed"
693
+ },
694
+ "parameters": {
695
+ "id": {},
696
+ "alias": {}
697
+ },
698
+ "sources": [
699
+ "standalone/portal-window.ts"
700
+ ],
701
+ "hubConfirmed": [
702
+ "7.4"
703
+ ]
704
+ },
705
+ {
706
+ "api": "SYNO.Core.User.PasswordConfirm",
707
+ "method": "auth",
708
+ "version": 1,
709
+ "dsm": {
710
+ "7.2": "unverified",
711
+ "7.3": "unverified",
712
+ "7.4": "confirmed"
713
+ },
714
+ "parameters": {
715
+ "password": {}
716
+ },
717
+ "sources": [
718
+ "standalone/root-window.ts"
719
+ ],
720
+ "hubConfirmed": [
721
+ "7.4"
722
+ ]
723
+ },
724
+ {
725
+ "api": "SYNO.Core.User.PasswordConfirm",
726
+ "method": "auth",
727
+ "version": 2,
728
+ "dsm": {
729
+ "7.2": "unverified",
730
+ "7.3": "unverified",
731
+ "7.4": "confirmed"
732
+ },
733
+ "parameters": {
734
+ "password": {}
735
+ },
736
+ "sources": [
737
+ "standalone/root-window.ts"
738
+ ],
739
+ "hubConfirmed": [
740
+ "7.4"
741
+ ]
742
+ },
743
+ {
744
+ "api": "SYNO.Core.TaskScheduler",
745
+ "method": "list",
746
+ "version": 2,
747
+ "dsm": {
748
+ "7.2": "unverified",
749
+ "7.3": "unverified",
750
+ "7.4": "confirmed"
751
+ },
752
+ "parameters": {
753
+ "offset": {},
754
+ "limit": {}
755
+ },
756
+ "sources": [
757
+ "standalone/root-window.ts",
758
+ "host/dsm-client.ts"
759
+ ],
760
+ "hubConfirmed": [
761
+ "7.4"
762
+ ]
763
+ },
764
+ {
765
+ "api": "SYNO.Core.TaskScheduler",
766
+ "method": "list",
767
+ "version": 3,
768
+ "dsm": {
769
+ "7.2": "unverified",
770
+ "7.3": "confirmed",
771
+ "7.4": "unverified"
772
+ },
773
+ "parameters": {
774
+ "start": {},
775
+ "limit": {}
776
+ },
777
+ "sources": [
778
+ "standalone/root-window.ts",
779
+ "host/dsm-client.ts"
780
+ ],
781
+ "hubConfirmed": []
782
+ },
783
+ {
784
+ "api": "SYNO.Core.TaskScheduler",
785
+ "method": "get",
786
+ "version": 3,
787
+ "dsm": {
788
+ "7.2": "unverified",
789
+ "7.3": "confirmed",
790
+ "7.4": "unverified"
791
+ },
792
+ "parameters": {
793
+ "id": {},
794
+ "real_owner": {}
795
+ },
796
+ "sources": [
797
+ "standalone/root-window.ts",
798
+ "host/dsm-client.ts"
799
+ ],
800
+ "hubConfirmed": []
801
+ },
802
+ {
803
+ "api": "SYNO.Core.TaskScheduler",
804
+ "method": "get",
805
+ "version": 4,
806
+ "dsm": {
807
+ "7.2": "unverified",
808
+ "7.3": "unverified",
809
+ "7.4": "confirmed"
810
+ },
811
+ "parameters": {
812
+ "id": {},
813
+ "real_owner": {}
814
+ },
815
+ "sources": [
816
+ "standalone/root-window.ts",
817
+ "host/dsm-client.ts"
818
+ ],
819
+ "hubConfirmed": [
820
+ "7.4"
821
+ ]
822
+ },
823
+ {
824
+ "api": "SYNO.Core.TaskScheduler",
825
+ "method": "delete",
826
+ "version": 2,
827
+ "dsm": {
828
+ "7.2": "unverified",
829
+ "7.3": "unverified",
830
+ "7.4": "confirmed"
831
+ },
832
+ "parameters": {
833
+ "tasks": {}
834
+ },
835
+ "sources": [
836
+ "standalone/root-window.ts"
837
+ ],
838
+ "hubConfirmed": [
839
+ "7.4"
840
+ ]
841
+ },
842
+ {
843
+ "api": "SYNO.Core.TaskScheduler",
844
+ "method": "run",
845
+ "version": 2,
846
+ "dsm": {
847
+ "7.2": "unverified",
848
+ "7.3": "unverified",
849
+ "7.4": "confirmed"
850
+ },
851
+ "parameters": {
852
+ "tasks": {}
853
+ },
854
+ "sources": [
855
+ "standalone/root-window.ts"
856
+ ],
857
+ "hubConfirmed": [
858
+ "7.4"
859
+ ]
860
+ },
861
+ {
862
+ "api": "SYNO.Core.TaskScheduler",
863
+ "method": "create",
864
+ "version": 3,
865
+ "dsm": {
866
+ "7.2": "unverified",
867
+ "7.3": "unverified",
868
+ "7.4": "unverified"
869
+ },
870
+ "parameters": {
871
+ "name": {},
872
+ "owner": {},
873
+ "real_owner": {},
874
+ "enable": {},
875
+ "type": {},
876
+ "schedule": {},
877
+ "extra": {}
878
+ },
879
+ "enums": {
880
+ "type": [
881
+ "script"
882
+ ],
883
+ "enable": [
884
+ false
885
+ ],
886
+ "owner": [
887
+ "root"
888
+ ],
889
+ "real_owner": [
890
+ "root"
891
+ ]
892
+ },
893
+ "sources": [
894
+ "standalone/root-window.ts"
895
+ ],
896
+ "hubConfirmed": []
897
+ },
898
+ {
899
+ "api": "SYNO.Core.TaskScheduler.Root",
900
+ "method": "create",
901
+ "version": 4,
902
+ "dsm": {
903
+ "7.2": "unverified",
904
+ "7.3": "unverified",
905
+ "7.4": "unverified"
906
+ },
907
+ "parameters": {
908
+ "name": {},
909
+ "owner": {},
910
+ "real_owner": {},
911
+ "enable": {},
912
+ "type": {},
913
+ "schedule": {},
914
+ "extra": {}
915
+ },
916
+ "enums": {
917
+ "type": [
918
+ "script"
919
+ ],
920
+ "enable": [
921
+ false
922
+ ],
923
+ "owner": [
924
+ "root"
925
+ ],
926
+ "real_owner": [
927
+ "root"
928
+ ]
929
+ },
930
+ "sources": [
931
+ "standalone/root-window.ts"
932
+ ],
933
+ "hubConfirmed": []
934
+ },
935
+ {
936
+ "api": "SYNO.Core.EventScheduler",
937
+ "method": "create",
938
+ "version": 1,
939
+ "dsm": {
940
+ "7.2": "unverified",
941
+ "7.3": "unverified",
942
+ "7.4": "unverified"
943
+ },
944
+ "parameters": {
945
+ "task_name": {},
946
+ "event": {},
947
+ "owner": {},
948
+ "enable": {},
949
+ "depend_on_task": {},
950
+ "operation_type": {},
951
+ "operation": {},
952
+ "description": {},
953
+ "notify_mail": {},
954
+ "notify_enable": {},
955
+ "notify_if_error": {}
956
+ },
957
+ "enums": {
958
+ "event": [
959
+ "bootup"
960
+ ],
961
+ "operation_type": [
962
+ "script"
963
+ ],
964
+ "enable": [
965
+ true
966
+ ]
967
+ },
968
+ "sources": [
969
+ "standalone/root-window.ts"
970
+ ],
971
+ "hubConfirmed": []
972
+ },
973
+ {
974
+ "api": "SYNO.Core.EventScheduler.Root",
975
+ "method": "create",
976
+ "version": 1,
977
+ "dsm": {
978
+ "7.2": "unverified",
979
+ "7.3": "unverified",
980
+ "7.4": "unverified"
981
+ },
982
+ "parameters": {
983
+ "task_name": {},
984
+ "event": {},
985
+ "owner": {},
986
+ "enable": {},
987
+ "depend_on_task": {},
988
+ "operation_type": {},
989
+ "operation": {},
990
+ "description": {},
991
+ "notify_mail": {},
992
+ "notify_enable": {},
993
+ "notify_if_error": {}
994
+ },
995
+ "enums": {
996
+ "event": [
997
+ "bootup"
998
+ ],
999
+ "operation_type": [
1000
+ "script"
1001
+ ],
1002
+ "enable": [
1003
+ true
1004
+ ]
1005
+ },
1006
+ "sources": [
1007
+ "standalone/root-window.ts"
1008
+ ],
1009
+ "hubConfirmed": []
1010
+ },
1011
+ {
1012
+ "api": "SYNO.Core.EventScheduler",
1013
+ "method": "get",
1014
+ "version": 1,
1015
+ "dsm": {
1016
+ "7.2": "unverified",
1017
+ "7.3": "confirmed",
1018
+ "7.4": "unverified"
1019
+ },
1020
+ "parameters": {
1021
+ "task_name": {}
1022
+ },
1023
+ "sources": [
1024
+ "standalone/root-window.ts",
1025
+ "host/dsm-client.ts"
1026
+ ],
1027
+ "hubConfirmed": []
1028
+ },
1029
+ {
1030
+ "api": "SYNO.Core.EventScheduler",
1031
+ "method": "delete",
1032
+ "version": 1,
1033
+ "dsm": {
1034
+ "7.2": "unverified",
1035
+ "7.3": "unverified",
1036
+ "7.4": "unverified"
1037
+ },
1038
+ "parameters": {
1039
+ "task_name": {}
1040
+ },
1041
+ "sources": [
1042
+ "standalone/root-window.ts"
1043
+ ],
1044
+ "hubConfirmed": []
1045
+ },
1046
+ {
1047
+ "api": "SYNO.Core.EventScheduler",
1048
+ "method": "run",
1049
+ "version": 1,
1050
+ "dsm": {
1051
+ "7.2": "unverified",
1052
+ "7.3": "unverified",
1053
+ "7.4": "unverified"
1054
+ },
1055
+ "parameters": {
1056
+ "task_name": {}
1057
+ },
1058
+ "sources": [
1059
+ "standalone/root-window.ts"
1060
+ ],
1061
+ "hubConfirmed": []
1062
+ }
1063
+ ],
1064
+ "sourceAudit": {
1065
+ "build-spk/share-combobox.ts": "797cd3eea347e7fe57946f9584f725d6faef79fe9c56b690e1199ea7489fa973",
1066
+ "build-spk/share-validation.ts": "a51b160cea9bea096e6efb45879abbf6d0dfecf21c761dca7cd06647d44cef62",
1067
+ "cli.ts": "9c93b2e61971fa57167cb9a7b7e7917c953b7ee09d382ad5af648e140110c421",
1068
+ "ctl/cli.ts": "a582aff3a048c14884b4ffae03efdb50142ca7d769feae97f0f9b0d11d66d6da",
1069
+ "ctl/external.ts": "b2da38ba89fcda1a82cf5caeaa2a3e6e2bf8a340600d1b6a41238eab9bf29147",
1070
+ "ctl/flows.ts": "76a7b8c2e3991687e693797b7e02aae5c7e35d9a2f07220f1d223354c38e3469",
1071
+ "ctl/service.ts": "97bb151b02d9a5925c078ee1daad0aad676d22574a889af82a2dd05f88b2eb5e",
1072
+ "deploy/deploy.ts": "3f593232e8e95d029f1389d16a13127baf51ef1f381211d8be2fde5c46759f1b",
1073
+ "deploy/identity.ts": "4822596d8b6e170f8aa4293bd877eb27bc549cb16f720b364e543d8037bd8071",
1074
+ "deploy/plan.ts": "1f772811ca963bdf863462a256d8e810c151e096a55a91a753bd5bf855921536",
1075
+ "deploy/spk-version.ts": "407a79491ffac8d00ecb9b056ab0b352e08bf6142871fa46f302fd217f98fc24",
1076
+ "e2e/certificates.ts": "e9801e5f4d326d31c3c281e5106f34138493e26cd7f0ad2b1dd3f6a566832389",
1077
+ "e2e/dsm.ts": "407fa489a7fa44a5fa851e4acc019acec582dd3bb02fa4f0e4c6f2f82d1d92da",
1078
+ "error-registry.ts": "7a95eb77047d49a245fd36af1c048c0c1b0f5121db282030d7dc1dbddb61616a",
1079
+ "host/catalog-install.ts": "bcad35a65292ab97544d12a945733b01648115c992b7e58a7bea9363dad8597d",
1080
+ "host/container-pull.ts": "c8c772d2f0b8d2f72d893de9e3b3ca75b541e86929ababb579b8f2be9a6dbbfd",
1081
+ "host/dsm-client.ts": "66e4d4586273cb4deadcc32be490686f42bb11706679e32d04067e8b0bbdd66a",
1082
+ "host/dsm-compound.ts": "5674b6f11d2b36a86a97ac7edf590abb34bd72f441c1f43ab057a43cfb5d7e88",
1083
+ "host/dsm-port-profile.ts": "9ebd06bbbc918267ef2d8a4ff9737b9d35579e45224dd4de362389921446ae8d",
1084
+ "host/package-commands.ts": "f65ddbc2ed9555e202440ef386d8f2a4041091bf20c120861ed3417b3b1091b1",
1085
+ "host/port-info-lookup.ts": "b7af19dd8194bc424eb2100ce5953cf0737e8158da373e93b66627c6a7028c8e",
1086
+ "host/port-info.ts": "9ab70c37860df681bee70039aebda9ad974fbd2e200fc2741daf9aacf7943905",
1087
+ "host/share-lookup.ts": "c158baffc774cb7b5b36a82b633bc48f7b8522f67972ef09ab1a15a8b4609196",
1088
+ "host/share-permission-lookup.ts": "c0af02102941fc1d36a72fe6dd7afc3a1cfffdb92dc69012455da0342c0beb0e",
1089
+ "host/share-permission.ts": "0e7fda0bee7dd050529ba5961a701759b24961fdcc42a7e68cd70c0704775ff5",
1090
+ "host/types.ts": "d6468b2c4ea0905fd6a12945b7ab784379f854f9205d59e7e118566561bf2152",
1091
+ "info.ts": "a71f6d13531f3eb833bb252146bda1f5025bc04c890e3bc91d5486f194e09214",
1092
+ "log.ts": "f33ed68df27eac5c2ab4f8b2482a6d4e39107c673d4a2bf144bb9f9a154e1848",
1093
+ "nas/auth.ts": "289dcb5121690cbadd2ac69376db64234973c55fc7351b1fb8b15424d35d2c9c",
1094
+ "nas/connection.ts": "e7a2eafda8fa04203c70449ff3836795adaccb3c57bc86bc1458887e424783ad",
1095
+ "nas/credentials.ts": "14e539d2e6d257fcaa1ebde254ae82f1794db4122c77bdfaf22da1aed7b24843",
1096
+ "nas/http.ts": "00464e38218d2fe0c7185c910a4c1c796a1451996edd19aa34e5193919c57b4a",
1097
+ "nas/store.ts": "b9c5c4d670afd3d63723c27c8271470e3af8a69afb9b3910297caafa747298e4",
1098
+ "nas/timeouts.ts": "4cc1347243b43af404a7e46603395768cb45c634b2e1c199e9f1a446f1ab45cb",
1099
+ "nas/transfers.ts": "e80ded3a930543fff499888dcfcf9dbc00017f34810478bd33f2fe16cc5a699d",
1100
+ "nas/transport.ts": "3d6ac6d58903544d2158c518be88b186f1642ef1e7039f782b3d5d4614e540a3",
1101
+ "runtime/executor-scope-task.ts": "f8717a424b9f29323e4a5720eef5688db42e2caa14c70489641907c758b3a39b",
1102
+ "runtime/executor-tasks.ts": "017a58d65686b8e90f17c6a18ad3923b3e1c7b3b68ce6ea23db3bd0f8f066f18",
1103
+ "runtime/operation-budget.ts": "126a43530d9c659f2667ba10b2c7f718373f1e6a3b97374c2eaa8b75b942ce06",
1104
+ "runtime/sdk-timeouts.ts": "1b56ac9717d10d604b110120149e363b5bcb57218796acf98a64b6b4fba68339",
1105
+ "standalone/install-ports.ts": "1b317071803f127b600a5324ac7952d28db9910af25210f139bbf430a3c135ee",
1106
+ "standalone/manifest.ts": "cd386c0d54129f61d9f20aaf919d7d8cc63061ce5ef120553c1cd31ff3ddb077",
1107
+ "standalone/portal-window.ts": "bc0a16a73ff4de4acee5f5820dbad48c709a6c53d48670a98d8b23f9009650c9",
1108
+ "standalone/root-window.ts": "2b3f8f3dd1c77963d9485b16739a953ecedf2019939b4b5b608cd7ac61232231"
1109
+ },
1110
+ "evidence": {
1111
+ "hub": {
1112
+ "kind": "local-openapi-comparison",
1113
+ "date": "2026-11-05",
1114
+ "description": "Only names and enum membership were compared. No descriptions, source paths or examples were copied. Missing release schemas and undocumented enum domains remain unverified."
1115
+ },
1116
+ "readOnly": {
1117
+ "dsm": "7.3.2",
1118
+ "date": "2026-11-05",
1119
+ "description": "Successful read-only requests for the operations marked confirmed on 7.3. No write operations were probed. Acceptance does not prove pagination semantics or validate omitted parameters."
1120
+ },
1121
+ "unavailable": {
1122
+ "dsm": "7.4.1",
1123
+ "date": "2026-11-05",
1124
+ "reason": "Read-only target connection timed out; live verification skipped."
1125
+ }
1126
+ }
1127
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "dsm-package.schema.json",
4
+ "title": "DSM package manifest",
5
+ "description": "Editor schema for schema 2 gateway HTTPS policy; CLI check validates the complete package manifest",
6
+ "type": "object",
7
+ "required": ["schema"],
8
+ "properties": {
9
+ "schema": {"type": "integer", "const": 2},
10
+ "identity_gateway": {"$ref": "identity-gateway.v1.schema.json"}
11
+ },
12
+ "additionalProperties": true
13
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "identity-gateway.v1.schema.json",
4
+ "title": "Identity gateway HTTPS policy",
5
+ "description": "Editor schema for identity_gateway HTTPS policy; CLI check validates the complete gateway declaration and selected SDK capabilities",
6
+ "type": "object",
7
+ "properties": {
8
+ "secure_context": {
9
+ "type": "string",
10
+ "enum": ["required"],
11
+ "description": "Require an HTTPS browser origin; HTTP document navigations show localized guidance, other App requests receive https_required; omit to retain HTTP support"
12
+ }
13
+ },
14
+ "additionalProperties": true
15
+ }