Added intermediateProvider to schema for validation