{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-put-segment-subscription-request-schema.json",
  "title": "PutSegmentSubscriptionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-subscriptions-api-openapi.yml#/components/schemas/PutSegmentSubscriptionRequest",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string",
      "description": "The unique name of the domain."
    },
    "SegmentDefinitionName": {
      "type": "string",
      "description": "The unique name of the segment definition."
    },
    "ScheduleConfiguration": {
      "$ref": "#/$defs/ScheduleConfiguration"
    }
  },
  "required": [
    "DomainName",
    "SegmentDefinitionName"
  ],
  "$defs": {
    "ScheduleConfiguration": {
      "type": "object",
      "properties": {
        "Interval": {
          "type": "integer",
          "description": "The interval between scheduled executions."
        },
        "Unit": {
          "type": "string",
          "enum": [
            "HOURLY"
          ],
          "description": "The unit for the interval. The following are valid values: HOURLY: The interval is measured in hours."
        }
      },
      "required": [
        "Interval"
      ]
    }
  }
}