Backport docs/extension.schema.v2.json fixes
[lhc/web/wiklou.git] / docs / extension.schema.v2.json
index 56d274b..35e5570 100644 (file)
                        "type": "object"
                },
                "Hooks": {
-                       "type": [ "string", "object" ],
+                       "type": "object",
                        "description": "Hooks this extension uses (mapping of hook name to callback)"
                },
                "JobClasses": {
                                        "args": {
                                                "type": "array",
                                                "description": "The arguments passed to the handler constructor or factory"
+                                       },
+                                       "services": {
+                                               "type": "array",
+                                               "description": "If supplied and non-empty, the named services are requested from the service container and prepended before 'args'."
                                        }
                                }
                        }