{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/pipeline_ref_target", "title": "pipeline_ref_target", "allOf": [ { "$ref": "#/components/schemas/pipeline_target" }, { "additionalProperties": true, "type": "object", "title": "Pipeline Ref Target", "description": "A Bitbucket Pipelines reference target.", "properties": { "ref_type": { "enum": [ "branch", "tag", "named_branch", "bookmark" ], "type": "string", "description": "The type of reference (branch/tag)." }, "ref_name": { "type": "string", "description": "The name of the reference." }, "commit": { "$ref": "#/components/schemas/commit" }, "selector": { "$ref": "#/components/schemas/pipeline_selector" } } } ] }