From ddaabb99585a11b6e9436653c17fb84723fe6c1b Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sat, 22 Oct 2011 21:44:19 +0200 Subject: [PATCH] define types for autoload and repositories --- doc/composer-schema.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/composer-schema.json b/doc/composer-schema.json index b05360029..a62257057 100644 --- a/doc/composer-schema.json +++ b/doc/composer-schema.json @@ -109,6 +109,19 @@ }, "autoload": { "type": "object", + "properties": { + "psr-0": { + "type": "object", + "additionalProperties": true + }, + "pear": { + "type": "object", + "additionalProperties": true + } + } + }, + "repositories": { + "type": ["object", "array"], "additionalProperties": true } }