Update meshcentral-config-schema.json
Add "deviceMeshRouterLinks" missing type & properties attributes before properties list.
Fausto Gutierrez committed
Jul 27, 2023 at 17:38 UTC
3971b26797b6b90fba0ca177eed58b5bb461796a
1 file changed
+43
-40
meshcentral-config-schema.json
+43
-40
@@ -451,46 +451,49 @@
451
}
452
},
453
"deviceMeshRouterLinks": {
454
- "rdp": { "type": "boolean", "default": true, "description": "Display a RDP link in the device tab when supported." },
455
- "ssh": { "type": "boolean", "default": true, "description": "Display a SSH link in the device tab when supported." },
456
- "scp": { "type": "boolean", "default": true, "description": "Display a SCP link in the device tab when supported." },
457
- "extralinks": {
458
- "type": "array",
459
- "items": {
460
- "type": "object",
461
- "additionalProperties": false,
462
- "required": [ "name", "protocol", "port" ],
463
- "properties": {
464
- "name": {
465
- "description": "Name of the link to be displayed on the web site.",
466
- "type": "string"
467
- },
468
- "protocol": {
469
- "description": "Protocol. Valid values are: custom,http,https,rdp,ssh,scp,mcrdesktop,mcrfiles.",
470
- "type": "string"
471
- },
472
- "port": {
473
- "description": "The port on the remote device.",
474
- "default": 0,
475
- "minimum": 0,
476
- "maximum": 65535,
477
- "type": "integer"
478
- },
479
- "ip": {
480
- "description": "Target IP address. If not specified, the target of the connection is the remote device running the MeshAgent.",
481
- "type": "string"
482
- },
483
- "localport": {
484
- "description": "The local port MeshCentral Router would bind to. By default, a random available port is used.",
485
- "default": 0,
486
- "minimum": 0,
487
- "maximum": 65535,
488
- "type": "integer"
489
- },
490
- "filter": {
491
- "description": "Array of node/<domain>/<id> or mesh/<domain>/<id> or tag:<tag> strings. When set, the link will only show up for the specified devices, device groups or device tag.",
492
- "type": "array",
493
- "items": { "type": "string" }
454
+ "type": "object",
455
+ "properties": {
456
+ "rdp": { "type": "boolean", "default": true, "description": "Display a RDP link in the device tab when supported." },
457
+ "ssh": { "type": "boolean", "default": true, "description": "Display a SSH link in the device tab when supported." },
458
+ "scp": { "type": "boolean", "default": true, "description": "Display a SCP link in the device tab when supported." },
459
+ "extralinks": {
460
+ "type": "array",
461
+ "items": {
462
+ "type": "object",
463
+ "additionalProperties": false,
464
+ "required": [ "name", "protocol", "port" ],
465
+ "properties": {
466
+ "name": {
467
+ "description": "Name of the link to be displayed on the web site.",
468
+ "type": "string"
469
+ },
470
+ "protocol": {
471
+ "description": "Protocol. Valid values are: custom,http,https,rdp,ssh,scp,mcrdesktop,mcrfiles.",
472
+ "type": "string"
473
+ },
474
+ "port": {
475
+ "description": "The port on the remote device.",
476
+ "default": 0,
477
+ "minimum": 0,
478
+ "maximum": 65535,
479
+ "type": "integer"
480
+ },
481
+ "ip": {
482
+ "description": "Target IP address. If not specified, the target of the connection is the remote device running the MeshAgent.",
483
+ "type": "string"
484
+ },
485
+ "localport": {
486
+ "description": "The local port MeshCentral Router would bind to. By default, a random available port is used.",
487
+ "default": 0,
488
+ "minimum": 0,
489
+ "maximum": 65535,
490
+ "type": "integer"
491
+ },
492
+ "filter": {
493
+ "description": "Array of node/<domain>/<id> or mesh/<domain>/<id> or tag:<tag> strings. When set, the link will only show up for the specified devices, device groups or device tag.",
494
+ "type": "array",
495
+ "items": { "type": "string" }
496
+ }
497
}
498
}
499
}