mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-01 02:00:10 +00:00
a36331e62a
As noted in #38749, we need to upgrade to draft-07 of JSON Schema to upgrade our dependency on AJV. To do so, we "just" need to update the `$schema`, as we're not using anything that's been deprecated/removed/changed as part of draft-07. This doesn't impact anything user-facing (as these are schemas for internal data files), and the schema doesn't change. This appears to be supported by `vscode-json-languageservice`, which is used by several IDEs (including VSCode) and editors to perform JSON Schema validation in-editor.
21 lines
425 B
JSON
21 lines
425 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": { "type": "string" }
|
|
},
|
|
"patternProperties": {
|
|
"^[a-zA-Z-]+$": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9. -/:@]+$": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|