1 # Dynamic manifest specification for LV2
4 # Copyright (C) 2008, 2009 Stefano D'Angelo <zanga.mail@gmail.com>
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
10 # 1. Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
12 # 2. Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in the
14 # documentation and/or other materials provided with the distribution.
15 # 3. The name of the author may not be used to endorse or promote products
16 # derived from this software without specific prior written permission.
18 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 @prefix dman: <http://lv2plug.in/ns/ext/dyn-manifest#> .
30 @prefix lv2: <http://lv2plug.in/ns/lv2core#> .
31 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
32 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
33 @prefix owl: <http://www.w3.org/2002/07/owl#> .
34 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
35 @prefix doap: <http://usefulinc.com/ns/doap#> .
36 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
38 <http://lv2plug.in/ns/ext/dyn-manifest>
41 doap:license <http://usefulinc.com/doap/licenses/bsd> ;
42 doap:name "LV2 Dynamic Manifest" ;
43 doap:homepage <http://naspro.atheme.org> ;
44 doap:created "2009-06-13" ;
45 doap:shortdesc "An LV2-based specification for dynamic data generation." ;
46 doap:programming-language "C" ;
49 doap:created "2009-06-13"
53 foaf:name "Stefano D'Angelo" ;
56 ######################################
57 ## Dynamic manifest generator class ##
58 ######################################
60 dman:DynManifest a rdfs:Class ;
61 rdfs:label "Dynamic manifest generator" ;
62 rdfs:subClassOf [ a owl:Restriction ;
63 owl:onProperty rdf:type ;
64 owl:hasValue dman:DynManifest ;
65 rdfs:comment "A DynManifest has rdf:type dman:DynManifest."
66 ] , [ a owl:Restriction ;
67 owl:onProperty lv2:binary ;
68 owl:minCardinality 1 ;
69 rdfs:comment """A DynManifest has at least 1 lv2:binary.
70 The binary must be a library with at least the functions described in
71 lv2_dyn_manifest.h implemented.
74 The class which represents a dynamic manifest generator.
76 There MUST NOT be any instances of :DynManifest in the generated manifest.
78 All relative URIs in the generated data MUST be relative to the base path
79 that would be used to parse a normal LV2 manifest (the bundle path).
86 dman:optionalFeature a rdf:Property ;
87 rdfs:domain dman:DynManifest ;
88 rdfs:range lv2:Feature ;
89 rdfs:label "Optional feature" ;
91 Signifies that a dynamic manifest generator is able to make use of or provide a
92 certain feature. If the host supports this feature, it MUST pass its URI and any
93 additional data to the dynamic manifest generator in the lv2_dyn_manifest_open()
94 function. The dynamic manifest generator MUST NOT fail because an optional
95 feature is possibly not supported by the host.""" .
97 dman:requiredFeature a rdf:Property ;
98 rdfs:domain dman:DynManifest ;
99 rdfs:range lv2:Feature ;
100 rdfs:label "Required feature" ;
102 Signifies that a dynamic manifest generator requires a certain feature in order
103 to function. If the host supports this feature, it MUST pass its URI and any
104 additional data to the dynamic manifest generator in the lv2_dyn_manifest_open()
105 function. The dynamic manifest generator MUST fail if a required feature is not
106 present; hosts SHOULD always check this before attempting to perform futher
107 operations on the dynamic manifest generator.