{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-code-artifacts-structure.json", "name": "CodeArtifacts", "description": "

Code artifacts are source code artifacts and build artifacts used in a repository analysis or a pull request review.

", "type": "object", "properties": { "SourceCodeArtifactsObjectKey": { "allOf": [ { "$ref": "#/components/schemas/SourceCodeArtifactsObjectKey" }, { "description": "The S3 object key for a source code .zip file. This is required for all code reviews." } ] }, "BuildArtifactsObjectKey": { "allOf": [ { "$ref": "#/components/schemas/BuildArtifactsObjectKey" }, { "description": "The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide." } ] } }, "required": [ "SourceCodeArtifactsObjectKey" ] }