losant_rest 1.15.1 → 1.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/docs/_schemas.md +12170 -4718
  4. data/docs/application.md +3 -4
  5. data/docs/applicationDashboard.md +43 -0
  6. data/docs/applications.md +3 -2
  7. data/docs/devices.md +40 -0
  8. data/docs/flows.md +38 -0
  9. data/docs/instanceCustomNode.md +222 -0
  10. data/docs/instanceCustomNodes.md +91 -0
  11. data/lib/losant_rest/application.rb +1 -1
  12. data/lib/losant_rest/application_api_token.rb +1 -1
  13. data/lib/losant_rest/application_api_tokens.rb +1 -1
  14. data/lib/losant_rest/application_certificate.rb +1 -1
  15. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  16. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  17. data/lib/losant_rest/application_certificates.rb +1 -1
  18. data/lib/losant_rest/application_dashboard.rb +50 -1
  19. data/lib/losant_rest/application_dashboards.rb +1 -1
  20. data/lib/losant_rest/application_key.rb +1 -1
  21. data/lib/losant_rest/application_keys.rb +1 -1
  22. data/lib/losant_rest/application_template.rb +1 -1
  23. data/lib/losant_rest/application_templates.rb +1 -1
  24. data/lib/losant_rest/applications.rb +1 -1
  25. data/lib/losant_rest/audit_log.rb +1 -1
  26. data/lib/losant_rest/audit_logs.rb +1 -1
  27. data/lib/losant_rest/auth.rb +1 -1
  28. data/lib/losant_rest/client.rb +11 -3
  29. data/lib/losant_rest/dashboard.rb +1 -1
  30. data/lib/losant_rest/dashboards.rb +1 -1
  31. data/lib/losant_rest/data.rb +1 -1
  32. data/lib/losant_rest/data_table.rb +1 -1
  33. data/lib/losant_rest/data_table_row.rb +1 -1
  34. data/lib/losant_rest/data_table_rows.rb +1 -1
  35. data/lib/losant_rest/data_tables.rb +1 -1
  36. data/lib/losant_rest/device.rb +1 -1
  37. data/lib/losant_rest/device_recipe.rb +1 -1
  38. data/lib/losant_rest/device_recipes.rb +1 -1
  39. data/lib/losant_rest/devices.rb +50 -1
  40. data/lib/losant_rest/edge_deployment.rb +1 -1
  41. data/lib/losant_rest/edge_deployments.rb +1 -1
  42. data/lib/losant_rest/embedded_deployment.rb +1 -1
  43. data/lib/losant_rest/embedded_deployments.rb +1 -1
  44. data/lib/losant_rest/error.rb +1 -1
  45. data/lib/losant_rest/event.rb +1 -1
  46. data/lib/losant_rest/events.rb +1 -1
  47. data/lib/losant_rest/experience.rb +1 -1
  48. data/lib/losant_rest/experience_domain.rb +1 -1
  49. data/lib/losant_rest/experience_domains.rb +1 -1
  50. data/lib/losant_rest/experience_endpoint.rb +1 -1
  51. data/lib/losant_rest/experience_endpoints.rb +1 -1
  52. data/lib/losant_rest/experience_group.rb +1 -1
  53. data/lib/losant_rest/experience_groups.rb +1 -1
  54. data/lib/losant_rest/experience_slug.rb +1 -1
  55. data/lib/losant_rest/experience_slugs.rb +1 -1
  56. data/lib/losant_rest/experience_user.rb +1 -1
  57. data/lib/losant_rest/experience_users.rb +1 -1
  58. data/lib/losant_rest/experience_version.rb +1 -1
  59. data/lib/losant_rest/experience_versions.rb +1 -1
  60. data/lib/losant_rest/experience_view.rb +1 -1
  61. data/lib/losant_rest/experience_views.rb +1 -1
  62. data/lib/losant_rest/file.rb +1 -1
  63. data/lib/losant_rest/files.rb +1 -1
  64. data/lib/losant_rest/flow.rb +1 -1
  65. data/lib/losant_rest/flow_version.rb +1 -1
  66. data/lib/losant_rest/flow_versions.rb +1 -1
  67. data/lib/losant_rest/flows.rb +45 -1
  68. data/lib/losant_rest/instance.rb +1 -1
  69. data/lib/losant_rest/instance_api_token.rb +1 -1
  70. data/lib/losant_rest/instance_api_tokens.rb +1 -1
  71. data/lib/losant_rest/instance_custom_node.rb +282 -0
  72. data/lib/losant_rest/instance_custom_nodes.rb +136 -0
  73. data/lib/losant_rest/instance_member.rb +1 -1
  74. data/lib/losant_rest/instance_members.rb +1 -1
  75. data/lib/losant_rest/instance_org.rb +1 -1
  76. data/lib/losant_rest/instance_org_invite.rb +1 -1
  77. data/lib/losant_rest/instance_org_invites.rb +1 -1
  78. data/lib/losant_rest/instance_org_member.rb +1 -1
  79. data/lib/losant_rest/instance_org_members.rb +1 -1
  80. data/lib/losant_rest/instance_orgs.rb +1 -1
  81. data/lib/losant_rest/instances.rb +1 -1
  82. data/lib/losant_rest/integration.rb +1 -1
  83. data/lib/losant_rest/integrations.rb +1 -1
  84. data/lib/losant_rest/me.rb +1 -1
  85. data/lib/losant_rest/notebook.rb +1 -1
  86. data/lib/losant_rest/notebooks.rb +1 -1
  87. data/lib/losant_rest/org.rb +1 -1
  88. data/lib/losant_rest/org_invites.rb +1 -1
  89. data/lib/losant_rest/orgs.rb +1 -1
  90. data/lib/losant_rest/user_api_token.rb +1 -1
  91. data/lib/losant_rest/user_api_tokens.rb +1 -1
  92. data/lib/losant_rest/utils.rb +1 -1
  93. data/lib/losant_rest/version.rb +2 -2
  94. data/lib/losant_rest/webhook.rb +1 -1
  95. data/lib/losant_rest/webhooks.rb +1 -1
  96. data/lib/losant_rest.rb +3 -1
  97. data/schemas/apiTokenPost.json +13 -1
  98. data/schemas/application.json +1 -1
  99. data/schemas/applicationApplyTemplatePatch.json +5 -0
  100. data/schemas/applicationClonePost.json +5 -0
  101. data/schemas/applicationCreationByTemplateResult.json +1 -1
  102. data/schemas/applicationDashboardPost.json +162 -3
  103. data/schemas/applicationExportPost.json +4 -0
  104. data/schemas/applicationImportOptions.json +43 -0
  105. data/schemas/applicationPatch.json +1 -1
  106. data/schemas/applicationPost.json +1 -1
  107. data/schemas/applications.json +1 -1
  108. data/schemas/dashboard.json +162 -3
  109. data/schemas/dashboardPatch.json +162 -3
  110. data/schemas/dashboardPost.json +162 -3
  111. data/schemas/dashboardSendReport.json +20 -3
  112. data/schemas/dashboards.json +162 -3
  113. data/schemas/deviceNamesResponse.json +36 -0
  114. data/schemas/experienceBootstrapOptions.json +1 -1
  115. data/schemas/experienceLinkedResources.json +485 -5
  116. data/schemas/experienceSlug.json +1 -1
  117. data/schemas/experienceSlugPatch.json +1 -1
  118. data/schemas/experienceSlugPost.json +1 -1
  119. data/schemas/experienceSlugs.json +1 -1
  120. data/schemas/experienceUser.json +2 -1
  121. data/schemas/experienceUsers.json +2 -1
  122. data/schemas/flow.json +173 -0
  123. data/schemas/flowPatch.json +174 -0
  124. data/schemas/flowPost.json +174 -0
  125. data/schemas/flowVersion.json +312 -5
  126. data/schemas/flowVersionPost.json +156 -0
  127. data/schemas/flowVersions.json +312 -5
  128. data/schemas/flows.json +173 -0
  129. data/schemas/flowsImportPost.json +339 -2
  130. data/schemas/flowsImportResult.json +485 -5
  131. data/schemas/githubLogin.json +13 -1
  132. data/schemas/instanceCustomNode.json +589 -0
  133. data/schemas/instanceCustomNodePatch.json +674 -0
  134. data/schemas/instanceCustomNodePost.json +679 -0
  135. data/schemas/instanceCustomNodes.json +634 -0
  136. data/schemas/instanceMember.json +2 -2
  137. data/schemas/instanceMembers.json +2 -2
  138. data/schemas/instanceOrg.json +8 -0
  139. data/schemas/instanceOrgMember.json +2 -2
  140. data/schemas/instanceOrgs.json +8 -0
  141. data/schemas/integration.json +30 -2
  142. data/schemas/integrationPatch.json +30 -2
  143. data/schemas/integrationPost.json +30 -2
  144. data/schemas/integrations.json +30 -2
  145. data/schemas/me.json +2 -2
  146. data/schemas/mePatch.json +0 -1
  147. data/schemas/org.json +2 -2
  148. data/schemas/orgs.json +2 -2
  149. data/schemas/paletteResponse.json +785 -0
  150. data/schemas/userCredentials.json +13 -1
  151. data/schemas/userPost.json +13 -2
  152. metadata +13 -2
@@ -412,11 +412,28 @@
412
412
  "type": "string",
413
413
  "maxLength": 32767
414
414
  },
415
+ "shortDescription": {
416
+ "type": "string",
417
+ "maxLength": 1024
418
+ },
415
419
  "iconData": {
416
420
  "type": "string",
417
421
  "maxLength": 32767,
418
422
  "pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
419
423
  },
424
+ "docsUrl": {
425
+ "type": "string",
426
+ "maxLength": 1024
427
+ },
428
+ "category": {
429
+ "type": "string",
430
+ "enum": [
431
+ "data",
432
+ "experience",
433
+ "logic",
434
+ "output"
435
+ ]
436
+ },
420
437
  "enabled": {
421
438
  "type": "boolean"
422
439
  },
@@ -489,6 +506,7 @@
489
506
  "deviceIdsTagsDisconnect",
490
507
  "eeaInit",
491
508
  "flowError",
509
+ "azureEventHub",
492
510
  "googlePubSub",
493
511
  "meridian",
494
512
  "mqtt",
@@ -2156,6 +2174,161 @@
2156
2174
  ],
2157
2175
  "additionalProperties": false
2158
2176
  },
2177
+ {
2178
+ "type": "object",
2179
+ "properties": {
2180
+ "key": {
2181
+ "type": "string",
2182
+ "maxLength": 1024
2183
+ },
2184
+ "type": {
2185
+ "type": "string",
2186
+ "enum": [
2187
+ "snmpTrap"
2188
+ ]
2189
+ },
2190
+ "config": {
2191
+ "type": "object",
2192
+ "properties": {
2193
+ "udpPort": {
2194
+ "type": "string",
2195
+ "maxLength": 5
2196
+ },
2197
+ "snmpTrapConfig": {
2198
+ "type": "object",
2199
+ "properties": {
2200
+ "community": {
2201
+ "type": "string",
2202
+ "maxLength": 1024
2203
+ },
2204
+ "user": {
2205
+ "type": "object",
2206
+ "properties": {
2207
+ "name": {
2208
+ "type": "string",
2209
+ "maxLength": 1024
2210
+ },
2211
+ "securityLevel": {
2212
+ "type": "string",
2213
+ "enum": [
2214
+ "none",
2215
+ "auth",
2216
+ "authAndEncrypt"
2217
+ ]
2218
+ },
2219
+ "authMethod": {
2220
+ "type": "string",
2221
+ "enum": [
2222
+ "sha",
2223
+ "md5"
2224
+ ]
2225
+ },
2226
+ "authKey": {
2227
+ "type": "string",
2228
+ "maxLength": 1024
2229
+ },
2230
+ "encryptionMethod": {
2231
+ "type": "string",
2232
+ "enum": [
2233
+ "aes",
2234
+ "des"
2235
+ ]
2236
+ },
2237
+ "encryptionKey": {
2238
+ "type": "string",
2239
+ "maxLength": 1024
2240
+ }
2241
+ },
2242
+ "required": [
2243
+ "name",
2244
+ "securityLevel"
2245
+ ],
2246
+ "additionalProperties": false
2247
+ }
2248
+ },
2249
+ "additionalProperties": false
2250
+ }
2251
+ },
2252
+ "required": [
2253
+ "udpPort",
2254
+ "snmpTrapConfig"
2255
+ ],
2256
+ "additionalProperties": false
2257
+ },
2258
+ "meta": {
2259
+ "type": "object",
2260
+ "properties": {
2261
+ "category": {
2262
+ "type": "string",
2263
+ "enum": [
2264
+ "trigger"
2265
+ ]
2266
+ },
2267
+ "name": {
2268
+ "type": "string",
2269
+ "enum": [
2270
+ "snmpTrap"
2271
+ ]
2272
+ },
2273
+ "label": {
2274
+ "type": "string",
2275
+ "minLength": 1,
2276
+ "maxLength": 255
2277
+ },
2278
+ "x": {
2279
+ "type": "number"
2280
+ },
2281
+ "y": {
2282
+ "type": "number"
2283
+ },
2284
+ "uiId": {
2285
+ "type": "string",
2286
+ "maxLength": 48
2287
+ },
2288
+ "description": {
2289
+ "type": "string",
2290
+ "maxLength": 32767
2291
+ },
2292
+ "icon": {
2293
+ "type": "string",
2294
+ "maxLength": 1024
2295
+ },
2296
+ "color": {
2297
+ "type": "string",
2298
+ "maxLength": 1024
2299
+ },
2300
+ "inputCount": {
2301
+ "type": "number"
2302
+ },
2303
+ "outputCount": {
2304
+ "type": "number"
2305
+ },
2306
+ "id": {
2307
+ "type": "string",
2308
+ "maxLength": 48
2309
+ }
2310
+ },
2311
+ "additionalProperties": false
2312
+ },
2313
+ "outputIds": {
2314
+ "type": "array",
2315
+ "items": {
2316
+ "type": "array",
2317
+ "items": {
2318
+ "type": "string",
2319
+ "maxLength": 48,
2320
+ "minLength": 1
2321
+ },
2322
+ "maxItems": 100
2323
+ },
2324
+ "maxItems": 100
2325
+ }
2326
+ },
2327
+ "required": [
2328
+ "type"
2329
+ ],
2330
+ "additionalProperties": false
2331
+ },
2159
2332
  {
2160
2333
  "type": "object",
2161
2334
  "properties": {
@@ -2973,6 +3146,7 @@
2973
3146
  "deviceIdsTagsDisconnect",
2974
3147
  "eeaInit",
2975
3148
  "flowError",
3149
+ "azureEventHub",
2976
3150
  "googlePubSub",
2977
3151
  "meridian",
2978
3152
  "mqtt",
@@ -4640,6 +4814,161 @@
4640
4814
  ],
4641
4815
  "additionalProperties": false
4642
4816
  },
4817
+ {
4818
+ "type": "object",
4819
+ "properties": {
4820
+ "key": {
4821
+ "type": "string",
4822
+ "maxLength": 1024
4823
+ },
4824
+ "type": {
4825
+ "type": "string",
4826
+ "enum": [
4827
+ "snmpTrap"
4828
+ ]
4829
+ },
4830
+ "config": {
4831
+ "type": "object",
4832
+ "properties": {
4833
+ "udpPort": {
4834
+ "type": "string",
4835
+ "maxLength": 5
4836
+ },
4837
+ "snmpTrapConfig": {
4838
+ "type": "object",
4839
+ "properties": {
4840
+ "community": {
4841
+ "type": "string",
4842
+ "maxLength": 1024
4843
+ },
4844
+ "user": {
4845
+ "type": "object",
4846
+ "properties": {
4847
+ "name": {
4848
+ "type": "string",
4849
+ "maxLength": 1024
4850
+ },
4851
+ "securityLevel": {
4852
+ "type": "string",
4853
+ "enum": [
4854
+ "none",
4855
+ "auth",
4856
+ "authAndEncrypt"
4857
+ ]
4858
+ },
4859
+ "authMethod": {
4860
+ "type": "string",
4861
+ "enum": [
4862
+ "sha",
4863
+ "md5"
4864
+ ]
4865
+ },
4866
+ "authKey": {
4867
+ "type": "string",
4868
+ "maxLength": 1024
4869
+ },
4870
+ "encryptionMethod": {
4871
+ "type": "string",
4872
+ "enum": [
4873
+ "aes",
4874
+ "des"
4875
+ ]
4876
+ },
4877
+ "encryptionKey": {
4878
+ "type": "string",
4879
+ "maxLength": 1024
4880
+ }
4881
+ },
4882
+ "required": [
4883
+ "name",
4884
+ "securityLevel"
4885
+ ],
4886
+ "additionalProperties": false
4887
+ }
4888
+ },
4889
+ "additionalProperties": false
4890
+ }
4891
+ },
4892
+ "required": [
4893
+ "udpPort",
4894
+ "snmpTrapConfig"
4895
+ ],
4896
+ "additionalProperties": false
4897
+ },
4898
+ "meta": {
4899
+ "type": "object",
4900
+ "properties": {
4901
+ "category": {
4902
+ "type": "string",
4903
+ "enum": [
4904
+ "trigger"
4905
+ ]
4906
+ },
4907
+ "name": {
4908
+ "type": "string",
4909
+ "enum": [
4910
+ "snmpTrap"
4911
+ ]
4912
+ },
4913
+ "label": {
4914
+ "type": "string",
4915
+ "minLength": 1,
4916
+ "maxLength": 255
4917
+ },
4918
+ "x": {
4919
+ "type": "number"
4920
+ },
4921
+ "y": {
4922
+ "type": "number"
4923
+ },
4924
+ "uiId": {
4925
+ "type": "string",
4926
+ "maxLength": 48
4927
+ },
4928
+ "description": {
4929
+ "type": "string",
4930
+ "maxLength": 32767
4931
+ },
4932
+ "icon": {
4933
+ "type": "string",
4934
+ "maxLength": 1024
4935
+ },
4936
+ "color": {
4937
+ "type": "string",
4938
+ "maxLength": 1024
4939
+ },
4940
+ "inputCount": {
4941
+ "type": "number"
4942
+ },
4943
+ "outputCount": {
4944
+ "type": "number"
4945
+ },
4946
+ "id": {
4947
+ "type": "string",
4948
+ "maxLength": 48
4949
+ }
4950
+ },
4951
+ "additionalProperties": false
4952
+ },
4953
+ "outputIds": {
4954
+ "type": "array",
4955
+ "items": {
4956
+ "type": "array",
4957
+ "items": {
4958
+ "type": "string",
4959
+ "maxLength": 48,
4960
+ "minLength": 1
4961
+ },
4962
+ "maxItems": 100
4963
+ },
4964
+ "maxItems": 100
4965
+ }
4966
+ },
4967
+ "required": [
4968
+ "type"
4969
+ ],
4970
+ "additionalProperties": false
4971
+ },
4643
4972
  {
4644
4973
  "type": "object",
4645
4974
  "properties": {
@@ -5333,11 +5662,6 @@
5333
5662
  "type": "string",
5334
5663
  "maxLength": 32767
5335
5664
  },
5336
- "iconData": {
5337
- "type": "string",
5338
- "maxLength": 32767,
5339
- "pattern": "^data:image/(jpg|jpeg|png|svg\\+xml);base64,[0-9a-zA-Z+/=]*$"
5340
- },
5341
5665
  "flowClass": {
5342
5666
  "type": "string",
5343
5667
  "enum": [
@@ -5406,6 +5730,7 @@
5406
5730
  "deviceIdsTagsDisconnect",
5407
5731
  "eeaInit",
5408
5732
  "flowError",
5733
+ "azureEventHub",
5409
5734
  "googlePubSub",
5410
5735
  "meridian",
5411
5736
  "mqtt",
@@ -7073,6 +7398,161 @@
7073
7398
  ],
7074
7399
  "additionalProperties": false
7075
7400
  },
7401
+ {
7402
+ "type": "object",
7403
+ "properties": {
7404
+ "key": {
7405
+ "type": "string",
7406
+ "maxLength": 1024
7407
+ },
7408
+ "type": {
7409
+ "type": "string",
7410
+ "enum": [
7411
+ "snmpTrap"
7412
+ ]
7413
+ },
7414
+ "config": {
7415
+ "type": "object",
7416
+ "properties": {
7417
+ "udpPort": {
7418
+ "type": "string",
7419
+ "maxLength": 5
7420
+ },
7421
+ "snmpTrapConfig": {
7422
+ "type": "object",
7423
+ "properties": {
7424
+ "community": {
7425
+ "type": "string",
7426
+ "maxLength": 1024
7427
+ },
7428
+ "user": {
7429
+ "type": "object",
7430
+ "properties": {
7431
+ "name": {
7432
+ "type": "string",
7433
+ "maxLength": 1024
7434
+ },
7435
+ "securityLevel": {
7436
+ "type": "string",
7437
+ "enum": [
7438
+ "none",
7439
+ "auth",
7440
+ "authAndEncrypt"
7441
+ ]
7442
+ },
7443
+ "authMethod": {
7444
+ "type": "string",
7445
+ "enum": [
7446
+ "sha",
7447
+ "md5"
7448
+ ]
7449
+ },
7450
+ "authKey": {
7451
+ "type": "string",
7452
+ "maxLength": 1024
7453
+ },
7454
+ "encryptionMethod": {
7455
+ "type": "string",
7456
+ "enum": [
7457
+ "aes",
7458
+ "des"
7459
+ ]
7460
+ },
7461
+ "encryptionKey": {
7462
+ "type": "string",
7463
+ "maxLength": 1024
7464
+ }
7465
+ },
7466
+ "required": [
7467
+ "name",
7468
+ "securityLevel"
7469
+ ],
7470
+ "additionalProperties": false
7471
+ }
7472
+ },
7473
+ "additionalProperties": false
7474
+ }
7475
+ },
7476
+ "required": [
7477
+ "udpPort",
7478
+ "snmpTrapConfig"
7479
+ ],
7480
+ "additionalProperties": false
7481
+ },
7482
+ "meta": {
7483
+ "type": "object",
7484
+ "properties": {
7485
+ "category": {
7486
+ "type": "string",
7487
+ "enum": [
7488
+ "trigger"
7489
+ ]
7490
+ },
7491
+ "name": {
7492
+ "type": "string",
7493
+ "enum": [
7494
+ "snmpTrap"
7495
+ ]
7496
+ },
7497
+ "label": {
7498
+ "type": "string",
7499
+ "minLength": 1,
7500
+ "maxLength": 255
7501
+ },
7502
+ "x": {
7503
+ "type": "number"
7504
+ },
7505
+ "y": {
7506
+ "type": "number"
7507
+ },
7508
+ "uiId": {
7509
+ "type": "string",
7510
+ "maxLength": 48
7511
+ },
7512
+ "description": {
7513
+ "type": "string",
7514
+ "maxLength": 32767
7515
+ },
7516
+ "icon": {
7517
+ "type": "string",
7518
+ "maxLength": 1024
7519
+ },
7520
+ "color": {
7521
+ "type": "string",
7522
+ "maxLength": 1024
7523
+ },
7524
+ "inputCount": {
7525
+ "type": "number"
7526
+ },
7527
+ "outputCount": {
7528
+ "type": "number"
7529
+ },
7530
+ "id": {
7531
+ "type": "string",
7532
+ "maxLength": 48
7533
+ }
7534
+ },
7535
+ "additionalProperties": false
7536
+ },
7537
+ "outputIds": {
7538
+ "type": "array",
7539
+ "items": {
7540
+ "type": "array",
7541
+ "items": {
7542
+ "type": "string",
7543
+ "maxLength": 48,
7544
+ "minLength": 1
7545
+ },
7546
+ "maxItems": 100
7547
+ },
7548
+ "maxItems": 100
7549
+ }
7550
+ },
7551
+ "required": [
7552
+ "type"
7553
+ ],
7554
+ "additionalProperties": false
7555
+ },
7076
7556
  {
7077
7557
  "type": "object",
7078
7558
  "properties": {
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "slug": {
26
26
  "type": "string",
27
- "minLength": 4,
27
+ "minLength": 3,
28
28
  "maxLength": 63,
29
29
  "pattern": "^[0-9a-z-]*$"
30
30
  },
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "slug": {
18
18
  "type": "string",
19
- "minLength": 4,
19
+ "minLength": 3,
20
20
  "maxLength": 63,
21
21
  "pattern": "^[0-9a-z-]*$"
22
22
  }
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "slug": {
18
18
  "type": "string",
19
- "minLength": 4,
19
+ "minLength": 3,
20
20
  "maxLength": 63,
21
21
  "pattern": "^[0-9a-z-]*$"
22
22
  }
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "slug": {
33
33
  "type": "string",
34
- "minLength": 4,
34
+ "minLength": 3,
35
35
  "maxLength": 63,
36
36
  "pattern": "^[0-9a-z-]*$"
37
37
  },
@@ -45,7 +45,8 @@
45
45
  },
46
46
  "avatarUrl": {
47
47
  "type": "string",
48
- "format": "url"
48
+ "format": "uri",
49
+ "maxLength": 1024
49
50
  },
50
51
  "tokenCutoff": {
51
52
  "type": "string",
@@ -52,7 +52,8 @@
52
52
  },
53
53
  "avatarUrl": {
54
54
  "type": "string",
55
- "format": "url"
55
+ "format": "uri",
56
+ "maxLength": 1024
56
57
  },
57
58
  "tokenCutoff": {
58
59
  "type": "string",