aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-01 22:21:34 +0000
committerDavid Robillard <d@drobilla.net>2011-11-01 22:21:34 +0000
commit6ddc20c0e3627651571e8ed9b9fbe7e0e8778bec (patch)
tree62abd5db260d0f58ac3dcbb43f7437f0ca72933b
parent35fe3db96c63d54b58224bf1dfbd35e07e1f2b79 (diff)
downloadlv2-6ddc20c0e3627651571e8ed9b9fbe7e0e8778bec.tar.xz
Specify that presets must use rdfs:label for labels.
-rw-r--r--ext/presets.lv2/presets.ttl8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/presets.lv2/presets.ttl b/ext/presets.lv2/presets.ttl
index 289e0ce..c20cb2d 100644
--- a/ext/presets.lv2/presets.ttl
+++ b/ext/presets.lv2/presets.ttl
@@ -47,8 +47,14 @@ Defines presets (e.g. named sets of control values) for LV2 plugins.
""" .
pset:Preset a rdfs:Class ;
- rdfs:subClassOf lv2:PluginBase ;
+ rdfs:subClassOf lv2:PluginBase ;
rdfs:label "LV2 Preset" ;
+ rdfs:subClassOf [
+ a owl:Restriction ;
+ owl:onProperty rdfs:label ;
+ owl:someValuesFrom xsd:string ;
+ rdfs:comment "A Preset MUST have at least one string rdfs:label."
+ ] ;
rdfs:comment """
A Preset for an LV2 Plugin. A preset can be considered an "overlay" on a
Plugin. Rather than attempting to define all valid predicates for a Preset