<gh_stars>1-10
"""The type file for the collection Project.
"""

from snovault import (
    collection,
    load_schema,
)
from .base import (
    Item
)


@collection(
    name='projects',
    unique_key='project:name',
    properties={
        'title': 'Projects',
        'description': 'Listing of projects',
    })
class Project(Item):
    """Project class."""

    item_type = 'project'
    schema = load_schema('encoded:schemas/project.json')
    embedded_list = Item.embedded_list
    name_key = 'name'

"""The type file for the collection Project.
"""

from snovault import (
    collection,
    load_schema,
)
from .base import (
    Item
)


@collection(
    name='projects',
    unique_key='project:name',
    properties={
        'title': 'Projects',
        'description': 'Listing of projects',
    })
class Project(Item):
    """Project class."""

    item_type = 'project'
    schema = load_schema('encoded:schemas/project.json')
    embedded_list = Item.embedded_list
    name_key = 'name'
The type file for the collection Project. Project class.