[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-08-06 11:15:46", 
  "modified_by": "Administrator", 
  "modified": "2012-11-27 18:32:42"
 }, 
 {
  "in_create": 0, 
  "default_print_format": "Standard", 
  "doctype": "DocType", 
  "module": "Utilities", 
  "in_dialog": 0, 
  "document_type": "Master", 
  "name": "__common__"
 }, 
 {
  "name": "__common__", 
  "parent": "Contact", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Contact", 
  "read": 1, 
  "doctype": "DocPerm", 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Contact", 
  "doctype": "DocType"
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "First Name", 
  "oldfieldname": "first_name", 
  "fieldname": "first_name", 
  "fieldtype": "Data", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Last Name", 
  "oldfieldname": "last_name", 
  "fieldname": "last_name", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb00", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Email Id", 
  "oldfieldname": "email_id", 
  "fieldname": "email_id", 
  "fieldtype": "Data", 
  "search_index": 1, 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Phone", 
  "oldfieldname": "contact_no", 
  "fieldname": "phone", 
  "fieldtype": "Data", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sb00", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Communication HTML", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Contact Details", 
  "fieldname": "contact_details", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "print_hide": 0, 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Customer", 
  "oldfieldname": "customer", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
  "options": "Customer"
 }, 
 {
  "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Customer Name", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "permlevel": 1
 }, 
 {
  "depends_on": "eval:!doc.customer && !doc.sales_partner", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Supplier", 
  "trigger": "Client", 
  "fieldname": "supplier", 
  "fieldtype": "Link", 
  "options": "Supplier", 
  "permlevel": 0
 }, 
 {
  "allow_on_submit": 0, 
  "depends_on": "eval:!doc.customer && !doc.sales_partner", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Supplier Name", 
  "fieldname": "supplier_name", 
  "fieldtype": "Data", 
  "permlevel": 1
 }, 
 {
  "depends_on": "eval:!doc.customer && !doc.supplier", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Sales Partner", 
  "options": "Sales Partner", 
  "fieldname": "sales_partner", 
  "fieldtype": "Link", 
  "permlevel": 0
 }, 
 {
  "default": "0", 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Is Primary Contact", 
  "oldfieldname": "is_primary_contact", 
  "fieldname": "is_primary_contact", 
  "fieldtype": "Check", 
  "depends_on": "eval:(doc.customer || doc.supplier || doc.sales_partner)", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Column Break", 
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Mobile No", 
  "oldfieldname": "mobile_no", 
  "fieldname": "mobile_no", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "description": "Enter department to which this Contact belongs", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Department", 
  "options": "Suggest", 
  "fieldname": "department", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "description": "Enter designation of this Contact", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Designation", 
  "options": "Suggest", 
  "fieldname": "designation", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Unsubscribed", 
  "fieldname": "unsubscribed", 
  "fieldtype": "Check", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Small Text", 
  "doctype": "DocField", 
  "label": "Trash Reason", 
  "oldfieldname": "trash_reason", 
  "fieldname": "trash_reason", 
  "fieldtype": "Small Text", 
  "permlevel": 1
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "System Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "amend": 0, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 0, 
  "write": 1, 
  "role": "Sales Master Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Purchase Master Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Sales Manager", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Purchase Manager", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Maintenance Manager", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Accounts Manager", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Sales User", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Purchase User", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Maintenance User", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Accounts User", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "role": "All", 
  "permlevel": 1
 }
]