complexType RatingType
diagram gluon3_1_p1407.png
namespace urn:tva:mpeg7:2005
children mpeg7:RatingValue mpeg7:RatingScheme
used by
elements ClassificationPreferencesType/Review/Rating MediaReviewType/Rating
source <xs:complexType name="RatingType">
 
<xs:sequence>
   
<xs:element name="RatingValue" type="float"/>
   
<xs:element name="RatingScheme">
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="mpeg7:TermUseType">
           
<xs:attribute name="best" type="float" use="optional"/>
           
<xs:attribute name="worst" type="float" use="optional"/>
           
<xs:attribute name="style" use="required">
             
<xs:simpleType>
               
<xs:restriction base="NMTOKEN">
                 
<xs:enumeration value="higherBetter"/>
                 
<xs:enumeration value="lowerBetter"/>
               
</xs:restriction>
             
</xs:simpleType>
           
</xs:attribute>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element RatingType/RatingValue
diagram gluon3_1_p1408.png
namespace urn:tva:mpeg7:2005
type xs:float
properties
content simple
source <xs:element name="RatingValue" type="float"/>

element RatingType/RatingScheme
diagram gluon3_1_p1409.png
namespace urn:tva:mpeg7:2005
type extension of mpeg7:TermUseType
properties
content complex
children mpeg7:Name mpeg7:Definition
attributes
Name  Type  Use  Default  Fixed  Annotation
href  mpeg7:termReferenceType  optional      
best  xs:float  optional      
worst  xs:float  optional      
style  derived by: xs:NMTOKEN  required      
source <xs:element name="RatingScheme">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="mpeg7:TermUseType">
       
<xs:attribute name="best" type="float" use="optional"/>
       
<xs:attribute name="worst" type="float" use="optional"/>
       
<xs:attribute name="style" use="required">
         
<xs:simpleType>
           
<xs:restriction base="NMTOKEN">
             
<xs:enumeration value="higherBetter"/>
             
<xs:enumeration value="lowerBetter"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute RatingType/RatingScheme/@best
type xs:float
properties
use optional
source <xs:attribute name="best" type="float" use="optional"/>

attribute RatingType/RatingScheme/@worst
type xs:float
properties
use optional
source <xs:attribute name="worst" type="float" use="optional"/>

attribute RatingType/RatingScheme/@style
type restriction of xs:NMTOKEN
properties
use required
facets
Kind Value Annotation
enumeration higherBetter
enumeration lowerBetter
source <xs:attribute name="style" use="required">
 
<xs:simpleType>
   
<xs:restriction base="NMTOKEN">
     
<xs:enumeration value="higherBetter"/>
     
<xs:enumeration value="lowerBetter"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy