[
 {
  "creation": "2013-03-07 11:54:44", 
  "docstatus": 0, 
  "modified": "2013-11-03 11:10:54", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "allow_attach": 1, 
  "allow_copy": 0, 
  "allow_email": 0, 
  "allow_print": 0, 
  "allow_rename": 1, 
  "description": "Profile Represents a User in the system.", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "hide_heading": 0, 
  "hide_toolbar": 0, 
  "icon": "icon-user", 
  "issingle": 0, 
  "istable": 0, 
  "max_attachments": 5, 
  "module": "Core", 
  "name": "__common__", 
  "read_only": 0, 
  "search_fields": "first_name, last_name"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Profile", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Profile", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "read": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Profile"
 }, 
 {
  "default": "1", 
  "doctype": "DocField", 
  "fieldname": "enabled", 
  "fieldtype": "Check", 
  "in_list_view": 1, 
  "label": "Enabled", 
  "oldfieldname": "enabled", 
  "oldfieldtype": "Check", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sb0_5", 
  "fieldtype": "Section Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "unsubscribed", 
  "fieldtype": "Check", 
  "hidden": 1, 
  "label": "Unsubscribed"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email", 
  "fieldtype": "Data", 
  "hidden": 0, 
  "label": "Email", 
  "oldfieldname": "email", 
  "oldfieldtype": "Data", 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "first_name", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "First Name", 
  "oldfieldname": "first_name", 
  "oldfieldtype": "Data", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "middle_name", 
  "fieldtype": "Data", 
  "label": "Middle Name (Optional)", 
  "oldfieldname": "middle_name", 
  "oldfieldtype": "Data"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "last_name", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "Last Name", 
  "oldfieldname": "last_name", 
  "oldfieldtype": "Data"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "print_width": "50%", 
  "width": "50%"
 }, 
 {
  "description": "Language preference for user interface (only if available).", 
  "doctype": "DocField", 
  "fieldname": "language", 
  "fieldtype": "Select", 
  "label": "Language", 
  "options": "Loading..."
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "birth_date", 
  "fieldtype": "Date", 
  "label": "Birth Date", 
  "oldfieldname": "birth_date", 
  "oldfieldtype": "Date"
 }, 
 {
  "default": "System User", 
  "doctype": "DocField", 
  "fieldname": "user_type", 
  "fieldtype": "Select", 
  "label": "User Type", 
  "oldfieldname": "user_type", 
  "oldfieldtype": "Select", 
  "options": "System User\nWebsite User", 
  "read_only": 1, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "gender", 
  "fieldtype": "Select", 
  "label": "Gender", 
  "oldfieldname": "gender", 
  "oldfieldtype": "Select", 
  "options": "\nMale\nFemale\nOther", 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "change_password", 
  "fieldtype": "Section Break", 
  "label": "Set Password"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "new_password", 
  "fieldtype": "Password", 
  "label": "New Password"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "reset_password_key", 
  "fieldtype": "Data", 
  "hidden": 1, 
  "label": "Reset Password Key", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "depends_on": "eval:!doc.__islocal", 
  "doctype": "DocField", 
  "fieldname": "display_settings", 
  "fieldtype": "Section Break", 
  "label": "Display Settings"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "user_image", 
  "fieldtype": "Select", 
  "hidden": 0, 
  "label": "User Image", 
  "options": "attach_files:"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "background_image", 
  "fieldtype": "Select", 
  "hidden": 0, 
  "label": "Background Image", 
  "options": "attach_files:"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb21", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "user_image_show", 
  "fieldtype": "Image", 
  "label": "user_image_show", 
  "options": "user_image"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "short_bio", 
  "fieldtype": "Section Break", 
  "label": "Short Bio"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "bio", 
  "fieldtype": "Small Text", 
  "label": "Bio"
 }, 
 {
  "description": "Check / Uncheck roles assigned to the Profile. Click on the Role to find out what permissions that Role has.", 
  "doctype": "DocField", 
  "fieldname": "sb1", 
  "fieldtype": "Section Break", 
  "label": "Roles", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "roles_html", 
  "fieldtype": "HTML", 
  "label": "Roles HTML", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "incoming_email_settings", 
  "fieldtype": "Section Break", 
  "label": "Email Settings"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb18", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_signature", 
  "fieldtype": "Small Text", 
  "label": "Email Signature"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb20", 
  "fieldtype": "Column Break"
 }, 
 {
  "description": "Pull Emails from the Inbox and attach them as Communication records (for known contacts).", 
  "doctype": "DocField", 
  "fieldname": "sync_inbox", 
  "fieldtype": "Check", 
  "hidden": 1, 
  "label": "Sync Inbox"
 }, 
 {
  "description": "POP3 Mail Server (e.g. pop.gmail.com)", 
  "doctype": "DocField", 
  "fieldname": "email_host", 
  "fieldtype": "Data", 
  "hidden": 1, 
  "label": "Email Host"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_use_ssl", 
  "fieldtype": "Check", 
  "hidden": 1, 
  "label": "Email Use SSL"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_login", 
  "fieldtype": "Data", 
  "hidden": 1, 
  "label": "Email Login"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "email_password", 
  "fieldtype": "Password", 
  "hidden": 1, 
  "label": "Email Password"
 }, 
 {
  "description": "These values will be automatically updated in transactions and also will be useful to restrict permissions for this user on transactions containing these values.", 
  "doctype": "DocField", 
  "fieldname": "sb2", 
  "fieldtype": "Section Break", 
  "hidden": 1, 
  "label": "Defaults", 
  "oldfieldtype": "Column Break", 
  "print_width": "50%", 
  "read_only": 1, 
  "width": "50%"
 }, 
 {
  "description": "Enter default value fields (keys) and values. If you add multiple values for a field, the first one will be picked. These defaults are also used to set \"match\" permission rules. To see list of fields, go to <a href=\"#Form/Customize Form/Customize Form\">Customize Form</a>.", 
  "doctype": "DocField", 
  "fieldname": "defaults", 
  "fieldtype": "Table", 
  "hidden": 1, 
  "label": "Profile Defaults", 
  "options": "DefaultValue"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sb3", 
  "fieldtype": "Section Break", 
  "label": "Security Settings", 
  "oldfieldtype": "Section Break", 
  "read_only": 1
 }, 
 {
  "description": "Allow user to login only after this hour (0-24)", 
  "doctype": "DocField", 
  "fieldname": "login_after", 
  "fieldtype": "Int", 
  "label": "Login After", 
  "read_only": 1
 }, 
 {
  "description": "Allow user to login only before this hour (0-24)", 
  "doctype": "DocField", 
  "fieldname": "login_before", 
  "fieldtype": "Int", 
  "label": "Login Before", 
  "read_only": 1
 }, 
 {
  "description": "Restrict user from this IP address only. Multiple IP addresses can be added by separating with commas. Also accepts partial IP addresses like (111.111.111)", 
  "doctype": "DocField", 
  "fieldname": "restrict_ip", 
  "fieldtype": "Data", 
  "label": "Restrict IP", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "print_width": "50%", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "last_login", 
  "fieldtype": "Read Only", 
  "hidden": 0, 
  "label": "Last Login", 
  "oldfieldname": "last_login", 
  "oldfieldtype": "Read Only", 
  "read_only": 1, 
  "reqd": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "last_ip", 
  "fieldtype": "Read Only", 
  "label": "Last IP", 
  "oldfieldname": "last_ip", 
  "oldfieldtype": "Read Only", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "roles_assigned_to_user", 
  "fieldtype": "Section Break", 
  "hidden": 1, 
  "label": "Roles Assigned To User", 
  "no_copy": 0, 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "user_roles", 
  "fieldtype": "Table", 
  "hidden": 1, 
  "label": "Roles Assigned", 
  "options": "UserRole", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "cancel": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "permlevel": 0, 
  "report": 1, 
  "role": "System Manager", 
  "submit": 0, 
  "write": 1
 }, 
 {
  "doctype": "DocPerm", 
  "permlevel": 0, 
  "role": "All"
 }, 
 {
  "doctype": "DocPerm", 
  "match": "owner", 
  "permlevel": 0, 
  "report": 1, 
  "role": "All", 
  "submit": 0, 
  "write": 1
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "permlevel": 1, 
  "report": 1, 
  "role": "System Manager", 
  "submit": 0, 
  "write": 1
 }
]