diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c2e8ae5f1..3148a268a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,6 +10,9 @@ Unreleased .. vendor-insert-here +- Update vendored schemas: circle-ci, dependabot, mergify, renovate, snapcraft, taskfile + (2025-12-21) + 0.36.0 ------ diff --git a/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json b/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json index 423261ec2..03c155821 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json +++ b/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json @@ -1196,7 +1196,11 @@ "markdownDescription": "Elapsed time the command can run without output. The string is a decimal with unit suffix, such as \"20m\", \"1.25h\", \"5s\" (default: 10 minutes)" }, "when": { - "enum": ["always", "on_success", "on_fail"], + "enum": [ + "always", + "on_success", + "on_fail" + ], "markdownDescription": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)" }, "max_auto_reruns": { @@ -1235,7 +1239,9 @@ "oneOf": [ { "type": "string", - "enum": ["checkout"] + "enum": [ + "checkout" + ] }, { "type": "object", @@ -1246,7 +1252,17 @@ }, "method": { "type": "string", - "markdownDescription": "The checkout method to be used ('blobless' or 'full', default 'full')" + "enum": [ + "blobless", + "full", + "shallow" + ], + "markdownDescription": "The checkout method to be used ('blobless', 'full', or 'shallow', default 'full'). When using 'shallow', a positive `depth` value is required." + }, + "depth": { + "type": "integer", + "minimum": 1, + "markdownDescription": "The depth of the shallow clone. Only valid when `method` is set to 'shallow'. Must be a positive integer." } }, "additionalProperties": false @@ -1258,7 +1274,9 @@ "oneOf": [ { "type": "string", - "enum": ["setup_remote_docker"] + "enum": [ + "setup_remote_docker" + ] }, { "type": "object", @@ -1300,7 +1318,10 @@ "save_cache": { "markdownDescription": "https://circleci.com/docs/configuration-reference#save_cache\n\nGenerates and stores a cache of a file or directory of files such as dependencies or source code in our object storage. Later jobs can restore this cache using the `restore_cache` step.", "type": "object", - "required": ["paths", "key"], + "required": [ + "paths", + "key" + ], "properties": { "paths": { "type": "array", @@ -1318,7 +1339,11 @@ "markdownDescription": "Title of the step to be shown in the CircleCI UI (default: 'Saving Cache')" }, "when": { - "enum": ["always", "on_success", "on_fail"], + "enum": [ + "always", + "on_success", + "on_fail" + ], "markdownDescription": "Specify when to enable or disable the step. Takes the following values: `always`, `on_success`, `on_fail` (default: `on_success`)" } }, @@ -1329,7 +1354,9 @@ "oneOf": [ { "type": "object", - "required": ["key"], + "required": [ + "key" + ], "properties": { "key": { "type": "string", @@ -1344,7 +1371,9 @@ }, { "type": "object", - "required": ["keys"], + "required": [ + "keys" + ], "properties": { "keys": { "type": "array", @@ -1365,7 +1394,9 @@ "store_artifacts": { "markdownDescription": "https://circleci.com/docs/configuration-reference#store_artifacts\n\nStep to store artifacts (for example logs, binaries, etc) to be available in the web app or through the API.", "type": "object", - "required": ["path"], + "required": [ + "path" + ], "properties": { "path": { "type": "string", @@ -1385,7 +1416,9 @@ "store_test_results": { "markdownDescription": "https://circleci.com/docs/configuration-reference#storetestresults\n\nSpecial step used to upload test results so they display in builds' Test Summary section and can be used for timing analysis. To also see test result as build artifacts, please use the `store_artifacts` step.", "type": "object", - "required": ["path"], + "required": [ + "path" + ], "properties": { "path": { "type": "string", @@ -1401,7 +1434,10 @@ "persist_to_workspace": { "markdownDescription": "https://circleci.com/docs/configuration-reference#persist_to_workspace\n\nSpecial step used to persist a temporary file to be used by another job in the workflow", "type": "object", - "required": ["root", "paths"], + "required": [ + "root", + "paths" + ], "properties": { "root": { "type": "string", @@ -1424,7 +1460,9 @@ "attach_workspace": { "markdownDescription": "https://circleci.com/docs/configuration-reference#attach_workspace\n\nSpecial step used to attach the workflow's workspace to the current container. The full contents of the workspace are downloaded and copied into the directory the workspace is being attached at.", "type": "object", - "required": ["at"], + "required": [ + "at" + ], "properties": { "at": { "type": "string", @@ -1442,7 +1480,9 @@ "oneOf": [ { "type": "string", - "enum": ["add_ssh_keys"] + "enum": [ + "add_ssh_keys" + ] }, { "type": "object", @@ -2989,4 +3029,4 @@ "required": [ "version" ] -} +} \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/dependabot.json b/src/check_jsonschema/builtin_schemas/vendor/dependabot.json index f3c407f5b..235fd1566 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/dependabot.json +++ b/src/check_jsonschema/builtin_schemas/vendor/dependabot.json @@ -647,24 +647,28 @@ }, "package-ecosystem-values": { "enum": [ + "bazel", "bun", "bundler", "cargo", "composer", + "conda", "devcontainers", "docker", "docker-compose", "dotnet-sdk", "elm", - "gitsubmodule", "github-actions", + "gitsubmodule", "gomod", "gradle", "helm", + "julia", "maven", "mix", "npm", "nuget", + "opentofu", "pip", "pub", "rust-toolchain", diff --git a/src/check_jsonschema/builtin_schemas/vendor/mergify.json b/src/check_jsonschema/builtin_schemas/vendor/mergify.json index df66d8140..02480e547 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/mergify.json +++ b/src/check_jsonschema/builtin_schemas/vendor/mergify.json @@ -1791,7 +1791,8 @@ "INCOMPATIBILITY_WITH_BRANCH_PROTECTIONS", "PR_MANUALLY_MERGED", "DRAFT_PULL_REQUEST_CREATION_FAILED", - "CONFIGURATION_CHANGED" + "CONFIGURATION_CHANGED", + "UNPROCESSABLE_PULL_REQUEST" ], "type": "string" }, diff --git a/src/check_jsonschema/builtin_schemas/vendor/renovate.json b/src/check_jsonschema/builtin_schemas/vendor/renovate.json index ef03496d2..8db5d4cfb 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/renovate.json +++ b/src/check_jsonschema/builtin_schemas/vendor/renovate.json @@ -1,7 +1,7 @@ { - "title": "JSON schema for Renovate 42.52.3 config files (https://renovatebot.com/)", + "title": "JSON schema for Renovate 42.64.1 config files (https://renovatebot.com/)", "$schema": "http://json-schema.org/draft-07/schema#", - "x-renovate-version": "42.52.3", + "x-renovate-version": "42.64.1", "allowComments": true, "type": "object", "properties": { @@ -79,10 +79,13 @@ "items": { "type": "string", "enum": [ - "goGenerate" + "goGenerate", + "gradleWrapper" ] }, - "default": [] + "default": [ + "gradleWrapper" + ] }, "ansible": { "description": "Configuration object for the ansible manager", @@ -1206,11 +1209,11 @@ ], "digest": { "prBodyDefinitions": { - "Change": "{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}" + "Change": "{{#if displayFrom}}`{{{displayFrom}}}` → {{else}}{{#if currentValue}}`{{{currentValue}}}` → {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}" } }, "prBodyDefinitions": { - "Change": "[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})" + "Change": "[{{#if displayFrom}}`{{{displayFrom}}}` → {{else}}{{#if currentValue}}`{{{currentValue}}}` → {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})" } }, "$ref": "#", @@ -2728,7 +2731,7 @@ "dockerSidecarImage": { "description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nChange this value to override the default Renovate sidecar image.", "type": "string", - "default": "ghcr.io/containerbase/sidecar:13.25.14" + "default": "ghcr.io/containerbase/sidecar:13.25.16" }, "dockerUser": { "description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nSet the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.", @@ -5574,11 +5577,11 @@ ], "digest": { "prBodyDefinitions": { - "Change": "{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}" + "Change": "{{#if displayFrom}}`{{{displayFrom}}}` → {{else}}{{#if currentValue}}`{{{currentValue}}}` → {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}" } }, "prBodyDefinitions": { - "Change": "[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})" + "Change": "[{{#if displayFrom}}`{{{displayFrom}}}` → {{else}}{{#if currentValue}}`{{{currentValue}}}` → {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})" } }, "$ref": "#", @@ -5805,6 +5808,14 @@ "description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nRequire a Configuration PR first.", "type": "boolean" }, + "onboardingAutoCloseAge": { + "description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nMaximum number of days after which Renovate will stop trying to onboard the repository, and will close any existing onboarding PRs", + "type": [ + "integer", + "null" + ], + "default": null + }, "onboardingBranch": { "description": "Deprecated: This configuration option is only intended to be used with 'global' configuration when self-hosting, not used in a repository configuration file. Renovate likely won't use the configuration, and these fields will be removed from the repository configuration documentation in Renovate v43 (https://github.com/renovatebot/renovate/issues/38728)\n\nChange this value to override the default onboarding branch name.", "type": "string", @@ -6931,7 +6942,7 @@ "Update": "{{{updateType}}}", "Current value": "{{{currentValue}}}", "New value": "{{{newValue}}}", - "Change": "`{{{displayFrom}}}` -> `{{{displayTo}}}`", + "Change": "`{{{displayFrom}}}` → `{{{displayTo}}}`", "Pending": "{{{displayPending}}}", "References": "{{{references}}}", "Package file": "{{{packageFile}}}", diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/circle-ci.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/circle-ci.sha256 index 1d6fc908a..bc103d90e 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/circle-ci.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/circle-ci.sha256 @@ -1 +1 @@ -9d89ddf6e06121d0a60aa0306105e3c180e853ef83058fb531846be742ef5c3a \ No newline at end of file +9ca4607d839dfb52428ddc6de7276d5062eacbd9c2870447a65b14ff50037aae \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/dependabot.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/dependabot.sha256 index 9b2b49f76..328d5d2ee 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/dependabot.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/dependabot.sha256 @@ -1 +1 @@ -08d2223e0f1c4cfff7c08d9d2f152f475b93ad715f39d771cb5cd8e7443118c0 \ No newline at end of file +280d7c6f5436d4b6c61a77a938cfd5b5c0239422c451aee28eb159de5d29843c \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 index 699e80e19..8b5e047b2 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 @@ -1 +1 @@ -18b857003210b42c104dc4f050ea601a1cf13528bb54fbcc00a35c7b1525ff89 \ No newline at end of file +fe9b21ce6db0e95cf8ee26069fe4a5900f1e37d529adc2c5c570e3da4940d601 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 index 56ca772df..5f3327ec3 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 @@ -1 +1 @@ -f47b64073b88134ecf15b8b9d3b6760e318aa757ba691ed2a76dc900bb69336e \ No newline at end of file +4774ca38d00ad61a56be3712a76216a6ebdff9913d26484c137b85c2cb49beb3 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/snapcraft.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/snapcraft.sha256 index 6021afd3a..db08408ca 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/snapcraft.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/snapcraft.sha256 @@ -1 +1 @@ -21c9b3b583439ed1ef86d6f7226527a67dda6401cf61426cbc5178a8ddc76032 \ No newline at end of file +d218a7c69b75bff4a72477693010b8fb25acc73ef592b47bd65a5d2a2a0d801e \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/taskfile.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/taskfile.sha256 index 9bc661abc..7fcaf3763 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/taskfile.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/taskfile.sha256 @@ -1 +1 @@ -6122f6e200fa9c87cc1f553d247739f9c815647a3c6433e15237ebc682dfb3f4 \ No newline at end of file +ea19a9bced145253626d7ad45be752a3d786ec2e9bb7afd8cb5f4e914b91df37 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/snapcraft.json b/src/check_jsonschema/builtin_schemas/vendor/snapcraft.json index 6733e5036..84f22cfa9 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/snapcraft.json +++ b/src/check_jsonschema/builtin_schemas/vendor/snapcraft.json @@ -272,6 +272,25 @@ "examples": ["on-failure"], "title": "Restart-Condition" }, + "success-exit-status": { + "anyOf": [ + { + "items": { + "maximum": 255, + "minimum": 1, + "type": "integer" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "description": "The list of additional successful exit statuses that the service can return.", + "examples": ["[42, 250]"], + "title": "Success-Exit-Status" + }, "install-mode": { "anyOf": [ { @@ -472,8 +491,8 @@ "uniqueItems": true } ], - "description": "The architectures on which the snap can be built.", - "examples": ["[amd64, riscv64]"], + "description": "The architectures to build the snap on.", + "examples": ["arm64", "[amd64, riscv64]"], "title": "Build-On" }, "build-for": { @@ -493,8 +512,8 @@ } ], "default": null, - "description": "The single element list containing the architecture where the snap can be run", - "examples": ["[amd64]", "[riscv64]"], + "description": "The target architecture for the build.", + "examples": ["amd64", "[riscv64]"], "title": "Build-For" } }, @@ -841,7 +860,7 @@ } ], "default": null, - "description": "The architecture sets where the snap can be built and where the resulting snap can run.", + "description": "The architectures that the snap builds and runs on.", "examples": ["[amd64, riscv64]", "[{build-on: [amd64], build-for: [amd64]}]", "[{build-on: [amd64, riscv64], build-for: [riscv64]}]"], "title": "Architectures" }, @@ -900,7 +919,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -979,7 +998,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -1486,7 +1505,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -1565,7 +1584,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -2062,7 +2081,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -2141,7 +2160,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -2319,7 +2338,7 @@ } ], "default": null, - "description": "Selects a part to inherit metadata from and reuse for the component's metadata.\n\nOnly the component's version can be set.\n", + "description": "Selects a part to inherit metadata from and reuse for the component's\nmetadata.\n\nOnly the component's version can be set.\n", "examples": ["foo-part"], "title": "Adopt-Info" } @@ -2725,7 +2744,7 @@ } ], "default": null, - "description": "The architecture sets where the snap can be built and where the resulting snap can run.", + "description": "The architectures that the snap builds and runs on.", "examples": ["[amd64, riscv64]", "[{build-on: [amd64], build-for: [amd64]}]", "[{build-on: [amd64, riscv64], build-for: [riscv64]}]"], "title": "Architectures" }, @@ -2784,7 +2803,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -2863,7 +2882,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -3379,7 +3398,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -3458,7 +3477,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -3955,7 +3974,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -4034,7 +4053,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -4273,8 +4292,8 @@ "type": "null" } ], - "description": "The architectures on which the snap can be built.", - "examples": ["[amd64, riscv64]"], + "description": "The architectures to build the snap on.", + "examples": ["arm64", "[amd64, riscv64]"], "title": "Build-On" }, "build-for": { @@ -4293,8 +4312,8 @@ } ], "default": null, - "description": "The single element list containing the architecture the snap is built for.", - "examples": ["[amd64]", "[riscv64]"], + "description": "The target architecture for the build.", + "examples": ["amd64", "[riscv64]"], "title": "Build-For" } }, @@ -4431,7 +4450,7 @@ } ], "default": null, - "description": "The platforms where the snap can be built and where the resulting snap can run.", + "description": "The architectures that the snap builds and runs on.", "examples": ["{amd64: {build-on: [amd64], build-for: [amd64]}, arm64: {build-on: [amd64, arm64], build-for: [arm64]}}"], "title": "Platforms" }, @@ -4690,7 +4709,7 @@ } ], "default": null, - "description": "The architecture sets where the snap can be built and where the resulting snap can run.", + "description": "The architectures that the snap builds and runs on.", "examples": ["[amd64, riscv64]", "[{build-on: [amd64], build-for: [amd64]}]", "[{build-on: [amd64, riscv64], build-for: [riscv64]}]"], "title": "Architectures" }, @@ -4749,7 +4768,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -4828,7 +4847,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, @@ -5031,7 +5050,7 @@ } ], "default": null, - "description": "The platforms where the snap can be built and where the resulting snap can run.", + "description": "The architectures that the snap builds and runs on.", "examples": ["{amd64: {build-on: [amd64], build-for: [amd64]}, arm64: {build-on: [amd64, arm64], build-for: [arm64]}}"], "title": "Platforms" }, @@ -5290,7 +5309,7 @@ } ], "default": null, - "description": "The architecture sets where the snap can be built and where the resulting snap can run.", + "description": "The architectures that the snap builds and runs on.", "examples": ["[amd64, riscv64]", "[{build-on: [amd64], build-for: [amd64]}]", "[{build-on: [amd64, riscv64], build-for: [riscv64]}]"], "title": "Architectures" }, @@ -5349,7 +5368,7 @@ } ], "default": null, - "description": "The map of app names representing entry points to run for the snap.", + "description": "The individual programs and services that the snap runs.", "examples": ["{app-1: {command: bin/app-1}}"], "title": "Apps" }, @@ -5428,7 +5447,7 @@ } ], "default": null, - "description": "The system usernames that the snap can use to run daemons and services.", + "description": "The system usernames the snap can use to run daemons and services.", "examples": ["{snap-daemon: shared}"], "title": "System-Usernames" }, diff --git a/src/check_jsonschema/builtin_schemas/vendor/taskfile.json b/src/check_jsonschema/builtin_schemas/vendor/taskfile.json index 8605d98b4..888052d5a 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/taskfile.json +++ b/src/check_jsonschema/builtin_schemas/vendor/taskfile.json @@ -201,6 +201,11 @@ "description": "Configures a task to run in watch mode automatically.", "type": "boolean", "default": false + }, + "failfast": { + "description": "When running tasks in parallel, stop all tasks if one fails.", + "type": "boolean", + "default": false } } }, @@ -228,7 +233,10 @@ "$ref": "#/definitions/defer_cmd_call" }, { - "$ref": "#/definitions/for_cmds_call" + "$ref": "#/definitions/for_cmd_call" + }, + { + "$ref": "#/definitions/for_task_call" } ] }, @@ -396,7 +404,7 @@ "additionalProperties": false, "required": ["defer"] }, - "for_cmds_call": { + "for_cmd_call": { "type": "object", "properties": { "for": { @@ -410,6 +418,20 @@ "description": "Silent mode disables echoing of command before Task runs it", "type": "boolean" }, + "platforms": { + "description": "Specifies which platforms the command should be run on.", + "$ref": "#/definitions/platforms" + } + }, + "additionalProperties": false, + "required": ["for", "cmd"] + }, + "for_task_call": { + "type": "object", + "properties": { + "for": { + "$ref": "#/definitions/for" + }, "task": { "description": "Task to run", "type": "string" @@ -418,14 +440,17 @@ "description": "Values passed to the task called", "$ref": "#/definitions/vars" }, + "silent": { + "description": "Silent mode disables echoing of command before Task runs it", + "type": "boolean" + }, "platforms": { "description": "Specifies which platforms the command should be run on.", "$ref": "#/definitions/platforms" } }, - "oneOf": [{ "required": ["cmd"] }, { "required": ["task"] }], "additionalProperties": false, - "required": ["for"] + "required": ["for", "task"] }, "for_deps_call": { "type": "object", @@ -446,9 +471,8 @@ "$ref": "#/definitions/vars" } }, - "oneOf": [{ "required": ["cmd"] }, { "required": ["task"] }], "additionalProperties": false, - "required": ["for"] + "required": ["for", "task"] }, "for": { "anyOf": [ @@ -470,7 +494,7 @@ "description": "A list of values to iterate over", "type": "array", "items": { - "type": "string" + "type": ["string", "number"] } }, "for_attribute": {