Skip to content

Commit

Permalink
Fix nullability of the time property and add resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvretano committed Apr 27, 2023
1 parent d751c65 commit 3e50a41
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions core/openapi/schemas/time.yaml
@@ -1,6 +1,5 @@
oneOf:
- type: 'null'
- type: object
nullable: true
properties:
date:
type: string
Expand All @@ -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'

0 comments on commit 3e50a41

Please sign in to comment.