{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dynamodb/refs/heads/main/json-schema/dynamodb-openapi-projection-schema.json",
"title": "Projection",
"description": "Represents attributes that are copied from the table into an index",
"type": "object",
"properties": {
"ProjectionType": {
"type": "string",
"description": "The set of attributes that are projected into the index",
"enum": [
"ALL",
"KEYS_ONLY",
"INCLUDE"
]
},
"NonKeyAttributes": {
"type": "array",
"description": "The non-key projected attributes",
"items": {
"type": "string"
},
"maxItems": 20
}
}
}