diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-06 23:54:49 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-06 23:54:49 +0100 |
commit | ca1a6aa7df6703c10d1cd97afedd9c6838ba425b (patch) | |
tree | ca8a7fbd6fd4d43268a095ead32f7b4fecd38b72 /ontology | |
parent | e2f172624be2c0cc96461bdd9418e23e798a93b2 (diff) |
First commit of the ousia based website architecture
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} + |