mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 10:33:39 +00:00
e0daef7b92
fix the type for pattern groups
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": { "type": "string" },
|
|
"repoGroups": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9. -]+$": {
|
|
"oneOf": [
|
|
{ "type": "string", "format": "uri" },
|
|
{
|
|
"type": "array",
|
|
"items": { "type": "string", "format": "uri" }
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"orgGroups": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9. -]+$": {
|
|
"oneOf": [
|
|
{ "type": "string", "format": "uri" },
|
|
{
|
|
"type": "array",
|
|
"items": { "type": "string", "format": "uri" }
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"patternGroups": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9. -]+$": {
|
|
"oneOf": [
|
|
{ "type": "string" },
|
|
{
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": ["repoGroups", "orgGroups", "patternGroups"],
|
|
"additionalProperties": false
|
|
}
|