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

- old
+ new

@@ -1189,27 +1189,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 } ] @@ -1221,27 +1335,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 } ] @@ -1259,26 +1487,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