Skip to content

Commit 90ecaea

Browse files
[vendor-schemas] automated update (#371)
Co-authored-by: sirosen <[email protected]>
1 parent 3fd7401 commit 90ecaea

15 files changed

+49
-48
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13-
- Update vendored schemas (2023-12-17)
13+
- Update vendored schemas (2023-12-22)
1414

1515
0.27.3
1616
------

src/check_jsonschema/builtin_schemas/vendor/cloudbuild.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$id": "https://json.schemastore.org/cloudbuild",
32
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://json.schemastore.org/cloudbuild",
44
"definitions": {
55
"BuildStep": {
66
"description": "A step in the build pipeline.",
@@ -229,16 +229,17 @@
229229
"type": "object",
230230
"properties": {
231231
"storageSource": {
232-
"description": "If provided, get the source from this location in Google Cloud Storage.",
233-
"$ref": "#/definitions/StorageSource"
232+
"$ref": "#/definitions/StorageSource",
233+
"description": "If provided, get the source from this location in Google Cloud Storage."
234234
},
235235
"repoSource": {
236-
"description": "If provided, get the source from this location in a Cloud Source\nRepository.",
237-
"$ref": "#/definitions/RepoSource"
236+
"$ref": "#/definitions/RepoSource",
237+
"description": "If provided, get the source from this location in a Cloud Source\nRepository."
238238
}
239239
}
240240
},
241241
"StorageSource": {
242+
"$id": "StorageSource",
242243
"description": "Location of the source in an archive file in Google Cloud Storage.",
243244
"type": "object",
244245
"properties": {
@@ -255,8 +256,7 @@
255256
"description": "Google Cloud Storage object containing the source.\n\nThis object must be a gzipped archive file (`.tar.gz`) containing source to\nbuild.",
256257
"type": "string"
257258
}
258-
},
259-
"$id": "StorageSource"
259+
}
260260
},
261261
"RepoSource": {
262262
"description": "Location of the source in a Google Cloud Source Repository.",
@@ -293,8 +293,8 @@
293293
"type": "object",
294294
"properties": {
295295
"objects": {
296-
"description": "A list of objects to be uploaded to Cloud Storage upon successful\ncompletion of all build steps.\n\nFiles in the workspace matching specified paths globs will be uploaded to\nthe specified Cloud Storage location using the builder service account's\ncredentials.\n\nThe location and generation of the uploaded objects will be stored in the\nBuild resource's results field.\n\nIf any objects fail to be pushed, the build is marked FAILURE.",
297-
"$ref": "#/definitions/ArtifactObjects"
296+
"$ref": "#/definitions/ArtifactObjects",
297+
"description": "A list of objects to be uploaded to Cloud Storage upon successful\ncompletion of all build steps.\n\nFiles in the workspace matching specified paths globs will be uploaded to\nthe specified Cloud Storage location using the builder service account's\ncredentials.\n\nThe location and generation of the uploaded objects will be stored in the\nBuild resource's results field.\n\nIf any objects fail to be pushed, the build is marked FAILURE."
298298
},
299299
"images": {
300300
"description": "A list of images to be pushed upon the successful completion of all build\nsteps.\n\nThe images will be pushed using the builder service account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a1586617a33ebdaaec163d224a3a09ff010e5ed9ecccdd7d954715f2ad6e361e
1+
0241ba344c9082bfcb6d06353576f0fe6dbef66e1da4a902cf42dd52d9225180

src/check_jsonschema/builtin_schemas/vendor/dependabot.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$id": "https://json.schemastore.org/dependabot-2.0.json",
32
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://json.schemastore.org/dependabot-2.0.json",
44
"additionalProperties": false,
55
"definitions": {
66
"timezone": {
@@ -813,8 +813,8 @@
813813
"type": "string"
814814
},
815815
"update-types": {
816-
"description": "Use to ignore types of updates. You can combine this with 'dependency-name: \"*\"' to ignore particular update-types for all dependencies.",
817-
"$ref": "#/definitions/update-types"
816+
"$ref": "#/definitions/update-types",
817+
"description": "Use to ignore types of updates. You can combine this with 'dependency-name: \"*\"' to ignore particular update-types for all dependencies."
818818
},
819819
"versions": {
820820
"description": "Use to ignore specific versions or ranges of versions. If you want to define a range, use the standard pattern for the package manager.",
@@ -835,8 +835,8 @@
835835
}
836836
},
837837
"insecure-external-code-execution": {
838-
"description": "Allow or deny code execution in manifest files",
839-
"$ref": "#/definitions/insecure-external-code-execution"
838+
"$ref": "#/definitions/insecure-external-code-execution",
839+
"description": "Allow or deny code execution in manifest files"
840840
},
841841
"labels": {
842842
"description": "Labels to set on pull requests",
@@ -861,8 +861,8 @@
861861
"default": 5
862862
},
863863
"package-ecosystem": {
864-
"description": "Package manager to use",
865864
"$comment": "These values are restricted by a top-level if-then-else when 'enable-beta-ecosystems' is not enabled.",
865+
"description": "Package manager to use",
866866
"type": "string",
867867
"anyOf": [
868868
{ "$ref": "#/definitions/package-ecosystem-values" },
@@ -941,8 +941,8 @@
941941
"type": "boolean"
942942
},
943943
"versioning-strategy": {
944-
"description": "How to update manifest version requirements",
945-
"$ref": "#/definitions/versioning-strategy"
944+
"$ref": "#/definitions/versioning-strategy",
945+
"description": "How to update manifest version requirements"
946946
}
947947
},
948948
"required": ["package-ecosystem", "directory", "schedule"]
@@ -1033,9 +1033,9 @@
10331033
"updates": {
10341034
"type": "array",
10351035
"items": {
1036+
"$ref": "#/definitions/update",
10361037
"title": "Package Ecosystem",
1037-
"description": "Element for each one package manager that you want GitHub Dependabot to monitor for new versions",
1038-
"$ref": "#/definitions/update"
1038+
"description": "Element for each one package manager that you want GitHub Dependabot to monitor for new versions"
10391039
}
10401040
},
10411041
"registries": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
34087162da710c134ccfc14259eedc9a4492bdaf5937def29d1f5ca0ce468892
1+
61026739f963999c8676b1f5c564c88cf7de4008c14f162d5e07cc953c6d816f

src/check_jsonschema/builtin_schemas/vendor/drone-ci.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"$id": "https://json.schemastore.org/drone.json",
32
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://json.schemastore.org/drone.json",
44
"definitions": {
55
"nonEmptyString": {
66
"type": "string",
@@ -438,8 +438,8 @@
438438
"type": "array"
439439
},
440440
"dns_config": {
441-
"description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
442-
"$ref": "https://json.schemastore.org/kubernetes-definitions.json#/definitions/io.k8s.api.core.v1.PodDNSConfig"
441+
"$ref": "https://json.schemastore.org/kubernetes-definitions.json#/definitions/io.k8s.api.core.v1.PodDNSConfig",
442+
"description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy."
443443
},
444444
"host_aliases": {
445445
"description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bca65a75ba0437d034ddc5062772db71eebb634c06491edbb2dc7b650a8635d8
1+
808953201a4919eae19007cde74e27679f547e95619c2f926f21e6fb1cc814f5

src/check_jsonschema/builtin_schemas/vendor/github-actions.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions",
3-
"$id": "https://json.schemastore.org/github-action.json",
42
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://json.schemastore.org/github-action.json",
4+
"$comment": "https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions",
55
"additionalProperties": false,
66
"definitions": {
77
"expressionSyntax": {
8-
"type": "string",
98
"$comment": "escape `{` and `}` in pattern to be unicode compatible (#1360)",
9+
"type": "string",
1010
"pattern": "^\\$\\{\\{(.|[\r\n])*\\}\\}$"
1111
},
1212
"stringContainingExpressionSyntax": {
13-
"type": "string",
1413
"$comment": "escape `{` and `}` in pattern to be unicode compatible (#1360)",
14+
"type": "string",
1515
"pattern": "^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$"
1616
},
1717
"pre-if": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15f5495b65b30a6025e2b6ae957c9ffc887234167972601384e3cc3f116a7d54
1+
0817878cce449ba9b92ac9b90280105b39d83f282974592b29b2112c8bb227dd

src/check_jsonschema/builtin_schemas/vendor/github-workflows.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions",
3-
"$id": "https://json.schemastore.org/github-workflow.json",
42
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://json.schemastore.org/github-workflow.json",
4+
"$comment": "https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions",
55
"additionalProperties": false,
66
"definitions": {
77
"architecture": {
@@ -301,13 +301,13 @@
301301
"additionalProperties": true
302302
},
303303
"expressionSyntax": {
304-
"type": "string",
305304
"$comment": "escape `{` and `}` in pattern to be unicode compatible (#1360)",
305+
"type": "string",
306306
"pattern": "^\\$\\{\\{(.|[\r\n])*\\}\\}$"
307307
},
308308
"stringContainingExpressionSyntax": {
309-
"type": "string",
310309
"$comment": "escape `{` and `}` in pattern to be unicode compatible (#1360)",
310+
"type": "string",
311311
"pattern": "^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$"
312312
},
313313
"globs": {
@@ -386,8 +386,8 @@
386386
"type": "string"
387387
},
388388
{
389-
"type": "string",
390389
"$comment": "https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#custom-shell",
390+
"type": "string",
391391
"enum": ["bash", "pwsh", "python", "sh", "cmd", "powershell"]
392392
}
393393
]
@@ -495,8 +495,8 @@
495495
},
496496
"with": {
497497
"$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idwith",
498-
"description": "A map of inputs that are passed to the called workflow. Any inputs that you pass must match the input specifications defined in the called workflow. Unlike 'jobs.<job_id>.steps[*].with', the inputs you pass with 'jobs.<job_id>.with' are not be available as environment variables in the called workflow. Instead, you can reference the inputs by using the inputs context.",
499-
"$ref": "#/definitions/env"
498+
"$ref": "#/definitions/env",
499+
"description": "A map of inputs that are passed to the called workflow. Any inputs that you pass must match the input specifications defined in the called workflow. Unlike 'jobs.<job_id>.steps[*].with', the inputs you pass with 'jobs.<job_id>.with' are not be available as environment variables in the called workflow. Instead, you can reference the inputs by using the inputs context."
500500
},
501501
"secrets": {
502502
"$comment": "https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idsecrets",
@@ -1257,6 +1257,8 @@
12571257
"ready_for_review",
12581258
"locked",
12591259
"unlocked",
1260+
"milestoned",
1261+
"demilestoned",
12601262
"review_requested",
12611263
"review_request_removed",
12621264
"auto_merge_enabled",
@@ -1515,8 +1517,8 @@
15151517
"description": "A string representing the default value. The default value is used when an input parameter isn't specified in a workflow file."
15161518
},
15171519
"type": {
1518-
"description": "A string representing the type of the input.",
15191520
"$comment": "https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_dispatchinputsinput_idtype",
1521+
"description": "A string representing the type of the input.",
15201522
"type": "string",
15211523
"enum": [
15221524
"string",
@@ -1636,7 +1638,7 @@
16361638
"$ref": "#/definitions/types",
16371639
"items": {
16381640
"type": "string",
1639-
"enum": ["requested", "completed"]
1641+
"enum": ["requested", "completed", "in_progress"]
16401642
},
16411643
"default": ["requested", "completed"]
16421644
},

0 commit comments

Comments
 (0)