Rename entity --> resource, alternatively allow `patternProperties`