From 42eb14ddbb4ded3d3d54540085ec1a3b3cc3828c Mon Sep 17 00:00:00 2001 From: Sebastian Kaebisch Date: Wed, 3 Nov 2021 10:25:54 +0100 Subject: [PATCH] fix default value link for op --- index.html | 32 +++++++++++++++----------------- templates.sparql | 2 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index 95b7f9dcd..c5adaa038 100644 --- a/index.html +++ b/index.html @@ -2136,7 +2136,7 @@

Hypermedia Controls Vocabulary Definitions

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.optionalstring or Array of string (one of readproperty, writeproperty, observeproperty, unobserveproperty, invokeaction, subscribeevent, unsubscribeevent, readallproperties, writeallproperties, readmultipleproperties, writemultipleproperties, observeallproperties, unobserveallproperties, subscribeallevents, or unsubscribeallevents)

Possible values for the contentCoding + operation.with defaultstring or Array of string (one of readproperty, writeproperty, observeproperty, unobserveproperty, invokeaction, subscribeevent, unsubscribeevent, readallproperties, writeallproperties, readmultipleproperties, writemultipleproperties, observeallproperties, unobserveallproperties, subscribeallevents, or unsubscribeallevents)

Possible values for the contentCoding property can be found, e.g., in the IANA HTTP content coding registry.

@@ -6776,14 +6776,7 @@

JSON Schema for TD Instance Validation

"minimum": 0 }, "multipleOf": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ] + "$ref": "#/definitions/multipleOfDefinition" }, "properties": { "additionalProperties": { @@ -6815,6 +6808,18 @@

JSON Schema for TD Instance Validation

} } }, + "multipleOfDefinition": { + "anyOf": [ + { + "type": "integer", + "exclusiveMinimum": 0 + }, + { + "type": "number", + "exclusiveMinimum": 0 + } + ] + }, "form_element_property": { "type": "object", "properties": { @@ -7171,14 +7176,7 @@

JSON Schema for TD Instance Validation

"minimum": 0 }, "multipleOf": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ] + "$ref": "#/definitions/multipleOfDefinition" }, "properties": { "additionalProperties": { diff --git a/templates.sparql b/templates.sparql index 1f45ce88d..962c7f61a 100644 --- a/templates.sparql +++ b/templates.sparql @@ -133,7 +133,7 @@ template :field(?class ?ns) { "" format { "%s" - if(?hasDefault || ?prop = , + if(?hasDefault || ?prop = , "with default", if(?mandatory, "mandatory", "optional")) }