# -*- encoding: utf-8 -*-
from aiohttp.web import Response
from zope.interface import Attribute
from zope.interface import Interface


class ITodo(Interface):
    title = Attribute("""Title""")
    done = Attribute("""Done""")


class View(object):
    def __init__(self, context, request):
        self.context = context
        self.request = request

    async def __call__(self):
        return Response(text='Hello World!')

@@ -61,76 +61,61 @@
 rom 
-zope.interface import Attribute%0Afrom zope.interface import Interface
+plone.supermodel import model%0Afrom zope import schema
 %0A%0A%0Ac
@@ -129,17 +129,20 @@
 odo(
-Interface
+model.Schema
 ):%0A 
@@ -156,62 +156,159 @@
 e = 
-Attribute(%22%22%22Title%22%22%22)%0A    done = Attribute(%22%22%22Done%22%22%22
+schema.TextLine(title=u%22Title%22,%0A                            required=False)%0A    done = schema.Bool(title=u%22Done%22,%0A                       required=False
 )%0A%0A%0A

Use supermodel/zope.schema for Todo field definition