# AssetFilterSchema

## Properties

### id
- **Type**: string (Optional)
- **Description**: Fully qualified resource ID for the resource. Ex - `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}`

### name
- **Type**: string (Optional) (1-260 characters)
- **Pattern**: ^[^\\'<>%&:\?/\*+]+$
- **Description**: The name of the resource

### properties
- **Type**: object ([MediaFilterProperties](https://docs.mediakind.com/api-reference/media-api/schemas/mediafilterproperties)) (Required)
- **Description**: Properties for the asset filter

### firstQuality
- **Type**: object ([FirstQuality](https://docs.mediakind.com/api-reference/media-api/schemas/firstquality)) (Optional)
- **Description**: Initial quality level when playback starts. The first bitrate in the ladder.

#### bitrate
- **Type**: integer (Required)
- **Description**: Target video bitrate to be used when starting playback of an HLS manifest.

### presentationTimeRange
- **Type**: object ([PresentationTimeRange](https://docs.mediakind.com/api-reference/media-api/schemas/presentationtimerange)) (Optional)
- **Description**: Used to cut an asset into a smaller asset by specifying a start and end time.

#### endTime
- **Type**: string (Optional) (format: date-time)
- **Description**: Indicates the end of the presentation window for live content only.

#### endTimestamp
- **Type**: integer (Optional) (>=0)
- **Description**: Indicates the end of the presentation window in units of timescale.

#### forceEndTimestamp
- **Type**: boolean (Optional)
- **Description**: Requires that the filter endTimestamp be set.

#### liveBackoffDuration
- **Type**: integer (Optional)
- **Description**: Truncates content from the head of a live video manifest by the specified duration.

#### presentationWindowDuration
- **Type**: integer (Optional)
- **Description**: Indicates the duration of the presentation window in units of timescale.

#### startTime
- **Type**: string (Optional) (format: date-time)
- **Description**: Indicates the start of the presentation window.

#### startTimestamp
- **Type**: integer (Optional) (>=0)
- **Description**: Indicates the start of the presentation window in units of timescale.

#### timescale
- **Type**: integer (Optional) (1 to 1000000000, Defaults to 10000000)
- **Description**: Defines the unit of time for all values in this object.

### tracks
- **Type**: list of objects ([FilterTrackSelection](https://docs.mediakind.com/api-reference/media-api/schemas/filtertrackselection)) (Optional)
- **Description**: Defines the tracks to include in the output.

### trackSelections
- **Type**: list of objects ([FilterTrackPropertyCondition](https://docs.mediakind.com/api-reference/media-api/schemas/filtertrackpropertycondition)) (Required)
- **Description**: Defines the tracks to include in the output.

#### operation
- **Type**: enum (Required)
- **Allowed values**: Equal, NotEqual

#### property
- **Type**: enum (Required)
- **Allowed values**: Bitrate, FourCC, Language, Name, Type, Unknown

#### value
- **Type**: string (Required)
- **Description**: The value to match against.

### systemData
- **Type**: object ([SystemDataSchema](https://docs.mediakind.com/api-reference/media-api/schemas/systemdataschema)) (Optional)
- **Description**: Metadata pertaining to creation and last modification of the resource.

#### createdAt
- **Type**: string (Required) (format: date-time)

#### createdBy
- **Type**: string (Required)

#### createdByType
- **Type**: enum (Required)
- **Allowed values**: User, Application, ManagedIdentity, Key

#### internalId
- **Type**: string (Required) (format: uuid)

#### lastModifiedAt
- **Type**: string (Required) (format: date-time)

#### lastModifiedBy
- **Type**: string (Required)

#### lastModifiedByType
- **Type**: enum (Required)
- **Allowed values**: User, Application, ManagedIdentity, Key

#### type
- **Type**: string (Optional)
- **Description**: The type of the resource. E.g. "Microsoft.Media/mediaservices/assets"
