from .base import (
    BaseSchema,
    CERBERUS_RULE_OPTIONAL_STRING,
)


class FeaturedImageCollectionSchema(BaseSchema):
    def __init__(self):
        super(FeaturedImageCollectionSchema, self).__init__()
        self['short_abstract'] = CERBERUS_RULE_OPTIONAL_STRING
        self['seo_title'] = CERBERUS_RULE_OPTIONAL_STRING
        self['social_title'] = CERBERUS_RULE_OPTIONAL_STRING
        self['sponsor_content'] = {'type': 'boolean', 'default': False}
        self['sponsor_content_label'] = CERBERUS_RULE_OPTIONAL_STRING
