{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/pipeline_image",
  "title": "Pipeline Image",
  "type": "object",
  "description": "The definition of a Docker image that can be used for a Bitbucket Pipelines step execution context.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the image. If the image is hosted on DockerHub the short name can be used, otherwise the fully qualified name is required here.",
      "example": "Example Title"
    },
    "username": {
      "type": "string",
      "description": "The username needed to authenticate with the Docker registry. Only required when using a private Docker image.",
      "example": "example_value"
    },
    "password": {
      "type": "string",
      "description": "The password needed to authenticate with the Docker registry. Only required when using a private Docker image.",
      "example": "example_value"
    },
    "email": {
      "type": "string",
      "description": "The email needed to authenticate with the Docker registry. Only required when using a private Docker image.",
      "example": "user@example.com"
    }
  }
}