blob: 1960fffd825ffa3b90130a2eb781f028d422f262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"type": "object",
"required": ["target"],
"additionalProperties": false,
"properties": {
"target": {
"type": "string",
"pattern": "^(?![0-9])([a-z0-9]+-?)+(?<!-)$"
},
"variants": {
"additionalProperties": false,
"patternProperties": {
"^(?![0-9])([A-Z0-9][a-z0-9]*-?)+(?<!-)$": {
"type": "object"
}
}
}
}
}
|