# JobPatchSchema

## object

### properties

#### object [JobPropertiesPatch](https://docs.mediakind.com/api-reference/media-api/schemas/jobpropertiespatch) - Required

Properties of the job

- **correlationData**: map from strings to any - Optional
  - Customer provided key, value pairs that will be returned in Job and JobOutput state events.

- **description**: string or null - Optional (<=1024 characters)
  - The description of the Job.

- **input**: object - Required
  - The inputs of the Job.

- ### Discriminated by `@odata.type`. Select one variant:

- #### Microsoft.Media.JobInputAsset
        - object [JobInputAsset](https://docs.mediakind.com/api-reference/media-api/schemas/jobinputasset)
        - **@odata.type**: string - Required
        - The discriminator for derived types.
        - **assetName**: string - Required
          - The name of the input Asset
        - **end**: object - Optional
          - Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media.

- #### Microsoft.Media.AbsoluteClipTime
        - object [AbsoluteClipTime](https://docs.mediakind.com/api-reference/media-api/schemas/absolutecliptime)
        - **@odata.type**: string - Required
          - The discriminator for derived types.
        - **time**: string - Optional
          - The time position on the timeline of the input media. Specified as an ISO8601 period. e.g PT30S for 30 seconds.

- #### Microsoft.Media.UtcClipTime
        - object [UtcClipTime](https://docs.mediakind.com/api-reference/media-api/schemas/utccliptime)
        - **@odata.type**: string - Required
          - The discriminator for derived types.
        - **time**: string - Optional
          - The time position on the timeline of the input media based on UTC time.

- **trigger**: object [ScteTrigger](https://docs.mediakind.com/api-reference/media-api/schemas/sctetrigger) - Optional
      - SCTE-35 signal trigger. Recording starts/stops at the first matching signal.

- **filters**: list of list of maps - Optional
      - Outer array is OR-combined; each inner array is AND-combined field matchers.

- **searchRange**: object [ScteTriggerSearchRange](https://docs.mediakind.com/api-reference/media-api/schemas/sctetriggersearchrange) - Optional
      - Bounds the signal search to \[anchor+startOffset, anchor+endOffset\]. Anchor is `time` if present, else dispatch_time (start) or resolved_start (end).

- **endOffset**: string - Required
          - Closes the signal-search window relative to the anchor (ISO 8601 Duration, e.g. "PT2M").
        - **startOffset**: string - Required
          - Opens the signal-search window relative to the anchor (ISO 8601 Duration; negative allowed, e.g. "-PT5M").
        - **signalType**: enum - Required
          - Signal type. Allowed values: SCTE35

- **files**: list of strings - Optional
      - List of files.
    - **label**: string - Optional
      - A label that is assigned to a JobInputClip
    - **start**: object - Optional
      - Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media.

- ### Discriminated by `@odata.type`. Select one variant:

- **filters**: list of list of maps - Optional
      - Outer array is OR-combined; each inner array is AND-combined field matchers.

#### outputs

- list of objects - Required
  - The outputs for the Job.
  
    - ### Discriminated by `@odata.type`. Select one variant:
    - #### Microsoft.Media.JobOutputAsset
      - object [JobOutputAssetPatch](https://docs.mediakind.com/api-reference/media-api/schemas/joboutputassetpatch)
      - **@odata.type**: string - Required
        - The discriminator for derived types.
      - **assetName**: string - Required
        - The name of the output Asset
      - **label**: string - Optional
        - A label that is assigned to a JobOutput in order to help uniquely identify it.
      - **priority**: enum - Optional
        - Defaults to Normal
        - Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal.
        - Allowed values: High, Low, Normal
