losant_rest 1.13.1 → 1.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +10817 -3660
  3. data/docs/application.md +1 -1
  4. data/docs/device.md +43 -0
  5. data/docs/devices.md +39 -0
  6. data/docs/edgeDeployment.md +49 -0
  7. data/docs/embeddedDeployment.md +49 -0
  8. data/docs/embeddedDeployments.md +215 -0
  9. data/docs/flow.md +3 -3
  10. data/docs/flows.md +2 -2
  11. data/docs/instance.md +4 -2
  12. data/docs/instanceOrg.md +2 -0
  13. data/docs/instanceOrgInvite.md +139 -0
  14. data/docs/instanceOrgInvites.md +96 -0
  15. data/docs/instanceOrgMembers.md +2 -2
  16. data/docs/instanceOrgs.md +1 -1
  17. data/docs/me.md +1 -1
  18. data/docs/org.md +1 -1
  19. data/lib/losant_rest/client.rb +22 -2
  20. data/lib/losant_rest/device.rb +50 -0
  21. data/lib/losant_rest/devices.rb +46 -0
  22. data/lib/losant_rest/edge_deployment.rb +81 -0
  23. data/lib/losant_rest/embedded_deployment.rb +81 -0
  24. data/lib/losant_rest/embedded_deployments.rb +280 -0
  25. data/lib/losant_rest/flow.rb +3 -3
  26. data/lib/losant_rest/flows.rb +2 -2
  27. data/lib/losant_rest/instance.rb +1 -0
  28. data/lib/losant_rest/instance_org.rb +4 -0
  29. data/lib/losant_rest/instance_org_invite.rb +182 -0
  30. data/lib/losant_rest/instance_org_invites.rb +138 -0
  31. data/lib/losant_rest/instance_org_members.rb +2 -2
  32. data/lib/losant_rest/instance_orgs.rb +2 -2
  33. data/lib/losant_rest/version.rb +1 -1
  34. data/lib/losant_rest.rb +5 -0
  35. data/schemas/apiTokenPost.json +19 -0
  36. data/schemas/application.json +32 -32
  37. data/schemas/applicationCreationByTemplateResult.json +32 -32
  38. data/schemas/applicationDashboardPost.json +8 -5
  39. data/schemas/applicationPatch.json +13 -13
  40. data/schemas/applicationPost.json +13 -13
  41. data/schemas/applicationTemplate.json +16 -16
  42. data/schemas/applicationTemplates.json +16 -16
  43. data/schemas/applications.json +32 -32
  44. data/schemas/authedDevice.json +2 -1
  45. data/schemas/dashboard.json +8 -5
  46. data/schemas/dashboardPatch.json +8 -5
  47. data/schemas/dashboardPost.json +8 -5
  48. data/schemas/dashboardSendReport.json +6 -6
  49. data/schemas/dashboards.json +8 -5
  50. data/schemas/dataTableRowsDelete.json +1 -1
  51. data/schemas/device.json +2 -1
  52. data/schemas/deviceClassFilter.json +4 -2
  53. data/schemas/devicePatch.json +2 -1
  54. data/schemas/devicePayloadCounts.json +24 -0
  55. data/schemas/devicePost.json +2 -1
  56. data/schemas/deviceRecipe.json +2 -1
  57. data/schemas/deviceRecipePatch.json +2 -1
  58. data/schemas/deviceRecipePost.json +2 -1
  59. data/schemas/deviceRecipes.json +2 -1
  60. data/schemas/devices.json +4 -2
  61. data/schemas/devicesExportPayloadCountPost.json +1350 -0
  62. data/schemas/devicesPatch.json +4 -2
  63. data/schemas/edgeDeployment.json +20 -0
  64. data/schemas/edgeDeployments.json +20 -0
  65. data/schemas/embeddedDeployment.json +179 -0
  66. data/schemas/embeddedDeploymentExport.json +44 -0
  67. data/schemas/embeddedDeploymentRelease.json +58 -0
  68. data/schemas/embeddedDeploymentRemove.json +25 -0
  69. data/schemas/embeddedDeploymentReplace.json +29 -0
  70. data/schemas/embeddedDeployments.json +212 -0
  71. data/schemas/eventsDeleted.json +1 -1
  72. data/schemas/eventsExport.json +4 -0
  73. data/schemas/experienceEndpoint.json +6 -8
  74. data/schemas/experienceEndpointPatch.json +6 -8
  75. data/schemas/experienceEndpointPost.json +6 -8
  76. data/schemas/experienceEndpoints.json +6 -8
  77. data/schemas/experienceLinkedResources.json +790 -85
  78. data/schemas/flow.json +252 -16
  79. data/schemas/flowPatch.json +251 -16
  80. data/schemas/flowPost.json +252 -16
  81. data/schemas/flowVersion.json +503 -33
  82. data/schemas/flowVersionPost.json +251 -16
  83. data/schemas/flowVersions.json +503 -33
  84. data/schemas/flows.json +253 -16
  85. data/schemas/flowsImportPost.json +503 -32
  86. data/schemas/flowsImportResult.json +785 -79
  87. data/schemas/githubLogin.json +19 -0
  88. data/schemas/historicalSummary.json +147 -102
  89. data/schemas/instance.json +92 -79
  90. data/schemas/instanceMember.json +10 -0
  91. data/schemas/instanceMemberPost.json +18 -3
  92. data/schemas/instanceMembers.json +14 -0
  93. data/schemas/instanceOrg.json +87 -74
  94. data/schemas/instanceOrgMember.json +14 -0
  95. data/schemas/instanceOrgMembers.json +8 -0
  96. data/schemas/instanceOrgPatch.json +64 -26
  97. data/schemas/instanceOrgPost.json +65 -27
  98. data/schemas/instanceOrgs.json +91 -74
  99. data/schemas/instancePatch.json +2 -2
  100. data/schemas/me.json +134 -105
  101. data/schemas/notebook.json +32 -1
  102. data/schemas/notebookExecutionLogs.json +2 -1
  103. data/schemas/notebookPatch.json +32 -1
  104. data/schemas/notebookPost.json +32 -1
  105. data/schemas/notebooks.json +32 -1
  106. data/schemas/org.json +145 -110
  107. data/schemas/orgInvite.json +90 -0
  108. data/schemas/orgInviteCollection.json +130 -0
  109. data/schemas/orgInvites.json +82 -77
  110. data/schemas/orgRoleInfo.json +69 -0
  111. data/schemas/orgs.json +145 -110
  112. data/schemas/payloadStats.json +28 -12
  113. data/schemas/userCredentials.json +19 -0
  114. data/schemas/userPost.json +19 -0
  115. data/schemas/virtualButtonPress.json +4 -0
  116. metadata +27 -6
@@ -176,7 +176,8 @@
176
176
  "peripheral",
177
177
  "floating",
178
178
  "edgeCompute",
179
- "system"
179
+ "system",
180
+ "embedded"
180
181
  ]
181
182
  },
182
183
  "gatewayId": {
@@ -1597,7 +1598,8 @@
1597
1598
  "peripheral",
1598
1599
  "floating",
1599
1600
  "edgeCompute",
1600
- "system"
1601
+ "system",
1602
+ "embedded"
1601
1603
  ]
1602
1604
  }
1603
1605
  },
@@ -23,6 +23,22 @@
23
23
  "minLength": 1,
24
24
  "maxLength": 255
25
25
  },
26
+ "deviceConnectionInfo": {
27
+ "type": "object",
28
+ "properties": {
29
+ "time": {
30
+ "type": "string",
31
+ "format": "date-time"
32
+ },
33
+ "connected": {
34
+ "enum": [
35
+ 1,
36
+ 0,
37
+ null
38
+ ]
39
+ }
40
+ }
41
+ },
26
42
  "flowId": {
27
43
  "type": "string",
28
44
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -32,6 +48,10 @@
32
48
  "minLength": 1,
33
49
  "maxLength": 255
34
50
  },
51
+ "fileName": {
52
+ "type": "string",
53
+ "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
54
+ },
35
55
  "creationDate": {
36
56
  "type": "string",
37
57
  "format": "date-time"
@@ -30,6 +30,22 @@
30
30
  "minLength": 1,
31
31
  "maxLength": 255
32
32
  },
33
+ "deviceConnectionInfo": {
34
+ "type": "object",
35
+ "properties": {
36
+ "time": {
37
+ "type": "string",
38
+ "format": "date-time"
39
+ },
40
+ "connected": {
41
+ "enum": [
42
+ 1,
43
+ 0,
44
+ null
45
+ ]
46
+ }
47
+ }
48
+ },
33
49
  "flowId": {
34
50
  "type": "string",
35
51
  "pattern": "^[A-Fa-f\\d]{24}$"
@@ -39,6 +55,10 @@
39
55
  "minLength": 1,
40
56
  "maxLength": 255
41
57
  },
58
+ "fileName": {
59
+ "type": "string",
60
+ "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$"
61
+ },
42
62
  "creationDate": {
43
63
  "type": "string",
44
64
  "format": "date-time"
@@ -0,0 +1,179 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "embeddedDeploymentId": {
10
+ "type": "string",
11
+ "pattern": "^[A-Fa-f\\d]{24}$"
12
+ },
13
+ "applicationId": {
14
+ "type": "string",
15
+ "pattern": "^[A-Fa-f\\d]{24}$"
16
+ },
17
+ "creationDate": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "lastUpdated": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
25
+ "deviceId": {
26
+ "type": "string",
27
+ "pattern": "^[A-Fa-f\\d]{24}$"
28
+ },
29
+ "deviceName": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 255
33
+ },
34
+ "deviceConnectionInfo": {
35
+ "type": "object",
36
+ "properties": {
37
+ "time": {
38
+ "type": "string",
39
+ "format": "date-time"
40
+ },
41
+ "connected": {
42
+ "enum": [
43
+ 1,
44
+ 0,
45
+ null
46
+ ]
47
+ }
48
+ }
49
+ },
50
+ "flows": {
51
+ "type": "object",
52
+ "patternProperties": {
53
+ "^[A-Fa-f\\d]{24}$": {
54
+ "type": "object",
55
+ "properties": {
56
+ "flowName": {
57
+ "type": "string",
58
+ "minLength": 1,
59
+ "maxLength": 255
60
+ },
61
+ "currentVersion": {
62
+ "type": [
63
+ "string",
64
+ "null"
65
+ ],
66
+ "minLength": 1,
67
+ "maxLength": 255
68
+ },
69
+ "desiredVersion": {
70
+ "type": [
71
+ "string",
72
+ "null"
73
+ ],
74
+ "minLength": 1,
75
+ "maxLength": 255
76
+ }
77
+ }
78
+ }
79
+ },
80
+ "additionalProperties": false
81
+ },
82
+ "currentBundleVersion": {
83
+ "type": [
84
+ "string",
85
+ "null"
86
+ ],
87
+ "minLength": 1,
88
+ "maxLength": 255
89
+ },
90
+ "desiredBundleVersion": {
91
+ "type": [
92
+ "string",
93
+ "null"
94
+ ],
95
+ "minLength": 1,
96
+ "maxLength": 255
97
+ },
98
+ "unknownBundle": {
99
+ "type": "boolean"
100
+ },
101
+ "logs": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "properties": {
106
+ "sourceType": {
107
+ "type": "string",
108
+ "enum": [
109
+ "flow",
110
+ "user",
111
+ "device",
112
+ "apiToken",
113
+ "notebook"
114
+ ]
115
+ },
116
+ "sourceId": {
117
+ "type": "string",
118
+ "pattern": "^[A-Fa-f\\d]{24}$"
119
+ },
120
+ "date": {
121
+ "type": "string",
122
+ "format": "date-time"
123
+ },
124
+ "changeType": {
125
+ "type": "string",
126
+ "enum": [
127
+ "current",
128
+ "desired"
129
+ ]
130
+ },
131
+ "updateType": {
132
+ "type": "string",
133
+ "enum": [
134
+ "newFlow",
135
+ "replaceFlow",
136
+ "removeFlow",
137
+ "clear",
138
+ "globals",
139
+ "device",
140
+ "unknownBundle",
141
+ "knownBundle"
142
+ ]
143
+ },
144
+ "updateFlowId": {
145
+ "type": "string",
146
+ "pattern": "^[A-Fa-f\\d]{24}$"
147
+ },
148
+ "desiredVersion": {
149
+ "type": [
150
+ "string",
151
+ "null"
152
+ ],
153
+ "minLength": 1,
154
+ "maxLength": 255
155
+ },
156
+ "newBundle": {
157
+ "type": [
158
+ "string",
159
+ "null"
160
+ ],
161
+ "minLength": 1,
162
+ "maxLength": 255
163
+ },
164
+ "attemptedBundle": {
165
+ "type": [
166
+ "string",
167
+ "null"
168
+ ],
169
+ "minLength": 1,
170
+ "maxLength": 255
171
+ },
172
+ "error": {
173
+ "type": "string"
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "email": {
6
+ "type": "string",
7
+ "format": "email",
8
+ "maxLength": 1024
9
+ },
10
+ "embeddedDeploymentId": {
11
+ "type": "string",
12
+ "pattern": "^[A-Fa-f\\d]{24}$"
13
+ },
14
+ "deviceId": {
15
+ "type": "string",
16
+ "pattern": "^[A-Fa-f\\d]{24}$"
17
+ },
18
+ "traceLevel": {
19
+ "enum": [
20
+ 0,
21
+ 1,
22
+ 2
23
+ ]
24
+ },
25
+ "disableDebugMessage": {
26
+ "type": "boolean"
27
+ },
28
+ "stackSize": {
29
+ "type": "integer",
30
+ "minimum": 1600,
31
+ "maximum": 2147483648
32
+ },
33
+ "debugSymbols": {
34
+ "type": "boolean"
35
+ },
36
+ "exportMemory": {
37
+ "type": "boolean"
38
+ },
39
+ "gzip": {
40
+ "type": "boolean"
41
+ }
42
+ },
43
+ "additionalProperties": false
44
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "flowId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "version": {
10
+ "type": [
11
+ "string",
12
+ "null"
13
+ ],
14
+ "minLength": 1,
15
+ "maxLength": 255
16
+ },
17
+ "deviceIds": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string",
21
+ "pattern": "^[A-Fa-f\\d]{24}$"
22
+ },
23
+ "maxItems": 1000
24
+ },
25
+ "deviceTags": {
26
+ "type": "array",
27
+ "items": {
28
+ "type": "object",
29
+ "properties": {
30
+ "key": {
31
+ "type": "string",
32
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
33
+ },
34
+ "value": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 255
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ },
42
+ "maxItems": 100
43
+ },
44
+ "releaseTag": {
45
+ "type": [
46
+ "string",
47
+ "null"
48
+ ],
49
+ "minLength": 1,
50
+ "maxLength": 255
51
+ }
52
+ },
53
+ "additionalProperties": false,
54
+ "required": [
55
+ "flowId",
56
+ "version"
57
+ ]
58
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "flowId": {
6
+ "type": [
7
+ "string",
8
+ "null"
9
+ ],
10
+ "pattern": "^[A-Fa-f\\d]{24}$"
11
+ },
12
+ "deviceId": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ],
17
+ "pattern": "^[A-Fa-f\\d]{24}$"
18
+ }
19
+ },
20
+ "additionalProperties": false,
21
+ "required": [
22
+ "flowId",
23
+ "deviceId"
24
+ ]
25
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "flowId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
9
+ "oldVersion": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 255
13
+ },
14
+ "newVersion": {
15
+ "type": [
16
+ "string",
17
+ "null"
18
+ ],
19
+ "minLength": 1,
20
+ "maxLength": 255
21
+ }
22
+ },
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "flowId",
26
+ "oldVersion",
27
+ "newVersion"
28
+ ]
29
+ }
@@ -0,0 +1,212 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "title": "Embedded Deployment",
9
+ "description": "Schema for a single deployment of embedded workflows to embedded devices",
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "embeddedDeploymentId": {
17
+ "type": "string",
18
+ "pattern": "^[A-Fa-f\\d]{24}$"
19
+ },
20
+ "applicationId": {
21
+ "type": "string",
22
+ "pattern": "^[A-Fa-f\\d]{24}$"
23
+ },
24
+ "creationDate": {
25
+ "type": "string",
26
+ "format": "date-time"
27
+ },
28
+ "lastUpdated": {
29
+ "type": "string",
30
+ "format": "date-time"
31
+ },
32
+ "deviceId": {
33
+ "type": "string",
34
+ "pattern": "^[A-Fa-f\\d]{24}$"
35
+ },
36
+ "deviceName": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "maxLength": 255
40
+ },
41
+ "deviceConnectionInfo": {
42
+ "type": "object",
43
+ "properties": {
44
+ "time": {
45
+ "type": "string",
46
+ "format": "date-time"
47
+ },
48
+ "connected": {
49
+ "enum": [
50
+ 1,
51
+ 0,
52
+ null
53
+ ]
54
+ }
55
+ }
56
+ },
57
+ "flows": {
58
+ "type": "object",
59
+ "patternProperties": {
60
+ "^[A-Fa-f\\d]{24}$": {
61
+ "type": "object",
62
+ "properties": {
63
+ "flowName": {
64
+ "type": "string",
65
+ "minLength": 1,
66
+ "maxLength": 255
67
+ },
68
+ "currentVersion": {
69
+ "type": [
70
+ "string",
71
+ "null"
72
+ ],
73
+ "minLength": 1,
74
+ "maxLength": 255
75
+ },
76
+ "desiredVersion": {
77
+ "type": [
78
+ "string",
79
+ "null"
80
+ ],
81
+ "minLength": 1,
82
+ "maxLength": 255
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "additionalProperties": false
88
+ },
89
+ "currentBundleVersion": {
90
+ "type": [
91
+ "string",
92
+ "null"
93
+ ],
94
+ "minLength": 1,
95
+ "maxLength": 255
96
+ },
97
+ "desiredBundleVersion": {
98
+ "type": [
99
+ "string",
100
+ "null"
101
+ ],
102
+ "minLength": 1,
103
+ "maxLength": 255
104
+ },
105
+ "unknownBundle": {
106
+ "type": "boolean"
107
+ },
108
+ "logs": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "object",
112
+ "properties": {
113
+ "sourceType": {
114
+ "type": "string",
115
+ "enum": [
116
+ "flow",
117
+ "user",
118
+ "device",
119
+ "apiToken",
120
+ "notebook"
121
+ ]
122
+ },
123
+ "sourceId": {
124
+ "type": "string",
125
+ "pattern": "^[A-Fa-f\\d]{24}$"
126
+ },
127
+ "date": {
128
+ "type": "string",
129
+ "format": "date-time"
130
+ },
131
+ "changeType": {
132
+ "type": "string",
133
+ "enum": [
134
+ "current",
135
+ "desired"
136
+ ]
137
+ },
138
+ "updateType": {
139
+ "type": "string",
140
+ "enum": [
141
+ "newFlow",
142
+ "replaceFlow",
143
+ "removeFlow",
144
+ "clear",
145
+ "globals",
146
+ "device",
147
+ "unknownBundle",
148
+ "knownBundle"
149
+ ]
150
+ },
151
+ "updateFlowId": {
152
+ "type": "string",
153
+ "pattern": "^[A-Fa-f\\d]{24}$"
154
+ },
155
+ "desiredVersion": {
156
+ "type": [
157
+ "string",
158
+ "null"
159
+ ],
160
+ "minLength": 1,
161
+ "maxLength": 255
162
+ },
163
+ "newBundle": {
164
+ "type": [
165
+ "string",
166
+ "null"
167
+ ],
168
+ "minLength": 1,
169
+ "maxLength": 255
170
+ },
171
+ "attemptedBundle": {
172
+ "type": [
173
+ "string",
174
+ "null"
175
+ ],
176
+ "minLength": 1,
177
+ "maxLength": 255
178
+ },
179
+ "error": {
180
+ "type": "string"
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ }
187
+ },
188
+ "count": {
189
+ "type": "integer"
190
+ },
191
+ "totalCount": {
192
+ "type": "integer"
193
+ },
194
+ "applicationId": {
195
+ "type": "string",
196
+ "pattern": "^[A-Fa-f\\d]{24}$"
197
+ },
198
+ "deviceId": {
199
+ "type": "string",
200
+ "pattern": "^[A-Fa-f\\d]{24}$"
201
+ },
202
+ "flowId": {
203
+ "type": "string",
204
+ "pattern": "^[A-Fa-f\\d]{24}$"
205
+ },
206
+ "version": {
207
+ "type": "string",
208
+ "minLength": 1,
209
+ "maxLength": 255
210
+ }
211
+ }
212
+ }
@@ -3,7 +3,7 @@
3
3
  "type": "object",
4
4
  "properties": {
5
5
  "removed": {
6
- "type": "Number"
6
+ "type": "number"
7
7
  }
8
8
  }
9
9
  }
@@ -7,6 +7,10 @@
7
7
  "format": "email",
8
8
  "maxLength": 1024
9
9
  },
10
+ "callbackUrl": {
11
+ "type": "string",
12
+ "maxLength": 1024
13
+ },
10
14
  "query": {
11
15
  "title": "Advanced Event Query",
12
16
  "description": "Schema for advanced event queries",
@@ -97,10 +97,9 @@
97
97
  "type": "string"
98
98
  },
99
99
  "statusCode": {
100
- "type": "number",
101
- "min": 100,
102
- "max": 599,
103
- "integer": true
100
+ "type": "integer",
101
+ "minimum": 100,
102
+ "maximum": 599
104
103
  },
105
104
  "type": {
106
105
  "type": "string",
@@ -130,10 +129,9 @@
130
129
  "type": "string"
131
130
  },
132
131
  "statusCode": {
133
- "type": "number",
134
- "min": 100,
135
- "max": 599,
136
- "integer": true
132
+ "type": "integer",
133
+ "minimum": 100,
134
+ "maximum": 599
137
135
  },
138
136
  "type": {
139
137
  "type": "string",