summaryrefslogtreecommitdiff
path: root/ontology
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-08 00:08:18 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-08 00:08:18 +0100
commit1789955d8c66141d9f95f0b9acd5f354701dfad5 (patch)
treedf3632fb95845e40946fd8c1b82259e996c568c4 /ontology
parent55dcbd256dbb292feeb294243eb644888ac6a41a (diff)
Curren version of the webpage
Diffstat (limited to 'ontology')
-rw-r--r--ontology/webpage.osml31
1 files changed, 26 insertions, 5 deletions
diff --git a/ontology/webpage.osml b/ontology/webpage.osml
index e413b91..7f5486b 100644
--- a/ontology/webpage.osml
+++ b/ontology/webpage.osml
@@ -70,6 +70,12 @@
\field
\childRef[ref=primitive]
+\struct#link[isa=primitive]
+ \attributes
+ \attribute#href[type=string,default=#]
+ \field#text
+ \childRef[ref=primitive]
+
% addresses
\struct#contact[isa=block,transparent=true]
@@ -79,11 +85,11 @@
\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]
+ \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
@@ -100,5 +106,20 @@
\struct#mail
\primitive[type=string]
+\struct#dl[isa=block]
+ \field
+ \childRef[ref=item]
+
+\struct#item
+ \field#title[subtree=true]
+ \childRef[ref=primitive]
+ \field
+ \childRef[ref=primitive]
+
+\struct#img[isa=primitive]
+ \attributes
+ \attribute#src[type=string]
+ \primitive#alt[type=string]
+
\end{ontology}