Merge "registration: Allow properties in "requires" from v2"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 31 Jan 2017 06:02:20 +0000 (06:02 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 31 Jan 2017 06:02:20 +0000 (06:02 +0000)
docs/extension.schema.v1.json

index 421ea5c..3d6eda9 100644 (file)
                },
                "requires": {
                        "type": "object",
-                       "description": "Indicates what versions of MediaWiki core are required. This syntax may be extended in the future, for example to check dependencies between other extensions.",
+                       "description": "Indicates what versions of MediaWiki core or extensions are required. This syntax may be extended in the future, for example to check dependencies between other services.",
+                       "additionalProperties": false,
                        "properties": {
                                "MediaWiki": {
                                        "type": "string",
                                        "description": "Version constraint string against MediaWiki core."
+                               },
+                               "extensions": {
+                                       "type": "object",
+                                       "description": "Set of version constraint strings against specific extensions."
+                               },
+                               "skins": {
+                                       "type": "object",
+                                       "description": "Set of version constraint strings against specific skins."
                                }
                        }
                },