Use wikimedia/xmp-reader library
[lhc/web/wiklou.git] / docs / extension.schema.v1.json
index ddf82e8..bcfd2aa 100644 (file)
                                                                        "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",
                },
                "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"