{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dynamodb/json-schema/amazon-dynamodb-update-continuous-backups-input-schema.json",
  "title": "UpdateContinuousBackupsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dynamodb-backups-api-openapi.yml#/components/schemas/UpdateContinuousBackupsInput",
  "type": "object",
  "properties": {
    "TableName": {
      "type": "string",
      "description": "The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter."
    },
    "PointInTimeRecoverySpecification": {
      "$ref": "#/$defs/PointInTimeRecoverySpecification"
    }
  },
  "required": [
    "TableName",
    "PointInTimeRecoverySpecification"
  ],
  "$defs": {
    "PointInTimeRecoverySpecification": {
      "type": "object",
      "properties": {
        "PointInTimeRecoveryEnabled": {
          "type": "boolean",
          "description": "Indicates whether point in time recovery is enabled (true) or disabled (false) on the table."
        },
        "RecoveryPeriodInDays": {
          "type": "integer",
          "description": "The number of preceding days for which continuous backups are taken and maintained. Your table data is only recoverable to any point-in-time from within the configured recovery period. This parameter is optional. If no value is provided, the value will default to 35."
        }
      },
      "required": [
        "PointInTimeRecoveryEnabled"
      ]
    }
  }
}