diff --git a/documentation/IDTA-01002-3/modules/ROOT/pages/schema.adoc b/documentation/IDTA-01002-3/modules/ROOT/pages/schema.adoc index 8ea759ce..63cd2947 100644 --- a/documentation/IDTA-01002-3/modules/ROOT/pages/schema.adoc +++ b/documentation/IDTA-01002-3/modules/ROOT/pages/schema.adoc @@ -22,7 +22,7 @@ }, "timeLiteralPattern": { "type": "string", - "pattern": "^[0-9][0-9]:[0-9][0-9](:[0-9][0-9])?$" + "pattern": "^[0-9]{2}:[0-9]{2}(:[0-9]{2})?(\\.[0-9]+)?$" }, "Value": { "type": "object", @@ -70,16 +70,16 @@ "$ref": "#/definitions/Value" }, "$dayOfWeek": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" }, "$dayOfMonth": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" }, "$month": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" }, "$year": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" } }, "oneOf": [ diff --git a/documentation/IDTA-01002-3/modules/ROOT/partials/query-json-schema.json b/documentation/IDTA-01002-3/modules/ROOT/partials/query-json-schema.json index a5f131d6..255e7972 100644 --- a/documentation/IDTA-01002-3/modules/ROOT/partials/query-json-schema.json +++ b/documentation/IDTA-01002-3/modules/ROOT/partials/query-json-schema.json @@ -22,7 +22,7 @@ }, "timeLiteralPattern": { "type": "string", - "pattern": "^[0-9][0-9]:[0-9][0-9](:[0-9][0-9])?$" + "pattern": "^[0-9]{2}:[0-9]{2}(:[0-9]{2})?(\\.[0-9]+)?$" }, "Value": { "type": "object", @@ -67,16 +67,16 @@ "$ref": "#/definitions/Value" }, "$dayOfWeek": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" }, "$dayOfMonth": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" }, "$month": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" }, "$year": { - "$ref": "#/definitions/dateTimeLiteralPattern" + "$ref": "#/definitions/Value" } }, "oneOf": [