Atlassian · Schema

pipeline_selector

CodeCollaborationPlatformProductivitySoftware Development
View JSON Schema on GitHub

JSON Schema

atlassian-pipeline-selector-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/pipeline_selector",
  "title": "pipeline_selector",
  "allOf": [
    {
      "$ref": "#/components/schemas/object"
    },
    {
      "additionalProperties": true,
      "type": "object",
      "title": "Pipeline Selector",
      "description": "A representation of the selector that was used to identify the pipeline in the YML file.",
      "properties": {
        "type": {
          "enum": [
            "branches",
            "tags",
            "bookmarks",
            "default",
            "custom"
          ],
          "type": "string",
          "description": "The type of selector."
        },
        "pattern": {
          "type": "string",
          "description": "The name of the matching pipeline definition."
        }
      }
    }
  ]
}