From d3f7171046a573d64d6f07cefe540ca8e04721ba Mon Sep 17 00:00:00 2001 From: fhscholl Date: Wed, 1 Nov 2017 12:18:18 -0400 Subject: [PATCH] Updated Webhook Schema (markdown) --- Webhook-Schema.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Webhook-Schema.md b/Webhook-Schema.md index 95d344f..39e7508 100644 --- a/Webhook-Schema.md +++ b/Webhook-Schema.md @@ -48,17 +48,13 @@ This page provides a [JSON schema](http://json-schema.org/) for validating event } }, "remoteMovie": { - "type": ["array", "null"], - "minItems": 1, - "items": { - "type": "object", - "required": ["title", "year"], - "properties": { - "title": { "type": "string" }, - "year": { "type": "integer", "minimum": 1800 }, - "tmdbId": { "type": "integer" }. - "imdbId": {"type": "string" } - } + "type": "object", + "required": ["title", "year"], + "properties": { + "title": { "type": "string" }, + "year": { "type": "integer", "minimum": 1800 }, + "tmdbId": { "type": "integer" }. + "imdbId": {"type": "string" } } }, "release": {