added is_valid on NewResource.
added jsonschema on requirements.