schemas/notebookPost.json in losant_rest-1.10.2 vs schemas/notebookPost.json in losant_rest-1.10.3

- old
+ new

@@ -117,9 +117,98 @@ "type": "object", "properties": { "inputType": { "type": "string", "enum": [ + "deviceConnectionHistory" + ] + }, + "fileName": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?!\\.{1,2}$)[0-9a-zA-Z_.-]{1,255}$" + }, + { + "type": "string", + "minLength": 4, + "maxLength": 255, + "pattern": ".*{{.+}}.*" + } + ] + }, + "deviceTags": { + "type": "array", + "maxItems": 100, + "items": { + "type": "object", + "properties": { + "key": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-zA-Z_-]{1,255}$" + }, + { + "type": "string", + "minLength": 4, + "maxLength": 255, + "pattern": ".*{{.+}}.*" + } + ] + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 255 + } + }, + "additionalProperties": false + } + }, + "deviceIds": { + "type": "array", + "maxItems": 100, + "items": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Fa-f\\d]{24}$" + }, + { + "type": "string", + "minLength": 4, + "maxLength": 255, + "pattern": ".*{{.+}}.*" + } + ] + } + }, + "queryJson": { + "type": "string", + "maxLength": 8192 + }, + "start": { + "type": "number" + }, + "end": { + "type": "number" + } + }, + "required": [ + "inputType", + "fileName", + "start", + "end" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "inputType": { + "type": "string", + "enum": [ "deviceMetadata" ] }, "fileName": { "oneOf": [ \ No newline at end of file