From b63b4cf86e6fba81ebe7e16cd36431bc557a4216 Mon Sep 17 00:00:00 2001 From: bonsue <@Monday2019> Date: Thu, 26 Oct 2023 15:00:49 +0100 Subject: [PATCH] FIXAPI-2587: format start/end for candle data and hcr to date-time --- chart-data/json-schema/src/main/resources/CandleData.json | 6 ++++-- .../src/main/resources/HistoricCandleRequest.json | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/chart-data/json-schema/src/main/resources/CandleData.json b/chart-data/json-schema/src/main/resources/CandleData.json index 9e2cb48..f1da9db 100644 --- a/chart-data/json-schema/src/main/resources/CandleData.json +++ b/chart-data/json-schema/src/main/resources/CandleData.json @@ -3,10 +3,12 @@ "id" : "CandleData", "properties" : { "StartDate" : { - "type" : "date" + "type" : "string", + "format" : "date-time" }, "EndDate" : { - "type" : "date" + "type" : "string", + "format" : "date-time" }, "First" :{ "type" : "object", diff --git a/chart-data/json-schema/src/main/resources/HistoricCandleRequest.json b/chart-data/json-schema/src/main/resources/HistoricCandleRequest.json index 9381f79..d9c0d75 100644 --- a/chart-data/json-schema/src/main/resources/HistoricCandleRequest.json +++ b/chart-data/json-schema/src/main/resources/HistoricCandleRequest.json @@ -30,10 +30,12 @@ "$ref" : "./Interval.json" }, "StartDate" : { - "type" : "date" + "type" : "string", + "format" : "date-time" }, "EndDate" : { - "type" : "date" + "type" : "string", + "format" : "date-time" }, "SendingTime" : { "type" : "string"