schemas/events.json in losant_rest-1.9.2 vs schemas/events.json in losant_rest-1.9.3

- old
+ new

@@ -199,824 +199,9 @@ "applicationId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, "query": { - "title": "Advanced Event Query", - "description": "Schema for advanced event queries", - "type": "object", - "properties": { - "$and": { - "type": "array", - "items": { - "$ref": "#/definitions/advancedEventQuery" - } - }, - "$or": { - "type": "array", - "items": { - "$ref": "#/definitions/advancedEventQuery" - } - }, - "id": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "creationDate": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "lastUpdated": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "sourceId": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "sourceType": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "level": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "state": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "subject": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "deviceId": { - "oneOf": [ - { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$ne": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lt": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$gte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$lte": { - "type": [ - "string", - "number", - "boolean", - "null" - ] - }, - "$startsWith": { - "type": "string", - "minLength": 1 - }, - "$endsWith": { - "type": "string", - "minLength": 1 - }, - "$contains": { - "type": "string", - "minLength": 1 - } - }, - "additionalProperties": false - } - ] - }, - "eventTags": { - "oneOf": [ - { - "oneOf": [ - { - "type": "object", - "properties": { - "$tagKey": { - "type": "string" - }, - "$tagValue": { - "type": "string" - } - }, - "additionalProperties": false, - "minProperties": 1 - }, - { - "type": "object", - "patternProperties": { - "^[0-9a-zA-Z_-]{1,255}": { - "type": "string" - } - }, - "additionalProperties": false - } - ] - }, - { - "type": "object", - "properties": { - "$eq": { - "oneOf": [ - { - "type": "object", - "properties": { - "$tagKey": { - "type": "string" - }, - "$tagValue": { - "type": "string" - } - }, - "additionalProperties": false, - "minProperties": 1 - }, - { - "type": "object", - "patternProperties": { - "^[0-9a-zA-Z_-]{1,255}": { - "type": "string" - } - }, - "additionalProperties": false - } - ] - } - }, - "minProperties": 1, - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "$ne": { - "oneOf": [ - { - "type": "object", - "properties": { - "$tagKey": { - "type": "string" - }, - "$tagValue": { - "type": "string" - } - }, - "additionalProperties": false, - "minProperties": 1 - }, - { - "type": "object", - "patternProperties": { - "^[0-9a-zA-Z_-]{1,255}": { - "type": "string" - } - }, - "additionalProperties": false - } - ] - } - }, - "minProperties": 1, - "additionalProperties": false - } - ] - } - }, - "additionalProperties": false + "type": "object" } } } \ No newline at end of file