Basic validation for submission data

It would be helpful if we raised an error if the required fields (`submission` and `id`) weren't present.