Bitbucket Pipeline YAML schema: Property condition is not allowed

Issue #536 duplicate
Lucian Mocanu created an issue

The YAML schema for the pipelines definition does not allow conditional steps:

https://bitbucket.org/blog/conditional-steps-and-improvements-to-logs-in-bitbucket-pipelines#Conditional-Steps

So if we create a condition property in a step definition, VS Code will highlight line 5 in the example below as an error: “Property condition is not allowed”.

definitions:
  steps:
    - step: &example-step
        name: Example Step
        condition:
          changesets:
            includePaths:
              - 'example/path/**'
pipelines:
  default:
    - step: *example-step