registry and draft json layer