From 2f5ee9518857b4384518a283ff2d963145a8b119 Mon Sep 17 00:00:00 2001 From: Reedy Date: Mon, 21 Nov 2016 02:43:50 +0000 Subject: [PATCH] registration: FileExtensions should be an array, not an object Change-Id: Iff44a4c241ab953906a7b0611f09e66856b1f7dc --- docs/extension.schema.json | 7 +++++-- docs/extension.schema.v1.json | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 638ee5d860..30feaef245 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -651,8 +651,11 @@ "description": "Password policies" }, "FileExtensions": { - "type": "object", - "description": "Preferred file extensions for uploading" + "type": "array", + "description": "Preferred file extensions for uploading", + "items": { + "type": "string" + } }, "callback": { "type": [ diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index 4d5c44f692..421ea5c732 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -641,8 +641,11 @@ "description": "Password policies" }, "FileExtensions": { - "type": "object", - "description": "Preferred file extensions for uploading" + "type": "array", + "description": "Preferred file extensions for uploading", + "items": { + "type": "string" + } }, "callback": { "type": [ -- 2.20.1