summaryrefslogtreecommitdiff
path: root/mdbp/build_schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'mdbp/build_schema.json')
-rw-r--r--mdbp/build_schema.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/mdbp/build_schema.json b/mdbp/build_schema.json
index d971f0d..e7c203c 100644
--- a/mdbp/build_schema.json
+++ b/mdbp/build_schema.json
@@ -31,6 +31,21 @@
"description": "a mapping of checksum algorithms to the expected values"
}
}
+ }, {
+ "required": [ "sourcename" ],
+ "additionalProperties": false,
+ "properties": {
+ "sourcename": {
+ "type": "string",
+ "pattern": "^[a-z0-9][a-z0-9.+-]*$",
+ "description": "name of a source package to fetch from the configured distribution"
+ },
+ "version": {
+ "type": "string",
+ "pattern": "^([0-9]+:)?[a-zA-Z0-9.+~-]+$",
+ "description": "request a particular version of the source package"
+ }
+ }
} ]
},
"distribution": {