[
 {
  "creation": "2013-01-10 16:34:32", 
  "docstatus": 0, 
  "modified": "2013-01-29 13:26:39", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "doctype": "DocType", 
  "document_type": "Master", 
  "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": "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"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_id", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "Email Id", 
  "oldfieldname": "email_id", 
  "oldfieldtype": "Data", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "phone", 
  "fieldtype": "Data", 
  "label": "Phone", 
  "oldfieldname": "contact_no", 
  "oldfieldtype": "Data", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sb00", 
  "fieldtype": "Section Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "label": "Communication HTML"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_details", 
  "fieldtype": "Section Break", 
  "label": "Contact Details"
 }, 
 {
  "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
 }, 
 {
  "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": "column_break1", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "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
 }, 
 {
  "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"
 }
]