[
 {
  "creation": "2013-01-10 16:34:32", 
  "docstatus": 0, 
  "modified": "2013-10-08 16:48:50", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "doctype": "DocType", 
  "document_type": "Master", 
  "icon": "icon-user", 
  "in_create": 0, 
  "in_dialog": 0, 
  "module": "Utilities", 
  "name": "__common__"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Contact", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Contact", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "read": 1, 
  "report": 1, 
  "submit": 0, 
  "write": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Contact"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_section", 
  "fieldtype": "Section Break", 
  "label": "Contact Details", 
  "options": "icon-user"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "first_name", 
  "fieldtype": "Data", 
  "label": "First Name", 
  "oldfieldname": "first_name", 
  "oldfieldtype": "Data", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "last_name", 
  "fieldtype": "Data", 
  "label": "Last Name", 
  "oldfieldname": "last_name", 
  "oldfieldtype": "Data"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb00", 
  "fieldtype": "Column Break"
 }, 
 {
  "default": "Passive", 
  "doctype": "DocField", 
  "fieldname": "status", 
  "fieldtype": "Select", 
  "label": "Status", 
  "options": "Passive\nOpen\nReplied"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_id", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "Email Id", 
  "oldfieldname": "email_id", 
  "oldfieldtype": "Data", 
  "reqd": 0, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "phone", 
  "fieldtype": "Data", 
  "label": "Phone", 
  "oldfieldname": "contact_no", 
  "oldfieldtype": "Data", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sb00", 
  "fieldtype": "Section Break", 
  "label": "Communication History", 
  "options": "icon-comments", 
  "print_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "label": "Communication HTML", 
  "print_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_details", 
  "fieldtype": "Section Break", 
  "label": "Reference", 
  "options": "icon-pushpin"
 }, 
 {
  "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "label": "Customer", 
  "oldfieldname": "customer", 
  "oldfieldtype": "Link", 
  "options": "Customer", 
  "print_hide": 0
 }, 
 {
  "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "Customer Name", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "depends_on": "eval:!doc.customer && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "supplier", 
  "fieldtype": "Link", 
  "label": "Supplier", 
  "options": "Supplier"
 }, 
 {
  "allow_on_submit": 0, 
  "depends_on": "eval:!doc.customer && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "supplier_name", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "Supplier Name", 
  "read_only": 1
 }, 
 {
  "depends_on": "eval:!doc.customer && !doc.supplier", 
  "doctype": "DocField", 
  "fieldname": "sales_partner", 
  "fieldtype": "Link", 
  "label": "Sales Partner", 
  "options": "Sales Partner"
 }, 
 {
  "default": "0", 
  "depends_on": "eval:(doc.customer || doc.supplier || doc.sales_partner)", 
  "doctype": "DocField", 
  "fieldname": "is_primary_contact", 
  "fieldtype": "Check", 
  "label": "Is Primary Contact", 
  "oldfieldname": "is_primary_contact", 
  "oldfieldtype": "Select"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "more_info", 
  "fieldtype": "Section Break", 
  "label": "More Info", 
  "options": "icon-file-text"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "mobile_no", 
  "fieldtype": "Data", 
  "label": "Mobile No", 
  "oldfieldname": "mobile_no", 
  "oldfieldtype": "Data"
 }, 
 {
  "description": "Enter department to which this Contact belongs", 
  "doctype": "DocField", 
  "fieldname": "department", 
  "fieldtype": "Data", 
  "label": "Department", 
  "options": "Suggest"
 }, 
 {
  "description": "Enter designation of this Contact", 
  "doctype": "DocField", 
  "fieldname": "designation", 
  "fieldtype": "Data", 
  "label": "Designation", 
  "options": "Suggest"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "unsubscribed", 
  "fieldtype": "Check", 
  "label": "Unsubscribed"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "trash_reason", 
  "fieldtype": "Small Text", 
  "label": "Trash Reason", 
  "oldfieldname": "trash_reason", 
  "oldfieldtype": "Small Text", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communications", 
  "fieldtype": "Table", 
  "hidden": 1, 
  "label": "Communications", 
  "options": "Communication", 
  "print_hide": 1
 }, 
 {
  "cancel": 1, 
  "doctype": "DocPerm", 
  "role": "System Manager"
 }, 
 {
  "amend": 0, 
  "cancel": 1, 
  "doctype": "DocPerm", 
  "role": "Sales Master Manager"
 }, 
 {
  "cancel": 1, 
  "doctype": "DocPerm", 
  "role": "Purchase Master Manager"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Sales Manager"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Purchase Manager"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Maintenance Manager"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Accounts Manager"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Sales User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Purchase User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Maintenance User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Accounts User"
 }
]