X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=docs%2Fextension.schema.v1.json;h=bcfd2aa3d536e32c85cf94fd914357300d21d22e;hb=18be1d935c95fe8d456c96d29d0bc29bae0a1b52;hp=ddf82e8d9e37a73d2f3c7159e10d87c0ddf2d5d5;hpb=78418f5728259c024ac3b2016e1edd0ab794c9c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index ddf82e8d9e..bcfd2aa3d5 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -210,8 +210,8 @@ "description": "Group which this module should be loaded together with" }, "deprecated": { - "type": ["object", "boolean"], - "description": "Whether the module is deprecated and usage is discouraged. Either a boolean or an object with key message can be used to customise deprecation message." + "type": ["object", "string", "boolean"], + "description": "Whether the module is deprecated and usage is discouraged. Either a boolean, or a string or an object with key message can be used to customise deprecation message." }, "position": { "type": "string", @@ -569,7 +569,13 @@ }, "AutoloadNamespaces": { "type": "object", - "description": "Mapping of PSR-4 compliant namespace to directory for autoloading" + "description": "Mapping of PSR-4 compliant namespace to directory for autoloading", + "patternProperties": { + "^[A-Za-z0-9\\\\]+\\\\$": { + "type": "string" + } + }, + "additionalProperties": false }, "AutoloadClasses": { "type": "object"