debian-mirror-gitlab/app/validators/json_schemas/build_metadata_secrets.json

33 lines
883 B
JSON
Raw Normal View History

2020-07-28 23:09:34 +05:30
{
2021-04-29 21:17:54 +05:30
"$schema": "http://json-schema.org/draft-07/schema#",
2020-07-28 23:09:34 +05:30
"description": "CI builds metadata secrets",
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"patternProperties": {
"^vault$": {
"type": "object",
"required": ["path", "field", "engine"],
"properties": {
"path": { "type": "string" },
"field": { "type": "string" },
"engine": {
"type": "object",
"required": ["name", "path"],
"properties": {
"path": { "type": "string" },
"name": { "type": "string" }
},
"additionalProperties": false
}
},
"additionalProperties": false
2021-09-30 23:02:18 +05:30
},
"^file$": { "type": "boolean" }
2020-07-28 23:09:34 +05:30
},
"additionalProperties": false
}
}
}