Given:
This event
{
"specversion": "1.0",
"id": "1edc4160-74e5-4ffc-af59-2d281cf5aca411",
"subject": "invoice",
"source": "system",
"type": "InvoiceReceived",
"traceid": "id6",
"time": 5
}
When:
It is sent to the cloud events ingestion API
Then:
It is accepted and stored with a timestamp value of 5 seconds.
Expected:
It should get rejected as ionly string encoded timestamps in RFC3339 are valid