visch
08/23/2023, 2:27 PM{"type": "SCHEMA", "stream": "Tenant__History", "schema": {"type": "object", "additionalProperties": false, "properties": {"Id": {"type": "string"}, "CreatedDate": {"anyOf": [{"type": "string", "format": "date-time"}, "OldValue": {}, "NewValue": {}}}, "key_properties": ["Id"], "bookmark_properties": ["CreatedDate"]}
Specifically OldValue
and NewValue
should we just cast these to strings, or should this fail?
https://github.com/singer-io/getting-started/blob/master/docs/SPEC.md#schema-message isn't super clear to me, I think JSON Schema's spec says {}
just means anything goes. So maybe we should accept this and just convert the value to a string?edgar_ramirez_mondragon
08/23/2023, 2:30 PMjson.dumps
those fields