Skip to content

Commit 069a5bf

Browse files
authored
Merge pull request #672 from python-jsonschema/vendor-schemas-auto
Update vendored schemas
2 parents 0890ec3 + 161b0f4 commit 069a5bf

7 files changed

Lines changed: 81 additions & 6 deletions

File tree

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13+
- Update vendored schemas: github-issue-forms, mergify, renovate (2026-03-29)
14+
1315
0.37.1
1416
------
1517

src/check_jsonschema/builtin_schemas/vendor/github-issue-forms.json

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
"type": {
88
"description": "A form item type\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#keys",
99
"type": "string",
10-
"enum": ["checkboxes", "dropdown", "input", "markdown", "textarea"]
10+
"enum": [
11+
"checkboxes",
12+
"dropdown",
13+
"input",
14+
"markdown",
15+
"textarea",
16+
"upload"
17+
]
1118
},
1219
"id": {
1320
"type": "string",
@@ -26,6 +33,25 @@
2633
},
2734
"additionalProperties": false
2835
},
36+
"upload_validations": {
37+
"title": "upload validations",
38+
"description": "Upload validations\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#validations-for-upload",
39+
"type": "object",
40+
"properties": {
41+
"required": {
42+
"description": "Specify whether require a form item",
43+
"type": "boolean",
44+
"default": false
45+
},
46+
"accept": {
47+
"title": "accept",
48+
"description": "A comma-separated list of file extensions that are accepted. If omitted, all supported file types are accepted.",
49+
"type": "string",
50+
"examples": [".png,.jpg,.gif,.log,.txt,.zip"]
51+
}
52+
},
53+
"additionalProperties": false
54+
},
2955
"assignee": {
3056
"type": "string",
3157
"maxLength": 39,
@@ -2126,6 +2152,52 @@
21262152
},
21272153
"additionalProperties": false
21282154
}
2155+
},
2156+
{
2157+
"if": {
2158+
"properties": {
2159+
"type": {
2160+
"const": "upload"
2161+
}
2162+
}
2163+
},
2164+
"then": {
2165+
"$comment": "For `additionalProperties` to work `type` must also be present here.",
2166+
"title": "upload",
2167+
"description": "Upload\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#upload",
2168+
"type": "object",
2169+
"required": ["type", "attributes"],
2170+
"properties": {
2171+
"type": {
2172+
"$ref": "#/definitions/type"
2173+
},
2174+
"id": {
2175+
"$ref": "#/definitions/id",
2176+
"description": "Upload id\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#keys"
2177+
},
2178+
"attributes": {
2179+
"title": "upload attributes",
2180+
"description": "Upload attributes\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#attributes-for-upload",
2181+
"type": "object",
2182+
"required": ["label"],
2183+
"properties": {
2184+
"label": {
2185+
"$ref": "#/definitions/label",
2186+
"description": "A short upload description\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#attributes-for-upload"
2187+
},
2188+
"description": {
2189+
"$ref": "#/definitions/description",
2190+
"description": "A long upload description\nhttps://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema#attributes-for-upload"
2191+
}
2192+
},
2193+
"additionalProperties": false
2194+
},
2195+
"validations": {
2196+
"$ref": "#/definitions/upload_validations"
2197+
}
2198+
},
2199+
"additionalProperties": false
2200+
}
21292201
}
21302202
]
21312203
}

src/check_jsonschema/builtin_schemas/vendor/mergify.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,7 @@
18091809
"CONFIGURATION_CHANGED",
18101810
"UNPROCESSABLE_PULL_REQUEST",
18111811
"PR_MANUALLY_DEQUEUED",
1812+
"STACK_PREDECESSOR_DEQUEUED",
18121813
"INTERMEDIATE_RESULTS_SKIPPED",
18131814
"CHECKS_RETRIED"
18141815
],

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$id": "https://docs.renovatebot.com/renovate-schema.json",
3-
"title": "JSON schema for Renovate 43.91.4 config files (https://renovatebot.com/)",
3+
"title": "JSON schema for Renovate 43.99.0 config files (https://renovatebot.com/)",
44
"$schema": "http://json-schema.org/draft-07/schema#",
5-
"x-renovate-version": "43.91.4",
5+
"x-renovate-version": "43.99.0",
66
"allowComments": true,
77
"type": "object",
88
"properties": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6914ae541855e5fb4a457437d92728fb5462ed9f72f407db5e011cf0eda2f5a9
1+
c2722dbf00334ce4fdeffa960b8c9047caf4f1cbb8f3809663f4d604b1d3ae76
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
27172b334e19644adc864178bb02459d63cf69b7fd5507543b7e634f6dd816e4
1+
123b6c436e2b25427e08a3ecc4a4983c8a0b275cf734ef1905b4993de8019b82
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0f6a5e6c156274cc533a453c916c62a8c3d64399c69cbc64d30871da5501b7a3
1+
dc07fcc4ae5d58f8de1257a84b9ee230bafdd42a33b4a799ddb9e08c27bb2973

0 commit comments

Comments
 (0)