aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/patch
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/patch')
-rw-r--r--lv2/lv2plug.in/ns/ext/patch/patch.ttl107
1 files changed, 30 insertions, 77 deletions
diff --git a/lv2/lv2plug.in/ns/ext/patch/patch.ttl b/lv2/lv2plug.in/ns/ext/patch/patch.ttl
index 9599285..0e4c47d 100644
--- a/lv2/lv2plug.in/ns/ext/patch/patch.ttl
+++ b/lv2/lv2plug.in/ns/ext/patch/patch.ttl
@@ -46,11 +46,7 @@ patch:Ack
a rdfs:Class ;
rdfs:subClassOf patch:Response ;
rdfs:label "Ack" ;
- lv2:documentation """
-<p>An acknowledgement that a request has been successfully processed. This is
-returned as a reply when a specific reply type is not necessary or
-appropriate.</p>
-""" .
+ rdfs:comment """An acknowledgement that a request has been successfully processed. This is returned as a reply when a specific reply type is not necessary or appropriate. """ .
patch:Copy
a rdfs:Class ;
@@ -65,36 +61,27 @@ patch:Copy
owl:cardinality 1 ;
owl:onProperty patch:destination
] ;
- lv2:documentation """
-<p>Copy the patch:subject to patch:destination. After this, patch:destination
-has the description patch:subject had prior to this request's execution, and
-patch:subject is unchanged. It is an error if the subject does not exist or
-the destination already exists.</p>
+ rdfs:comment """Copy the patch:subject to patch:destination. After this, patch:destination has the description patch:subject had prior to this request's execution, and patch:subject is unchanged. It is an error if the subject does not exist or the destination already exists.
-<p>Multiple patch:subject properties may be given if the patch:destination is
-a container, the semantics of this use case are application defined.</p>
-""" .
+Multiple patch:subject properties may be given if the patch:destination is a container, the semantics of this use case are application defined.""" .
patch:Delete
a rdfs:Class ;
rdfs:subClassOf patch:Request ;
rdfs:label "Delete" ;
- lv2:documentation """
-<p>Request the subject(s) be deleted.</p>
-""" .
+ rdfs:comment "Request the subject(s) be deleted." .
patch:Error
a rdfs:Class ;
rdfs:subClassOf patch:Response ;
rdfs:label "Error" ;
- lv2:documentation """
-<p>A response indicating an error processing a request.</p>
-""" .
+ rdfs:comment "A response indicating an error processing a request." .
patch:Get
a rdfs:Class ;
rdfs:subClassOf patch:Request ;
rdfs:label "Get" ;
+ rdfs:comment "Request a description of the subject." ;
lv2:documentation """
<p>Request a description of the subject.</p>
@@ -154,16 +141,11 @@ patch:Insert
owl:cardinality 1 ;
owl:onProperty patch:subject
] ;
- lv2:documentation """
-<p>Insert the patch:body at patch:subject. If the subject does not exist, it is
-created. If the subject does already exist, it is added to. This request only
-adds properties, it never removes them. The user must take care that multiple
-values are not set for properties which should only have one value.</p>
-""" .
+ rdfs:comment """Insert the patch:body at patch:subject. If the subject does not exist, it is created. If the subject does already exist, it is added to. This request only adds properties, it never removes them. The user must take care that multiple values are not set for properties which should only have one value.""" .
patch:Message
a rdfs:Class ;
- rdfs:label "Message" .
+ rdfs:label "Patch Message" .
patch:Move
a rdfs:Class ;
@@ -178,12 +160,7 @@ patch:Move
owl:cardinality 1 ;
owl:onProperty patch:destination
] ;
- lv2:documentation """
-<p>Move the patch:subject to patch:destination. After this, patch:destination
-has the description patch:subject had prior to this request's execution, and
-patch:subject no longer exists. It is an error if the subject does not exist
-or the destination already exists.</p>
-""" .
+ rdfs:comment "Move the patch:subject to patch:destination. After this, patch:destination has the description patch:subject had prior to this request's execution, and patch:subject no longer exists. It is an error if the subject does not exist or the destination already exists." .
patch:Patch
a rdfs:Class ;
@@ -194,8 +171,9 @@ patch:Patch
owl:onProperty patch:subject
] ;
rdfs:label "Patch" ;
+ rdfs:comment "Add and/or remove properties of the subject." ;
lv2:documentation """
-<p>A method for modifying the properties of an object.</p>
+<p>Add and/or remove properties of the subject.</p>
<p>This method always has at least one patch:subject, and exactly one patch:add
and patch:remove property. The value of patch:add and patch:remove are nodes
@@ -227,29 +205,19 @@ patch:Put
owl:cardinality 1 ;
owl:onProperty patch:subject
] ;
- lv2:documentation """
-<p>Put the patch:body as the patch:subject. If the subject does not already exist,
-it is created. If the subject does already exist, the patch:body is considered
-an updated version of it, and the previous version is replaced.</p>
-""" .
+ rdfs:comment """Put the patch:body as the patch:subject. If the subject does not already exist, it is created. If the subject does already exist, the patch:body is considered an updated version of it, and the previous version is replaced.""" .
patch:Request
a rdfs:Class ;
rdfs:label "Request" ;
rdfs:subClassOf patch:Message ;
- lv2:documentation """
-<p>A request. A request may have a patch:subject property, which indicates which
-resource the request applies to. The subject may be omitted in contexts where
-it is implicit (e.g. the recipient is the subject).</p>
-""" .
+ rdfs:comment """A request. A request may have a patch:subject property, which indicates which resource the request applies to. The subject may be omitted in contexts where it is implicit (e.g. the recipient is the subject).""" .
patch:Response
a rdfs:Class ;
rdfs:subClassOf patch:Message ;
rdfs:label "Response" ;
- lv2:documentation """
-<p>A response to a method.</p>
-""" .
+ rdfs:comment "A response to a message." .
patch:Set
a rdfs:Class ;
@@ -264,6 +232,7 @@ patch:Set
owl:cardinality 1 ;
owl:onProperty patch:value
] ;
+ rdfs:comment "Set one property to a specific value." ;
lv2:documentation """
<p>A compact message for setting one property to a specific value.</p>
@@ -303,12 +272,10 @@ patch:body
owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain patch:Message ;
- lv2:documentation """
-<p>The body of a message.</p>
+ rdfs:comment """The body of a message.
-<p>The details of this property's value depend on the type of message it is a
-part of.</p>
-""" .
+The details of this property's value depend on the type of message it is a
+part of.""" .
patch:destination
a rdf:Property ,
@@ -319,19 +286,16 @@ patch:destination
patch:property
a rdf:Property ;
rdfs:label "property" ;
+ rdfs:domain patch:Set ;
rdfs:range rdf:Property ;
- lv2:documentation """
-<p>The property this message applies to.</p>
-""" .
+ rdfs:comment "The property for a Set message." .
patch:readable
a rdf:Property ;
rdfs:label "readable" ;
rdfs:range rdf:Property ;
- lv2:documentation """
-<p>Indicates that the subject may have a property that can be read via a
-patch:Get message. See the similar property patch:writable for details.</p>
-""" .
+ rdfs:comment """Indicates that the subject may have a property that can be read via a
+patch:Get message. See the similar property patch:writable for details.""" .
patch:remove
a rdf:Property ,
@@ -347,11 +311,7 @@ patch:request
rdfs:label "request" ;
rdfs:domain patch:Response ;
rdfs:range patch:Request ;
- lv2:documentation """
-<p>The request this is a response to. This can be used if referring directly
-to the URI or blank node ID of the request is possible. Otherwise, use
-patch:sequenceNumber.</p>
-""" .
+ rdfs:comment """The request this is a response to. This can be used if referring directly to the URI or blank node ID of the request is possible. Otherwise, use patch:sequenceNumber.""" .
patch:sequenceNumber
a rdf:Property ,
@@ -360,34 +320,27 @@ patch:sequenceNumber
rdfs:label "sequence number" ;
rdfs:domain patch:Message ;
rdfs:range xsd:int ;
- lv2:documentation """
-<p>The sequence number of a request or response. This property is used to
-associate replies with requests when it is not feasible to refer to request
-URIs with patch:request. A patch:Response with a given sequence number is the
-reply to the previously send patch:Request with the same sequence number.</p>
+ rdfs:comment """The sequence number of a request or response. This property is used to associate replies with requests when it is not feasible to refer to request URIs with patch:request. A patch:Response with a given sequence number is the reply to the previously send patch:Request with the same sequence number.
-<p>The special sequence number 0 means no reply is desired.</p>
-""" .
+The special sequence number 0 means no reply is desired. """ .
patch:subject
a rdf:Property ,
owl:ObjectProperty ,
owl:FunctionalProperty ;
- rdfs:domain patch:Message .
+ rdfs:domain patch:Message ;
+ rdfs:comment "The subject this message applies to." .
patch:value
a rdf:Property ;
rdfs:label "value" ;
+ rdfs:domain patch:Set ;
rdfs:range rdf:Property ;
- lv2:documentation """
-<p>The value of a property in a patch:Set message.</p>
-""" .
+ rdfs:comment "The value of a property in a patch:Set message." .
patch:wildcard
a rdfs:Resource ;
- rdfs:comment """
-A wildcard which matches any resource. This makes it possible to describe the removal of all values for a given property.
-""" .
+ rdfs:comment """A wildcard which matches any resource. This makes it possible to describe the removal of all values for a given property.""" .
patch:writable
a rdf:Property ;