Skip to content

Commit

Permalink
Get all events validating
Browse files Browse the repository at this point in the history
id - this field has been removed
object_id - can be string OR int
created_at - does not conform to valid date-time
  • Loading branch information
jbeemster committed Jan 25, 2018
1 parent 6b85370 commit 126cf57
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions schemas/io.redash.webhooks/event/jsonschema/1-0-0
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
},
"type": "object",
"properties": {
"id": {
"type": "integer",
"maximum" : 2147483647,
"minimum" : -2147483648
},
"user_id": {
"type": ["integer", "null"],
"maximum" : 2147483647,
Expand All @@ -28,22 +23,21 @@
"maxLength" : 255
},
"object_id": {
"type": ["string", "null"],
"type": ["string", "integer", "null"],
"maxLength" : 255
},
"additional_properties": {
"type": ["string", "null"]
"type": ["object", "null"]
},
"created_at": {
"type": "string",
"format" : "date-time"
"type": "string"
},
"org_id": {
"type": "integer",
"maximum" : 2147483647,
"minimum" : -2147483648
}
},
"required": ["id", "action", "object_id", "created_at", "org_id"],
"required": ["action", "object_id", "created_at", "org_id"],
"additionalProperties": true
}

1 comment on commit 126cf57

@jbeemster
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested against latest redash version

Please sign in to comment.