summaryrefslogtreecommitdiff
path: root/data/ontology/book.osxml
blob: 3bd06b9e6fbb7d8c48f431a9826d20a674695bf1 (plain)
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" standalone="yes"?>
<ontology name="book">
	<struct name="book" cardinality="{1}" root="true">
		<field>
			<childRef ref="book.chapter"/>
			<childRef ref="book.paragraph"/>
		</field>
	</struct>
	<struct name="chapter">
		<field>
			<childRef ref="book.section"/>
			<childRef ref="book.paragraph"/>
		</field>
	</struct>
	<struct name="section">
		<field>
			<childRef ref="book.subsection"/>
			<childRef ref="book.paragraph"/>
		</field>
	</struct>
	<struct name="subsection">
		<field>
			<childRef ref="book.paragraph"/>
		</field>
	</struct>
	<struct name="paragraph" transparent="true">
		<field>
			<childRef ref="book.text"/>
		</field>
	</struct>
	<struct name="text" transparent="true">
		<primitive type="string"/>
	</struct>
</ontology>