{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dynamodb/refs/heads/main/json-structure/dynamodb-openapi-scan-output-structure.json",
  "name": "ScanOutput",
  "description": "ScanOutput schema from Amazon DynamoDB API",
  "type": "object",
  "properties": {
    "Items": {
      "type": "array",
      "description": "An array of item attributes that match the scan criteria",
      "items": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#/components/schemas/AttributeValue"
        }
      }
    },
    "Count": {
      "type": "int32",
      "description": "The number of items in the response"
    },
    "ScannedCount": {
      "type": "int32",
      "description": "The number of items evaluated before any filter is applied"
    },
    "LastEvaluatedKey": {
      "type": "object",
      "description": "The primary key of the item where the operation stopped",
      "additionalProperties": {
        "$ref": "#/components/schemas/AttributeValue"
      }
    }
  }
}