schemas/lastValueQuery.json in losant_rest-1.19.9 vs schemas/lastValueQuery.json in losant_rest-1.20.0

- old
+ new

@@ -1210,27 +1210,141 @@ "oneOf": [ { "type": "object", "properties": { "$tagKey": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] }, "$tagValue": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] } }, "additionalProperties": false, "minProperties": 1 }, { "type": "object", "patternProperties": { "^[0-9a-zA-Z_-]{1,255}": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] } }, "additionalProperties": false } ] @@ -1242,27 +1356,141 @@ "oneOf": [ { "type": "object", "properties": { "$tagKey": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] }, "$tagValue": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] } }, "additionalProperties": false, "minProperties": 1 }, { "type": "object", "patternProperties": { "^[0-9a-zA-Z_-]{1,255}": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] } }, "additionalProperties": false } ] @@ -1280,26 +1508,140 @@ "oneOf": [ { "type": "object", "properties": { "$tagKey": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] }, "$tagValue": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] } }, "additionalProperties": false, "minProperties": 1 }, { "type": "object", "patternProperties": { "^[0-9a-zA-Z_-]{1,255}": { - "type": "string", - "maxLength": 255 + "oneOf": [ + { + "type": "string", + "maxLength": 255 + }, + { + "type": "object", + "properties": { + "$in": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$in" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "$nin": { + "type": "array", + "maxItems": 100, + "items": { + "type": "string", + "maxLength": 255 + } + } + }, + "required": [ + "$nin" + ], + "additionalProperties": false + } + ] } }, "additionalProperties": false } ] \ No newline at end of file