summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorDan Firth <dan.firth@codethink.co.uk>2016-02-17 18:07:08 +0000
committerBaserock Gerrit <gerrit@baserock.org>2016-02-24 11:22:02 +0000
commitbeaf651f18e606165409d8f931af494098ddd7a6 (patch)
tree8e8b412eb85c7db0eb54f55169a29fa0818074ac /schemas
parenta5953ac2460459e051fad647d5f059a1b58e0899 (diff)
downloaddefinitions-beaf651f18e606165409d8f931af494098ddd7a6.tar.gz
Add migration tool for definitions version 8. Allows for explicitly
declared submodule url translation in chunks with known submodules. Updated schema to match Change-Id: I26d141940cf32810cd9045e9a3c4065e35f7c8a3
Diffstat (limited to 'schemas')
-rw-r--r--schemas/stratum.json-schema9
1 files changed, 9 insertions, 0 deletions
diff --git a/schemas/stratum.json-schema b/schemas/stratum.json-schema
index 0330f37d..1344edce 100644
--- a/schemas/stratum.json-schema
+++ b/schemas/stratum.json-schema
@@ -62,6 +62,15 @@ definitions:
# artifact.
patternProperties:
^.*$: { type: string }
+ submodules:
+ $ref: "#/definitions/submodule-reference"
+
+ submodule-reference:
+ type: object
+ properties:
+ url: { type: string }
+ submodules:
+ $ref: "#/definitions/submodule-reference"
# This doesn't need any special treatment in the Baserock data model because
# it's a link to another stratum definition, without any extra info.