📄 eafv2.0.xsd
字号:
<?xml version="1.0"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:annotation> <xsd:documentation xml:lang="en"> Eudico Annotation Format version 2.0 June 19, 2002 Schema by Alexander Klassmann 17/01/03 </xsd:documentation> </xsd:annotation> <xsd:element name="ANNOTATION_DOCUMENT"> <xsd:complexType> <xsd:sequence> <xsd:element name="HEADER" type="headType" minOccurs="1" maxOccurs="1"/> <xsd:element name="TIME_ORDER" type="timeType" minOccurs="1" maxOccurs="1"/> <xsd:element name="TIER" type="tierType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="LINGUISTIC_TYPE" type="lingType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="LOCALE" type="localeType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="CONSTRAINT" type="constraintType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="DATE" type="xsd:dateTime" use="required"/> <xsd:attribute name="AUTHOR" type="xsd:string" use="required"/> <xsd:attribute name="VERSION" type="xsd:string" use="required"/> <xsd:attribute name="FORMAT" type="xsd:string" use="optional" fixed="2.0"/> </xsd:complexType> </xsd:element> <xsd:complexType name="headType"> <xsd:attribute name="MEDIA_FILE" type="xsd:string" use="required"/> <xsd:attribute name="TIME_UNITS" use="optional" default="milliseconds"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="NTSC-frames"/> <xsd:enumeration value="PAL-frames"/> <xsd:enumeration value="milliseconds"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:complexType> <xsd:complexType name="timeType"> <xsd:sequence> <xsd:element name="TIME_SLOT" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:attribute name="TIME_SLOT_ID" type="xsd:ID" use="required"/> <xsd:attribute name="TIME_VALUE" type="xsd:unsignedInt" use="optional"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="tierType"> <xsd:sequence> <xsd:element name="ANNOTATION" type="annotationType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="TIER_ID" type="xsd:ID" use="required"/> <xsd:attribute name="PARTICIPANT" type="xsd:string" use="optional"/> <xsd:attribute name="LINGUISTIC_TYPE_REF" type="xsd:IDREF" use="required"/> <xsd:attribute name="DEFAULT_LOCALE" type="xsd:IDREF" use="optional"/> <xsd:attribute name="PARENT_REF" type="xsd:IDREF" use="optional"/> </xsd:complexType> <xsd:complexType name="annotationType"> <xsd:choice> <xsd:element name="ALIGNABLE_ANNOTATION" type="alignableType"/> <xsd:element name="REF_ANNOTATION" type="refAnnoType"/> </xsd:choice> </xsd:complexType> <xsd:complexType name="alignableType"> <xsd:sequence> <xsd:element name="ANNOTATION_VALUE" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> <xsd:attributeGroup ref="annotationAttribute"/> <xsd:attribute name="TIME_SLOT_REF1" type="xsd:IDREF" use="required"/> <xsd:attribute name="TIME_SLOT_REF2" type="xsd:IDREF" use="required"/> </xsd:complexType> <xsd:complexType name="refAnnoType"> <xsd:sequence> <xsd:element name="ANNOTATION_VALUE" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> <xsd:attributeGroup ref="annotationAttribute"/> <xsd:attribute name="ANNOTATION_REF" type="xsd:IDREF" use="required"/> <xsd:attribute name="PREVIOUS_ANNOTATION" type="xsd:IDREF" use="optional"/> </xsd:complexType> <xsd:complexType name="lingType"> <xsd:attribute name="LINGUISTIC_TYPE_ID" type="xsd:ID" use="required"/> <xsd:attribute name="TIME_ALIGNABLE" type="xsd:string" use="optional"/> <xsd:attribute name="CONSTRAINTS" type="xsd:IDREF" use="optional"/> </xsd:complexType> <xsd:complexType name="localeType"> <xsd:attribute name="LANGUAGE_CODE" type="xsd:ID" use="required"/> <xsd:attribute name="COUNTRY_CODE" type="xsd:string" use="optional"/> <xsd:attribute name="VARIANT_DATA" type="xsd:string" use="optional"/> </xsd:complexType> <xsd:complexType name="constraintType"> <xsd:attribute name="STEREOTYPE" type="xsd:ID" use="required"/> <xsd:attribute name="DESCRIPTION" type="xsd:string" use="optional"/> </xsd:complexType> <xsd:attributeGroup name="annotationAttribute"> <xsd:attribute name="ANNOTATION_ID" type="xsd:ID" use="required"/> </xsd:attributeGroup></xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -