[registration] Remove type of string from Hooks in extension.schema.v1.json
authorReedy <reedy@wikimedia.org>
Tue, 26 May 2020 00:28:46 +0000 (01:28 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 26 May 2020 16:03:20 +0000 (16:03 +0000)
Same as it will be or v2 when that patch merges

Change-Id: I64c3bbcda0f353fe9c14b0d5bea241e0304c0e2e
Follows-Up: I1a8657ff9fd14618c6709dbab62c3b4ee9f659a5

docs/extension.schema.v1.json

index 06701cd..dafcdc9 100644 (file)
                        "type": "object"
                },
                "Hooks": {
-                       "type": [ "string", "object" ],
+                       "type": "object",
                        "description": "Hooks this extension uses (mapping of hook name to callback)"
                },
                "JobClasses": {