Added resource defaults
Added basic schema validation