From ca1a6aa7df6703c10d1cd97afedd9c6838ba425b Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 6 Mar 2015 23:54:49 +0100 Subject: First commit of the ousia based website architecture --- ontology/webpage.osml | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 ontology/webpage.osml (limited to 'ontology/webpage.osml') 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. +}% + +\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} + -- cgit v1.2.3