Files
deb-python-dcos/cli/dcoscli/data/config-schema/package.json
Tamar Ben-Shachar fa771aedc3 dcos-865 add duplicate validation for package.sources
Also don't save changes if it creates more errors in append, prepend,
set and unset.
2015-04-30 15:03:33 -07:00

26 lines
667 B
JSON

{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "string"
},
"title": "Package sources",
"description": "The list of package source in search order",
"default": [ "git://github.com/mesosphere/universe.git" ],
"additionalItems": false,
"uniqueItems": true
},
"cache": {
"type": "string",
"title": "Package cache directory",
"description": "Path to the local package cache directory",
"default": "/tmp/cache"
}
},
"additionalProperties": false,
"required": ["sources", "cache"]
}