schemas/dataTableRowsExport.json in losant_rest-1.5.1 vs schemas/dataTableRowsExport.json in losant_rest-1.5.2
- old
+ new
@@ -6,10 +6,94 @@
"type": "string",
"format": "email",
"maxLength": 1024
},
"query": {
- "$ref": "#/definitions/dataTableQuery"
+ "title": "Data Table Query",
+ "description": "Schema for a data table query",
+ "type": "object",
+ "properties": {
+ "$and": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/dataTableQuery"
+ }
+ },
+ "$or": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/dataTableQuery"
+ }
+ }
+ },
+ "patternProperties": {
+ "^[0-9a-zA-Z_-]{1,255}$": {
+ "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"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ },
+ "additionalProperties": false
},
"queryOptions": {
"type": "object",
"properties": {
"sortDirection": {
\ No newline at end of file