%{ 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. }% \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#block \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=block] \childRef[ref=subsection] % Subsection \struct#subsection \field#subtitle[subtree=true,optional=false] \childRef[ref=primitive] \field \childRef[ref=block] % Paragraph \struct#paragraph[isa=block,transparent=true] \field \childRef[ref=primitive] % 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] % addresses \struct#contact[isa=block,transparent=true] \field \childRef[ref=address] \childRef[ref=phone] \childRef[ref=mail] \struct#address \primitive#name[type=string,subtree=true] \primitive#street[type=string,subtree=true] \primitive#number[type=int,subtree=true] \primitive#plz[type=string,subtree=true] \primitive#city[type=string,subtree=true] \typesystem#phone{ \enum#phone-type \entry{office} \entry{home} \entry{mobile} } \struct#phone \attributes \attribute#type[type=phone-type] \primitive#number[type=string] \struct#mail \primitive[type=string] \end{ontology}