0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 05:28:35 +00:00
renovatebot_renovate/tools/schemas/monorepo-schema.json
RahulGautamSingh 88e1f181d7
test(lib/data): ReplacementsSchema (#31714)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2024-10-16 07:07:13 +00:00

54 lines
1.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"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", "pattern": "^/.+/$" },
{
"type": "array",
"items": { "type": "string", "pattern": "^/.+/$" }
}
]
}
},
"additionalProperties": false
}
},
"required": ["repoGroups", "orgGroups", "patternGroups"],
"additionalProperties": false
}