# LV2 Host Info Extension # Copyright (C) 2009 David Robillard # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. @prefix hi: . @prefix lv2: . @prefix rdf: . @prefix rdfs: . @prefix owl: . @prefix xsd: . @prefix doap: . @prefix foaf: . @prefix amb: . a lv2:Specification ; doap:license ; doap:name "LV2 Host Info" ; doap:shortdesc "A format for describing LV2 hosts." ; doap:maintainer [ a foaf:Person ; foaf:name "David Robillard" ; foaf:homepage ; rdfs:seeAlso ] ; lv2:documentation """

This specification defines various properties to represent useful information about LV2 hosts. Currently, the primary use of this specification is to describe which extensions are supported by a given host.

The extensions supported by a host can be described like this:

@prefix hi: <http://lv2plug.in/ns/ext/host-info#> .

<http://example.org/some-host>
    a hi:Host ;
    doap:name "Foo Rack" ;
    hi:supportsExtension [
        hi:extension <http://example.org/some-extension> ;
        hi:sinceVersion "1.2.0"
    ] .
""" . ## Core Classes / Properties hi:Host a rdfs:Class ; rdfs:label "LV2 Host" ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty doap:name ; owl:someValuesFrom xsd:string ; owl:minCardinality 1 ; rdfs:comment "A hi:Host MUST have at least one string doap:name" ] ; rdfs:comment """ An application that supports loading LV2 plugins, or performs other LV2 related functionality. """ . hi:supportsExtension a rdf:Property ; rdfs:domain hi:Host ; rdfs:range hi:ExtensionSupport ; rdfs:label "supports extension" ; rdfs:comment "Relates a Host to its ExtensionSupport" . hi:ExtensionSupport a rdfs:Class ; rdfs:label "Extension Support" ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty hi:sinceVersion ; owl:someValuesFrom xsd:string ; owl:minCardinality 1 ; rdfs:comment """ A hi:ExtensionSupport MUST have at least one string hi:sinceVersion """ ] ; rdfs:comment "A description of the support for an extension by a Host" . hi:extension a rdf:Property ; rdfs:domain hi:ExtensionSupport ; rdfs:range lv2:Specification ; rdfs:label "extension" ; rdfs:comment "Indicates the extension supported by a host." . hi:sinceVersion a rdf:Property ; rdfs:domain hi:ExtensionSupport ; rdfs:range xsd:string ; rdfs:label "since version" ; rdfs:comment """ The initial version of a host which supported an extension. This property MUST always be given """ . hi:untilVersion a rdf:Property ; rdfs:domain hi:ExtensionSupport ; rdfs:range xsd:string ; rdfs:label "until version" ; rdfs:comment """ The final version of a host which supported an extension. This property can be used if support for an extension was discontinued in a host for some reason. """ . id='n45' href='#n45'>45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169