From cdeda115933c9909ff9e607ee7768e21a51fd7df Mon Sep 17 00:00:00 2001 From: Ratnadeep Debnath Date: Fri, 22 Jan 2016 14:34:12 +0530 Subject: [PATCH] Allow global params in Nulecule spec. --- spec/README.md | 1 + spec/schema.json | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/spec/README.md b/spec/README.md index 40f3620..19b8961 100644 --- a/spec/README.md +++ b/spec/README.md @@ -73,6 +73,7 @@ Field Name | Type | Description id | `string` | **Required.** The machine readable id of the Container Application. specversion | `string` | **Required.** The semantic version string of the Container Application Specification used to describe the app. The value MUST be `"0.0.2"`. metadata | [ [MetadataObject](#metadataObject) ] | **Optional** An object holding optional metadata related to the Container Application, this may include license information or human readable information. +params | [ [ParamsObject](#paramsObject) ] | **Optional** A list of [ParamsObject](#paramsObject) that contain provider specific information. graph | [ [GraphObject](#graphObject) ] | **Required.** A list of depending containerapps. Strings may either match a local sub directory or another containerapp-spec compliant containerapp image that can be pulled via a provider. requirements | [ [RequirementsObject](#requirementsObject) ] | **Optional** A list of requirements of this containerapp. diff --git a/spec/schema.json b/spec/schema.json index af4a267..e7e2d56 100644 --- a/spec/schema.json +++ b/spec/schema.json @@ -19,6 +19,13 @@ "metadata": { "$ref": "file:metadata.json" }, + "params": { + "description": "A list of ParamsObject that contain information in the global context of the application, accessible to it's child graph items.", + "type": "array", + "items": { + "$ref": "file:param.json" + } + }, "graph": { "$ref": "file:graph.json" },