summaryrefslogtreecommitdiff
path: root/schemas
diff options
context:
space:
mode:
authorDan Firth <dan.firth@codethink.co.uk>2016-02-17 18:07:08 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2016-02-26 17:41:13 +0000
commitf0f1d047ebf67002ef080a19611d4b04404d1346 (patch)
treee955be2cc99ba2be1f5c37d991deb0651392df40 /schemas
parent2ed9b4b544a090ee84e31bb8a0bf44c7544136be (diff)
downloadspec-f0f1d047ebf67002ef080a19611d4b04404d1346.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 0330f37..1344edc 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.