losant_rest 1.20.0 → 1.20.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -292,6 +292,141 @@
292
292
  ],
293
293
  "additionalProperties": false
294
294
  },
295
+ {
296
+ "type": "object",
297
+ "properties": {
298
+ "key": {
299
+ "type": "string",
300
+ "maxLength": 1024
301
+ },
302
+ "type": {
303
+ "type": "string",
304
+ "enum": [
305
+ "beckhoff"
306
+ ]
307
+ },
308
+ "config": {
309
+ "type": "object",
310
+ "properties": {
311
+ "localAmsNetId": {
312
+ "type": "string",
313
+ "maxLength": 1024
314
+ },
315
+ "localAdsPort": {
316
+ "type": "string",
317
+ "maxLength": 1024
318
+ },
319
+ "targetAmsNetId": {
320
+ "type": "string",
321
+ "maxLength": 1024
322
+ },
323
+ "targetAdsPort": {
324
+ "type": "string",
325
+ "maxLength": 1024
326
+ },
327
+ "routerHost": {
328
+ "type": "string",
329
+ "maxLength": 1024
330
+ },
331
+ "routerTcpPort": {
332
+ "type": "string",
333
+ "maxLength": 1024
334
+ },
335
+ "cycleTimeMs": {
336
+ "type": "integer",
337
+ "minimum": 10,
338
+ "maximum": 3600000
339
+ },
340
+ "subscriptions": {
341
+ "type": "array",
342
+ "items": {
343
+ "type": "object",
344
+ "properties": {
345
+ "name": {
346
+ "type": "string",
347
+ "maxLength": 1024
348
+ }
349
+ }
350
+ },
351
+ "maxItems": 100
352
+ }
353
+ },
354
+ "additionalProperties": false
355
+ },
356
+ "meta": {
357
+ "type": "object",
358
+ "properties": {
359
+ "category": {
360
+ "type": "string",
361
+ "enum": [
362
+ "trigger"
363
+ ]
364
+ },
365
+ "name": {
366
+ "type": "string",
367
+ "enum": [
368
+ "beckhoff"
369
+ ]
370
+ },
371
+ "label": {
372
+ "type": "string",
373
+ "minLength": 1,
374
+ "maxLength": 255
375
+ },
376
+ "x": {
377
+ "type": "number"
378
+ },
379
+ "y": {
380
+ "type": "number"
381
+ },
382
+ "uiId": {
383
+ "type": "string",
384
+ "maxLength": 48
385
+ },
386
+ "description": {
387
+ "type": "string",
388
+ "maxLength": 32767
389
+ },
390
+ "icon": {
391
+ "type": "string",
392
+ "maxLength": 1024
393
+ },
394
+ "color": {
395
+ "type": "string",
396
+ "maxLength": 1024
397
+ },
398
+ "inputCount": {
399
+ "type": "number"
400
+ },
401
+ "outputCount": {
402
+ "type": "number"
403
+ },
404
+ "id": {
405
+ "type": "string",
406
+ "maxLength": 48
407
+ }
408
+ },
409
+ "additionalProperties": false
410
+ },
411
+ "outputIds": {
412
+ "type": "array",
413
+ "items": {
414
+ "type": "array",
415
+ "items": {
416
+ "type": "string",
417
+ "maxLength": 48,
418
+ "minLength": 1
419
+ },
420
+ "maxItems": 100
421
+ },
422
+ "maxItems": 100
423
+ }
424
+ },
425
+ "required": [
426
+ "type"
427
+ ],
428
+ "additionalProperties": false
429
+ },
295
430
  {
296
431
  "type": "object",
297
432
  "properties": {
@@ -561,6 +696,9 @@
561
696
  "once",
562
697
  "each"
563
698
  ]
699
+ },
700
+ "allowInvalid": {
701
+ "type": "boolean"
564
702
  }
565
703
  },
566
704
  "additionalProperties": false
@@ -3179,6 +3317,141 @@
3179
3317
  ],
3180
3318
  "additionalProperties": false
3181
3319
  },
3320
+ {
3321
+ "type": "object",
3322
+ "properties": {
3323
+ "key": {
3324
+ "type": "string",
3325
+ "maxLength": 1024
3326
+ },
3327
+ "type": {
3328
+ "type": "string",
3329
+ "enum": [
3330
+ "beckhoff"
3331
+ ]
3332
+ },
3333
+ "config": {
3334
+ "type": "object",
3335
+ "properties": {
3336
+ "localAmsNetId": {
3337
+ "type": "string",
3338
+ "maxLength": 1024
3339
+ },
3340
+ "localAdsPort": {
3341
+ "type": "string",
3342
+ "maxLength": 1024
3343
+ },
3344
+ "targetAmsNetId": {
3345
+ "type": "string",
3346
+ "maxLength": 1024
3347
+ },
3348
+ "targetAdsPort": {
3349
+ "type": "string",
3350
+ "maxLength": 1024
3351
+ },
3352
+ "routerHost": {
3353
+ "type": "string",
3354
+ "maxLength": 1024
3355
+ },
3356
+ "routerTcpPort": {
3357
+ "type": "string",
3358
+ "maxLength": 1024
3359
+ },
3360
+ "cycleTimeMs": {
3361
+ "type": "integer",
3362
+ "minimum": 10,
3363
+ "maximum": 3600000
3364
+ },
3365
+ "subscriptions": {
3366
+ "type": "array",
3367
+ "items": {
3368
+ "type": "object",
3369
+ "properties": {
3370
+ "name": {
3371
+ "type": "string",
3372
+ "maxLength": 1024
3373
+ }
3374
+ }
3375
+ },
3376
+ "maxItems": 100
3377
+ }
3378
+ },
3379
+ "additionalProperties": false
3380
+ },
3381
+ "meta": {
3382
+ "type": "object",
3383
+ "properties": {
3384
+ "category": {
3385
+ "type": "string",
3386
+ "enum": [
3387
+ "trigger"
3388
+ ]
3389
+ },
3390
+ "name": {
3391
+ "type": "string",
3392
+ "enum": [
3393
+ "beckhoff"
3394
+ ]
3395
+ },
3396
+ "label": {
3397
+ "type": "string",
3398
+ "minLength": 1,
3399
+ "maxLength": 255
3400
+ },
3401
+ "x": {
3402
+ "type": "number"
3403
+ },
3404
+ "y": {
3405
+ "type": "number"
3406
+ },
3407
+ "uiId": {
3408
+ "type": "string",
3409
+ "maxLength": 48
3410
+ },
3411
+ "description": {
3412
+ "type": "string",
3413
+ "maxLength": 32767
3414
+ },
3415
+ "icon": {
3416
+ "type": "string",
3417
+ "maxLength": 1024
3418
+ },
3419
+ "color": {
3420
+ "type": "string",
3421
+ "maxLength": 1024
3422
+ },
3423
+ "inputCount": {
3424
+ "type": "number"
3425
+ },
3426
+ "outputCount": {
3427
+ "type": "number"
3428
+ },
3429
+ "id": {
3430
+ "type": "string",
3431
+ "maxLength": 48
3432
+ }
3433
+ },
3434
+ "additionalProperties": false
3435
+ },
3436
+ "outputIds": {
3437
+ "type": "array",
3438
+ "items": {
3439
+ "type": "array",
3440
+ "items": {
3441
+ "type": "string",
3442
+ "maxLength": 48,
3443
+ "minLength": 1
3444
+ },
3445
+ "maxItems": 100
3446
+ },
3447
+ "maxItems": 100
3448
+ }
3449
+ },
3450
+ "required": [
3451
+ "type"
3452
+ ],
3453
+ "additionalProperties": false
3454
+ },
3182
3455
  {
3183
3456
  "type": "object",
3184
3457
  "properties": {
@@ -3448,6 +3721,9 @@
3448
3721
  "once",
3449
3722
  "each"
3450
3723
  ]
3724
+ },
3725
+ "allowInvalid": {
3726
+ "type": "boolean"
3451
3727
  }
3452
3728
  },
3453
3729
  "additionalProperties": false