mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00

It combines features from the user_packages and backports plugin, so they are not needed any longer.
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Packages plugin manifest",
|
|
"type": "object",
|
|
"properties": {
|
|
"plugins": {
|
|
"type": "object",
|
|
"properties": {
|
|
"packages": {
|
|
"type": "object",
|
|
"properties": {
|
|
"sources": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^\\w+$": {
|
|
"type": "array",
|
|
"items": {"type": "string"},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"minItems": 1
|
|
},
|
|
"remote": {
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {"type": "string"},
|
|
"target": {"type": "string"}
|
|
},
|
|
"required": ["name"]
|
|
},
|
|
{ "type": "string" }
|
|
]
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"local": {
|
|
"type": "array",
|
|
"items": { "$ref": "#/definitions/absolute_path" },
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"anyOf": [
|
|
{"required": ["sources"]},
|
|
{"required": ["remote"]},
|
|
{"required": ["local"]}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"absolute_path": {
|
|
"type": "string",
|
|
"pattern": "^/[^\\0]+$"
|
|
}
|
|
}
|
|
}
|