From 37505f40f40f8742410777c7296187f5347319db Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 2 Jan 2017 16:23:29 +0100 Subject: [PATCH] Loosen the validation for the URL field of VCS repositories The URL of the VCS repository may not match the uri pattern of the JSON schema spec, for instance when using a SSH URL of the repository. --- res/composer-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/composer-schema.json b/res/composer-schema.json index 163cd4f14..6f53d9898 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -596,7 +596,7 @@ "required": ["type", "url"], "properties": { "type": { "type": "string", "enum": ["vcs", "github", "git", "gitlab", "git-bitbucket", "hg", "hg-bitbucket", "fossil", "perforce", "svn"] }, - "url": { "type": "string", "format": "uri" }, + "url": { "type": "string" }, "no-api": { "type": "boolean" }, "secure-http": { "type": "boolean" }, "svn-cache-credentials": { "type": "boolean" },