Sample Code:
<aura:attribute name=”SampleName” type=”NameSpacePrefix__ObjectAPIName“
default=”{ ‘sobjectType’:’NameSpacePrefix__ObjectAPIName‘,
‘Name’:”,
‘NameSpacePrefix__FieldAPIName‘: 0,
‘NameSpacePrefix__FieldAPIName‘:”,
}”/>
Cheers!!!