

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

# 작업 생성을 위한 JSON 페이로드
<a name="schedule-create-json"></a>

다음 단원에서는 모든 유형의 MediaLive 일정 생성 작업에 대한 페이로드의 예와 페이로드 구조를 보여 줍니다.

**Topics**
+ [입력 전환 작업 - 페이로드](cli-schedule-fields-for-input-switch.md)
+ [입력 준비 작업 - 페이로드](cli-schedule-fields-for-input-prep.md)
+ [전역 이미지 활성화 작업 - 페이로드](cli-schedule-fields-for-activate-image.md)
+ [글로벌 오버레이 작업 비활성화 - 페이로드](cli-schedule-fields-for-deactivate-image.md)
+ [출력당 이미지 작업 활성화 - 페이로드](cli-schedule-fields-for-activate-image-per-output.md)
+ [출력당 오버레이 작업 비활성화 - 페이로드](cli-schedule-fields-for-deactivate-image-per-output.md)
+ [모션 그래픽 오버레이 활성화 - 페이로드](cli-schedule-fields-activate-mgi.md)
+ [모션 그래픽 오버레이 비활성화 - 페이로드](cli-schedule-fields-deactivate-mgi.md)
+ [Splice\$1Insert 메시지 - 페이로드](cli-schedule-fields-for-splice-insert.md)
+ [Time\$1Signal 메시지 - 페이로드](cli-schedule-fields-for-time-signal.md)
+ [네트워크로 복귀 메시지 - 페이로드](cli-schedule-fields-for-return-network.md)
+ [ID3 메타데이터 항목 - 페이로드](cli-schedule-fields-for-id3.md)
+ [ID3 세그먼트 태그 항목 - 페이로드](cli-schedule-fields-id3-segment-tag.md)
+ [파이프라인 일시 중지 작업 - 페이로드](cli-schedule-fields-for-pause.md)
+ [생성 작업 조합](cli-example-multiple-creates.md)

# 입력 전환 작업 - 페이로드
<a name="cli-schedule-fields-for-input-switch"></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": {
    "InputSwitchSettings": {
     "InputAttachmentNameReference": "string",
     "InputClippingSettings": {
      "InputTimecodeSource": "enum",
      "StartTimecode": {
       "Timecode": "string"
      },
      "StopTimecode": {
       "LastFrameClippingBehavior": "enum",
       "Timecode": "string"
      }
     },
     "UrlPath": ["string", ...]
    }
   }
  ]
 }
}
```

## 고정 시작 시간을 사용하여 라이브 입력으로 전환 예
<a name="json-switch-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-switch-example"></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"
       }
      }
     }
    }
   }
  ]
 }
}
```

## 즉시 시작 시간을 사용하여 동적 입력으로 전환하는 예
<a name="json-switch-example2"></a>

이 요청의 예에서는 동적 파일 입력으로 즉시 전환하는 방법을 보여 줍니다. 이 전환 작업은 `action-unscheduled-standby`이고, `dynamic-unscheduled-standby`라는 입력 연결과 이어지는 입력으로 전환해 줍니다. 이 동적 입력 사용법에서 사용할 파일은 `oceanwaves.mp4`입니다.

```
{
  "ChannelId": "999999",
  "Creates": {
    "ScheduleActions": [
      {
        "ScheduleActionStartSettings": 
          {
          "ImmediateModeScheduleActionStartSettings": {
          }
         },
       "ActionName": "action-unscheduled-slate",
        "ScheduleActionSettings": {
          "InputSwitchSettings": {
            "InputAttachmentNameReference": "slate",
            "UrlPath":[
              "main/oceanwaves.mp4",
              "redundant/oceanwaves.mp4"]
     }
    }
   }
  ]
 }
}
```

# 입력 준비 작업 - 페이로드
<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"
              }
            }
          }
        }
      }
    ]
  }
}
```

# 전역 이미지 활성화 작업 - 페이로드
<a name="cli-schedule-fields-for-activate-image"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [전역 이미지 오버레이 활성화 필드](schedule-fields-for-activate-image.md)을 참조하세요.

```
{
"ChannelId": "string",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "StaticImageActivateSettings": {
     "Duration": integer,
     "FadeIn": integer,
     "FadeOut": integer,
     "Height": integer,
     "Image": {
      "PasswordParam": "string",
      "Uri": "string",
      "Username": "string"
     },
     "ImageX": integer,
     "ImageY": integer,
     "Layer": integer,
     "Opacity": integer,
     "Width": integer
     }
    }
   }
  ]
 }
}
```

## 예제
<a name="json-activate-image-example"></a>

요청의 이 예제는 채널의 모든 출력 그룹의 모든 비디오 출력에 삽입할 이미지 오버레이를 생성합니다. 오버레이는 Amazon S3 버킷에 저장된 파일을 사용합니다. 이 요청은 지속 시간을 포함하지 않으므로 페이드아웃을 포함하지 않습니다. 대신에 해당 시간에 별도의 비활성화 요청을 전송하려고 합니다. 모든 시간은 밀리초 단위이며 모든 위치 값은 픽셀 단위입니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        "FixedModeScheduleActionStartSettings": {
          "Time": "2018-05-21T20:42:19.000Z"
        }
      },
      "ActionName": "corporate-logo-030",
      "ScheduleActionSettings": {
        "StaticImageActivateSettings": {
          "Image": {
          "PasswordParam": "corplogo!2312",
          "Uri": "s3ssl://amzn-s3-demo-bucket/logos/corporate/high-res.bmp",
          "Username": "medialiveoperator"
          },
          "Layer": 1,
          "FadeIn": 1500,
          "Height": 900
          "Width": 800,
          "ImageX": 200,
          "ImageY": 300,
          "Opacity": 60,
          }
        }
      }
    ]
  }
}
```

# 글로벌 오버레이 작업 비활성화 - 페이로드
<a name="cli-schedule-fields-for-deactivate-image"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [이미지 오버레이 비활성화 필드](schedule-fields-for-deactivate-image.md)을 참조하세요.

```
{
 "ChannelId": "string",
 "Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "StaticImageDeactivateSettings": {
     "FadeOut": integer,
     "Layer": integer
    }
   }
  }
 ]
}
```

## 예제
<a name="json-deactivate-image-example"></a>

이 요청 예제는 20:42:04.000(UTC)에 이미지 오버레이를 제거하는 작업을 생성합니다. 이 작업에서는 500밀리초 페이드아웃이 종료 시간에 추가되어 오버레이가 20:42:04.500에 보이지 않게 됩니다.

이 작업은 글로벌 계층 4에 있는 이미지 오버레이를 제거합니다. 즉, 전역 작업(StaticImageActivateSettings)을 사용하여 삽입한 *경우에만* 이미지가 제거됩니다. 출력당 계층 4에서 오버레이를 제거하지는 않습니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        "FixedModeScheduleActionStartSettings": {
          "Time": "2018-05-21T20:42:04.000Z"
        }
      },
      "ActionName": "stop-overlay-029",
      "ScheduleActionSettings": {
        "StaticImageDeactivateSettings": {
          "FadeOut": 500,
          "Layer": 4
          }
        }
      }
    ]
  }
}
```

# 출력당 이미지 작업 활성화 - 페이로드
<a name="cli-schedule-fields-for-activate-image-per-output"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [출력별 이미지 오버레이를 활성화하기 위한 필드](schedule-fields-activate-image-per-output.md)을 참조하세요.

```
{
"ChannelId": "string",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "StaticImageOutputActivateSettings": {
     "Duration": integer,
     "FadeIn": integer,
     "FadeOut": integer,
     "Height": integer,
     "Image": {
      "PasswordParam": "string",
      "Uri": "string",
      "Username": "string"
     },
     "ImageX": integer,
     "ImageY": integer,
     "Layer": integer,
     "Opacity": integer,
     "OutputNames": [
       {}
      ],
     "Width": integer
     }
    }
   }
  ]
 }
}
```

## 예제
<a name="json-deactivate-image-per-output-example"></a>

요청의 이 예제는 채널의 특정 출력에 삽입할 이미지 오버레이를 생성합니다. 오버레이는 Amazon S3 버킷에 저장된 파일을 사용합니다. 요청은 출력 `hls-high-res` 및 `mss-high-res`에 이미지를 삽입합니다. 이미지는 이러한 출력의 비디오 해상도에 적합한 크기입니다.

요청은 항상 존재하기 위한 것입니다. 따라서 즉시(채널이 시작되는 즉시) 시작하도록 설정됩니다. 모든 시간은 밀리초 단위이며 모든 위치 값은 픽셀 단위입니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
        "ScheduleActionStartSettings": 
          {
          "ImmediateModeScheduleActionStartSettings": {
          }
         },
      },
      "ActionName": "logo-1280",
      "ScheduleActionSettings": {
        "StaticImageOutputActivateSettings": {
          "Image": {
          "PasswordParam": "corplogo!2312",
          "Uri": "s3ssl://amzn-s3-demo-bucket/logos/corporate/10percent-1280.bmp",
          "Username": "medialiveoperator"
          },
          "Layer": 0,
          "outputNames": [
            hls-high-res,mss-high-res
           ],
          "ImageX": 200,
          "ImageY": 300,
          "FadeIn": 1500,
          "Opacity": 60
          }
        }
      }
    ]
  }
}
```

# 출력당 오버레이 작업 비활성화 - 페이로드
<a name="cli-schedule-fields-for-deactivate-image-per-output"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [이미지 오버레이 비활성화 필드](schedule-fields-deactivate-image-per-output.md)을 참조하세요.

```
{
 "ChannelId": "string",
 "Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "StaticImageOutputDeactivateSettings": {
     "FadeOut": integer,
     "Layer": integer,
     "OutputNames"
    }
   }
  }
 ]
}
```

## 예제
<a name="cli-schedule-fields-for-deactivate-image-per-output-example"></a>

비활성화 작업은 지정된 출력 또는 출력의 지정된 출력별 계층에서 이미지를 비활성화합니다.

활성화 예제의 뒤를 잇는 이 예제에서는 작업이 출력 hls-high-res의 출력당 계층 4에 있는 모든 이미지 오버레이를 제거합니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        "FixedModeScheduleActionStartSettings": {
          "Time": "2018-05-21T20:42:04.000Z"
        }
      },
      "ActionName": "stop-layer4-all-outputs",
      "ScheduleActionSettings": {
        "StaticImageOutputDeactivateSettings": {
          "outputNames": [
            hls-high-res
           ],
          "FadeOut": 500,
          "Layer": 4
          }
        }
      }
    ]
  }
}
```

# 모션 그래픽 오버레이 활성화 - 페이로드
<a name="cli-schedule-fields-activate-mgi"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [모션 그래픽 오버레이를 활성화하기 위한 필드](schedule-fields-for-mg.md)을 참조하세요.

```
{
 "ChannelId": "string",
 "Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "MotionGraphicsImageActivateSettings": {
     "Duration": integer
     "Url": "string"
     "Username": "string",
     "PasswordParam": "string"
    }
   }
  ]
 }
}
```

## 예제
<a name="json-activate-mgi-example"></a>

요청의 이 예제는 mg\$1ticker\$1tape라는 모션 그래픽 오버레이 작업을 생성합니다. 모션 그래픽 자산은 http://example.com/ticker\$1tape.html.에 저장됩니다. 이 서버에는 사용자 자격 증명이 필요합니다. 요청에는 기간이 포함되지 않습니다. 대신에 해당 시간에 별도의 비활성화 요청을 전송하려고 합니다.

```
{
"ChannelId": "999999",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "2018-05-21T20:42:04.000Z"
    }
   },
   "ActionName": "mg_ticker_tape",
   "ScheduleActionSettings": {
    "MotionGraphicsImageActivateSettings": {
     "Url": "https://example.com/ticker_tape.html"
     "Username": "medialiveoperator",
     "PasswordParam": "/medialive/12345"
    }
   }
  ]
 }
}
```

# 모션 그래픽 오버레이 비활성화 - 페이로드
<a name="cli-schedule-fields-deactivate-mgi"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [모션 그래픽 오버레이를 비활성화하기 위한 필드](schedule-fields-for-mg-deactivate.md)을 참조하세요.

```
{
"ChannelId": "string",
"Creates": {
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "MotionGraphicsImageDeactivateSettings": {
     }
    }
   }
  ]
 }
}
```

## 예제
<a name="json-deactivate-mgi-example"></a>

이 요청 예제는 23:59:00.000(UTC)에 모션 그래픽 오버레이를 종료하는 작업을 생성합니다.

```
{
"ChannelId": "999999",
"Creates": {
 "ScheduleActions": [
  {
  "ScheduleActionStartSettings": {
   "FixedModeScheduleActionStartSettings": {
   "Time": "2018-05-21T23:59:00.000Z"
   },
   "ActionName": "deactivate-ticker-tape",
   "ScheduleActionSettings": {
    "MotionGraphicsImageDeactivateSettings": {
     }
    }
   }
  ]
 }
}
```

# Splice\$1Insert 메시지 - 페이로드
<a name="cli-schedule-fields-for-splice-insert"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [Splice\$1Insert 메시지 필드](schedule-fields-for-splice_insert.md)을 참조하세요.

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "FollowModeScheduleActionStartSettings": {
     "FollowPoint": "enum",
     "ReferenceActionName": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "Scte35SpliceInsertSettings": {
     "Duration": integer,
     "SpliceEventId": integer
    }
   }
  }
 ]
}
```

## 시작 시간이 고정된 스플라이스 삽입의 예
<a name="json-splice-insert-example"></a>

이 요청 예제는 UTC 시작 시간이 20:42:04.000인 splice\$1insert에 대한 작업을 생성합니다. 또한 데이터베이스의 광고 가능성, 스플라이스 이벤트 ID에 대한 고유 정수, 1,350,000kHz 틱(15초)의 지속 시간을 참조하는 `ActionName`도 있습니다.

```
{
  "ChannelId": "999999",
  "Creates": {
    "ScheduleActions": [
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:04.000Z"
          }
        },
      "ActionName": "adavail-3708",
      "ScheduleActionSettings": {
        "Scte35SpliceInsertSettings": {
          "SpliceEventId": 3708,
          "Duration": 1350000
          }
        }
      }
    ]
  }
}
```

## 후속 작업으로 수행되는 스플라이스 삽입의 예
<a name="json-splice-insert-example2"></a>

이 요청의 예는 nature-doco-003이라는 입력 전환 작업이 종료된 후에 수행될 스플라이스 삽입 작업을 생성합니다. 또한 이 작업에는 데이터베이스의 광고 가능 구간, 스플라이스 이벤트 ID에 대한 고유 정수, 1,350,000kHz 틱(15초)의 지속 시간을 참조하는 `ActionName`도 있습니다.

SCTE 35 메시지에 대한 후속 모드는 입력이 완료되는 즉시 광고 가능 구간이 시작되기를 원하지만 언제 이것이 발생할지 모를 때 유용합니다.

```
{
  "ChannelId": "999999",
  "Creates": {
    "ScheduleActions": [
      {
        "ScheduleActionStartSettings": {
         "FollowModeScheduleActionStartSettings": {
                "FollowPoint": "END",
                "ReferenceActionName": "nature-doco-003"
        }
      },
      "ActionName": "adavail-3708",
      "ScheduleActionSettings": {
        "Scte35SpliceInsertSettings": {
          "SpliceEventId": 3708,
          "Duration": 1350000
          }
        }
      }
    ]
  }
}
```

# Time\$1Signal 메시지 - 페이로드
<a name="cli-schedule-fields-for-time-signal"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [Time\$1Signal 메시지 필드](schedule-fields-for-time-signal.md)을 참조하세요.

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "FollowModeScheduleActionStartSettings": {
     "FollowPoint": "enum",
     "ReferenceActionName": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "Scte35TimeSignalSettings": {
     "Scte35Descriptors": [
      {
       "Scte35DescriptorSettings": {
        "SegmentationDescriptorScte35DescriptorSettings": {
         "DeliveryRestrictions": {
          "ArchiveAllowedFlag": "enum",
          "DeviceRestrictions": "enum",
          "NoRegionalBlackoutFlag": "enum",
          "WebDeliveryAllowedFlag": "enum"
         },
         "SegmentNum": integer,
         "SegmentationCancelIndicator": "enum",
         "SegmentationDuration": integer,
         "SegmentationEventId": integer,
         "SegmentationTypeId": integer,
         "SegmentationUpid": "string",
         "SegmentationUpidType": integer,
         "SegmentsExpected": integer,
         "SubSegmentNum": integer,
         "SubSegmentsExpected": integer
        }
       }
      }
     ]
    }
   }
  }
 ]
}
```

## 예제
<a name="json-time-signal-example"></a>

이 요청 예제는 UTC 시작 시간이 20:42:04.000이고 `SegmentationEventId`로 고유 정수를 사용하는 time\$1signal 작업을 생성합니다. 제한 필드의 경우 `NoRegionalBlackoutFlag`에는 제한이 설정되어 있습니다(리전 블랙아웃 실시 중).

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        "FixedModeScheduleActionStartSettings": {
          "Time": "2018-05-21T20:42:04.000Z"
        }
      },
      "ActionName": "adavail-3708",
      "ScheduleActionSettings": {
        "Scte35TimeSignalSettings": {
          "Scte35Descriptors": [
          {
            "Scte35DescriptorSettings": {
              "SegmentationDescriptorScte35DescriptorSettings": {
                "SubSegmentsExpected": 0,
                "SegmentationEventId": 7054,
                "SegmentationDuration": 1350000,
                "SegmentationCancelIndicator": 0,
                "SubSegmentNum": 0,
                "SegmentationUpidType": 12,
                "SegmentNum": 0,
                "SegmentationCancelIndicator": "SEGMENTATION_EVENT_NOT_CANCELED",
                "DeliveryRestrictions": {
                  "DeviceRestrictions": "NONE",
                  "WebDeliveryAllowedFlag": "WEB_DELIVERY_ALLOWED",
                  "NoRegionalBlackoutFlag": "REGIONAL_BLACKOUT",
                  "ArchiveAllowedFlag": "ARCHIVE_ALLOWED"
                },
                "SegmentationUpid": "4a414e3136494e4155303031",
                "SegmentationTypeId": 52,
                "SegmentsExpected": 0
                  }
                }
              }
            ]
          }
        }
      }
    ]
  }
}
```

# 네트워크로 복귀 메시지 - 페이로드
<a name="cli-schedule-fields-for-return-network"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [네트워크로 복귀 메시지 필드](schedule-fields-for-return-to-network.md)을 참조하세요.

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "FollowModeScheduleActionStartSettings": {
     "FollowPoint": "enum",
     "ReferenceActionName": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "Scte35ReturnToNetworkSettings": {
     "SpliceEventId": integer                
    }
   }
  }
 ]
}
```

## 예제
<a name="json-return-network-example"></a>

이 요청 예제는 UTC 시작 시간이 20:42:19인 네트워크로 복귀 작업을 생성합니다.

```
{
  "ChannelId": "999999",
  "Creates": {
    "ScheduleActions": [
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:19.000Z"
          }
      },
      "ActionName": "end-adavail-3708",
      "ScheduleActionSettings": {
        "Scte35ReturnToNetworkSettings": {
          }
        }
      }
    ]
  }
}
```

# ID3 메타데이터 항목 - 페이로드
<a name="cli-schedule-fields-for-id3"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [ID3 메타데이터에 대한 필드](schedule-fields-for-id3-userdata.md)을 참조하세요.

**HlsTimedMetadataSettings 작업에 대한 페이로드**

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
     "HlsTimedMetadataSettings": {
     "Id3": "string"
    }
   }
  }
 ]
}
```

**TimedMetadataSettings 작업의 페이로드**

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
     "TimedMetadataSettings": {
     "Id3": "string"
    }
   }
  }
 ]
}
```

## 예제
<a name="json-id3-example"></a>

이 요청 예제에서는 `HlsTimedMetadataSettings` 작업을 사용합니다. 13:35:59 UTC에 적절한 출력 그룹에 삽입할 ID3 메타데이터를 생성합니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        "FixedModeScheduleActionStartSettings": {
          "Time": "2019-01-02T13:35:59Z"
        }
      },
      "ActionName": "id3-metadata.2019-01-02T13:35:59Z",
      "ScheduleActionSettings": {
        "HlsTimedMetadataSettings": {
          "Id3": "SUQzBAAAAAAAF1RJVDIAAAANAAADSGVsbG8gV29ybGQA"
          }
        }
      }
    ]
  }
}
```

# ID3 세그먼트 태그 항목 - 페이로드
<a name="cli-schedule-fields-id3-segment-tag"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [ID3 세그먼트 태그에 대한 필드](schedule-fields-for-id3-segment-tags.md)을 참조하세요.

**HlsId3SegmentTaggingSettings 작업의 페이로드**

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
	"HlsId3SegmentTaggingSettings": {
         "Tag": "string"
         "Id3": "string"
    }
   }
  }
 ]
}
```

**Id3SegmentTaggingSettings 작업의 페이로드**

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
	"Id3SegmentTaggingSettings": {
         "Tag": "string"
         "Id3": "string"
    }
   }
  }
 ]
}
```

## 태그 속성 사용 예제
<a name="json-id3-segment-example"></a>

이 요청 예제에서는 `HlsId3SegmentTaggingSettings` 작업을 사용합니다. 13:35:59 UTC부터 삽입할 ID3 세그먼트 태그를 생성합니다. 이 예제에서는 `Tag` 속성를 사용합니다. 즉, `TXXX` 필드에 `value`의 콘텐츠만 지정합니다. 예제에는 세그먼트의 날짜, 시간 및 번호가 포함됩니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        "FixedModeScheduleActionStartSettings": {
          "Time": "2020-01-02T13:35:59Z"
        }
      },
      "ActionName": "id3-datetime-and-segment",
      "ScheduleActionSettings": {
        "HlsId3SegmentTaggingSettings": {
          "Tag": "$dt$-$sn$"
          }
        }
      }
    ]
  }
}
```

## Id3 속성 사용 예
<a name="json-ide-segment-id3-example"></a>

이 요청 예제에서는 즉시 삽입할 ID3 세그먼트 태그를 생성합니다. 이 예제에서는 `Id3` 속성을 사용합니다. 즉, 콘텐츠가 base64로 인코딩됩니다.

```
{
  "ChannelId": "999999",
  "Creates": {
  "ScheduleActions": [
    {
      "ScheduleActionStartSettings": {
        ImmediateModeScheduleActionStartSettings
       }
      },
      "ActionName": "id3-song309",
      "ScheduleActionSettings": {
        "HlsId3SegmentTaggingSettings": {
          "Id3": "SUQzBAAAAAAAF1RJVDIAAAANAAADSGVsbG8gV29ybGQA"
          }
        }
      }
    ]
  }
}
```

# 파이프라인 일시 중지 작업 - 페이로드
<a name="cli-schedule-fields-for-pause"></a>

다음 JSON에서 필드의 의미 및 값에 대한 자세한 내용은 [일시 중지 필드](schedule-fields-for-pause.md)을 참조하세요.

```
{
 "ScheduleActions": [
  {
   "ScheduleActionStartSettings": {
    "FixedModeScheduleActionStartSettings": {
     "Time": "string"
    },
    "ImmediateModeScheduleActionStartSettings": {
    }
   },
   "ActionName": "string",
   "ScheduleActionSettings": {
    "PauseStateSettings": {
     "Pipelines": [
      {
       "PipelineId": "enum"
      }
     ]
    }
   }
  }
 ]
}
```

## 예: 하나의 파이프라인 일시 중지
<a name="json-pause-example"></a>

요청의 이 예제는 파이프라인 0을 20:42:19 UTC에 일시 중지합니다. MediaLive는 항상 명령을 다음과 같이 읽습니다.*지정된 파이프라인 또는 파이프라인을 일시 중지하도록 설정하고 다른 모든 파이프라인을 일시 중지되지 않음으로 설정합니다.*

```
{
  "ChannelId": "999999",
  "Creates": {
    "ScheduleActions": [
      {
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-05-21T20:42:19Z"
          }
        },
        "ActionName": "pause-pipeline-0-now",
        "ScheduleActionSettings": {
          "PauseStateSettings": {
            "Pipelines": [
              {
                "PipelineId": "PIPELINE_0"
              }
            ]
          }
        }
      }
    ]
  }
}
```

## 예: 두 파이프라인을 모두 일시 중지 해제
<a name="json-unpause-example"></a>

이 요청 예제는 현재 일시 중지된 모든 파이프라인의 일시 중지를 해제합니다.

**참고**  
MediaLive는 항상 명령을 다음과 같이 읽습니다.*지정된 파이프라인 또는 파이프라인을 일시 중지하도록 설정하고 다른 모든 파이프라인을 일시 중지되지 않음으로 설정합니다.* 이 예제에서는 `Pipelines` 배열이 비어 있습니다. MediaLive는 이 빈 배열을 다음과 같이 해석합니다. *모든 파이프라인을 일시 중지되지 않음으로 설정합니다*.

```
{
 "ChannelId": "999999",
 "Creates": {
     "ScheduleActions": [
      {
       "ScheduleActionStartSettings": {
         "ImmediateModeScheduleActionStartSettings": {}
      },
     "ActionName": "unpause-pipeline-0",
     "ScheduleActionSettings": {
       "PauseStateSettings": {
         "Pipelines": [
       {}
      ]
     }
    }
   }
  ]
 }
}
```

# 생성 작업 조합
<a name="cli-example-multiple-creates"></a>

다음은 `batch-update-schedule` AWS CLI 명령의 `--creates` 파라미터에 전달할 JSON 본문의 예입니다. 여기에는 생성할 두 가지 작업이 포함되어 있습니다. 이 예제에서는 두 작업이 모두 splice\$1insert이지만, 실제로 모든 유형의 생성 작업을 원하는 개수만큼 결합할 수 있습니다.

```
{
    "ScheduleActions": [
      {
        "ScheduleActionSettings": {
          "Scte35SpliceInsertSettings": {
            "Duration": 1350000,
            "SpliceEventId": 3
          }
        },
        "ActionName": "SpliceInsert-01",
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-11-05T16:10:30.000Z"
          }
        }
      },
      {
        "ScheduleActionSettings": {
          "Scte35SpliceInsertSettings": {
            "Duration": 2700000,
            "SpliceEventId": 3
          }
        },
        "ActionName": "SpliceInsert-02",
        "ScheduleActionStartSettings": {
          "FixedModeScheduleActionStartSettings": {
            "Time": "2018-11-05T16:30:45.000Z"
          }
        }
      }
    ]
  }
```