diff --git a/src/schemas/json/starlake.json b/src/schemas/json/starlake.json index cccda171321..e9e64904f98 100644 --- a/src/schemas/json/starlake.json +++ b/src/schemas/json/starlake.json @@ -267,6 +267,10 @@ "$ref": "#/definitions/ConvertibleToString", "description": "Set only if you want to use the Spark engine" }, + "loader": { + "$ref": "#/definitions/ConvertibleToString", + "description": "Loader we should use with this connection. Superseded by the loader defined in the file metadata" + }, "quote": { "$ref": "#/definitions/ConvertibleToString", "description": "Set only if you want to use the Spark engine" @@ -1200,47 +1204,6 @@ }, "required": [] }, - "DurationUnit": { - "$ref": "#/definitions/ConvertibleToString", - "oneOf": [ - { - "const": "NANOSECONDS" - }, - { - "const": "MICROSECONDS" - }, - { - "const": "MILLISECONDS" - }, - { - "const": "SECONDS" - }, - { - "const": "MINUTES" - }, - { - "const": "HOURS" - }, - { - "const": "DAYS" - } - ] - }, - "Duration": { - "type": "object", - "properties": { - "length": { - "type": "integer" - }, - "unit": { - "$ref": "#/definitions/DurationUnit" - }, - "finite": { - "type": "boolean", - "default": true - } - } - }, "LockV1": { "type": "object", "properties": { @@ -1253,11 +1216,11 @@ "description": "TODO" }, "pollTime": { - "$ref": "#/definitions/Duration", + "type": "integer", "description": "TODO. Default 5 seconds" }, "refreshTime": { - "$ref": "#/definitions/Duration", + "type": "integer", "description": "TODO. Default 5 seconds" } }