jiri_merunka
04/28/2023, 3:26 PMtype
and format
in catalog.json to accept the value with microseconds
I have tried various e.g:
"_sys_valid_from": {
"type": [
"null",
"timestamp"
],
"format": "YYYY-MM-DD HH:mm:ss.uuuuuu"
},
But keep receiving :
Errors during transform: [_sys_valid_from: 2022-08-08 07:38:08.257202 does not match {'type': ['timestamp', 'null'], 'format': 'YYYY-MM-DD HH:mm:ss.uuuuuu'}
edgar_ramirez_mondragon
04/30/2023, 5:41 PM"timestamp"
is a valid JSON type, so what you probably need is type "string"
and format "date-time"
. https://www.jsonschemavalidator.net/ is a neat tool to validate objects against a schema if you want to try things out.jiri_merunka
05/02/2023, 5:21 AM