Input schema (JSON)
{
"type": "object",
"properties": {
"playlist_id": {
"type": "string",
"format": "uuid"
},
"type": {
"type": "string",
"enum": [
"image",
"video",
"image_slideshow",
"youtube"
]
},
"name": {
"type": [
"string",
"null"
]
},
"duration_seconds": {
"type": "integer",
"minimum": 0
},
"is_selected": {
"type": "boolean"
},
"schedule_start": {
"type": [
"string",
"null"
],
"description": "HH:MM or HH:MM:SS"
},
"schedule_end": {
"type": [
"string",
"null"
],
"description": "HH:MM or HH:MM:SS"
},
"asset_id": {
"type": "string",
"format": "uuid",
"description": "For image/video items"
},
"external_url": {
"type": "string",
"format": "uri",
"description": "For youtube items"
},
"config": {
"type": "object",
"description": "For image_slideshow items",
"properties": {
"asset_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 1
},
"image_duration": {
"type": "integer",
"minimum": 1
},
"transition_speed": {
"type": "integer",
"minimum": 0
},
"fit": {
"type": "string",
"enum": [
"contain",
"cover"
]
},
"bg_color": {
"type": "string"
},
"randomize": {
"type": "boolean"
}
}
}
},
"required": [
"playlist_id",
"type"
],
"additionalProperties": false
}