Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistencies in wotsec ontology #1909

Merged
merged 3 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ontology/wotsec.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ <h2>Introduction</h2>
<section id="token"><h4>token</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#token</code></p><span>URI of the token server.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#OAuth2SecurityScheme">wotsec:OAuth2SecurityScheme</a></code></td></tr></tbody></table></section></section><section><h3>Datatype Properties</h3><section id="alg"><h4>alg</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#alg</code></p><span>Encoding, encryption, or digest algorithm.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="apikeyIn"><h4>in</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#apikeyIn</code></p><span>Specifies the location of security authentication information.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#APIKeySecurityScheme">wotsec:APIKeySecurityScheme</a></code></td></tr></tbody></table></section>
<section id="flow"><h4>flow</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#flow</code></p><span>Authorization flow.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#OAuth2SecurityScheme">wotsec:OAuth2SecurityScheme</a></code></td></tr></tbody></table></section>
<section id="format"><h4>format</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#format</code></p><span>Specifies format of security authentication information.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code><br><code><a href="#PoPSecurityScheme">wotsec:PoPSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="format"><h4>format</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#format</code></p><span>Specifies format of security authentication information.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="identity"><h4>identity</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#identity</code></p><span>Identifier providing information which can be used for selection or confirmation.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#PSKSecurityScheme">wotsec:PSKSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="in"><h4>in</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#in</code></p><span>Specifies the location of security authentication information.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#BasicSecurityScheme">wotsec:BasicSecurityScheme</a></code><br><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code><br><code><a href="#DigestSecurityScheme">wotsec:DigestSecurityScheme</a></code><br><code><a href="#PoPSecurityScheme">wotsec:PoPSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="name"><h4>name</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#name</code></p><span>Name for query, header, cookie, or uri parameters.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#APIKeySecurityScheme">wotsec:APIKeySecurityScheme</a></code><br><code><a href="#BasicSecurityScheme">wotsec:BasicSecurityScheme</a></code><br><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code><br><code><a href="#DigestSecurityScheme">wotsec:DigestSecurityScheme</a></code><br><code><a href="#PoPSecurityScheme">wotsec:PoPSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="in"><h4>in</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#in</code></p><span>Specifies the location of security authentication information.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#BasicSecurityScheme">wotsec:BasicSecurityScheme</a></code><br><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code><br><code><a href="#DigestSecurityScheme">wotsec:DigestSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="name"><h4>name</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#name</code></p><span>Name for query, header, cookie, or uri parameters.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#APIKeySecurityScheme">wotsec:APIKeySecurityScheme</a></code><br><code><a href="#BasicSecurityScheme">wotsec:BasicSecurityScheme</a></code><br><code><a href="#BearerSecurityScheme">wotsec:BearerSecurityScheme</a></code><br><code><a href="#DigestSecurityScheme">wotsec:DigestSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="qop"><h4>qop</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#qop</code></p><span>Quality of protection. <br/>This feature is at risk.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#DigestSecurityScheme">wotsec:DigestSecurityScheme</a></code></td></tr></tbody></table></section>
<section id="scopes"><h4>scopes</h4><p>IRI: <code>https://www.w3.org/2019/wot/security#scopes</code></p><span>Set of authorization scope identifiers provided as an array. These are provided in tokens returned by an authorization server and associated with forms in order to identify what resources a client may access and how. The values associated with a form should be chosen from those defined in an <code>OAuth2SecurityScheme</code> active on that form. <br/>This feature is at risk.</span><table class="def numbered"><tbody><tr><td>Domain includes</td><td><code><a href="#OAuth2SecurityScheme">wotsec:OAuth2SecurityScheme</a></code></td></tr></tbody></table></section></section><section><h3>Annotation Properties</h3><p>No AnnotationProperty found in the ontology.</p></section></section>

Expand Down
16 changes: 8 additions & 8 deletions ontology/wotsec.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
rdfs:label "alg" ;
rdfs:comment "Encoding, encryption, or digest algorithm."@en ;
schema:domainIncludes :BearerSecurityScheme .
# schema:domainIncludes :BearerSecurityScheme, :PoPSecurityScheme .
# schema:domainIncludes :BearerSecurityScheme .

:flow rdf:type owl:DatatypeProperty ;
rdfs:label "flow" ;
Expand All @@ -35,18 +35,18 @@
:format rdf:type owl:DatatypeProperty ;
rdfs:label "format" ;
rdfs:comment "Specifies format of security authentication information."@en ;
schema:domainIncludes :BearerSecurityScheme, :PoPSecurityScheme .
schema:domainIncludes :BearerSecurityScheme .

:identity rdf:type owl:DatatypeProperty ;
rdfs:label "identity" ;
rdfs:comment "Identifier providing information which can be used for selection or confirmation." ;
rdfs:comment "Identifier providing information which can be used for selection or confirmation."@en ;
schema:domainIncludes :PSKSecurityScheme .
# schema:domainIncludes :CertSecurityScheme, :PSKSecurityScheme, :PublicSecurityScheme .

:in rdf:type owl:DatatypeProperty ;
rdfs:label "in" ;
rdfs:comment "Specifies the location of security authentication information."@en ;
schema:domainIncludes :BasicSecurityScheme, :DigestSecurityScheme, :BearerSecurityScheme, :PoPSecurityScheme .
schema:domainIncludes :BasicSecurityScheme, :DigestSecurityScheme, :BearerSecurityScheme .

:apikeyIn rdf:type owl:DatatypeProperty ;
rdfs:label "in" ;
Expand All @@ -55,12 +55,12 @@

:name rdf:type owl:DatatypeProperty ;
rdfs:label "name" ;
rdfs:comment "Name for query, header, cookie, or uri parameters." ;
schema:domainIncludes :BasicSecurityScheme, :DigestSecurityScheme, :APIKeySecurityScheme, :BearerSecurityScheme, :PoPSecurityScheme .
rdfs:comment "Name for query, header, cookie, or uri parameters."@en ;
schema:domainIncludes :BasicSecurityScheme, :DigestSecurityScheme, :APIKeySecurityScheme, :BearerSecurityScheme .

:qop rdf:type owl:DatatypeProperty ;
rdfs:label "qop" ;
rdfs:comment "Quality of protection. <br/>This feature is at risk." ;
rdfs:comment "Quality of protection. <br/>This feature is at risk."@en ;
schema:domainIncludes :DigestSecurityScheme .

:scopes rdf:type owl:DatatypeProperty ;
Expand All @@ -77,7 +77,7 @@
rdfs:label "authorization" ;
rdfs:comment "URI of the authorization server."@en ;
schema:domainIncludes :BearerSecurityScheme, :OAuth2SecurityScheme .
# schema:domainIncludes :BearerSecurityScheme, :PoPSecurityScheme, :OAuth2SecurityScheme .
# schema:domainIncludes :BearerSecurityScheme, :OAuth2SecurityScheme .

:refresh rdf:type owl:ObjectProperty ;
rdfs:label "refresh" ;
Expand Down