diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 25eacb9da..76f4fe8da 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -10,8 +10,9 @@ Unreleased .. vendor-insert-here -- Update vendored schemas: bitbucket-pipelines, buildkite, circle-ci, - github-issue-forms, mergify, renovate (2026-04-05) +- Update vendored schemas: bitbucket-pipelines, buildkite, circle-ci, dependabot, + github-issue-forms, gitlab-ci, meltano, mergify, readthedocs, renovate, taskfile + (2026-04-19) 0.37.1 ------ diff --git a/src/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.json b/src/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.json index ea97f3700..847564fe7 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.json +++ b/src/check_jsonschema/builtin_schemas/vendor/bitbucket-pipelines.json @@ -1 +1 @@ -{"$id": "https://bitbucket.org/product/features/pipelines", "$ref": "#/components/schemas/pipelines_configuration", "$schema": "http://json-schema.org/draft-07/schema#", "components": {"schemas": {"artifacts": {"oneOf": [{"$ref": "#/components/schemas/artifacts_paths"}, {"$ref": "#/components/schemas/artifacts_expanded"}]}, "artifacts_expanded": {"properties": {"download": {"oneOf": [{"default": true, "description": "Enables downloading of all available artifacts at the end of a step.", "type": "boolean"}, {"description": "Define the list of filtered artifacts to be downloaded by the step.", "items": {"type": "string"}, "minItems": 1, "type": "array"}]}, "paths": {"$ref": "#/components/schemas/artifacts_paths"}, "upload": {"items": {"$ref": "#/components/schemas/artifacts_upload"}, "minItems": 1, "type": "array"}}, "type": "object"}, "artifacts_paths": {"items": {"description": "Glob pattern for the path to the artifacts.", "title": "Artifact Path Pattern", "type": "string"}, "minItems": 1, "type": "array"}, "artifacts_upload": {"description": "The artifact to be uploaded.", "properties": {"capture-on": {"description": "The capture on field for the artifact.", "enum": ["success", "failed", "always"], "title": "Artifact Capture On", "type": "string"}, "depth": {"description": "The depth to search for the artifact files.", "minimum": 1, "title": "Artifact Depth", "type": "integer"}, "ignore-paths": {"description": "The ignore paths for the artifact.", "items": {"description": "Glob pattern for paths to ignore when capturing artifacts.", "title": "Ignore Path Pattern", "type": "string"}, "title": "Artifact Ignore Paths", "type": "array"}, "name": {"description": "The name of the artifact.", "title": "Artifact Name", "type": "string"}, "paths": {"$ref": "#/components/schemas/artifacts_paths"}, "type": {"default": "shared", "description": "The type of the artifact.", "enum": ["shared", "scoped", "test-reports"], "title": "Artifact Type", "type": "string"}}, "required": ["name", "paths"], "title": "Artifact Upload object", "type": "object"}, "cache": {"oneOf": [{"$ref": "#/components/schemas/cache_path"}, {"$ref": "#/components/schemas/cache_expanded"}]}, "cache_expanded": {"properties": {"key": {"properties": {"files": {"description": "Checksum of these file paths will be used to generate the cache key.", "items": {"description": "Path to a file or glob pattern of files in the repository which form the cache key.", "type": "string"}, "minItems": 1, "type": "array"}}, "required": ["files"], "title": "Cache Key", "type": "object"}, "path": {"$ref": "#/components/schemas/cache_path"}}, "required": ["path"], "title": "Cache", "type": "object"}, "cache_path": {"description": "Path to the directory to be cached, can be absolute or relative to the clone directory.", "title": "Cache Path", "type": "string"}, "clone": {"description": "Settings for cloning a repository into a container.", "properties": {"depth": {"default": 50, "description": "The depth argument of Git clone operation. It can be either number or \"full\" value", "example": "full", "oneOf": [{"minimum": 1, "type": "integer"}, {"enum": ["full"], "type": "string"}], "title": "Git Clone Depth"}, "enabled": {"default": true, "description": "Enables cloning of the repository.", "type": "boolean"}, "lfs": {"default": false, "description": "Enables the download of files from LFS storage when cloning.", "type": "boolean"}, "skip-ssl-verify": {"default": false, "description": "Disables SSL verification during Git clone operation, allowing the use of self-signed certificates.", "type": "boolean"}}, "title": "Clone Repository Settings", "type": "object"}, "cloud": {"description": "Custom cloud step runtime", "properties": {"arch": {"default": "x86", "description": "Architecture type used to run the step.", "enum": ["x86", "arm"], "type": "string"}, "atlassian-ip-ranges": {"default": false, "description": "Whether it uses Atlassian ip ranges.", "type": "boolean"}, "instance-type": {"description": "Instance type for the cloud runtime.", "type": "string"}, "version": {"description": "Cloud Runtime version.", "type": "string"}}, "title": "Cloud step runtime", "type": "object"}, "condition": {"properties": {"changesets": {"additionalProperties": false, "description": "Condition on the changesets involved in the pipeline.", "maxProperties": 1, "properties": {"excludePaths": {"description": "Condition which holds only if all of the modified files match any of the specified patterns.", "items": {"description": "Glob pattern to match the file path.", "title": "File Path Pattern", "type": "string"}, "minItems": 1, "title": "Exclude Paths", "type": "array"}, "includePaths": {"description": "Condition which holds only if any of the modified files match any of the specified patterns.", "items": {"description": "Glob pattern to match the file path.", "title": "File Path Pattern", "type": "string"}, "minItems": 1, "title": "Include Paths", "type": "array"}}, "title": "Changeset Condition", "type": "object"}}, "required": ["changesets"], "type": "object"}, "custom_pipeline": {"oneOf": [{"$ref": "#/components/schemas/items_with_variables"}, {"$ref": "#/components/schemas/import_pipeline"}]}, "fail_fast": {"default": false, "title": "Fail Fast", "type": "boolean"}, "final_item": {"additionalProperties": false, "properties": {"final": {"$ref": "#/components/schemas/final_step"}}, "type": "object"}, "final_step": {"allOf": [{"$ref": "#/components/schemas/step_base"}, {"description": "A special step that always runs at the end of a pipeline, even if earlier steps fail or the pipeline is stopped. Only one final step is allowed per pipeline and it must be the last item.", "properties": {"deployment": {"not": {}}, "fail-fast": {"not": {}}, "trigger": {"description": "The final step always runs automatically. Manual trigger is not supported.", "enum": ["automatic"], "type": "string"}}, "title": "Final Pipeline Step", "type": "object"}]}, "image": {"oneOf": [{"$ref": "#/components/schemas/image_no_auth"}, {"$ref": "#/components/schemas/image_basic_auth"}, {"$ref": "#/components/schemas/image_aws_auth"}, {"$ref": "#/components/schemas/image_name"}]}, "image_aws_auth": {"allOf": [{"$ref": "#/components/schemas/image_base"}, {"properties": {"aws": {"oneOf": [{"properties": {"access-key": {"description": "The access key for Amazon Elastic Container Registry (AWS ECR).", "title": "AWS Access Key", "type": "string"}, "secret-key": {"description": "The secret key for Amazon Elastic Container Registry (AWS ECR).", "title": "AWS Secret Key", "type": "string"}}, "required": ["access-key", "secret-key"], "type": "object"}, {"properties": {"oidc-role": {"description": "OIDC role with access to private Docker images hosted in Amazon Elastic Container Registry (AWS ECR).", "title": "OpenID Connect Role", "type": "string"}}, "required": ["oidc-role"], "type": "object"}]}}, "required": ["aws"], "type": "object"}]}, "image_base": {"description": "The parameters of the Docker image to use when running a step.", "properties": {"name": {"$ref": "#/components/schemas/image_name"}, "run-as-user": {"default": 0, "description": "The UID of a user in the docker image to run as. Overrides image's default user, specified user UID must be an existing user in the image with a valid home directory.", "title": "User ID", "type": "integer"}}, "required": ["name"], "title": "Docker Image Configuration", "type": "object"}, "image_basic_auth": {"allOf": [{"$ref": "#/components/schemas/image_base"}, {"properties": {"password": {"description": "The password to use when fetching the Docker image.", "title": "Docker Registry Password", "type": "string"}, "username": {"description": "The username to use when fetching the Docker image.", "title": "Docker Registry Username", "type": "string"}}, "required": ["username", "password"], "type": "object"}]}, "image_name": {"default": "atlassian/default-image:latest", "description": "The name of the Docker image which may or may not include registry URL, tag, and digest value.", "title": "Docker Image Name", "type": "string"}, "image_no_auth": {"allOf": [{"$ref": "#/components/schemas/image_base"}, {"properties": {"aws": {"not": {}}, "password": {"not": {}}, "username": {"not": {}}}, "type": "object"}]}, "import_inline_pipeline": {"additionalProperties": false, "properties": {"import": {"description": "The import needs to match the following format: {repo-slug|repo-uuid}:{tag-name|branch-name}:{pipeline-name}.", "pattern": "^[^:]+:[^:]+:[^:]+$", "title": "Identifier of the pipeline configuration to import", "type": "string"}}, "required": ["import"], "type": "object"}, "import_pipeline": {"oneOf": [{"$ref": "#/components/schemas/import_inline_pipeline"}, {"$ref": "#/components/schemas/import_source_pipeline"}]}, "import_source": {"additionalProperties": false, "properties": {"import": {"description": "The import needs to match one of the following formats: {file-path} or {repo-slug|repo-uuid}:{tag-name|branch-name} or {repo-slug|repo-uuid}:{tag-name|branch-name}:{file-path}.", "pattern": "^[^:]+(:[^:]+)?(:[^:]+)?$", "title": "Location of pipeline configuration to import pipelines from", "type": "string"}}, "required": ["import"], "type": "object"}, "import_source_pipeline": {"additionalProperties": false, "properties": {"import": {"description": "The import needs to match the following format: {pipeline-name}@{import-source-name}.", "pattern": "^[^@]+@[^@]+$", "title": "Identifier of the pipeline configuration to import", "type": "string"}}, "required": ["import"], "type": "object"}, "items": {"description": "List of steps, stages and parallel groups of the pipeline.", "items": {"oneOf": [{"$ref": "#/components/schemas/step_item"}, {"$ref": "#/components/schemas/parallel_item"}, {"$ref": "#/components/schemas/stage_item"}, {"$ref": "#/components/schemas/final_item"}]}, "minItems": 1, "title": "Pipeline Items", "type": "array"}, "items_with_variables": {"description": "List of variables, steps, stages and parallel groups of the custom pipeline.", "items": {"oneOf": [{"$ref": "#/components/schemas/variables_item"}, {"$ref": "#/components/schemas/step_item"}, {"$ref": "#/components/schemas/parallel_item"}, {"$ref": "#/components/schemas/stage_item"}]}, "minItems": 1, "title": "Custom Pipeline Items", "type": "array"}, "max_time": {"default": 120, "description": "The maximum time a step can execute for in minutes.", "example": 60, "exclusiveMinimum": 0, "type": "integer"}, "parallel": {"oneOf": [{"$ref": "#/components/schemas/parallel_steps"}, {"$ref": "#/components/schemas/parallel_expanded"}]}, "parallel_expanded": {"properties": {"fail-fast": {"$ref": "#/components/schemas/fail_fast", "description": "Stop the whole parallel group in case one of its steps fails."}, "steps": {"$ref": "#/components/schemas/parallel_steps"}}, "required": ["steps"], "type": "object"}, "parallel_item": {"additionalProperties": false, "properties": {"parallel": {"$ref": "#/components/schemas/parallel"}}, "type": "object"}, "parallel_steps": {"description": "List of steps in the parallel group to run concurrently.", "items": {"$ref": "#/components/schemas/step_item"}, "minItems": 1, "title": "Parallel Group Steps", "type": "array"}, "pipe": {"description": "The pipe to execute.", "example": {"pipe": "atlassian/test-pipe:2.2.0", "variables": {"BAZ": ["QUX", "QUZ"], "FOO": "BAR"}}, "properties": {"pipe": {"description": "The full pipe identifier.", "title": "Pipe Identifier", "type": "string"}, "variables": {"additionalProperties": {"description": "Environment variable value", "oneOf": [{"type": "string"}, {"items": {"type": "string"}, "type": "array"}]}, "description": "Environment variables passed to the pipe container.", "title": "Pipe Variables", "type": "object"}}, "required": ["pipe"], "title": "Pipe", "type": "object"}, "pipeline": {"oneOf": [{"$ref": "#/components/schemas/items"}, {"$ref": "#/components/schemas/import_pipeline"}]}, "pipelines_configuration": {"properties": {"clone": {"$ref": "#/components/schemas/clone"}, "definitions": {"description": "The definitions of caches and services used in the declared pipelines.", "properties": {"caches": {"additionalProperties": {"$ref": "#/components/schemas/cache"}, "title": "Custom cache definitions", "type": "object"}, "imports": {"pipelines": {"additionalProperties": {"$ref": "#/components/schemas/import_source"}, "description": "Definitions of the pipelines imports that can be used in this file.", "title": "Import source definitions", "type": "object"}}, "pipelines": {"additionalProperties": {"$ref": "#/components/schemas/custom_pipeline"}, "description": "Definitions of the pipelines which can be used in other repositories of the same Bitbucket workspace.", "title": "Shared pipeline definitions", "type": "object"}, "services": {"additionalProperties": {"$ref": "#/components/schemas/service"}, "title": "Service definitions", "type": "object"}}, "title": "Global Definitions", "type": "object"}, "export": {"default": false, "description": "Allows other Bitbucket repositories to import pipeline definitions from this file. A shared pipeline definition can't contain another `import` property.", "title": "Enables shared pipelines definitions.", "type": "boolean"}, "image": {"$ref": "#/components/schemas/image"}, "labels": {"description": "Additional key value data supplied in the configuration YAML.", "example": {"buildTool": "maven", "jvm": "jdk17"}, "title": "Pipeline Labels", "type": "object"}, "options": {"description": "Global options allow to override the default values applied to all steps in all declared pipelines.", "properties": {"docker": {"default": false, "description": "Enables Docker service for every step.", "type": "boolean"}, "max-time": {"$ref": "#/components/schemas/max_time"}, "runs-on": {"$ref": "#/components/schemas/runs_on"}, "runtime": {"$ref": "#/components/schemas/runtime"}, "size": {"$ref": "#/components/schemas/size"}}, "title": "Global Options", "type": "object"}, "pipelines": {"properties": {"branches": {"additionalProperties": {"$ref": "#/components/schemas/pipeline"}, "description": "Branch-specific build pipelines.", "title": "Branch Pipelines", "type": "object"}, "custom": {"additionalProperties": {"$ref": "#/components/schemas/custom_pipeline"}, "description": "Pipelines that can only be triggered manually or be scheduled.", "title": "Custom Pipelines", "type": "object"}, "default": {"$ref": "#/components/schemas/pipeline", "description": "Default pipeline runs on every push except for tags unless a branch-specific pipeline is defined.", "title": "Default Pipeline"}, "pull-requests": {"additionalProperties": {"$ref": "#/components/schemas/pull_requests_pipeline"}, "description": "Pull-request-specific build pipelines.", "title": "Pull Request Pipelines", "type": "object"}, "tags": {"additionalProperties": {"$ref": "#/components/schemas/pipeline"}, "description": "Tag-specific build pipelines.", "title": "Tag Pipelines", "type": "object"}}, "title": "Pipelines", "type": "object"}, "triggers": {"additionalProperties": {"$ref": "#/components/schemas/trigger_configuration_list"}, "description": "Event-based triggers that automatically run pipelines when specific events occur. The property names represent trigger types (e.g., repository-push, pullrequest-push, pipeline-completed, deployment-completed, pullrequest-created).", "example": {"deployment-completed": [{"condition": "BITBUCKET_TRIGGER_DEPLOYMENT_STATUS == \"FAILED\"", "pipelines": ["pipeline2"]}], "pipeline-completed": [{"condition": "BITBUCKET_TRIGGER_PIPELINE_STATUS == \"FAILED\"", "pipelines": ["pipeline1"]}], "pullrequest-created": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline1"]}], "pullrequest-fulfilled": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline2"]}], "pullrequest-push": [{"condition": "BITBUCKET_PR_DESTINATION_BRANCH == \"main\"", "pipelines": ["pipeline2"]}], "pullrequest-rejected": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline1"]}], "pullrequest-reviewer-status-updated": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline1"]}], "pullrequest-updated": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline2"]}], "repository-push": [{"condition": "BITBUCKET_BRANCH == \"main\"", "pipelines": ["pipeline1"]}]}, "title": "Pipeline Triggers", "type": "object"}}, "type": "object"}, "pull_requests_pipeline": {"oneOf": [{"$ref": "#/components/schemas/items"}, {"properties": {"destinations": {"additionalProperties": {"$ref": "#/components/schemas/pipeline"}, "type": "object"}}, "type": "object"}]}, "runs_on": {"oneOf": [{"$ref": "#/components/schemas/runs_on_item"}, {"$ref": "#/components/schemas/runs_on_expanded"}]}, "runs_on_expanded": {"description": "Required labels of a runner to run the step.", "example": ["self.hosted", "linux"], "items": {"$ref": "#/components/schemas/runs_on_item"}, "maxItems": 10, "minItems": 1, "title": "Step Runner Labels", "type": "array"}, "runs_on_item": {"description": "Label of a runner.", "maxLength": 50, "title": "Step Runner Label", "type": "string"}, "runtime": {"description": "Custom step runtime", "properties": {"cloud": {"$ref": "#/components/schemas/cloud"}, "self-hosted": {"$ref": "#/components/schemas/self-hosted"}}, "title": "Step Runtime", "type": "object"}, "script": {"items": {"oneOf": [{"description": "The command to execute.", "example": "echo \"hello world\"", "title": "Script Command", "type": "string"}, {"$ref": "#/components/schemas/pipe"}]}, "minItems": 1, "type": "array"}, "self-hosted": {"description": "Custom self-hosted step runtime", "properties": {"cpu": {"description": "Cpu available to runner.", "title": "Cpu", "type": "integer"}, "memory": {"description": "Memory (mb) available to runner.", "title": "Memory", "type": "integer"}, "storage": {"oneOf": [{"properties": {"gcp": {"$ref": "#/components/schemas/storage_gcp_auth"}}, "required": ["gcp"], "type": "object"}, {"properties": {"aws": {"$ref": "#/components/schemas/storage_aws_auth"}}, "required": ["aws"], "type": "object"}]}, "volumes": {"default": [], "description": "Volumes to be mounted into the build container.", "items": {"description": "The volume to be mounted into the build container", "example": "/host-directory:/workdir/path", "title": "Volume mount", "type": "string"}, "type": "array"}}, "title": "Self-hosted step runtime", "type": "object"}, "service": {"description": "Custom service properties", "properties": {"image": {"$ref": "#/components/schemas/image"}, "memory": {"default": 1024, "description": "Memory limit for the service container, in megabytes.", "minimum": 128, "title": "Service Memory", "type": "integer"}, "type": {"description": "Specifies Docker service container (to run Docker-in-Docker).", "enum": ["docker"], "type": "string"}, "variables": {"additionalProperties": {"description": "Environment variable value", "title": "Service Variable", "type": "string"}, "description": "Environment variables passed to the service container.", "minProperties": 1, "title": "Service Variables", "type": "object"}}, "title": "Service definition", "type": "object"}, "size": {"default": "1x", "description": "The size of the step, sets the amount of resources allocated.", "enum": ["1x", "2x", "4x", "8x", "16x", "32x"], "title": "Step Size", "type": "string"}, "stage": {"properties": {"condition": {"$ref": "#/components/schemas/condition", "description": "The condition to execute the stage.", "title": "Stage Condition"}, "deployment": {"description": "The deployment environment for the stage.", "title": "Stage Deployment Environment", "type": "string"}, "environment": {"description": "The environment for the stage.", "title": "Stage Environment", "type": "string"}, "name": {"description": "The name of the stage.", "title": "Stage Name", "type": "string"}, "steps": {"description": "List of steps in the stage.", "items": {"properties": {"step": {"allOf": [{"$ref": "#/components/schemas/step_base"}, {"properties": {"condition": {"not": {}}}, "type": "object"}]}}, "type": "object"}, "minItems": 1, "title": "Stage Steps", "type": "array"}, "trigger": {"$ref": "#/components/schemas/trigger", "description": "The trigger used for the pipeline stage.", "title": "Stage Trigger"}}, "required": ["steps"], "type": "object"}, "stage_item": {"additionalProperties": false, "properties": {"stage": {"$ref": "#/components/schemas/stage"}}, "type": "object"}, "step": {"allOf": [{"$ref": "#/components/schemas/step_base"}, {"properties": {"condition": {"$ref": "#/components/schemas/condition", "description": "The condition to execute the step.", "title": "Step Condition"}}, "type": "object"}]}, "step_base": {"properties": {"after-script": {"$ref": "#/components/schemas/script", "description": "List of commands to execute after the step succeeds or fails.", "title": "Step Post Script"}, "artifacts": {"$ref": "#/components/schemas/artifacts"}, "caches": {"description": "Caches enabled for the step.", "items": {"description": "Reference to a cache defined under global definitions.", "title": "Cache Name", "type": "string"}, "minItems": 1, "title": "Step Caches", "type": "array"}, "clone": {"$ref": "#/components/schemas/clone"}, "concurrency-group": {"description": "The concurrency group for the step.", "maxLength": 50, "title": "Concurrency group", "type": "string"}, "custom": {"description": "The name of the custom pipeline to run, if the step type is pipeline.", "title": "Custom", "type": "string"}, "deployment": {"description": "The deployment environment for the step.", "title": "Step Deployment Environment", "type": "string"}, "environment": {"description": "The environment for the step.", "title": "Step Environment", "type": "string"}, "fail-fast": {"$ref": "#/components/schemas/fail_fast", "description": "Stop the parent parallel group in case this step fails."}, "image": {"$ref": "#/components/schemas/image"}, "input-variables": {"additionalProperties": {"description": "input variable value", "oneOf": [{"type": "string"}]}, "description": "Variables from the parent step that are provided to the child pipeline.", "example": {"VAR_1": "VALUE_1", "VAR_2": "${BITBUCKET_BRANCH}"}, "maxProperties": 20, "minProperties": 1, "title": "Input Variables", "type": "object"}, "max-time": {"$ref": "#/components/schemas/max_time", "title": "Step Maximum Time"}, "name": {"description": "The name of the step.", "example": "Build and test", "title": "Step Name", "type": "string"}, "oidc": {"description": "Enables the use of OpenID Connect to connect a pipeline step to a resource server.", "type": "boolean"}, "runs-on": {"$ref": "#/components/schemas/runs_on"}, "runtime": {"$ref": "#/components/schemas/runtime"}, "script": {"$ref": "#/components/schemas/script", "description": "List of commands that are executed in sequence.", "title": "Step Script"}, "services": {"description": "Services enabled for the step.", "items": {"description": "Reference to a service defined under global definitions.", "title": "Service Name", "type": "string"}, "maxItems": 5, "minItems": 1, "title": "Step Services", "type": "array"}, "size": {"$ref": "#/components/schemas/size"}, "trigger": {"$ref": "#/components/schemas/trigger", "description": "The trigger used for the pipeline step.", "title": "Step Trigger"}, "type": {"default": "shared", "description": "The type of the step.", "enum": ["inline", "pipeline"], "title": "Step Type", "type": "string"}}, "title": "Pipeline Step", "type": "object"}, "step_item": {"additionalProperties": false, "properties": {"step": {"$ref": "#/components/schemas/step"}}, "type": "object"}, "storage_aws_auth": {"description": "Amazon web services self hosted storage", "oneOf": [{"required": ["access-key", "secret-key"]}, {"required": ["oidc-role"]}], "properties": {"access-key": {"description": "The AWS access key", "type": "string"}, "bucket": {"description": "The name of the S3 bucket", "type": "string"}, "oidc-role": {"description": "The OIDC role to assume", "type": "string"}, "region": {"description": "The AWS region", "type": "string"}, "secret-key": {"description": "The AWS secret key", "type": "string"}}, "required": ["bucket", "region"], "title": "Custom aws self hosted storage", "type": "object"}, "storage_gcp_auth": {"description": "Google Cloud Platform self hosted storage", "properties": {"bucket": {"description": "The name of the GCP bucket", "type": "string"}, "key-file": {"description": "The GCP key file contents encoded in Base64 format", "type": "string"}}, "required": ["bucket", "key-file"], "title": "Custom GCP self hosted storage", "type": "object"}, "trigger": {"default": "automatic", "enum": ["automatic", "manual"], "type": "string"}, "trigger_configuration": {"description": "Configuration that defines when and which pipelines to trigger.", "properties": {"condition": {"description": "Boolean expression that determines whether the trigger should execute.", "example": "BITBUCKET_BRANCH == \"main\"", "title": "Trigger Condition", "type": "string"}, "pipelines": {"description": "List of pipeline names to trigger when the condition is met. Can reference pipelines from the custom section.", "items": {"description": "Name of a pipeline defined in the custom pipelines section.", "title": "Pipeline Name", "type": "string"}, "minItems": 1, "title": "Pipeline Names", "type": "array"}}, "required": ["condition", "pipelines"], "title": "Trigger Configuration", "type": "object"}, "trigger_configuration_list": {"description": "List of trigger configurations for a specific trigger type.", "items": {"$ref": "#/components/schemas/trigger_configuration"}, "minItems": 1, "title": "Trigger Configuration List", "type": "array"}, "trigger_context": {"description": "Context of the trigger that started the pipeline. Only returned for pipelines triggered by a parent step.", "properties": {"parent_pipeline_run_uuid": {"description": "The UUID of the pipeline run that contains the parent step that triggered this pipeline.", "example": "{00000000-0000-0000-0000-000000000000}", "title": "Parent Pipeline Run UUID", "type": "string"}, "parent_pipeline_uuid": {"description": "The UUID of the pipeline that contains the parent step that triggered this pipeline.", "example": "{00000000-0000-0000-0000-000000000000}", "title": "Parent Pipeline UUID", "type": "string"}, "parent_step_uuid": {"description": "The UUID of the parent step that triggered this pipeline.", "example": "{00000000-0000-0000-0000-000000000000}", "title": "Parent Step UUID", "type": "string"}, "type": {"description": "The type of trigger that started the pipeline.", "enum": ["parent_step"], "title": "Pipeline Trigger", "type": "string"}}, "type": "object"}, "variables_item": {"additionalProperties": false, "properties": {"variables": {"description": "List of variables for the custom pipeline.", "items": {"description": "Settings for the custom variable.", "properties": {"allowed-values": {"description": "A list of values that are allowed for the variable.", "items": {"title": "Allowed Variable Value", "type": "string"}, "minItems": 1, "title": "Allowed Variable Values", "type": "array"}, "default": {"title": "Default Variable Value", "type": "string"}, "description": {"title": "Variable Description", "type": "string"}, "name": {"title": "Variable Name", "type": "string"}}, "required": ["name"], "title": "Custom Pipeline Variable", "type": "object"}, "minItems": 1, "title": "Custom Pipeline Variables", "type": "array"}}, "type": "object"}}}} \ No newline at end of file +{"$id": "https://bitbucket.org/product/features/pipelines", "$ref": "#/components/schemas/pipelines_configuration", "$schema": "http://json-schema.org/draft-07/schema#", "components": {"schemas": {"artifacts": {"oneOf": [{"$ref": "#/components/schemas/artifacts_paths"}, {"$ref": "#/components/schemas/artifacts_expanded"}]}, "artifacts_expanded": {"properties": {"download": {"oneOf": [{"default": true, "description": "Enables downloading of all available artifacts at the end of a step.", "type": "boolean"}, {"description": "Define the list of filtered artifacts to be downloaded by the step.", "items": {"type": "string"}, "minItems": 1, "type": "array"}]}, "paths": {"$ref": "#/components/schemas/artifacts_paths"}, "upload": {"items": {"$ref": "#/components/schemas/artifacts_upload"}, "minItems": 1, "type": "array"}}, "type": "object"}, "artifacts_paths": {"items": {"description": "Glob pattern for the path to the artifacts.", "title": "Artifact Path Pattern", "type": "string"}, "minItems": 1, "type": "array"}, "artifacts_upload": {"description": "The artifact to be uploaded.", "properties": {"capture-on": {"description": "The capture on field for the artifact.", "enum": ["success", "failed", "always"], "title": "Artifact Capture On", "type": "string"}, "depth": {"description": "The depth to search for the artifact files.", "minimum": 1, "title": "Artifact Depth", "type": "integer"}, "ignore-paths": {"description": "The ignore paths for the artifact.", "items": {"description": "Glob pattern for paths to ignore when capturing artifacts.", "title": "Ignore Path Pattern", "type": "string"}, "title": "Artifact Ignore Paths", "type": "array"}, "name": {"description": "The name of the artifact.", "title": "Artifact Name", "type": "string"}, "paths": {"$ref": "#/components/schemas/artifacts_paths"}, "type": {"default": "shared", "description": "The type of the artifact.", "enum": ["shared", "scoped", "test-reports"], "title": "Artifact Type", "type": "string"}}, "required": ["name", "paths"], "title": "Artifact Upload object", "type": "object"}, "cache": {"oneOf": [{"$ref": "#/components/schemas/cache_path"}, {"$ref": "#/components/schemas/cache_expanded"}]}, "cache_expanded": {"properties": {"key": {"properties": {"files": {"description": "Checksum of these file paths will be used to generate the cache key.", "items": {"description": "Path to a file or glob pattern of files in the repository which form the cache key.", "type": "string"}, "minItems": 1, "type": "array"}}, "required": ["files"], "title": "Cache Key", "type": "object"}, "path": {"$ref": "#/components/schemas/cache_path"}}, "required": ["path"], "title": "Cache", "type": "object"}, "cache_path": {"description": "Path to the directory to be cached, can be absolute or relative to the clone directory.", "title": "Cache Path", "type": "string"}, "clone": {"description": "Settings for cloning a repository into a container.", "properties": {"depth": {"default": 50, "description": "The depth argument of Git clone operation. It can be either number or \"full\" value", "example": "full", "oneOf": [{"minimum": 1, "type": "integer"}, {"enum": ["full"], "type": "string"}], "title": "Git Clone Depth"}, "enabled": {"default": true, "description": "Enables cloning of the repository.", "type": "boolean"}, "lfs": {"default": false, "description": "Enables the download of files from LFS storage when cloning.", "type": "boolean"}, "skip-ssl-verify": {"default": false, "description": "Disables SSL verification during Git clone operation, allowing the use of self-signed certificates.", "type": "boolean"}}, "title": "Clone Repository Settings", "type": "object"}, "cloud": {"description": "Custom cloud step runtime", "properties": {"arch": {"default": "x86", "description": "Architecture type used to run the step.", "enum": ["x86", "arm"], "type": "string"}, "atlassian-ip-ranges": {"default": false, "description": "Whether it uses Atlassian ip ranges.", "type": "boolean"}, "instance-type": {"description": "Instance type for the cloud runtime.", "type": "string"}, "version": {"description": "Cloud Runtime version.", "type": "string"}}, "title": "Cloud step runtime", "type": "object"}, "condition": {"properties": {"changesets": {"additionalProperties": false, "description": "Condition on the changesets involved in the pipeline.", "maxProperties": 1, "properties": {"excludePaths": {"description": "Condition which holds only if all of the modified files match any of the specified patterns.", "items": {"description": "Glob pattern to match the file path.", "title": "File Path Pattern", "type": "string"}, "minItems": 1, "title": "Exclude Paths", "type": "array"}, "includePaths": {"description": "Condition which holds only if any of the modified files match any of the specified patterns.", "items": {"description": "Glob pattern to match the file path.", "title": "File Path Pattern", "type": "string"}, "minItems": 1, "title": "Include Paths", "type": "array"}}, "title": "Changeset Condition", "type": "object"}, "state": {"description": "Only execute a step or stage when a boolean expression evaluates to true.", "example": "PROD_DEPLOYMENT_ENABLED == true", "maxLength": 1000, "minLength": 1, "title": "Boolean expression condition", "type": "string"}}, "type": "object"}, "custom_pipeline": {"oneOf": [{"$ref": "#/components/schemas/items_with_variables"}, {"$ref": "#/components/schemas/import_pipeline"}]}, "fail_fast": {"default": false, "title": "Fail Fast", "type": "boolean"}, "final_item": {"additionalProperties": false, "properties": {"final": {"$ref": "#/components/schemas/final_step"}}, "type": "object"}, "final_step": {"allOf": [{"$ref": "#/components/schemas/step_base"}, {"description": "A special step that always runs at the end of a pipeline, even if earlier steps fail or the pipeline is stopped. Only one final step is allowed per pipeline and it must be the last item.", "properties": {"deployment": {"not": {}}, "fail-fast": {"not": {}}, "trigger": {"description": "The final step always runs automatically. Manual trigger is not supported.", "enum": ["automatic"], "type": "string"}}, "title": "Final Pipeline Step", "type": "object"}]}, "image": {"oneOf": [{"$ref": "#/components/schemas/image_no_auth"}, {"$ref": "#/components/schemas/image_basic_auth"}, {"$ref": "#/components/schemas/image_aws_auth"}, {"$ref": "#/components/schemas/image_name"}]}, "image_aws_auth": {"allOf": [{"$ref": "#/components/schemas/image_base"}, {"properties": {"aws": {"oneOf": [{"properties": {"access-key": {"description": "The access key for Amazon Elastic Container Registry (AWS ECR).", "title": "AWS Access Key", "type": "string"}, "secret-key": {"description": "The secret key for Amazon Elastic Container Registry (AWS ECR).", "title": "AWS Secret Key", "type": "string"}}, "required": ["access-key", "secret-key"], "type": "object"}, {"properties": {"oidc-role": {"description": "OIDC role with access to private Docker images hosted in Amazon Elastic Container Registry (AWS ECR).", "title": "OpenID Connect Role", "type": "string"}}, "required": ["oidc-role"], "type": "object"}]}}, "required": ["aws"], "type": "object"}]}, "image_base": {"description": "The parameters of the Docker image to use when running a step.", "properties": {"name": {"$ref": "#/components/schemas/image_name"}, "run-as-user": {"default": 0, "description": "The UID of a user in the docker image to run as. Overrides image's default user, specified user UID must be an existing user in the image with a valid home directory.", "title": "User ID", "type": "integer"}}, "required": ["name"], "title": "Docker Image Configuration", "type": "object"}, "image_basic_auth": {"allOf": [{"$ref": "#/components/schemas/image_base"}, {"properties": {"password": {"description": "The password to use when fetching the Docker image.", "title": "Docker Registry Password", "type": "string"}, "username": {"description": "The username to use when fetching the Docker image.", "title": "Docker Registry Username", "type": "string"}}, "required": ["username", "password"], "type": "object"}]}, "image_name": {"default": "atlassian/default-image:latest", "description": "The name of the Docker image which may or may not include registry URL, tag, and digest value.", "title": "Docker Image Name", "type": "string"}, "image_no_auth": {"allOf": [{"$ref": "#/components/schemas/image_base"}, {"properties": {"aws": {"not": {}}, "password": {"not": {}}, "username": {"not": {}}}, "type": "object"}]}, "import_inline_pipeline": {"additionalProperties": false, "properties": {"import": {"description": "The import needs to match the following format: {repo-slug|repo-uuid}:{tag-name|branch-name}:{pipeline-name}.", "pattern": "^[^:]+:[^:]+:[^:]+$", "title": "Identifier of the pipeline configuration to import", "type": "string"}}, "required": ["import"], "type": "object"}, "import_pipeline": {"oneOf": [{"$ref": "#/components/schemas/import_inline_pipeline"}, {"$ref": "#/components/schemas/import_source_pipeline"}]}, "import_source": {"additionalProperties": false, "properties": {"import": {"description": "The import needs to match one of the following formats: {file-path} or {repo-slug|repo-uuid}:{tag-name|branch-name} or {repo-slug|repo-uuid}:{tag-name|branch-name}:{file-path}.", "pattern": "^[^:]+(:[^:]+)?(:[^:]+)?$", "title": "Location of pipeline configuration to import pipelines from", "type": "string"}}, "required": ["import"], "type": "object"}, "import_source_pipeline": {"additionalProperties": false, "properties": {"import": {"description": "The import needs to match the following format: {pipeline-name}@{import-source-name}.", "pattern": "^[^@]+@[^@]+$", "title": "Identifier of the pipeline configuration to import", "type": "string"}}, "required": ["import"], "type": "object"}, "items": {"description": "List of steps, stages and parallel groups of the pipeline.", "items": {"oneOf": [{"$ref": "#/components/schemas/step_item"}, {"$ref": "#/components/schemas/parallel_item"}, {"$ref": "#/components/schemas/stage_item"}, {"$ref": "#/components/schemas/final_item"}]}, "minItems": 1, "title": "Pipeline Items", "type": "array"}, "items_with_variables": {"description": "List of variables, steps, stages and parallel groups of the custom pipeline.", "items": {"oneOf": [{"$ref": "#/components/schemas/variables_item"}, {"$ref": "#/components/schemas/step_item"}, {"$ref": "#/components/schemas/parallel_item"}, {"$ref": "#/components/schemas/stage_item"}]}, "minItems": 1, "title": "Custom Pipeline Items", "type": "array"}, "max_time": {"default": 120, "description": "The maximum time a step can execute for in minutes.", "example": 60, "exclusiveMinimum": 0, "type": "integer"}, "parallel": {"oneOf": [{"$ref": "#/components/schemas/parallel_steps"}, {"$ref": "#/components/schemas/parallel_expanded"}]}, "parallel_expanded": {"properties": {"fail-fast": {"$ref": "#/components/schemas/fail_fast", "description": "Stop the whole parallel group in case one of its steps fails."}, "steps": {"$ref": "#/components/schemas/parallel_steps"}}, "required": ["steps"], "type": "object"}, "parallel_item": {"additionalProperties": false, "properties": {"parallel": {"$ref": "#/components/schemas/parallel"}}, "type": "object"}, "parallel_steps": {"description": "List of steps in the parallel group to run concurrently.", "items": {"$ref": "#/components/schemas/step_item"}, "minItems": 1, "title": "Parallel Group Steps", "type": "array"}, "pipe": {"description": "The pipe to execute.", "example": {"pipe": "atlassian/test-pipe:2.2.0", "variables": {"BAZ": ["QUX", "QUZ"], "FOO": "BAR"}}, "properties": {"pipe": {"description": "The full pipe identifier.", "title": "Pipe Identifier", "type": "string"}, "variables": {"additionalProperties": {"description": "Environment variable value", "oneOf": [{"type": "string"}, {"items": {"type": "string"}, "type": "array"}]}, "description": "Environment variables passed to the pipe container.", "title": "Pipe Variables", "type": "object"}}, "required": ["pipe"], "title": "Pipe", "type": "object"}, "pipeline": {"oneOf": [{"$ref": "#/components/schemas/items"}, {"$ref": "#/components/schemas/import_pipeline"}]}, "pipelines_configuration": {"properties": {"clone": {"$ref": "#/components/schemas/clone"}, "definitions": {"description": "The definitions of caches and services used in the declared pipelines.", "properties": {"caches": {"additionalProperties": {"$ref": "#/components/schemas/cache"}, "title": "Custom cache definitions", "type": "object"}, "imports": {"pipelines": {"additionalProperties": {"$ref": "#/components/schemas/import_source"}, "description": "Definitions of the pipelines imports that can be used in this file.", "title": "Import source definitions", "type": "object"}}, "pipelines": {"additionalProperties": {"$ref": "#/components/schemas/custom_pipeline"}, "description": "Definitions of the pipelines which can be used in other repositories of the same Bitbucket workspace.", "title": "Shared pipeline definitions", "type": "object"}, "services": {"additionalProperties": {"$ref": "#/components/schemas/service"}, "title": "Service definitions", "type": "object"}}, "title": "Global Definitions", "type": "object"}, "export": {"default": false, "description": "Allows other Bitbucket repositories to import pipeline definitions from this file. A shared pipeline definition can't contain another `import` property.", "title": "Enables shared pipelines definitions.", "type": "boolean"}, "image": {"$ref": "#/components/schemas/image"}, "labels": {"description": "Additional key value data supplied in the configuration YAML.", "example": {"buildTool": "maven", "jvm": "jdk17"}, "title": "Pipeline Labels", "type": "object"}, "options": {"description": "Global options allow to override the default values applied to all steps in all declared pipelines.", "properties": {"docker": {"default": false, "description": "Enables Docker service for every step.", "type": "boolean"}, "max-time": {"$ref": "#/components/schemas/max_time"}, "runs-on": {"$ref": "#/components/schemas/runs_on"}, "runtime": {"$ref": "#/components/schemas/runtime"}, "size": {"$ref": "#/components/schemas/size"}}, "title": "Global Options", "type": "object"}, "pipelines": {"properties": {"branches": {"additionalProperties": {"$ref": "#/components/schemas/pipeline"}, "description": "Branch-specific build pipelines.", "title": "Branch Pipelines", "type": "object"}, "custom": {"additionalProperties": {"$ref": "#/components/schemas/custom_pipeline"}, "description": "Pipelines that can only be triggered manually or be scheduled.", "title": "Custom Pipelines", "type": "object"}, "default": {"$ref": "#/components/schemas/pipeline", "description": "Default pipeline runs on every push except for tags unless a branch-specific pipeline is defined.", "title": "Default Pipeline"}, "pull-requests": {"additionalProperties": {"$ref": "#/components/schemas/pull_requests_pipeline"}, "description": "Pull-request-specific build pipelines.", "title": "Pull Request Pipelines", "type": "object"}, "tags": {"additionalProperties": {"$ref": "#/components/schemas/pipeline"}, "description": "Tag-specific build pipelines.", "title": "Tag Pipelines", "type": "object"}}, "title": "Pipelines", "type": "object"}, "triggers": {"additionalProperties": {"$ref": "#/components/schemas/trigger_configuration_list"}, "description": "Event-based triggers that automatically run pipelines when specific events occur. The property names represent trigger types (e.g., repository-push, pullrequest-push, pipeline-completed, deployment-completed, pullrequest-created).", "example": {"deployment-completed": [{"condition": "BITBUCKET_TRIGGER_DEPLOYMENT_STATUS == \"FAILED\"", "pipelines": ["pipeline2"]}], "pipeline-completed": [{"condition": "BITBUCKET_TRIGGER_PIPELINE_STATUS == \"FAILED\"", "pipelines": ["pipeline1"]}], "pullrequest-created": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline1"]}], "pullrequest-fulfilled": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline2"]}], "pullrequest-push": [{"condition": "BITBUCKET_PR_DESTINATION_BRANCH == \"main\"", "pipelines": ["pipeline2"]}], "pullrequest-rejected": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline1"]}], "pullrequest-reviewer-status-updated": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline1"]}], "pullrequest-updated": [{"condition": "glob(BITBUCKET_BRANCH, \"feature/*\")", "pipelines": ["pipeline2"]}], "repository-push": [{"condition": "BITBUCKET_BRANCH == \"main\"", "pipelines": ["pipeline1"]}]}, "title": "Pipeline Triggers", "type": "object"}}, "type": "object"}, "pull_requests_pipeline": {"oneOf": [{"$ref": "#/components/schemas/items"}, {"properties": {"destinations": {"additionalProperties": {"$ref": "#/components/schemas/pipeline"}, "type": "object"}}, "type": "object"}]}, "runs_on": {"oneOf": [{"$ref": "#/components/schemas/runs_on_item"}, {"$ref": "#/components/schemas/runs_on_expanded"}]}, "runs_on_expanded": {"description": "Required labels of a runner to run the step.", "example": ["self.hosted", "linux"], "items": {"$ref": "#/components/schemas/runs_on_item"}, "maxItems": 10, "minItems": 1, "title": "Step Runner Labels", "type": "array"}, "runs_on_item": {"description": "Label of a runner.", "maxLength": 50, "title": "Step Runner Label", "type": "string"}, "runtime": {"description": "Custom step runtime", "properties": {"cloud": {"$ref": "#/components/schemas/cloud"}, "self-hosted": {"$ref": "#/components/schemas/self-hosted"}}, "title": "Step Runtime", "type": "object"}, "script": {"items": {"oneOf": [{"description": "The command to execute.", "example": "echo \"hello world\"", "title": "Script Command", "type": "string"}, {"$ref": "#/components/schemas/pipe"}]}, "minItems": 1, "type": "array"}, "self-hosted": {"description": "Custom self-hosted step runtime", "properties": {"cpu": {"description": "Cpu available to runner.", "title": "Cpu", "type": "integer"}, "memory": {"description": "Memory (mb) available to runner.", "title": "Memory", "type": "integer"}, "storage": {"oneOf": [{"properties": {"gcp": {"$ref": "#/components/schemas/storage_gcp_auth"}}, "required": ["gcp"], "type": "object"}, {"properties": {"aws": {"$ref": "#/components/schemas/storage_aws_auth"}}, "required": ["aws"], "type": "object"}]}, "volumes": {"default": [], "description": "Volumes to be mounted into the build container.", "items": {"description": "The volume to be mounted into the build container", "example": "/host-directory:/workdir/path", "title": "Volume mount", "type": "string"}, "type": "array"}}, "title": "Self-hosted step runtime", "type": "object"}, "service": {"description": "Custom service properties", "properties": {"image": {"$ref": "#/components/schemas/image"}, "memory": {"default": 1024, "description": "Memory limit for the service container, in megabytes.", "minimum": 128, "title": "Service Memory", "type": "integer"}, "type": {"description": "Specifies Docker service container (to run Docker-in-Docker).", "enum": ["docker"], "type": "string"}, "variables": {"additionalProperties": {"description": "Environment variable value", "title": "Service Variable", "type": "string"}, "description": "Environment variables passed to the service container.", "minProperties": 1, "title": "Service Variables", "type": "object"}}, "title": "Service definition", "type": "object"}, "size": {"default": "1x", "description": "The size of the step, sets the amount of resources allocated.", "enum": ["1x", "2x", "4x", "8x", "16x", "32x"], "title": "Step Size", "type": "string"}, "stage": {"properties": {"condition": {"$ref": "#/components/schemas/condition", "description": "The condition to execute the stage.", "title": "Stage Condition"}, "deployment": {"description": "The deployment environment for the stage.", "title": "Stage Deployment Environment", "type": "string"}, "environment": {"description": "The environment for the stage.", "title": "Stage Environment", "type": "string"}, "name": {"description": "The name of the stage.", "title": "Stage Name", "type": "string"}, "steps": {"description": "List of steps in the stage.", "items": {"properties": {"step": {"allOf": [{"$ref": "#/components/schemas/step_base"}, {"properties": {"condition": {"not": {}}}, "type": "object"}]}}, "type": "object"}, "minItems": 1, "title": "Stage Steps", "type": "array"}, "trigger": {"$ref": "#/components/schemas/trigger", "description": "The trigger used for the pipeline stage.", "title": "Stage Trigger"}}, "required": ["steps"], "type": "object"}, "stage_item": {"additionalProperties": false, "properties": {"stage": {"$ref": "#/components/schemas/stage"}}, "type": "object"}, "step": {"allOf": [{"$ref": "#/components/schemas/step_base"}, {"properties": {"condition": {"$ref": "#/components/schemas/condition", "description": "The condition to execute the step.", "title": "Step Condition"}}, "type": "object"}]}, "step_base": {"properties": {"after-script": {"$ref": "#/components/schemas/script", "description": "List of commands to execute after the step succeeds or fails.", "title": "Step Post Script"}, "artifacts": {"$ref": "#/components/schemas/artifacts"}, "caches": {"description": "Caches enabled for the step.", "items": {"description": "Reference to a cache defined under global definitions.", "title": "Cache Name", "type": "string"}, "minItems": 1, "title": "Step Caches", "type": "array"}, "clone": {"$ref": "#/components/schemas/clone"}, "concurrency-group": {"description": "The concurrency group for the step.", "maxLength": 50, "title": "Concurrency group", "type": "string"}, "custom": {"description": "The name of the custom pipeline to run, if the step type is pipeline.", "title": "Custom", "type": "string"}, "deployment": {"description": "The deployment environment for the step.", "title": "Step Deployment Environment", "type": "string"}, "environment": {"description": "The environment for the step.", "title": "Step Environment", "type": "string"}, "fail-fast": {"$ref": "#/components/schemas/fail_fast", "description": "Stop the parent parallel group in case this step fails."}, "image": {"$ref": "#/components/schemas/image"}, "input-variables": {"additionalProperties": {"description": "input variable value", "oneOf": [{"type": "string"}]}, "description": "Variables from the parent step that are provided to the child pipeline.", "example": {"VAR_1": "VALUE_1", "VAR_2": "${BITBUCKET_BRANCH}"}, "maxProperties": 20, "minProperties": 1, "title": "Input Variables", "type": "object"}, "max-time": {"$ref": "#/components/schemas/max_time", "title": "Step Maximum Time"}, "name": {"description": "The name of the step.", "example": "Build and test", "title": "Step Name", "type": "string"}, "oidc": {"description": "Enables the use of OpenID Connect to connect a pipeline step to a resource server.", "type": "boolean"}, "runs-on": {"$ref": "#/components/schemas/runs_on"}, "runtime": {"$ref": "#/components/schemas/runtime"}, "script": {"$ref": "#/components/schemas/script", "description": "List of commands that are executed in sequence.", "title": "Step Script"}, "services": {"description": "Services enabled for the step.", "items": {"description": "Reference to a service defined under global definitions.", "title": "Service Name", "type": "string"}, "maxItems": 5, "minItems": 1, "title": "Step Services", "type": "array"}, "size": {"$ref": "#/components/schemas/size"}, "trigger": {"$ref": "#/components/schemas/trigger", "description": "The trigger used for the pipeline step.", "title": "Step Trigger"}, "type": {"default": "shared", "description": "The type of the step.", "enum": ["inline", "pipeline"], "title": "Step Type", "type": "string"}}, "title": "Pipeline Step", "type": "object"}, "step_item": {"additionalProperties": false, "properties": {"step": {"$ref": "#/components/schemas/step"}}, "type": "object"}, "storage_aws_auth": {"description": "Amazon web services self hosted storage", "oneOf": [{"required": ["access-key", "secret-key"]}, {"required": ["oidc-role"]}], "properties": {"access-key": {"description": "The AWS access key", "type": "string"}, "bucket": {"description": "The name of the S3 bucket", "type": "string"}, "oidc-role": {"description": "The OIDC role to assume", "type": "string"}, "region": {"description": "The AWS region", "type": "string"}, "secret-key": {"description": "The AWS secret key", "type": "string"}}, "required": ["bucket", "region"], "title": "Custom aws self hosted storage", "type": "object"}, "storage_gcp_auth": {"description": "Google Cloud Platform self hosted storage", "properties": {"bucket": {"description": "The name of the GCP bucket", "type": "string"}, "key-file": {"description": "The GCP key file contents encoded in Base64 format", "type": "string"}}, "required": ["bucket", "key-file"], "title": "Custom GCP self hosted storage", "type": "object"}, "trigger": {"default": "automatic", "enum": ["automatic", "manual"], "type": "string"}, "trigger_configuration": {"description": "Configuration that defines when and which pipelines to trigger.", "properties": {"condition": {"description": "Boolean expression that determines whether the trigger should execute.", "example": "BITBUCKET_BRANCH == \"main\"", "title": "Trigger Condition", "type": "string"}, "pipelines": {"description": "List of pipeline names to trigger when the condition is met. Can reference pipelines from the custom section.", "items": {"description": "Name of a pipeline defined in the custom pipelines section.", "title": "Pipeline Name", "type": "string"}, "minItems": 1, "title": "Pipeline Names", "type": "array"}}, "required": ["condition", "pipelines"], "title": "Trigger Configuration", "type": "object"}, "trigger_configuration_list": {"description": "List of trigger configurations for a specific trigger type.", "items": {"$ref": "#/components/schemas/trigger_configuration"}, "minItems": 1, "title": "Trigger Configuration List", "type": "array"}, "trigger_context": {"description": "Context of the trigger that started the pipeline. Only returned for pipelines triggered by a parent step.", "properties": {"parent_pipeline_run_uuid": {"description": "The UUID of the pipeline run that contains the parent step that triggered this pipeline.", "example": "{00000000-0000-0000-0000-000000000000}", "title": "Parent Pipeline Run UUID", "type": "string"}, "parent_pipeline_uuid": {"description": "The UUID of the pipeline that contains the parent step that triggered this pipeline.", "example": "{00000000-0000-0000-0000-000000000000}", "title": "Parent Pipeline UUID", "type": "string"}, "parent_step_uuid": {"description": "The UUID of the parent step that triggered this pipeline.", "example": "{00000000-0000-0000-0000-000000000000}", "title": "Parent Step UUID", "type": "string"}, "type": {"description": "The type of trigger that started the pipeline.", "enum": ["parent_step"], "title": "Pipeline Trigger", "type": "string"}}, "type": "object"}, "variables_item": {"additionalProperties": false, "properties": {"variables": {"description": "List of variables for the custom pipeline.", "items": {"description": "Settings for the custom variable.", "properties": {"allowed-values": {"description": "A list of values that are allowed for the variable.", "items": {"title": "Allowed Variable Value", "type": "string"}, "minItems": 1, "title": "Allowed Variable Values", "type": "array"}, "default": {"title": "Default Variable Value", "type": "string"}, "description": {"title": "Variable Description", "type": "string"}, "name": {"title": "Variable Name", "type": "string"}}, "required": ["name"], "title": "Custom Pipeline Variable", "type": "object"}, "minItems": 1, "title": "Custom Pipeline Variables", "type": "array"}}, "type": "object"}}}} \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/buildkite.json b/src/check_jsonschema/builtin_schemas/vendor/buildkite.json index b19e565a0..6e73f918c 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/buildkite.json +++ b/src/check_jsonschema/builtin_schemas/vendor/buildkite.json @@ -104,11 +104,13 @@ "enum": [ "*", "none", + "agent_incompatible", "agent_refused", "agent_stop", "cancel", "process_run_error", - "signature_rejected" + "signature_rejected", + "stack_error" ] } }, @@ -508,7 +510,10 @@ "items": { "type": "string" }, - "examples": [["**.go", "go.{mod,sum}"], ["app/**", "spec/**"]] + "examples": [ + ["**.go", "go.{mod,sum}"], + ["app/**", "spec/**"] + ] }, { "type": "object", diff --git a/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json b/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json index f2cde6665..ea33274ae 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json +++ b/src/check_jsonschema/builtin_schemas/vendor/circle-ci.json @@ -1573,6 +1573,232 @@ } } ] + }, + "workflowJobInvocation": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "maxProperties": 1, + "minProperties": 0, + "additionalProperties": { + "type": "object", + "properties": { + "requires": { + "type": "array", + "markdownDescription": "Jobs are run in parallel by default, so you must explicitly require any dependencies by their job name.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "minProperties": 1, + "maxProperties": 1, + "patternProperties": { + "^[A-Za-z][A-Za-z\\s\\d_-]*$": { + "oneOf": [ + { + "oneOf": [ + { + "const": "success" + }, + { + "const": "failed" + }, + { + "const": "canceled" + }, + { + "const": "not_run" + }, + { + "const": "unauthorized" + }, + { + "const": "terminal", + "markdownDescription": "Shorthand for `[success, failed, canceled, unauthorized, not_run]` - matches when the upstream job has reached any terminal state." + } + ] + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "success", + "failed", + "canceled", + "unauthorized", + "not_run" + ] + } + } + ] + } + } + } + ] + } + }, + "filters": { + "markdownDescription": "https://circleci.com/docs/reference/configuration-reference/#jobfilters \n\n A map or string to define filtering rules for job execution. Branch and tag filters require a map. Expression-based filters require a string.", + "oneOf": [ + { + "type": "object", + "properties": { + "branches": { + "type": "object", + "markdownDescription": "A map defining rules for execution on specific branches", + "properties": { + "only": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" + }, + "ignore": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" + } + }, + "additionalProperties": false + }, + "tags": { + "type": "object", + "markdownDescription": "A map defining rules for execution on specific tags", + "properties": { + "only": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" + }, + "ignore": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" + } + }, + "additionalProperties": false + } + } + }, + { + "type": "string" + } + ] + }, + "context": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "markdownDescription": "Either a single context name, or a list of contexts. The default name is `org-global`" + }, + "type": { + "type": "string" + }, + "pre-steps": { + "steps": { + "type": "array", + "items": { + "$ref": "#/definitions/step" + }, + "minItems": 1 + } + }, + "post-steps": { + "steps": { + "type": "array", + "items": { + "$ref": "#/definitions/step" + }, + "minItems": 1 + } + }, + "matrix": { + "type": "object", + "required": [ + "parameters" + ], + "properties": { + "parameters": { + "type": "object", + "markdownDescription": "A map of parameter names to every value the job should be called with" + }, + "exclude": { + "type": "array", + "items": { + "type": "object" + }, + "markdownDescription": "A list of argument maps that should be excluded from the matrix" + }, + "alias": { + "type": "string", + "markdownDescription": "An alias for the matrix, usable from another job's requires stanza. Defaults to the name of the job being executed" + } + }, + "markdownDescription": "https://circleci.com/docs/configuration-reference#matrix-requires-version-21\n\nThe matrix stanza allows you to run a parameterized job multiple times with different arguments." + }, + "serial-group": { + "markdownDescription": "`serial-group` allows a group of jobs to run in series, rather than concurrently, across an organization. Serial groups control the orchestration of jobs across an organization, not just within projects and pipelines.\nSee for more details.", + "type": "string", + "minLength": 1 + }, + "override-with": { + "type": "string" + } + } + } + } + ] } }, "type": "object", @@ -2125,229 +2351,7 @@ "type": "array", "minItems": 1, "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "maxProperties": 1, - "minProperties": 0, - "additionalProperties": { - "type": "object", - "properties": { - "requires": { - "type": "array", - "markdownDescription": "Jobs are run in parallel by default, so you must explicitly require any dependencies by their job name.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "minProperties": 1, - "maxProperties": 1, - "patternProperties": { - "^[A-Za-z][A-Za-z\\s\\d_-]*$": { - "oneOf": [ - { - "oneOf": [ - { - "const": "success" - }, - { - "const": "failed" - }, - { - "const": "canceled" - }, - { - "const": "not_run" - }, - { - "const": "unauthorized" - }, - { - "const": "terminal", - "markdownDescription": "Shorthand for `[success, failed, canceled, unauthorized, not_run]` - matches when the upstream job has reached any terminal state." - } - ] - }, - { - "type": "array", - "minLength": 1, - "items": { - "type": "string", - "enum": [ - "success", - "failed", - "canceled", - "not_run", - "unauthorized" - ] - } - } - ] - } - } - } - ] - } - }, - "filters": { - "markdownDescription": "https://circleci.com/docs/reference/configuration-reference/#jobfilters \n\n A map or string to define filtering rules for job execution. Branch and tag filters require a map. Expression-based filters require a string.", - "oneOf": [ - { - "type": "object", - "properties": { - "branches": { - "type": "object", - "markdownDescription": "A map defining rules for execution on specific branches", - "properties": { - "only": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" - }, - "ignore": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "markdownDescription": "Either a single branch specifier, or a list of branch specifiers" - } - }, - "additionalProperties": false - }, - "tags": { - "type": "object", - "markdownDescription": "A map defining rules for execution on specific tags", - "properties": { - "only": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" - }, - "ignore": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "markdownDescription": "Either a single tag specifier, or a list of tag specifiers" - } - }, - "additionalProperties": false - } - } - }, - { - "type": "string" - } - ] - }, - "context": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "markdownDescription": "Either a single context name, or a list of contexts. The default name is `org-global`" - }, - "type": { - "type": "string" - }, - "pre-steps": { - "steps": { - "type": "array", - "items": { - "$ref": "#/definitions/step" - }, - "minItems": 1 - } - }, - "post-steps": { - "steps": { - "type": "array", - "items": { - "$ref": "#/definitions/step" - }, - "minItems": 1 - } - }, - "matrix": { - "type": "object", - "required": [ - "parameters" - ], - "properties": { - "parameters": { - "type": "object", - "markdownDescription": "A map of parameter names to every value the job should be called with" - }, - "exclude": { - "type": "array", - "items": { - "type": "object" - }, - "markdownDescription": "A list of argument maps that should be excluded from the matrix" - }, - "alias": { - "type": "string", - "markdownDescription": "An alias for the matrix, usable from another job's requires stanza. Defaults to the name of the job being executed" - } - }, - "markdownDescription": "https://circleci.com/docs/configuration-reference#matrix-requires-version-21\n\nThe matrix stanza allows you to run a parameterized job multiple times with different arguments." - }, - "serial-group": { - "type": "string", - "minLength": 1 - }, - "override-with": { - "type": "string" - } - } - } - } - ] + "$ref": "#/definitions/workflowJobInvocation" } } }, @@ -2383,6 +2387,31 @@ "$ref": "#/definitions/jobInvocation" } }, + "job-groups": { + "markdownDescription": "Job groups define named collections of jobs with internal dependency relationships that can be referenced as a single unit in workflows.", + "type": "object", + "propertyNames": { + "type": "string", + "pattern": "^[A-Za-z][A-Za-z\\s\\d_-]*$" + }, + "additionalProperties": { + "type": "object", + "required": [ + "jobs" + ], + "properties": { + "jobs": { + "type": "array", + "minItems": 1, + "markdownDescription": "A list of jobs within this group. Supports the same syntax as workflow job invocations, including `requires` for internal dependencies.", + "items": { + "$ref": "#/definitions/workflowJobInvocation" + } + } + }, + "additionalProperties": false + } + }, "orbs": { "type": [ "object", diff --git a/src/check_jsonschema/builtin_schemas/vendor/dependabot.json b/src/check_jsonschema/builtin_schemas/vendor/dependabot.json index 796ba60a9..1754472e4 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/dependabot.json +++ b/src/check_jsonschema/builtin_schemas/vendor/dependabot.json @@ -691,6 +691,7 @@ "julia", "maven", "mix", + "nix", "npm", "nuget", "opentofu", @@ -743,6 +744,10 @@ }, "dependency-type": { "$ref": "#/definitions/dependency-type" + }, + "update-types": { + "$ref": "#/definitions/update-types", + "description": "Use to allow specific types of updates. You can combine this with 'dependency-name: \"*\"' to allow particular update-types for all dependencies." } }, "anyOf": [ @@ -1182,119 +1187,116 @@ "registry": { "type": "object", "description": "The top-level registries key is optional. It allows you to specify authentication details that Dependabot can use to access private package registries.", - "additionalProperties": false, - "patternProperties": { - ".+": { - "type": "object", - "additionalProperties": false, - "properties": { - "type": { - "description": "Identifies the type of registry.", - "enum": [ - "cargo-registry", - "composer-repository", - "docker-registry", - "git", - "goproxy-server", - "hex-organization", - "hex-repository", - "helm-registry", - "maven-repository", - "npm-registry", - "nuget-feed", - "pub-repository", - "python-index", - "rubygems-server", - "terraform-registry" - ] - }, - "url": { - "description": "The URL to use to access the dependencies in this registry. The protocol is optional. If not specified, 'https://' is assumed. Dependabot adds or ignores trailing slashes as required.", - "type": "string" - }, - "username": { - "description": "The username that Dependabot uses to access the registry.", - "type": "string" - }, - "password": { - "description": "A reference to a Dependabot secret containing the password for the specified user.", - "type": "string" - }, - "key": { - "description": "A reference to a Dependabot secret containing an access key for this registry.", - "type": "string" - }, - "token": { - "description": "A reference to a Dependabot secret containing an access token for this registry.", - "type": "string" - }, - "replaces-base": { - "description": "For registries with type: python-index, if the boolean value is true, pip resolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default https://pypi.org/simple).", - "type": "boolean" - }, - "organization": { - "description": "", - "type": "string" - }, - "repo": { - "description": "", - "type": "string" - }, - "auth-key": { - "description": "", - "type": "string" - }, - "public-key-fingerprint": { - "description": "", - "type": "string" - }, - "registry": { - "description": "The name of the cargo registry.", - "type": "string" - }, - "tenant-id": { - "description": "The tenant ID for Azure OIDC authentication.", - "type": "string" - }, - "client-id": { - "description": "The client ID for Azure OIDC authentication.", - "type": "string" - }, - "jfrog-oidc-provider-name": { - "description": "The JFrog OIDC provider name for authentication.", - "type": "string" - }, - "identity-mapping-name": { - "description": "The identity mapping name for JFrog OIDC authentication.", - "type": "string" - }, - "audience": { - "description": "The audience for OIDC or AWS authentication.", - "type": "string" - }, - "aws-region": { - "description": "The AWS region for AWS CodeArtifact authentication.", - "type": "string" - }, - "account-id": { - "description": "The AWS account ID for AWS CodeArtifact authentication.", - "type": "string" - }, - "role-name": { - "description": "The AWS role name for AWS CodeArtifact authentication.", - "type": "string" - }, - "domain": { - "description": "The domain for AWS CodeArtifact authentication.", - "type": "string" - }, - "domain-owner": { - "description": "The domain owner for AWS CodeArtifact authentication.", - "type": "string" - } + "additionalProperties": { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "description": "Identifies the type of registry.", + "enum": [ + "cargo-registry", + "composer-repository", + "docker-registry", + "git", + "goproxy-server", + "hex-organization", + "hex-repository", + "helm-registry", + "maven-repository", + "npm-registry", + "nuget-feed", + "pub-repository", + "python-index", + "rubygems-server", + "terraform-registry" + ] }, - "required": ["type", "url"] - } + "url": { + "description": "The URL to use to access the dependencies in this registry. The protocol is optional. If not specified, 'https://' is assumed. Dependabot adds or ignores trailing slashes as required.", + "type": "string" + }, + "username": { + "description": "The username that Dependabot uses to access the registry.", + "type": "string" + }, + "password": { + "description": "A reference to a Dependabot secret containing the password for the specified user.", + "type": "string" + }, + "key": { + "description": "A reference to a Dependabot secret containing an access key for this registry.", + "type": "string" + }, + "token": { + "description": "A reference to a Dependabot secret containing an access token for this registry.", + "type": "string" + }, + "replaces-base": { + "description": "For registries with type: python-index, if the boolean value is true, pip resolves dependencies by using the specified URL rather than the base URL of the Python Package Index (by default https://pypi.org/simple).", + "type": "boolean" + }, + "organization": { + "description": "", + "type": "string" + }, + "repo": { + "description": "", + "type": "string" + }, + "auth-key": { + "description": "", + "type": "string" + }, + "public-key-fingerprint": { + "description": "", + "type": "string" + }, + "registry": { + "description": "The name of the cargo registry.", + "type": "string" + }, + "tenant-id": { + "description": "The tenant ID for Azure OIDC authentication.", + "type": "string" + }, + "client-id": { + "description": "The client ID for Azure OIDC authentication.", + "type": "string" + }, + "jfrog-oidc-provider-name": { + "description": "The JFrog OIDC provider name for authentication.", + "type": "string" + }, + "identity-mapping-name": { + "description": "The identity mapping name for JFrog OIDC authentication.", + "type": "string" + }, + "audience": { + "description": "The audience for OIDC or AWS authentication.", + "type": "string" + }, + "aws-region": { + "description": "The AWS region for AWS CodeArtifact authentication.", + "type": "string" + }, + "account-id": { + "description": "The AWS account ID for AWS CodeArtifact authentication.", + "type": "string" + }, + "role-name": { + "description": "The AWS role name for AWS CodeArtifact authentication.", + "type": "string" + }, + "domain": { + "description": "The domain for AWS CodeArtifact authentication.", + "type": "string" + }, + "domain-owner": { + "description": "The domain owner for AWS CodeArtifact authentication.", + "type": "string" + } + }, + "required": ["type", "url"] }, "minProperties": 1 }, diff --git a/src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json b/src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json index f7752d68d..a4848922d 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json +++ b/src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json @@ -1261,7 +1261,9 @@ "type": "object", "properties": { "name": { - "type": "string" + "type": "string", + "description": "Name of the secret. Only letters, digits, and underscores are allowed.", + "pattern": "^[a-zA-Z0-9_]+$" }, "source": { "type": "string", diff --git a/src/check_jsonschema/builtin_schemas/vendor/meltano.json b/src/check_jsonschema/builtin_schemas/vendor/meltano.json index e5a21cc5e..f4dedb536 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/meltano.json +++ b/src/check_jsonschema/builtin_schemas/vendor/meltano.json @@ -29,7 +29,7 @@ }, "requires_meltano": { "type": "string", - "description": "A version speficier for the Meltano version required by this project. If the version of Meltano being used does not satisfy this requirement, Meltano will exit with an error.", + "description": "A version specifier for the Meltano version required by this project. If the version of Meltano being used does not satisfy this requirement, Meltano will exit with an error.", "examples": [ ">=3,<4", ">=3.6,<3.7" diff --git a/src/check_jsonschema/builtin_schemas/vendor/mergify.json b/src/check_jsonschema/builtin_schemas/vendor/mergify.json index ff7d3e87f..b29a2b1b5 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/mergify.json +++ b/src/check_jsonschema/builtin_schemas/vendor/mergify.json @@ -1328,6 +1328,12 @@ "description": "Whether to post merge protection status comments on pull requests", "title": "Post Comment", "type": "boolean" + }, + "auto_merge": { + "default": false, + "description": "Automatically merge or queue PRs when all merge protection conditions pass", + "title": "Auto Merge", + "type": "boolean" } }, "title": "MergeProtections", @@ -2099,6 +2105,14 @@ "title": "Dependabot update type", "type": "array" }, + "scope": { + "description": "The list of scopes associated with the pull request for merge queue batching.", + "items": { + "type": "string" + }, + "title": "Scope", + "type": "array" + }, "commits": { "description": "The list of commits of the pull request. The index 0 is the first commit, while -1 is the last commit.", "items": { @@ -2259,6 +2273,7 @@ "dependabot-dependency-name", "dependabot-dependency-type", "dependabot-update-type", + "scope", "commits", "current-datetime", "updated-at", @@ -2542,7 +2557,8 @@ "merge", "rebase", "squash", - "fast-forward" + "fast-forward", + "merge-batch" ], "type": "string" }, @@ -2551,7 +2567,7 @@ } ], "default": null, - "description": "Merge method to use. If no value is set, Mergify uses the first authorized method available in the repository configuration.", + "description": "Merge method to use. If no value is set, Mergify uses the first authorized method available in the repository configuration.\n\nAdditionally, `merge-batch` merges the draft pull request prepared by the merge queue using a merge commit. This requires `batch_size > 1`.", "title": "Merge Method" }, "autosquash": { @@ -2772,7 +2788,8 @@ "merge", "rebase", "squash", - "fast-forward" + "fast-forward", + "merge-batch" ], "type": "string" }, @@ -2781,7 +2798,7 @@ } ], "default": null, - "description": "Merge method to use. If no value is set, Mergify uses the first authorized method available in the repository configuration.", + "description": "Merge method to use. If no value is set, Mergify uses the first authorized method available in the repository configuration.\n\nAdditionally, `merge-batch` merges the draft pull request prepared by the merge queue using a merge commit. This requires `batch_size > 1`.", "title": "Merge Method" }, "autosquash": { diff --git a/src/check_jsonschema/builtin_schemas/vendor/readthedocs.json b/src/check_jsonschema/builtin_schemas/vendor/readthedocs.json index 2e5b18c4a..70467ebb5 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/readthedocs.json +++ b/src/check_jsonschema/builtin_schemas/vendor/readthedocs.json @@ -286,16 +286,24 @@ "items": { "anyOf": [ { + "type": "object", "properties": { "requirements": { "title": "Requirements", "description": "The path to the requirements file from the root of the project.", "type": "string" + }, + "method": { + "title": "Method", + "description": "Install method.", + "enum": ["pip", "setuptools"] } }, - "required": ["requirements"] + "required": ["requirements"], + "additionalProperties": false }, { + "type": "object", "properties": { "path": { "title": "Path", @@ -318,10 +326,127 @@ "default": [] } }, - "required": ["path"] + "required": ["path"], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "method": { + "title": "Method", + "description": "Install using uv.", + "enum": ["uv"] + }, + "command": { + "title": "Command", + "description": "uv command to execute.", + "enum": ["sync", "pip"] + }, + "path": { + "title": "Path", + "description": "The path to the project to be installed.", + "type": "string" + }, + "requirements": { + "title": "Requirements", + "description": "The path to the requirements file from the root of the project.", + "type": "string" + }, + "groups": { + "title": "Groups", + "description": "Dependency groups to install with uv sync.", + "anyOf": [ + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "enum": ["all"] + } + ] + }, + "extras": { + "title": "Extras", + "description": "Optional dependencies to install.", + "anyOf": [ + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "enum": ["all"] + } + ] + } + }, + "required": ["method", "command"], + "allOf": [ + { + "if": { + "properties": { + "command": { + "const": "sync" + } + } + }, + "then": { + "not": { + "required": ["requirements"] + } + } + }, + { + "if": { + "properties": { + "command": { + "const": "pip" + } + } + }, + "then": { + "not": { + "required": ["groups"] + }, + "anyOf": [ + { + "required": ["requirements"] + }, + { + "required": ["path"] + } + ] + } + } + ], + "additionalProperties": false } ] - } + }, + "allOf": [ + { + "if": { + "contains": { + "type": "object", + "properties": { + "method": { + "const": "uv" + } + }, + "required": ["method"] + } + }, + "then": { + "minItems": 1, + "maxItems": 1 + } + } + ] } }, "additionalProperties": false diff --git a/src/check_jsonschema/builtin_schemas/vendor/renovate.json b/src/check_jsonschema/builtin_schemas/vendor/renovate.json index 4e314d039..7001c5b9a 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/renovate.json +++ b/src/check_jsonschema/builtin_schemas/vendor/renovate.json @@ -1,8 +1,8 @@ { "$id": "https://docs.renovatebot.com/renovate-schema.json", - "title": "JSON schema for Renovate 43.104.3 config files (https://renovatebot.com/)", + "title": "JSON schema for Renovate 43.129.0 config files (https://renovatebot.com/)", "$schema": "http://json-schema.org/draft-07/schema#", - "x-renovate-version": "43.104.3", + "x-renovate-version": "43.129.0", "allowComments": true, "type": "object", "properties": { @@ -149,6 +149,62 @@ ] } }, + "ant": { + "description": "Configuration object for the ant manager", + "markdownDescription": "Configuration object for the ant manager", + "type": "object", + "default": { + "managerFilePatterns": [ + "**/build.xml" + ] + }, + "$ref": "#", + "items": { + "allOf": [ + { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "description": "A custom description for this configuration object" + } + }, + { + "type": "string", + "description": "A custom description for this configuration object" + } + ] + }, + "enabled": { + "description": "Enable or disable corresponding functionality.", + "markdownDescription": "Enable or disable corresponding functionality.", + "type": "boolean", + "default": true + }, + "managerFilePatterns": { + "description": "RegEx (`re2`) and glob patterns for matching manager files.", + "markdownDescription": "RegEx (`re2`) and glob patterns for matching manager files.", + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + } + } + } + ] + } + }, "argocd": { "description": "Configuration object for the argocd manager", "markdownDescription": "Configuration object for the argocd manager", @@ -786,7 +842,7 @@ "type": "object", "default": { "managerFilePatterns": [ - "/(^|/)\\.?bitbucket-pipelines\\.ya?ml$/" + "**/*-pipelines.yml" ] }, "$ref": "#", @@ -1086,7 +1142,13 @@ "bumpType": { "description": "The semver level to use when bumping versions. This is used by the `bumpVersions` feature.", "markdownDescription": "The semver level to use when bumping versions. This is used by the `bumpVersions` feature.", - "type": "string" + "type": "string", + "enum": [ + "major", + "minor", + "patch", + "sync" + ] }, "filePatterns": { "description": "A list of patterns to match files that contain the version string.", @@ -8938,6 +9000,7 @@ "elm", "exact", "git", + "github-actions", "glasskube", "go-mod-directive", "gradle", @@ -9093,6 +9156,63 @@ } ] } + }, + "xcodegen": { + "description": "Configuration object for the xcodegen manager", + "markdownDescription": "Configuration object for the xcodegen manager", + "type": "object", + "default": { + "managerFilePatterns": [ + "**/project.yml" + ], + "pinDigests": false + }, + "$ref": "#", + "items": { + "allOf": [ + { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "description": "A custom description for this configuration object" + } + }, + { + "type": "string", + "description": "A custom description for this configuration object" + } + ] + }, + "enabled": { + "description": "Enable or disable corresponding functionality.", + "markdownDescription": "Enable or disable corresponding functionality.", + "type": "boolean", + "default": true + }, + "managerFilePatterns": { + "description": "RegEx (`re2`) and glob patterns for matching manager files.", + "markdownDescription": "RegEx (`re2`) and glob patterns for matching manager files.", + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + } + } + } + ] + } } }, "not": { diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/bitbucket-pipelines.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/bitbucket-pipelines.sha256 index 275033a22..d19142a58 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/bitbucket-pipelines.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/bitbucket-pipelines.sha256 @@ -1 +1 @@ -9476921719f1f606ac6e377ca5b20a099e1c258a2397f1cdea0b397cfce099cf \ No newline at end of file +a923db03ae40748e7319999a05aa6c8efead013b0fe4ec64dbf3862e1fa3e6e7 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 index de1b0bbc7..30970d37d 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/buildkite.sha256 @@ -1 +1 @@ -56f3092554fd63e7d9653ee752d86d05c269617d4f9f9dfa67c7a18cb17476cf \ No newline at end of file +ccd18cb3456e184da076ae40ce917ef3cedd78a312dd3f07a6a7a2d5080c7ea9 \ No newline at end of file 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 84683010a..2c175afba 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 @@ -26ed7f80824f343bbb4f2e713ec137928ece0499da83d9f6490b7da128f444c9 \ No newline at end of file +9f46f61e4b018a6fff8f3b44e8aedf95d0a293655e80b35b68429587356d2639 \ 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 a123f9e13..927d4b296 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/dependabot.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/dependabot.sha256 @@ -1 +1 @@ -6929bebdd03106732369f0c6e009bb9656ff2a1bf86a32d40aafcb552354a624 \ No newline at end of file +08eb632bbf270e961fa462f3bb95db332337c14b455fd858b220777dd181ba3a \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/gitlab-ci.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/gitlab-ci.sha256 index 2a054bbcd..881fce274 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/gitlab-ci.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/gitlab-ci.sha256 @@ -1 +1 @@ -fe7dcbabd9e0b441b59395a335d5cd480a770b90d9707f2511969a1564066a53 \ No newline at end of file +1e4a59db14999771c45e4b0ab646d663e95607698aa8940f7afed82a9a0d5054 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/meltano.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/meltano.sha256 index 8b0f11be0..1f588d119 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/meltano.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/meltano.sha256 @@ -1 +1 @@ -07a45f7469f04e291461c17ce3e1df18e900e1399720fef00b7663274d8b06ba \ No newline at end of file +29754d9dc8a6cebcfd59261fece0b0dff9e0c6d6b9475086def436d363ac3ae1 \ 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 a8e2af483..b5b7d5b8b 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/mergify.sha256 @@ -1 +1 @@ -bf0d24b4708fd1437f715f98868bc420b075d13d535ce0d721f88ade8897a408 \ No newline at end of file +a289f3c78d9cc1c5f2aa63a4ac24d9a7c66e732621167bf530a75af6e209bbd1 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/sha256/readthedocs.sha256 b/src/check_jsonschema/builtin_schemas/vendor/sha256/readthedocs.sha256 index 6a86c237b..cc318a7de 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/readthedocs.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/readthedocs.sha256 @@ -1 +1 @@ -53020b9663de49ea6a1cebc25a09d5f494ad61d5662cb19edd7c56fd4ff14b34 \ No newline at end of file +cc7481c722017d85949bae31a074200b9a0de5f64fbc45d2b3da7c66f6175fe6 \ 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 491fbb01b..4ff364ad2 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/renovate.sha256 @@ -1 +1 @@ -7ae3946ed810928833dd1fa17669aca047903a7a5a3a04feb3f94003f6902bbe \ No newline at end of file +5f8eaf80132a8f608c64e2e75a354ecd933c70f01000e6bb9e99e39415cd5cca \ 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 bd179d117..1c44415b6 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/sha256/taskfile.sha256 +++ b/src/check_jsonschema/builtin_schemas/vendor/sha256/taskfile.sha256 @@ -1 +1 @@ -fe21117ed4beba2f26d0248ac113b2dc152fd9f6a0ea18ab74f04566f1a9da51 \ No newline at end of file +04d7f12c851f02d43e78ebaccf418a1b694596f19ba7d1c6e67b5144a4adffa1 \ No newline at end of file diff --git a/src/check_jsonschema/builtin_schemas/vendor/taskfile.json b/src/check_jsonschema/builtin_schemas/vendor/taskfile.json index 28ae66110..2210952d6 100644 --- a/src/check_jsonschema/builtin_schemas/vendor/taskfile.json +++ b/src/check_jsonschema/builtin_schemas/vendor/taskfile.json @@ -633,7 +633,19 @@ "type": "object", "properties": { "name": { "type": "string" }, - "enum": { "type": "array", "items": { "type": "string" } } + "enum": { + "oneOf": [ + { "type": "array", "items": { "type": "string" } }, + { + "type": "object", + "properties": { + "ref": { "type": "string" } + }, + "required": ["ref"], + "additionalProperties": false + } + ] + } }, "required": ["name"], "additionalProperties": false