Tests for inference.Set
Let resource data be filterable; superusers can see everything.
Support for JSON Schema validation and restricting permissible source docs per resource type
Added dependency on jsonschema
Fix typo