diff options
Diffstat (limited to 'ontology')
| -rw-r--r-- | ontology/webpage.osml | 71 | 
1 files changed, 71 insertions, 0 deletions
| diff --git a/ontology/webpage.osml b/ontology/webpage.osml new file mode 100644 index 0000000..d92d652 --- /dev/null +++ b/ontology/webpage.osml @@ -0,0 +1,71 @@ +%{ +	Ousía Homepage + +	(c) Andreas Stöckel, Benjamin Paaßen 2015 + +	This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 +	International License. <http://creativecommons.org/licenses/by-sa/4.0/> +}% + +\begin{ontology#webpage} + +% Main structure +\struct#webpage[root=true] +	\field#title[subtree=true,optional=true] +		\childRef[ref=primitive] +	\field +		\childRef[ref=section] + +% Primitve text +\struct#primitive +\struct#text[isa=primitive,transparent=true] +	\primitive[type=string] + +% Section +\struct#section +	\field#title[subtree=true,optional=false] +		\childRef[ref=primitive] +	\field#subtitle[subtree=true,optional=true] +		\childRef[ref=primitive] +	\field +		\childRef[ref=paragraph] +		\childRef[ref=subsection] + +% Paragraph +\struct#paragraph[transparent=true] +	\field +		\childRef[ref=primitive] + +% Subsection +\struct#subsection +	\field +		\childRef[ref=paragraph] + +% Masthead, Pitch +\struct#masthead[isa=section] +\struct#pitch[isa=subsection] + +% IPA +\struct#ipa[isa=primitive] +	\field#pronunciation[subtree=true,optional=false] +		\childRef[ref=text] +	\field +		\childRef[ref=primitive] + +% Footnote +\struct#footnote[isa=primitive] +	\field +		\childRef[ref=primitive] + +% Nav and buttons +\struct#nav[isa=subsection] +	\field +		\childRef[ref=button] +\struct#button +	\attributes +		\attribute#href[type=string,default=#] +	\field +		\childRef[ref=primitive] + +\end{ontology} + | 
