Amazon CodeGuru Reviewer · Schema
SourceCodeType
Specifies the source code that is analyzed in a code review.
AmazonCode ReviewSecurityDevOpsMachine-LearningDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| CommitDiff | object | |
| RepositoryHead | object | |
| BranchDiff | object | |
| S3BucketRepository | object | |
| RequestMetadata | object |
JSON Schema
{
"$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-source-code-type-schema.json",
"title": "SourceCodeType",
"description": "Specifies the source code that is analyzed in a code review.",
"type": "object",
"properties": {
"CommitDiff": {
"allOf": [
{
"$ref": "#/components/schemas/CommitDiffSourceCodeType"
},
{
"description": "A <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType\">SourceCodeType</a> that specifies a commit diff created by a pull request on an associated repository."
}
]
},
"RepositoryHead": {
"$ref": "#/components/schemas/RepositoryHeadSourceCodeType"
},
"BranchDiff": {
"allOf": [
{
"$ref": "#/components/schemas/BranchDiffSourceCodeType"
},
{
"description": "A type of <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType\">SourceCodeType</a> that specifies a source branch name and a destination branch name in an associated repository."
}
]
},
"S3BucketRepository": {
"allOf": [
{
"$ref": "#/components/schemas/S3BucketRepository"
},
{
"description": "Information about an associated repository in an S3 bucket that includes its name and an <code>S3RepositoryDetails</code> object. The <code>S3RepositoryDetails</code> object includes the name of an S3 bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file. <code>S3BucketRepository</code> is required in <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType\">SourceCodeType</a> for <code>S3BucketRepository</code> based code reviews."
}
]
},
"RequestMetadata": {
"allOf": [
{
"$ref": "#/components/schemas/RequestMetadata"
},
{
"description": "Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The <code>RequestMetadaa</code> field captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request."
}
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-codeguru-reviewer-source-code-type"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
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.
A second provider on the same verified email joins the account you already have.