"type" is optional