diff --git a/res/composer-schema.json b/res/composer-schema.json index a7a266ccf..163cd4f14 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -662,13 +662,8 @@ } }, "inline-package": { - "type": "object", - "oneOf": [ - { "$ref": "#" }, - { - "required": ["name", "version"] - } - ] + "$ref": "#", + "required": ["name", "version"] } } }