From 3e50a41c07924bc27f47ecabae446e15c25c8ccb Mon Sep 17 00:00:00 2001 From: Panagiotis Vretanos Date: Thu, 27 Apr 2023 07:58:17 -0400 Subject: [PATCH] Fix nullability of the time property and add resolution. --- core/openapi/schemas/time.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/core/openapi/schemas/time.yaml b/core/openapi/schemas/time.yaml index 049b4b4c..241feaf7 100644 --- a/core/openapi/schemas/time.yaml +++ b/core/openapi/schemas/time.yaml @@ -1,6 +1,5 @@ -oneOf: -- type: 'null' - type: object + nullable: true properties: date: type: string @@ -21,3 +20,9 @@ oneOf: - type: string enum: - ".." + resolution: + type: string + description: + Minimum time period resolvable in the dataset, as an ISO 8601 duration + example: + - 'P1D'