# DocType, Answer
[

	# These values are common in all dictionaries
	{
		'creation': '2012-03-27 14:36:01',
		'docstatus': 0,
		'modified': '2012-03-27 14:36:01',
		'modified_by': u'Administrator',
		'owner': u'Administrator'
	},

	# These values are common for all DocType
	{
		'allow_attach': 0,
		'allow_trash': 1,
		'autoname': u'_ANS.#######',
		'colour': u'White:FFF',
		'doctype': 'DocType',
		'in_create': 1,
		'module': u'Knowledge Base',
		'name': '__common__',
		'read_only': 1,
		'section_style': u'Simple',
		'server_code_error': u' ',
		'show_in_menu': 0,
		'version': 3
	},

	# These values are common for all DocField
	{
		'doctype': u'DocField',
		'name': '__common__',
		'parent': u'Answer',
		'parentfield': u'fields',
		'parenttype': u'DocType',
		'permlevel': 0
	},

	# These values are common for all DocPerm
	{
		'cancel': 1,
		'create': 1,
		'doctype': u'DocPerm',
		'name': '__common__',
		'parent': u'Answer',
		'parentfield': u'permissions',
		'parenttype': u'DocType',
		'permlevel': 0,
		'read': 1,
		'role': u'All',
		'write': 1
	},

	# DocType, Answer
	{
		'doctype': 'DocType',
		'name': u'Answer'
	},

	# DocPerm
	{
		'doctype': u'DocPerm'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'question',
		'fieldtype': u'Link',
		'label': u'Question',
		'options': u'Question'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'answer',
		'fieldtype': u'Text',
		'label': u'Answer',
		'oldfieldname': u'question',
		'oldfieldtype': u'Text'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'points',
		'fieldtype': u'Int',
		'label': u'Points'
	},

	# DocField
	{
		'doctype': u'DocField',
		'fieldname': u'_users_voted',
		'fieldtype': u'Text',
		'hidden': 1,
		'label': u'Users Voted',
		'print_hide': 1
	}
]