path: root/lv2
diff options
authorDavid Robillard <d@drobilla.net>2012-04-16 23:07:28 +0000
committerDavid Robillard <d@drobilla.net>2012-04-16 23:07:28 +0000
commitf49442f079ae43ed0262df5dec69f1b77594abf2 (patch)
tree5fb3a18c96f914d4c6875581ff7ccf3b1f681026 /lv2
parent84cb0b0a36152b76e3ffdfa213cad5805b26b5d7 (diff)
Add lv2:project property.
Diffstat (limited to 'lv2')
1 files changed, 20 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
index 880d006..6250da5 100644
--- a/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
+++ b/lv2/lv2plug.in/ns/lv2core/lv2core.ttl
@@ -285,6 +285,26 @@ lv2:port
rdfs:label "port" ;
rdfs:comment "Relates a Plugin to the Ports it contains" .
+ a rdf:Property ;
+ rdfs:range doap:Project ;
+ rdfs:label "project" ;
+ lv2:documentation """
+<p>The project this is a component of.</p>
+<p>This property provides a way to group plugins and/or related resources. A
+project may have useful metadata common to all plugins (such as homepage,
+author, version history) which would be wasteful to list separately for each
+<p>Grouping via projects also allows users to find plugins in hosts by project,
+which is often how they are remembered. For this reason, a project that
+contains plugins SHOULD always have a rdfs:label. It is also a good idea for
+each plugin and the project itself to have an lv2:symbol property, which allows
+nice quasi-global identifiers for plugins, e.g. <q>myproj.superamp</q> which
+can be useful for display or fast user entry.</p>
+""" .
a rdf:Property ,
owl:DatatypeProperty ;