Amazon DynamoDB · Schema

Projection

Represents attributes that are copied from the table into an index

DatabaseDocument StoreKey-ValueNoSQLServerless

Properties

Name Type Description
ProjectionType string The set of attributes that are projected into the index
NonKeyAttributes array The non-key projected attributes
View JSON Schema on GitHub

JSON Schema

dynamodb-openapi-projection-schema.json Raw ↑
{
  "$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
    }
  }
}