<xs:schema version="1.0">
<xs:complexType name="T_scenes">
<xs:sequence>
<xs:element ref="scene" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="T_scene" abstract="true">
<xs:sequence>
<xs:element name="sceneStartTime" minOccurs="1" maxOccurs="1" type="xs:time"></xs:element>
<xs:element name="userId" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="tags" minOccurs="0" maxOccurs="1" type="T_tags"></xs:element>
</xs:sequence>
<xs:attribute name="sceneId" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="systemName" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="120"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="entryId" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="T_tags">
<xs:sequence>
<xs:element name="tag" minOccurs="1" maxOccurs="unbounded">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="scenes" type="T_scenes"></xs:element>
<xs:element name="scene" type="T_scene"></xs:element>
<xs:element name="scene-extension"></xs:element>
<xs:complexType name="T_scene_adCuePoint">
<xs:complexContent>
<xs:extension base="T_scene">
<xs:sequence>
<xs:element name="sceneEndTime" minOccurs="0" maxOccurs="1" type="xs:time"></xs:element>
<xs:element name="sceneTitle" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sourceUrl" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="adType" minOccurs="1" maxOccurs="1" type="KalturaAdType"></xs:element>
<xs:element name="protocolType" minOccurs="1" maxOccurs="1" type="KalturaAdProtocolType"></xs:element>
<xs:element ref="scene-extension" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="scene-ad-cue-point" type="T_scene_adCuePoint" substitutionGroup="scene"></xs:element>
<xs:complexType name="T_scene_annotation">
<xs:complexContent>
<xs:extension base="T_scene">
<xs:sequence>
<xs:element name="sceneEndTime" minOccurs="1" maxOccurs="1" type="xs:time"></xs:element>
<xs:element name="sceneText" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="parent" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="120"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="parentId" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="scene-extension" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="scene-annotation" type="T_scene_annotation" substitutionGroup="scene"></xs:element>
<xs:complexType name="T_scene_codeCuePoint">
<xs:complexContent>
<xs:extension base="T_scene">
<xs:sequence>
<xs:element name="sceneEndTime" minOccurs="0" maxOccurs="1" type="xs:time"></xs:element>
<xs:element name="code" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250"></xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
<xs:element ref="scene-extension" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="scene-code-cue-point" type="T_scene_codeCuePoint" substitutionGroup="scene"></xs:element>
<xs:complexType name="T_scene_thumbCuePoint">
<xs:complexContent>
<xs:extension base="T_scene">
<xs:sequence>
<xs:element name="title" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="description" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="subType" minOccurs="0" maxOccurs="1" type="KalturaThumbCuePointSubType"></xs:element>
<xs:element ref="scene-extension" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="scene-thumb-cue-point" type="T_scene_thumbCuePoint" substitutionGroup="scene"></xs:element>
<xs:complexType name="T_customData">
<xs:sequence>
<xs:any namespace="##local" processContents="skip" minOccurs="1" maxOccurs="1"></xs:any>
</xs:sequence>
<xs:attribute name="metadataId" use="required" type="xs:int"></xs:attribute>
<xs:attribute name="metadataVersion" use="required" type="xs:int"></xs:attribute>
<xs:attribute name="metadataProfile" use="optional" type="xs:string"></xs:attribute>
<xs:attribute name="metadataProfileId" use="required" type="xs:int"></xs:attribute>
<xs:attribute name="metadataProfileName" use="optional" type="xs:string"></xs:attribute>
<xs:attribute name="metadataProfileVersion" use="required" type="xs:int"></xs:attribute>
</xs:complexType>
<xs:element name="scene-customData" type="T_customData" substitutionGroup="scene-extension"></xs:element>
<xs:complexType name="T_scene_questionCuePoint">
<xs:complexContent>
<xs:extension base="T_scene">
<xs:sequence>
<xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="hint" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="explanation" minOccurs="0" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="optionalAnswers" minOccurs="0" maxOccurs="unbounded" type="T_optionalAnswers"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="T_optionalAnswers">
<xs:sequence>
<xs:element ref="optionalAnswer" maxOccurs="unbounded" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="T_optionalAnswer">
<xs:sequence>
<xs:element name="key" maxOccurs="1" minOccurs="0" type="xs:string"></xs:element>
<xs:element name="text" maxOccurs="1" minOccurs="0" type="xs:string"></xs:element>
<xs:element name="weight" maxOccurs="1" minOccurs="0" type="xs:float"></xs:element>
<xs:element name="isCorrect" maxOccurs="1" minOccurs="0" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="optionalAnswers" type="T_optionalAnswers"></xs:element>
<xs:element name="optionalAnswer" type="T_optionalAnswer"></xs:element>
<xs:element name="scene-question-cue-point" type="T_scene_questionCuePoint" substitutionGroup="scene"></xs:element>
<xs:complexType name="T_scene_answerCuePoint">
<xs:complexContent>
<xs:extension base="T_scene">
<xs:sequence>
<xs:element name="answerKey" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="quizUserEntryId" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
<xs:element name="parentId" minOccurs="1" maxOccurs="1" type="xs:string"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="scene-answer-cue-point" type="T_scene_answerCuePoint" substitutionGroup="scene"></xs:element>
<xs:simpleType name="KalturaAdType">
<xs:restriction base="xs:string">
<xs:enumeration value="1"></xs:enumeration>
<xs:enumeration value="2"></xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="KalturaDynamicEnum">
<xs:restriction base="xs:string"></xs:restriction>
</xs:simpleType>
<xs:simpleType name="KalturaAdProtocolType">
<xs:restriction base="xs:string">
<xs:enumeration value="0"></xs:enumeration>
<xs:enumeration value="1"></xs:enumeration>
<xs:enumeration value="2"></xs:enumeration>
<xs:enumeration value="3"></xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="KalturaThumbCuePointSubType">
<xs:restriction base="xs:int">
<xs:enumeration value="1"></xs:enumeration>
<xs:enumeration value="2"></xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:schema>
scenes element
Cue points wrapper
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
scene |
|
No | Unbounded |
<scenes>
<scene-ad-cue-point sceneId="{scene id}" entryId="{entry id}" systemName="MY_AD_CUE_POINT_SYSTEM_NAME">...</scene-ad-cue-point>
<scene-annotation sceneId="{scene id}" entryId="{entry id}" systemName="MY_ANNOTATION_PARENT_SYSTEM_NAME">...</scene-annotation>
<scene-annotation sceneId="{scene id}" entryId="{entry id}">...</scene-annotation>
<scene-code-cue-point sceneId="{scene id}" entryId="{entry id}">...</scene-code-cue-point>
</scenes>
scene element
Base cue point element Is abstract and cannot be used Use the extended elements onlyAttribute Name | Description | Required | Type | Restrictions |
---|---|---|---|---|
sceneId |
|
Yes | string |
Maximum length: 250 characters |
systemName |
|
No | string |
Maximum length: 120 characters |
entryId |
|
Yes | string |
Maximum length: 20 characters |
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 |
Extended elements
scene-ad-cue-point element
Single ad cue point element
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
Extended from T_scene | ||||||
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 | |||
sceneEndTime |
|
No | 1 | time | ||
sceneTitle |
|
No | 1 | string |
Maximum length: 250 characters |
|
sourceUrl |
|
No | 1 | string | ||
adType |
|
Yes | 1 | KalturaAdType | ||
protocolType |
|
Yes | 1 | KalturaAdProtocolType | ||
Extensions: | ||||||
scene-customData |
|
No | Unbounded |
<scene-ad-cue-point sceneId="{scene id}" entryId="{entry id}" systemName="MY_AD_CUE_POINT_SYSTEM_NAME">
<sceneStartTime>00:00:05</sceneStartTime>
<tags>
<tag>sample</tag>
<tag>my_tag</tag>
</tags>
<sceneTitle>my ad title</sceneTitle>
<sourceUrl>http://source.to.my/ad.xml</sourceUrl>
<adType>1</adType>
<protocolType>1</protocolType>
</scene-ad-cue-point>
scene-annotation element
Single annotation element
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
Extended from T_scene | ||||||
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 | |||
sceneEndTime |
|
Yes | 1 | time | ||
sceneText |
|
No | 1 | string | ||
parent |
|
No | 1 | string |
Maximum length: 120 characters |
|
parentId |
|
No | 1 | string |
Maximum length: 250 characters |
|
Extensions: | ||||||
scene-customData |
|
No | Unbounded |
<scene-annotation sceneId="{scene id}" entryId="{entry id}">
<sceneStartTime>00:00:05.3</sceneStartTime>
<tags>
<tag>sample</tag>
<tag>my_tag</tag>
</tags>
<sceneEndTime>00:00:10</sceneEndTime>
<sceneText>my annotation</sceneText>
</scene-annotation>
scene-code-cue-point element
Single code cue point element
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
Extended from T_scene | ||||||
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 | |||
sceneEndTime |
|
No | 1 | time | ||
code |
|
No | 1 | string |
Maximum length: 250 characters |
|
description |
|
No | 1 | string | ||
Extensions: | ||||||
scene-customData |
|
No | Unbounded |
<scene-code-cue-point sceneId="{scene id}" entryId="{entry id}">
<sceneStartTime>00:00:05.3</sceneStartTime>
<tags>
<tag>sample</tag>
<tag>my_tag</tag>
</tags>
<code>MY_CODE</code>
<description>my code cue point description</description>
</scene-code-cue-point>
scene-thumb-cue-point element
Single thumb cue point element
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
Extended from T_scene | ||||||
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 | |||
title | Yes | 1 | string | |||
description | Yes | 1 | string | |||
subType |
|
No | 1 | KalturaThumbCuePointSubType | ||
Extensions: | ||||||
scene-customData |
|
No | Unbounded |
<scene-thumb-cue-point sceneId="{scene id}" entryId="{entry id}">
<sceneStartTime>00:00:05.3</sceneStartTime>
<tags>
<tag>my_tag</tag>
</tags>
</scene-thumb-cue-point>
scene-customData element
XML for custom metadata
Attribute Name | Description | Required | Type | Restrictions |
---|---|---|---|---|
metadataId |
|
Yes | int | |
metadataVersion |
|
Yes | int | |
metadataProfile |
|
No | string | |
metadataProfileId |
|
Yes | int | |
metadataProfileName |
|
No | string | |
metadataProfileVersion |
|
Yes | int |
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
[Any element] |
|
Yes | 1 | any type |
<scene-ad-cue-point entryId="{entry id}">
<sceneStartTime>00:00:05</sceneStartTime>
<sceneTitle>my ad title</sceneTitle>
<sourceUrl>http://source.to.my/ad.xml</sourceUrl>
<adType>1</adType>
<protocolType>1</protocolType>
<scene-customData metadataId="{metadata id}" metadataVersion="1" metadataProfile="MY_METADATA_PROFILE_SYSTEM_NAME}" metadataProfileId="{metadata profile id}" metadataProfileName="my metadata profile" metadataProfileVersion="1">
<metadata>
<adData>my ad custom data</adData>
</metadata>
</scene-customData>
</scene-ad-cue-point>
optionalAnswers element
Wrapper element holding multiple answer elements
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
optionalAnswer |
|
No | Unbounded |
<optionalAnswers>
<optionalAnswer>...</optionalAnswer>
<optionalAnswer>...</optionalAnswer>
<optionalAnswer>...</optionalAnswer>
</optionalAnswers>
optionalAnswer element
Single wrapper element for optional answer
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
key | No | 1 | string | |||
text | No | 1 | string | |||
weight | No | 1 | float | |||
isCorrect | No | 1 | int |
<optionalAnswer>
<text>tesAnswer1</text>
<weight>1</weight>
<isCorrect>1</isCorrect>
</optionalAnswer>
scene-question-cue-point element
Single question cue point element
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
Extended from T_scene | ||||||
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 | |||
question | Yes | 1 | string | |||
hint | No | 1 | string | |||
explanation | No | 1 | string | |||
optionalAnswers | No | Unbounded |
<scene-question-cue-point sceneId="{scene id}" entryId="{entry id}">
<sceneStartTime>00:00:05.3</sceneStartTime>
<tags>
<tag>my_tag</tag>
</tags>
</scene-question-cue-point>
scene-answer-cue-point element
Single answer cue point element
Element Name | Description | Required | Maximum Appearances | Type | Restrictions | |
---|---|---|---|---|---|---|
Extended from T_scene | ||||||
sceneStartTime |
|
Yes | 1 | time | ||
userId |
|
No | 1 | string | ||
tags |
|
No | 1 | |||
answerKey | Yes | 1 | string | |||
quizUserEntryId | Yes | 1 | string | |||
parentId |
|
Yes | 1 | string |
<scene-answer-cue-point sceneId="{scene id}" entryId="{entry id}">
<sceneStartTime>00:00:05.3</sceneStartTime>
<tags>
<tag>my_tag</tag>
</tags>
</scene-answer-cue-point>