Added basic validation of input structure for playbooks.