{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-secrets-manager/refs/heads/main/json-structure/amazon-secrets-manager-rotation-rules-structure.json",
  "name": "RotationRules",
  "description": "RotationRules schema from Amazon Secrets Manager API",
  "type": "object",
  "properties": {
    "AutomaticallyAfterDays": {
      "type": "integer",
      "description": "The number of days between automatic scheduled rotations."
    },
    "Duration": {
      "type": "string",
      "description": "The length of the rotation window in hours."
    },
    "ScheduleExpression": {
      "type": "string",
      "description": "A cron or rate expression that defines the schedule for rotation."
    }
  }
}