{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-schema/amazon-codeguru-reviewer-code-artifacts-schema.json",
"title": "CodeArtifacts",
"description": "<p>Code artifacts are source code artifacts and build artifacts used in a repository analysis or a pull request review.</p> <ul> <li> <p>Source code artifacts are source code files in a Git repository that are compressed into a .zip file.</p> </li> <li> <p>Build artifacts are .jar or .class files that are compressed in a .zip file.</p> </li> </ul>",
"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 <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/working-with-cicd.html\">Create code reviews with GitHub Actions</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>."
}
]
}
},
"required": [
"SourceCodeArtifactsObjectKey"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.