schema field map apex code example
Example: apex get object describe by api name
SObjectType objectType = Schema.getGlobalDescribe().get('<Object API Name>');
Schema.DescribeSObjectResult objectDescribe = objectType.getDescribe();
SObjectType objectType = Schema.getGlobalDescribe().get('<Object API Name>');
Schema.DescribeSObjectResult objectDescribe = objectType.getDescribe();