diff --git a/samples/sample_tap_gitlab/gitlab_rest_streams.py b/samples/sample_tap_gitlab/gitlab_rest_streams.py index 1db629099..0d5968132 100644 --- a/samples/sample_tap_gitlab/gitlab_rest_streams.py +++ b/samples/sample_tap_gitlab/gitlab_rest_streams.py @@ -11,6 +11,7 @@ from singer_sdk.typing import ( ArrayType, DateTimeType, + DateType, IntegerType, PropertiesList, Property, @@ -158,9 +159,9 @@ class EpicsStream(ProjectBasedStream): Property("description", StringType), Property("state", StringType), Property("author_id", IntegerType), - Property("start_date", DateTimeType), - Property("end_date", DateTimeType), - Property("due_date", DateTimeType), + Property("start_date", DateType), + Property("end_date", DateType), + Property("due_date", DateType), Property("created_at", DateTimeType), Property("updated_at", DateTimeType), Property("labels", ArrayType(StringType)), diff --git a/samples/sample_tap_gitlab/schemas/epic_issues.json b/samples/sample_tap_gitlab/schemas/epic_issues.json index 2330bb427..36b4e14a5 100644 --- a/samples/sample_tap_gitlab/schemas/epic_issues.json +++ b/samples/sample_tap_gitlab/schemas/epic_issues.json @@ -122,7 +122,7 @@ }, "due_date": { "type": ["string", "null"], - "format": "date-time" + "format": "date" }, "epic_issue_id": { "type": "integer" @@ -150,7 +150,7 @@ }, "due_date": { "type": ["string", "null"], - "format": "date-time" + "format": "date" }, "id": { "type": "integer" @@ -163,7 +163,7 @@ }, "start_date": { "type": ["string", "null"], - "format": "date-time" + "format": "date" }, "state": { "type": "string"