Sha256: be9b7358c02193d6fab6176721066af966dfe31895cf0581844d026cef973f1e

Contents?: true

Size: 1.61 KB

Versions: 11

Compression:

Stored size: 1.61 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
	targetNamespace="urn:xmpp:ozone:ask:1"
	xmlns:tns="urn:xmpp:ozone:ask:1" 
	elementFormDefault="qualified">

	<element name="ask" type="tns:askType" />

	<complexType name="askType">
		<sequence>
			<element name="prompt" type="tns:promptItemsType" />
			<element name="choices" type="tns:choicesType" />
		</sequence>
		<attribute name="bargein" type="boolean" />
		<attribute name="min-confidence" type="tns:percentageType" />
		<attribute name="mode" type="tns:choicesModeType" />
		<attribute name="recognizer" type="string" />
		<attribute name="voice" type="string" />
		<attribute name="terminator" type="string" />		
		<attribute name="timeout" type="float" />		
	</complexType>

	<!-- Utility Types -->

	<complexType name="promptItemsType">
		<choice minOccurs="1" maxOccurs="unbounded">
			<element name="audio" type="tns:audioReferenceType" />
			<any namespace="http://www.w3.org/2001/10/synthesis" />
		</choice>
	</complexType>

	<complexType name="audioReferenceType">
		<attribute name="url" type="anyURI" />
	</complexType>

	<complexType name="choicesType" mixed="true">
		<attribute name="content-type" type="string" />
		<attribute name="url" type="anyURI" />
	</complexType>
	
	<simpleType name="percentageType">
		<restriction base="int">
			<minInclusive value="0" />
			<maxInclusive value="100" />
		</restriction>
	</simpleType>

	<simpleType name="choicesModeType">
		<restriction base="NCName">
			<enumeration value="DTMF" />
			<enumeration value="SPEECH" />
			<enumeration value="ANY" />
		</restriction>
	</simpleType>
	
</schema>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
punchblock-0.7.1 assets/ozone/ask-1.0.xsd
punchblock-0.7.0 assets/ozone/ask-1.0.xsd
punchblock-0.6.2 assets/ozone/ask-1.0.xsd
punchblock-0.6.1 assets/ozone/ask-1.0.xsd
punchblock-0.6.0 assets/ozone/ask-1.0.xsd
punchblock-0.5.1 assets/ozone/ask-1.0.xsd
punchblock-0.5.0 assets/ozone/ask-1.0.xsd
punchblock-0.4.3 assets/ozone/ask-1.0.xsd
punchblock-0.4.2 assets/ozone/ask-1.0.xsd
punchblock-0.4.1 assets/ozone/ask-1.0.xsd
punchblock-0.4.0 assets/ozone/ask-1.0.xsd