As per this rfc #935, we need to create a consolidated data-source section instead of a separate cosmos section:
See this comment:
#935 (comment)
{
"$schema": "dab.draft-01.schema.json",
"data-source": {
"database-type": "",
"options": {
"..."
},
"connection-string": "AccountEndpoint=https://localhost:8081/;AccountKey=REPLACEME;"
}
}