JSON message about capability of configuring cut-in parameters
{ "InsertPlayCap": { "controlType":{ "@opt": ["stop","cancel"] }, /*optional, string, control type: "stop", "cancel"*/ "insertType":{ "@opt": ["character","material","program"] }, /*required, string, cut-in content type: "character" (text message), "material", "program"*/ "taskName":{ "@min": 0, "@max": 0 }, /*optional, string, cut-in task name*/ "InsertInfoList": [{ "screenType":{ "@opt": ["first","second"] }, /*required, string, screen type: "first" (main screen), "second" (auxiliary screen)*/ "CharacterInfo": { "InsertMessageList": [{ "id":{ "@min": 0, "@max": 0 }, /*required, int, ID, which starts from 1*/ "msgName":{ "@min": 0, "@max": 0 }, /*required, string, name of the text message*/ "content":{ "@min": 0, "@max": 0 }, /*required, string, content of the text message*/ "TimeRange": { "beginTime":{ "@min": 0, "@max": 0 }, /*required, string, start time in ISO 8601 format, eg:2004-05-03T22:30:08.354+08:00*/ "endTime":{ "@min": 0, "@max": 0 } /*required, string, end time in ISO 8601 format, eg:2004-05-03T22:30:08.354+08:00*/ } /*optional, string, time range*/ }], "msgPos":{ "@opt": ["top","middle","bottom","selfDefine"] }, /*optional, string, text position: "top", "middle", "bottom", "selfDefine"*/ "rect": { /*optional, text position, this node is valid when the value of msgPos is "selfDefine"*/ "height":{ "@min": 0.000, "@max": 0.000 }, /*optional, float, height*/ "width":{ "@min": 0.000, "@max": 0.000 }, /*optional, float, width*/ "x":{ "@min": 0.000, "@max": 0.000 }, /*optional, float, X-coordinate*/ "y":{ "@min": 0.000, "@max": 0.000 } /*optional, float, Y-coordinate*/ } }, "MaterialInfo": { "materialNo":{ "@min": 0, "@max": 0 }, /*required, int, material No.*/ "playMode":{ "@opt": ["byTime","byCount","byEndTime"] }, /*required, string, play mode: "byTime", "byCoun" (number of times the material is played), "byEndTime"*/ "playDuration":{ "@min": 0, "@max": 0 }, /*dependent, int, play duration, unit: second, this node is valid when the value of playMode is "byTime"*/ "countNum":{ "@min": 0, "@max": 0 }, /*dependent, int, number of times the material is played, this node is valid when the value of playMode is "byCount"*/ "playEndTime":{ "@min": 0, "@max": 0 }, /*dependent, string, end time, this node is valid when the value of playMode is "byEndTime", eg:2004-05-03T22:30:08.354+08:00*/ "rect": { /*optional, material position*/ "height":{ "@min": 0.000, "@max": 0.000 }, /*optional, float, height*/ "width":{ "@min": 0.000, "@max": 0.000 }, /*optional, float, width*/ "x":{ "@min": 0.000, "@max": 0.000 }, /*optional, float, X-coordinate*/ "y":{ "@min": 0.000, "@max": 0.000 } /*optional, float, Y-coordinate*/ } }, "ProgramInfo": { "programNo":{ "@min": 0, "@max": 0 }, /*required, int, program No.*/ "playMode":{ "@opt": ["byTime","byCount","byEndTime"] }, /*required, string, play mode: "byTime", "byCoun" (number of times the program is played), "byEndTime"*/ "playDuration":{ "@min": 0, "@max": 0 }, /*dependent, int, play duration, unit: second, this node is valid when the value of playMode is "byTime"*/ "countNum":{ "@min": 0, "@max": 0 }, /*dependent, int, number of times the material is played, this node is valid when the value of playMode is "byCount"*/ "playEndTime":{ "@min": 0, "@max": 0 } /*dependent, string, end time, this node is valid when the value of playMode is "byEndTime", eg:2004-05-03T22:30:08.354+08:00*/ }, "Effect": { /*optional, effect*/ "fontSize":{ "@min": 0, "@max": 0 }, /*required, int, font size*/ "fontColor":{ "@min": 0, "@max": 0 }, /*required, hexBinary, font color*/ "backColor":{ "@min": 0, "@max": 0 }, /*required, hexBinary, background color*/ "backTransparent":{ "@min": 0, "@max": 0 }, /*required, int, background transparency*/ "subtitlesEnabled":{ "@opt": [true, false] }, /*optional, boolean, whether to enable sub titles*/ "scrollDirection":{ "@opt": ["none","left","right","up","down"] }, /*optional, string, scroll direction: "none", "left", "right", "up", "down"*/ "scrollSpeed":{ "@min": 0, "@max": 0 }, /*optional, int, scroll speed, this node is valid when cut-in material is web or text message*/ "pageTime":{ "@min": 0, "@max": 0 } /*optional, int, page flip interval, unit: second, this node is valid when the cut-in material is in the format of WORD, PPT, PDF, or EXCEL*/ } }] } }