[
 {
  "creation": "2013-01-10 16:34:32", 
  "docstatus": 0, 
  "modified": "2013-01-29 13:24:45", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "doctype": "DocType", 
  "document_type": "Master", 
  "in_dialog": 0, 
  "module": "Utilities", 
  "name": "__common__", 
  "search_fields": "customer, supplier, sales_partner, country, state"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Address", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Address", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "read": 1, 
  "report": 1, 
  "submit": 0, 
  "write": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Address"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "address_details", 
  "fieldtype": "Section Break", 
  "label": "Address Details"
 }, 
 {
  "description": "e.g. Office, Billing, Shipping", 
  "doctype": "DocField", 
  "fieldname": "address_type", 
  "fieldtype": "Data", 
  "label": "Address Type", 
  "reqd": 1
 }, 
 {
  "description": "Name of person or organization that this address belongs to.", 
  "doctype": "DocField", 
  "fieldname": "address_title", 
  "fieldtype": "Data", 
  "label": "Address Title", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "address_line1", 
  "fieldtype": "Data", 
  "label": "Address Line1", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "address_line2", 
  "fieldtype": "Data", 
  "label": "Address Line2"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "city", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "City/Town", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "pincode", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "Pincode", 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "country", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Country", 
  "options": "link:Country", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "state", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "State", 
  "options": "Suggest", 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break", 
  "print_hide": 0, 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "phone", 
  "fieldtype": "Data", 
  "label": "Phone", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_id", 
  "fieldtype": "Data", 
  "label": "Email Id"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "fax", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "Fax"
 }, 
 {
  "default": "0", 
  "description": "Check to make primary address", 
  "doctype": "DocField", 
  "fieldname": "is_primary_address", 
  "fieldtype": "Check", 
  "label": "Is Primary Address"
 }, 
 {
  "default": "0", 
  "description": "Check to make Shipping Address", 
  "doctype": "DocField", 
  "fieldname": "is_shipping_address", 
  "fieldtype": "Check", 
  "in_list_view": 1, 
  "label": "Is Shipping Address"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "linked_with", 
  "fieldtype": "Section Break", 
  "label": "Linked With"
 }, 
 {
  "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "label": "Customer", 
  "options": "Customer"
 }, 
 {
  "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "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"
 }, 
 {
  "depends_on": "eval:!doc.customer && !doc.sales_partner", 
  "doctype": "DocField", 
  "fieldname": "supplier_name", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Supplier Name", 
  "read_only": 1, 
  "search_index": 0
 }, 
 {
  "depends_on": "eval:!doc.customer && !doc.supplier", 
  "doctype": "DocField", 
  "fieldname": "sales_partner", 
  "fieldtype": "Link", 
  "label": "Sales Partner", 
  "options": "Sales Partner"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Sales User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Purchase User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Maintenance User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Accounts User"
 }
]