From 63e2a38441aa3df30f4aa2ad6836dfe021e8f513 Mon Sep 17 00:00:00 2001 From: Stephane Burwash Date: Mon, 4 Jul 2022 10:20:54 -0400 Subject: [PATCH] Additional amendemnts humanReadable --- tap_hibob/schemas/Employees.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/tap_hibob/schemas/Employees.py b/tap_hibob/schemas/Employees.py index 6ebdeb3..0779876 100644 --- a/tap_hibob/schemas/Employees.py +++ b/tap_hibob/schemas/Employees.py @@ -84,26 +84,15 @@ ), th.Property("internal", th.ObjectType( - th.Property("periodSinceTermination", - th.ObjectType( - th.Property("humanize", th.StringType), - th.Property("sortFactor", th.IntegerType), - th.Property("periodISO", th.StringType), - ) - ), - th.Property("yearsSinceTermination", th.NumberType), + th.Property("periodSinceTermination", th.StringType), + th.Property("yearsSinceTermination", th.StringType), th.Property("terminationReason", th.StringType), th.Property("probationEndDate", th.DateType), th.Property("currentActiveStatusStartDate", th.DateType), th.Property("terminationDate", th.DateType), th.Property("status", th.StringType), th.Property("terminationType", th.StringType), - th.Property("notice", - th.ObjectType( - th.Property("length", th.IntegerType), - th.Property("unit", th.StringType), - ) - ), + th.Property("notice", th.StringType), th.Property("lifecycleStatus", th.StringType), ) ),