Amazon DynamoDB · JSON Structure

Dynamodb Openapi Attribute Definition Structure

Represents an attribute for describing the schema for a table or index

Type: object Properties: 2 Required: 2
DatabaseDocument StoreKey-ValueNoSQLServerless

AttributeDefinition is a JSON Structure definition published by Amazon DynamoDB, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

AttributeName AttributeType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dynamodb/refs/heads/main/json-structure/dynamodb-openapi-attribute-definition-structure.json",
  "name": "AttributeDefinition",
  "description": "Represents an attribute for describing the schema for a table or index",
  "type": "object",
  "properties": {
    "AttributeName": {
      "type": "string",
      "description": "A name for the attribute"
    },
    "AttributeType": {
      "type": "string",
      "description": "The data type for the attribute",
      "enum": [
        "S",
        "N",
        "B"
      ]
    }
  },
  "required": [
    "AttributeName",
    "AttributeType"
  ]
}