-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.xsd
34 lines (30 loc) · 1.51 KB
/
meta.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:include schemaLocation="https://raw.github.com/biosemantics/schemas/master/processors.xsd"/>
<xs:element name="meta">
<xs:complexType>
<xs:sequence>
<xs:element ref="source">
<xs:annotation>
<xs:documentation>put the bibligraphic information of the source paper here</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="processed_by" type="processed_by" minOccurs="0">
<xs:annotation>
<xs:documentation>name of the person who converted the original to this format</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="other_info_on_meta"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="source" type="xs:string"/>
<xs:element name="other_info_on_meta" type="xs:string"/>
<!-- Use type derivation to create a processor displaying information for your purpose -->
<xs:complexType name="processed_by">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="processor" type="processor"/>
<xs:element name="charaparser" type="charaparser"/>
</xs:choice>
</xs:complexType>
</xs:schema>