From e8ae6fbf8954842f9699448bd7d55f9ae99403d8 Mon Sep 17 00:00:00 2001 From: Andrew Appleton Date: Wed, 13 Apr 2016 15:15:54 +0100 Subject: [PATCH] Update formation section to match published version https://devcenter.heroku.com/articles/app-json-schema#formation --- lib/schema.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/schema.js b/lib/schema.js index 740493f..f680432 100644 --- a/lib/schema.js +++ b/lib/schema.js @@ -76,12 +76,18 @@ var schema = { ] }, "formation": { - "description": "An array of objects specifying dynos to scale on the app before deploying.", - "type": "array", - "example": [ - { "process": "web", "quantity": 1, "size": "standard-2X" }, - { "process": "worker", "quantity": 1, "size": "standard-2X" } - ] + "description": "Dynos to scale on the app before deploying.", + "type": "object", + "example": { + "web": { + "quantity": 1, + "size": "standard-2X" + }, + "worker": { + "quantity": 1, + "size": "standard-2X" + } + } } } }