template linked to schema