from Products.ATContentTypes.content import schemata

from cs.laneskaintza import laneskaintzaMessageFactory as _
from cs.laneskaintza.interfaces import IlaneskaintzaFolder
from cs.laneskaintza.config import PROJECTNAME

laneskaintzaFolderSchema = folder.ATFolderSchema.copy() + atapi.Schema((

    # -*- Your Archetypes field definitions here ... -*-
    atapi.TextField('contact_information',
                        required=False,
                        searchable=True,
			storage=atapi.AnnotationStorage(),
                        validators=('isTidyHtmlWithCleanup',),
                        default_output_type='text/x-html-safe',
                        widget=atapi.RichWidget(label=_(u'contact_information'),
                                                description=_(u'Description of contact_information'),
                                                rows=10,
                                                allow_file_upload=False),
                        ),
   atapi.LinesField(
        name='situation_source',
        storage = atapi.AnnotationStorage(),
        required=False,
        #searchable=1,
        #default='',
        #schemata ='default',
        widget=atapi.LinesWidget(
            label=_(u"situation_source"),
            description=_(u"Description of situation_source"),
        ),
from cs.laneskaintza.interfaces import Ilaneskaintza
from cs.laneskaintza.config import PROJECTNAME

laneskaintzaSchema = folder.ATFolderSchema.copy() + atapi.Schema((

    # -*- Your Archetypes field definitions here ... -*-
    atapi.StringField(
        name='file_number',
        required=False,
        languageIndependent=1,
	storage=atapi.AnnotationStorage(),
        #searchable=1,
        #default='',
        #schemata ='default',
        widget=atapi.StringWidget(
            label=_(u"file_number"),
            description=_(u"Description of file_number"),
        ),
    ),
    atapi.TextField('information',
                        required=False,
                        searchable=True,
			storage=atapi.AnnotationStorage(),
                        validators=('isTidyHtmlWithCleanup',),
                        default_output_type='text/x-html-safe',
                        widget=atapi.RichWidget(label=_(u'information'),
                                                description=_(u'Description of information'),
                                                rows=10,
                                                allow_file_upload=False),
                        ),
   atapi.DateTimeField(