{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-get-table-bucket-maintenance-configuration-response-schema.json",
  "title": "GetTableBucketMaintenanceConfigurationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-maintenance-api-openapi.yml#/components/schemas/GetTableBucketMaintenanceConfigurationResponse",
  "type": "object",
  "properties": {
    "tableBucketARN": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration."
    },
    "configuration": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/TableBucketMaintenanceConfigurationValue"
      },
      "description": "Details about the maintenance configuration for the table bucket."
    }
  },
  "required": [
    "tableBucketARN",
    "configuration"
  ],
  "$defs": {
    "IcebergUnreferencedFileRemovalSettings": {
      "type": "object",
      "properties": {
        "unreferencedDays": {
          "type": "integer",
          "description": "The number of days an object has to be unreferenced before it is marked as non-current."
        },
        "nonCurrentDays": {
          "type": "integer",
          "description": "The number of days an object has to be non-current before it is deleted."
        }
      }
    },
    "TableBucketMaintenanceConfigurationValue": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "enabled",
            "disabled"
          ],
          "description": "The status of the maintenance configuration."
        },
        "settings": {
          "$ref": "#/$defs/TableBucketMaintenanceSettings"
        }
      }
    },
    "TableBucketMaintenanceSettings": {
      "type": "object",
      "properties": {
        "icebergUnreferencedFileRemoval": {
          "$ref": "#/$defs/IcebergUnreferencedFileRemovalSettings"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}