W3C

CallFlowProto

The document saved/CallFlowProto.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
basic TargetNamespace .[@targetNamespace]/ (., @targetNamespace)
advanced UnqualifiedLocalElements .[not(@elementFormDefault) or @elementFormDefault = 'unqualified']/ (., @elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic NonIdentifierName .//.[@name and not(matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$"))]/ (@name)
advanced ElementTypeDefaultNamespace .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type)
advanced AttributeRequired .//xs:attribute[@use = 'required']/ (@use)
advanced AttributeDefault .//xs:attribute[@default] / (@default)
basic GlobalSimpleType ./xs:simpleType[@name]/ (., @name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
basic StringEnumerationType .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:enumeration]/ (., @base, xs:enumeration/(., @value))
advanced ComplexTypeChoice .//xs:complexType/xs:choice/ (., xs:element/(., @name))
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
advanced ComplexTypeOnlyAttributes .//xs:complexType/xs:attribute[../not(xs:choice or xs:sequence or xs:all or xs:anyAttribute or xs:group or xs:attributeGroup or xs:simpleContent or xs:complexContent)]/ (., ..,@use)
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
advanced SequenceMinOccurs1MaxOccursUnbounded .//xs:sequence[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)
basic GlobalElementSequence ./xs:element[@name]/xs:complexType/xs:sequence[xs:element]/ (../../(., @name), .., ., xs:element/(., @name))
advanced ChoiceElement .//xs:choice/xs:element/(.)
basic SequenceElement .//xs:sequence/xs:element/(.)
advanced ElementTypeReferenceUnqualified .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
advanced AttributeTypeReferenceUnqualified .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
basic StringAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')]
basic DateTimeAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:dateTime')]
advanced DateAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:date')]
basic AnyURIAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:anyURI')]
basic ShortAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:short')]
basic ComplexTypeAttributeExtension .//xs:complexType/xs:complexContent[xs:extension[@base]/xs:attribute]/ (., xs:extension/(., @base, xs:attribute/(., @name)))
advanced GlobalComplexTypeEmptyExtension ./xs:complexType[@name]/xs:complexContent[xs:extension[@base]/not(*)]/ (../../(., @name), .., ., xs:extension/(., @base))
advanced ChoiceMaxOccursUnbounded .//xs:choice[@maxOccurs = 'unbounded']/ (@maxOccurs)
advanced LocalAttributeSimpleType .//xs:attribute[not(parent::xs:schema)]/xs:simpleType
advanced GlobalElementComplexType .//xs:element[parent::xs:schema]/xs:complexType / (.,..)
advanced ComplexTypeExtension .//xs:complexType/xs:complexContent/xs:extension[@base]/(., @base, ../(.))

<xsd:schema TargetNamespace UnqualifiedLocalElements UnqualifiedLocalAttributes GlobalComplexTypeEmptyExtension targetNamespace="http://www.bt.com/voiceflow/report" TargetNamespace attributeFormDefault="unqualified" UnqualifiedLocalAttributes elementFormDefault="unqualified" UnqualifiedLocalElements >
<xsd:complexType GlobalComplexType name="flowExecutionType" IdentifierName GlobalComplexType >
<xsd:choice ComplexTypeChoice maxOccurs="unbounded" ChoiceMaxOccursUnbounded > </xsd:choice>
<xsd:attribute ComplexTypeAttribute name="type" IdentifierName ComplexTypeAttribute use="required" AttributeRequired >
<xsd:simpleType LocalAttributeSimpleType >
<xsd:restriction StringEnumerationType base="xsd:string" StringEnumerationType >
<xsd:enumeration StringEnumerationType value="inbound" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="outbound" StringEnumerationType />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ComplexTypeAttribute name="sourceUri" IdentifierName ComplexTypeAttribute type="xsd:string" StringAttribute />
<xsd:attribute ComplexTypeAttribute name="destinationUri" IdentifierName ComplexTypeAttribute type="xsd:string" StringAttribute />
<xsd:attribute ComplexTypeAttribute name="startTime" IdentifierName ComplexTypeAttribute type="xsd:dateTime" DateTimeAttribute use="required" AttributeRequired />
<xsd:attribute ComplexTypeAttribute name="endTime" IdentifierName ComplexTypeAttribute type="xsd:dateTime" DateTimeAttribute />
<xsd:attribute ComplexTypeAttribute name="status" IdentifierName ComplexTypeAttribute >
<xsd:simpleType LocalAttributeSimpleType >
<xsd:restriction StringEnumerationType base="xsd:string" StringEnumerationType >
<xsd:enumeration StringEnumerationType value="pending" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="finished" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="failed" StringEnumerationType />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ComplexTypeAttribute name="errorMessage" IdentifierName ComplexTypeAttribute type="xsd:string" StringAttribute />
<xsd:attribute ComplexTypeAttribute name="pendingElementID" IdentifierName ComplexTypeAttribute type="xsd:string" StringAttribute />
<xsd:attribute ComplexTypeAttribute name="flowName" IdentifierName ComplexTypeAttribute type="xsd:string" StringAttribute />
</xsd:complexType>
<xsd:complexType GlobalComplexType name="announcementStateType" IdentifierName GlobalComplexType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="matchStateType" IdentifierName GlobalComplexType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="promptStateType" IdentifierName GlobalComplexType ></xsd:complexType>
<xsd:complexType GlobalComplexType name="dtmfStateType" IdentifierName GlobalComplexType >
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension ></xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="pauseStateType" IdentifierName GlobalComplexType >
<xsd:complexContent ComplexTypeAttributeExtension ComplexTypeExtension ></xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="recordStateType" IdentifierName GlobalComplexType ></xsd:complexType>
<xsd:simpleType GlobalSimpleType name="responseCodeType" IdentifierName GlobalSimpleType >
<xsd:restriction StringEnumerationType base="xsd:string" StringEnumerationType >
<xsd:enumeration StringEnumerationType value="Busy" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="Unavailable" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="NoAnswer" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="NotFound" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="InternalError" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="InvalidContent" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="Forbidden" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="Unknown" StringEnumerationType />
<xsd:enumeration StringEnumerationType value="OK" StringEnumerationType />
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).