

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 입력 준비 작업 - 페이로드
<a name="cli-schedule-fields-for-input-prep"></a>

다음 단원에서는 입력 전환 작업에 대한 페이로드를 보여 줍니다.

이 페이로드에서 `ScheduleActionStartSettings`에는 `FixedModeScheduleActionStartSettings`, `ImmediateModeScheduleActionStartSettings` 또는 `FollowModeScheduleActionStartSettings` 중 하나만 포함됩니다.

각 태그의 샘플은 다음 예제를 참조하세요.

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [입력 전환용 필드](schedule-fields-for-ips.md)을 참조하세요.

```
{
"ChannelId": "string",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "FollowModeScheduleActionStartSettings": {
     "FollowPoint": "enum",
     "ReferenceActionName": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "InputPrepareSettings": {
     "InputAttachmentNameReference": "string",
     "InputClippingSettings": {
      "InputTimecodeSource": "enum",
      "StartTimecode": {
       "Timecode": "string"
      },
      "StopTimecode": {
       "LastFrameClippingBehavior": "enum",
       "Timecode": "string"
      }
     },
     "UrlPath": ["string", ...]
     }
    }
   }
  ]
 }
}
```

## 고정된 시작 시간이 있는 입력 준비의 예
<a name="json-prep-example-1"></a>

이 요청의 예에서는 고정 시작 시간에 라이브 입력으로 전환하는 방법을 보여 줍니다. 이 전환 작업은 `studio-feed`이고, `live-studio-feed`라는 입력 연결과 이어지는 입력으로 전환해 줍니다. 지정된 UTC 시간에 이 입력으로 전환됩니다.

```
{
  "ChannelId": "999999",
  "Creates": {
    "ScheduleActions": [
      {
       "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:19.000Z"
           }
          },
      "ActionName": "studio-feed",
      "ScheduleActionSettings": {
        "InputSwitchSettings": {
          "InputAttachmentNameReference": "live-studio-feed"
     }
    }
   }
  ]
 }
}
```

## 다음과 같이 준비하는 입력의 예
<a name="json-prep-example-2"></a>

이 요청 예에서는 정적 파일 입력으로 전환하여 이전 입력의 끝을 팔로우하는 방법을 보여 줍니다. 이 전환 작업은 `action-ad-003`이고, `zel-cafe`라는 입력 연결과 이어지는 입력으로 전환해 줍니다. `action-ad-002` 작업이 끝나면 이 입력으로 전환됩니다. 이 작업의 파일은 30초 11프레임 후에 종료되도록 잘립니다.

```
{
  "ChannelId": "999999",
  "Creates": {
      "ScheduleActions": [
          {
            "ScheduleActionStartSettings": {
              "FollowModeScheduleActionStartSettings": {
                "FollowPoint": "END",
                "ReferenceActionName": "action-ad-002"
              }
            },
            "ActionName": "action-ad-003",
              "ScheduleActionSettings": {
                 "InputSwitchSettings": {
                    "InputAttachmentNameReference": "zel-cafe",
                      "InputClippingSettings": {
                          "InputTimecodeSource": "ZEROBASED",
               "StopTimecode":{
                 "Timecode": "00:00:30:11",
                 "LastFrameClippingBehavior": "INCLUDE_LAST_FRAME"
              }
            }
          }
        }
      }
    ]
  }
}
```