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

fix default value link for op #1262

Merged
merged 2 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 15 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,7 @@ <h2>Hypermedia Controls Vocabulary Definitions</h2>
the correct form for the operation required. op can
be assigned one or more interaction verb(s) each
representing a semantic intention of an
operation.</td><td>optional</td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#string"><code>string</code></a> or <a>Array</a> of <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#string"><code>string</code></a> (one of <code>readproperty</code>, <code>writeproperty</code>, <code>observeproperty</code>, <code>unobserveproperty</code>, <code>invokeaction</code>, <code>subscribeevent</code>, <code>unsubscribeevent</code>, <code>readallproperties</code>, <code>writeallproperties</code>, <code>readmultipleproperties</code>, <code>writemultipleproperties</code>, <code>observeallproperties</code>, <code>unobserveallproperties</code>, <code>subscribeallevents</code>, or <code>unsubscribeallevents</code>)</td></tr></tbody></table><p>Possible values for the <code>contentCoding</code>
operation.</td><td><a href="#sec-default-values">with default</a></td><td><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#string"><code>string</code></a> or <a>Array</a> of <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#string"><code>string</code></a> (one of <code>readproperty</code>, <code>writeproperty</code>, <code>observeproperty</code>, <code>unobserveproperty</code>, <code>invokeaction</code>, <code>subscribeevent</code>, <code>unsubscribeevent</code>, <code>readallproperties</code>, <code>writeallproperties</code>, <code>readmultipleproperties</code>, <code>writemultipleproperties</code>, <code>observeallproperties</code>, <code>unobserveallproperties</code>, <code>subscribeallevents</code>, or <code>unsubscribeallevents</code>)</td></tr></tbody></table><p>Possible values for the <code>contentCoding</code>
property can be found, e.g., in the <a href=
"https://www.iana.org/assignments/http-parameters/http-parameters.xhtml#content-coding">
IANA HTTP content coding registry</a>.</p>
Expand Down Expand Up @@ -6776,14 +6776,7 @@ <h1>JSON Schema for TD Instance Validation</h1>
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down Expand Up @@ -6815,6 +6808,18 @@ <h1>JSON Schema for TD Instance Validation</h1>
}
}
},
"multipleOfDefinition": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "number",
"exclusiveMinimum": 0
}
]
},
"form_element_property": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -7171,14 +7176,7 @@ <h1>JSON Schema for TD Instance Validation</h1>
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down
2 changes: 1 addition & 1 deletion templates.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ template :field(?class ?ns) {
"<td>"
format {
"%s"
if(?hasDefault || ?prop = <https://www.w3.org/2019/wot/hypermedia#forOperationType>,
if(?hasDefault || ?prop = <https://www.w3.org/2019/wot/hypermedia#hasOperationType>,
"<a href=\"#sec-default-values\">with default</a>",
if(?mandatory, "mandatory", "optional"))
}
Expand Down