{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-inspector/refs/heads/main/json-schema/inspector-code-line-schema.json",
"title": "CodeLine",
"description": "Contains information on the lines of code associated with a code snippet.",
"type": "object",
"properties": {
"content": {
"allOf": [
{
"$ref": "#/components/schemas/CodeLineContentString"
},
{
"description": "The content of a line of code"
}
]
},
"lineNumber": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "The line number that a section of code is located at."
}
]
}
},
"required": [
"content",
"lineNumber"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.