{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-structure/amazon-codepipeline-artifact-location-structure.json",
  "name": "ArtifactLocation",
  "description": "Represents information about the location of an artifact.",
  "type": "object",
  "properties": {
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArtifactLocationType"
        },
        {
          "description": "The type of artifact in the location."
        }
      ]
    },
    "s3Location": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3ArtifactLocation"
        },
        {
          "description": "The S3 bucket that contains the artifact."
        }
      ]
    }
  }
}