# Api_StationSchedulePlaylistEvent

Type: object

Schema: [Api_StationSchedulePlaylistEvent](https://sourcey-azuracast.pages.dev/docs/api/models/api-stationscheduleplaylistevent/index.md)

- `id` (required)
  Type: integer
  
  The unique identifier of the playlist.
  
  Example:
  
  ```json
  1
  ```

- `title` (required)
  Type: string
  
  The playlist name representing the event title.
  
  Example:
  
  ```json
  "Example Playlist"
  ```

- `type` (required)
  Type: string
  
  The type of this schedule event.
  
  enum: ["playlist"]
  
  Example:
  
  ```json
  "playlist"
  ```

- `start` (required)
  Type: string
  
  The start time of this schedule event, in ISO 8601 format.
  
  Example:
  
  ```json
  "2020-02-19T03:00:00-06:00"
  ```

- `end` (required)
  Type: string
  
  The end time of this schedule event, in ISO 8601 format.
  
  Example:
  
  ```json
  "2020-02-19T05:00:00-06:00"
  ```

- `edit_url` (required)
  Type: string
  
  The API URL used to edit the underlying playlist.
  
  Example:
  
  ```json
  "/api/station/1/playlist/1"
  ```

- `source` (required)
  Reference: [PlaylistSources](https://sourcey-azuracast.pages.dev/docs/api/models/playlistsources/index.md); Type: string
  
  enum: ["songs","playlists","remote_url","requests"]

- `order` (required)
  Reference: [PlaylistOrders](https://sourcey-azuracast.pages.dev/docs/api/models/playlistorders/index.md); Type: string
  
  enum: ["random","shuffle","sequential"]

- `playlist_type` (required)
  Reference: [PlaylistTypes](https://sourcey-azuracast.pages.dev/docs/api/models/playlisttypes/index.md); Type: string
  
  enum: ["default","once_per_x_songs","once_per_x_minutes","once_per_hour","custom"]

- `play_per_songs` (required)
  Type: integer
  
  Example:
  
  ```json
  0
  ```

- `play_per_minutes` (required)
  Type: integer
  
  Example:
  
  ```json
  0
  ```

- `play_per_hour_minute` (required)
  Type: integer
  
  Example:
  
  ```json
  0
  ```

- `weight` (required)
  Type: integer
  
  Example:
  
  ```json
  3
  ```

- `is_jingle` (required)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `include_in_on_demand` (required)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `avoid_duplicates` (required)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `plays_via_group_schedule` (required)
  Type: boolean
  
  True if this playlist is a group member and an ancestor group's schedule covers this entire event, so it plays via that group instead of on its own. Partially covered events report false.
  
  readOnly: true
  
  Example:
  
  ```json
  false
  ```

- `members` (required)
  Type: array
  
  Items:
    Reference: [Api_StationScheduleGroupMember](https://sourcey-azuracast.pages.dev/docs/api/models/api-stationschedulegroupmember/index.md); Type: object

- `num_songs` (required)
  Type: integer; nullable
  
  The number of songs in the playlist, if it is a song-based playlist.
  
  Example:
  
  ```json
  25
  ```

- `total_length` (required)
  Type: number, float; nullable
  
  The total length of the playlist in seconds, if it is a song-based playlist.
  
  Example:
  
  ```json
  3600
  ```

- `remote_url` (required)
  Type: string; nullable
  
  The remote URL, if this is a remote URL playlist.
  
  Example:
  
  ```json
  "https://example.com/stream"
  ```

- `remote_type` (required)
  Type: unknown; nullable
  
  oneOf:
    Reference: [PlaylistRemoteTypes](https://sourcey-azuracast.pages.dev/docs/api/models/playlistremotetypes/index.md); Type: string
    
    enum: ["stream","playlist","other"]