Hello there,
In our pipelines we validate `bitbucket-pipelines.yml` against the official schema published at api.bitbucket.org/schemas/pipelines-configuration
However, this simple example below which imports and runs a pipeline from another repo which exports it fails on validation
```
<span>jsonschema.exceptions.ValidationError: {'import': 'bitbucket-pipeline-templates:main:generic-pr-pipeline'} is not of type 'array'</span>
<span>Failed validating 'type' in schema['properties']['pipelines']['properties']['pull-requests']['additionalProperties']:</span>
<span>{'description': 'List of steps, stages and parallel groups of the '</span>
<span>'pipeline.',</span>
<span>'items': {'oneOf': [{'$ref': '#/components/schemas/step_item'},</span>
<span>{'$ref': '#/components/schemas/parallel_item'},</span>
<span>{'$ref': '#/components/schemas/stage_item'},</span>
<span>{'$ref': '#/components/schemas/final_item'}]},</span>
<span>'minItems': 1,</span>
<span>'title': 'Pipeline Items',</span>
<span>'type': 'array'}</span>
<span>On instance['pipelines']['pull-requests']['**']:</span>
<span>{'import': 'bitbucket-pipeline-templates:main:generic-pr-pipeline'}</span>
Hi Casper,
I have clicked the Request Assistance button so that Atlassian support can look into this issue for you.
I hope this helps.
Regards,
Kristian
Hi @Casper Rademaker
Thank you for reaching out to the community.
Our internal team confirmed that this is now added to the list.
Could you please confirm that you can see it now?
Regards,Mark C
It looks like you're new here. Sign in or register to get started.